RTEMS 4.11
Annotated Report
Sun Sep 11 19:55:31 2011

ffc0e00c <IMFS_Set_handlers>:                                         
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
ffc0e00c:	81 63 00 00 	lwz     r11,0(r3)                              
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
ffc0e010:	81 23 00 10 	lwz     r9,16(r3)                              
  switch( node->type ) {                                              
ffc0e014:	80 0b 00 4c 	lwz     r0,76(r11)                             
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
ffc0e018:	81 29 00 34 	lwz     r9,52(r9)                              
  switch( node->type ) {                                              
ffc0e01c:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc0e020:	41 9d 00 28 	bgt-    cr7,ffc0e048 <IMFS_Set_handlers+0x3c>  <== NEVER TAKEN
ffc0e024:	3d 60 ff c2 	lis     r11,-62                                
ffc0e028:	39 6b f5 64 	addi    r11,r11,-2716                          
ffc0e02c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0e030:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0e034:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0e038:	7d 69 03 a6 	mtctr   r11                                    
ffc0e03c:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
ffc0e040:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0e044:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e048:	38 60 00 00 	li      r3,0                                   
ffc0e04c:	4e 80 00 20 	blr                                            
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
ffc0e050:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0e054:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e058:	38 60 00 00 	li      r3,0                                   
ffc0e05c:	4e 80 00 20 	blr                                            
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
ffc0e060:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e064:	38 09 f6 04 	addi    r0,r9,-2556                            
ffc0e068:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e06c:	38 60 00 00 	li      r3,0                                   
ffc0e070:	4e 80 00 20 	blr                                            
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
ffc0e074:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0e078:	90 03 00 08 	stw     r0,8(r3)                               
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e07c:	38 60 00 00 	li      r3,0                                   
ffc0e080:	4e 80 00 20 	blr                                            
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
ffc0e084:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e088:	38 09 f5 94 	addi    r0,r9,-2668                            
ffc0e08c:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e090:	38 60 00 00 	li      r3,0                                   
ffc0e094:	4e 80 00 20 	blr                                            
                                                                      

ffc0dda0 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
ffc0dda0:	7d 80 00 26 	mfcr    r12                                    
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
ffc0dda4:	7c 69 1b 79 	mr.     r9,r3                                  
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0dda8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ddac:	7c 08 02 a6 	mflr    r0                                     
ffc0ddb0:	93 61 00 0c 	stw     r27,12(r1)                             
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
ffc0ddb4:	3b 60 00 00 	li      r27,0                                  
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0ddb8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ddbc:	7c fc 3b 78 	mr      r28,r7                                 
ffc0ddc0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0ddc4:	7c 9f 23 78 	mr      r31,r4                                 
ffc0ddc8:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ddcc:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ddd0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0ddd4:	91 81 00 08 	stw     r12,8(r1)                              
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
ffc0ddd8:	41 82 00 a4 	beq-    ffc0de7c <IMFS_create_node+0xdc>       <== NEVER TAKEN
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0dddc:	2e 04 00 07 	cmpwi   cr4,r4,7                               
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0dde0:	81 69 00 10 	lwz     r11,16(r9)                             
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
ffc0dde4:	83 a9 00 00 	lwz     r29,0(r9)                              
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0dde8:	83 cb 00 34 	lwz     r30,52(r11)                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0ddec:	41 92 00 c0 	beq-    cr4,ffc0deac <IMFS_create_node+0x10c>  
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
ffc0ddf0:	3d 20 00 00 	lis     r9,0                                   
ffc0ddf4:	81 29 27 3c 	lwz     r9,10044(r9)                           
ffc0ddf8:	7c a4 2b 78 	mr      r4,r5                                  
ffc0ddfc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0de00:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0de04:	7c c5 00 78 	andc    r5,r6,r0                               
ffc0de08:	4b ff fe f1 	bl      ffc0dcf8 <IMFS_allocate_node>          
  if ( !node )                                                        
ffc0de0c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0de10:	41 82 00 6c 	beq-    ffc0de7c <IMFS_create_node+0xdc>       
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
ffc0de14:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
ffc0de18:	41 9e 00 ac 	beq-    cr7,ffc0dec4 <IMFS_create_node+0x124>  
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
ffc0de1c:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
ffc0de20:	41 9e 00 34 	beq-    cr7,ffc0de54 <IMFS_create_node+0xb4>   
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
ffc0de24:	2f 9f 00 04 	cmpwi   cr7,r31,4                              
ffc0de28:	41 9e 00 2c 	beq-    cr7,ffc0de54 <IMFS_create_node+0xb4>   
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
ffc0de2c:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc0de30:	41 9e 00 cc 	beq-    cr7,ffc0defc <IMFS_create_node+0x15c>  
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
ffc0de34:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc0de38:	41 9e 00 a8 	beq-    cr7,ffc0dee0 <IMFS_create_node+0x140>  
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
ffc0de3c:	2f 9f 00 05 	cmpwi   cr7,r31,5                              
ffc0de40:	41 9e 00 d0 	beq-    cr7,ffc0df10 <IMFS_create_node+0x170>  
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
  } else if ( type == IMFS_FIFO ) {                                   
ffc0de44:	40 b2 00 18 	bne+    cr4,ffc0de5c <IMFS_create_node+0xbc>   <== NEVER TAKEN
    node->info.fifo.pipe = NULL;                                      
ffc0de48:	38 00 00 00 	li      r0,0                                   
ffc0de4c:	90 1b 00 50 	stw     r0,80(r27)                             
ffc0de50:	48 00 00 0c 	b       ffc0de5c <IMFS_create_node+0xbc>       
  if ( type == IMFS_DIRECTORY ) {                                     
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
ffc0de54:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0de58:	90 1b 00 50 	stw     r0,80(r27)                             
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
ffc0de5c:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0de60:	38 7d 00 50 	addi    r3,r29,80                              
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
ffc0de64:	93 bb 00 08 	stw     r29,8(r27)                             
ffc0de68:	7f 64 db 78 	mr      r4,r27                                 
  node->st_ino = ++fs_info->ino_count;                                
ffc0de6c:	38 09 00 01 	addi    r0,r9,1                                
ffc0de70:	90 1e 00 04 	stw     r0,4(r30)                              
ffc0de74:	90 1b 00 38 	stw     r0,56(r27)                             
ffc0de78:	4b ff c3 19 	bl      ffc0a190 <_Chain_Append>               
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
ffc0de7c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0de80:	7f 63 db 78 	mr      r3,r27                                 
ffc0de84:	81 81 00 08 	lwz     r12,8(r1)                              
ffc0de88:	7c 08 03 a6 	mtlr    r0                                     
ffc0de8c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0de90:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0de94:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0de98:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0de9c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0dea0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0dea4:	38 21 00 20 	addi    r1,r1,32                               
ffc0dea8:	4e 80 00 20 	blr                                            
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0deac:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0deb0:	3d 60 ff c2 	lis     r11,-62                                
ffc0deb4:	38 0b f4 fc 	addi    r0,r11,-2820                           
ffc0deb8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0debc:	40 9e ff 34 	bne+    cr7,ffc0ddf0 <IMFS_create_node+0x50>   
ffc0dec0:	4b ff ff bc 	b       ffc0de7c <IMFS_create_node+0xdc>       
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 );                        
ffc0dec4:	39 3b 00 54 	addi    r9,r27,84                              
ffc0dec8:	38 1b 00 50 	addi    r0,r27,80                              
                                                                      
  head->next = tail;                                                  
ffc0decc:	91 3b 00 50 	stw     r9,80(r27)                             
  head->previous = NULL;                                              
ffc0ded0:	39 20 00 00 	li      r9,0                                   
ffc0ded4:	91 3b 00 54 	stw     r9,84(r27)                             
  tail->previous = head;                                              
ffc0ded8:	90 1b 00 58 	stw     r0,88(r27)                             
ffc0dedc:	4b ff ff 80 	b       ffc0de5c <IMFS_create_node+0xbc>       
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
ffc0dee0:	39 40 00 00 	li      r10,0                                  
ffc0dee4:	39 60 00 00 	li      r11,0                                  
ffc0dee8:	91 5b 00 50 	stw     r10,80(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0deec:	38 00 00 00 	li      r0,0                                   
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
ffc0def0:	91 7b 00 54 	stw     r11,84(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0def4:	90 1b 00 58 	stw     r0,88(r27)                             
ffc0def8:	4b ff ff 64 	b       ffc0de5c <IMFS_create_node+0xbc>       
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
ffc0defc:	81 3c 00 00 	lwz     r9,0(r28)                              
    node->info.device.minor = info->device.minor;                     
ffc0df00:	80 1c 00 04 	lwz     r0,4(r28)                              
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
ffc0df04:	91 3b 00 50 	stw     r9,80(r27)                             
    node->info.device.minor = info->device.minor;                     
ffc0df08:	90 1b 00 54 	stw     r0,84(r27)                             
ffc0df0c:	4b ff ff 50 	b       ffc0de5c <IMFS_create_node+0xbc>       
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
ffc0df10:	38 00 00 00 	li      r0,0                                   
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
ffc0df14:	39 40 00 00 	li      r10,0                                  
      node->info.file.indirect        = 0;                            
ffc0df18:	90 1b 00 58 	stw     r0,88(r27)                             
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
ffc0df1c:	39 60 00 00 	li      r11,0                                  
ffc0df20:	91 5b 00 50 	stw     r10,80(r27)                            
ffc0df24:	91 7b 00 54 	stw     r11,84(r27)                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
ffc0df28:	90 1b 00 5c 	stw     r0,92(r27)                             
      node->info.file.triply_indirect = 0;                            
ffc0df2c:	90 1b 00 60 	stw     r0,96(r27)                             
ffc0df30:	4b ff ff 2c 	b       ffc0de5c <IMFS_create_node+0xbc>       
                                                                      

ffc07450 <IMFS_dump_directory>: */ void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
ffc07450:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc07454:	7c 08 02 a6 	mflr    r0                                     
ffc07458:	7d 80 00 26 	mfcr    r12                                    
ffc0745c:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc07460:	90 01 00 34 	stw     r0,52(r1)                              
ffc07464:	93 61 00 1c 	stw     r27,28(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc07468:	83 63 00 50 	lwz     r27,80(r3)                             
ffc0746c:	93 41 00 18 	stw     r26,24(r1)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc07470:	3b 43 00 54 	addi    r26,r3,84                              
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc07474:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
 */                                                                   
void IMFS_dump_directory(                                             
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
ffc07478:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0747c:	7c 9d 23 78 	mr      r29,r4                                 
ffc07480:	93 01 00 10 	stw     r24,16(r1)                             
ffc07484:	93 21 00 14 	stw     r25,20(r1)                             
ffc07488:	93 81 00 20 	stw     r28,32(r1)                             
ffc0748c:	93 c1 00 28 	stw     r30,40(r1)                             
ffc07490:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc07494:	91 81 00 0c 	stw     r12,12(r1)                             
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc07498:	41 9e 00 64 	beq-    cr7,ffc074fc <IMFS_dump_directory+0xac>
ffc0749c:	3f 80 ff c2 	lis     r28,-62                                
ffc074a0:	3b 9c 76 ec 	addi    r28,r28,30444                          
ffc074a4:	3f 20 00 00 	lis     r25,0                                  
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
ffc074a8:	3b 04 00 01 	addi    r24,r4,1                               
        !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++ )                                      
ffc074ac:	41 90 00 30 	blt-    cr4,ffc074dc <IMFS_dump_directory+0x8c><== NEVER TAKEN
ffc074b0:	3b e0 00 00 	li      r31,0                                  
ffc074b4:	3b d9 27 94 	addi    r30,r25,10132                          
      fprintf(stdout, "...." );                                       
ffc074b8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc074bc:	7f 83 e3 78 	mr      r3,r28                                 
ffc074c0:	38 80 00 01 	li      r4,1                                   
ffc074c4:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc074c8:	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++ )                                      
ffc074cc:	3b ff 00 01 	addi    r31,r31,1                              
      fprintf(stdout, "...." );                                       
ffc074d0:	48 01 1c 1d 	bl      ffc190ec <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++ )                                      
ffc074d4:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc074d8:	40 9c ff e0 	bge+    cr7,ffc074b8 <IMFS_dump_directory+0x68>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
ffc074dc:	7f 63 db 78 	mr      r3,r27                                 
ffc074e0:	4b ff fd e9 	bl      ffc072c8 <IMFS_print_jnode>            
    if ( the_jnode->type == IMFS_DIRECTORY )                          
ffc074e4:	80 1b 00 4c 	lwz     r0,76(r27)                             
ffc074e8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc074ec:	41 9e 00 48 	beq-    cr7,ffc07534 <IMFS_dump_directory+0xe4>
                                                                      
  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 ) {                                 
ffc074f0:	83 7b 00 00 	lwz     r27,0(r27)                             
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc074f4:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc074f8:	40 9e ff b4 	bne+    cr7,ffc074ac <IMFS_dump_directory+0x5c>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
ffc074fc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07500:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc07504:	7c 08 03 a6 	mtlr    r0                                     
ffc07508:	83 01 00 10 	lwz     r24,16(r1)                             
ffc0750c:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07510:	7d 80 81 20 	mtcrf   8,r12                                  
ffc07514:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07518:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0751c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07520:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07524:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07528:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0752c:	38 21 00 30 	addi    r1,r1,48                               
ffc07530:	4e 80 00 20 	blr                                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
ffc07534:	7f 63 db 78 	mr      r3,r27                                 
ffc07538:	7f 04 c3 78 	mr      r4,r24                                 
ffc0753c:	4b ff ff 15 	bl      ffc07450 <IMFS_dump_directory>         
ffc07540:	4b ff ff b0 	b       ffc074f0 <IMFS_dump_directory+0xa0>    
                                                                      

ffc0e154 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
ffc0e154:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc0e158:	7c 08 02 a6 	mflr    r0                                     
ffc0e15c:	90 01 00 5c 	stw     r0,92(r1)                              
  IMFS_token_types  type = IMFS_CURRENT_DIR;                          
  char              token[ IMFS_NAME_MAX + 1 ];                       
  IMFS_jnode_t     *node;                                             
  int               result;                                           
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
ffc0e160:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int               i = 0;                                            
ffc0e164:	38 00 00 00 	li      r0,0                                   
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
ffc0e168:	93 81 00 48 	stw     r28,72(r1)                             
ffc0e16c:	7c bc 2b 78 	mr      r28,r5                                 
ffc0e170:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc0e174:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0e178:	93 e1 00 54 	stw     r31,84(r1)                             
ffc0e17c:	7c df 33 78 	mr      r31,r6                                 
ffc0e180:	93 41 00 40 	stw     r26,64(r1)                             
ffc0e184:	93 61 00 44 	stw     r27,68(r1)                             
ffc0e188:	93 c1 00 50 	stw     r30,80(r1)                             
ffc0e18c:	90 81 00 38 	stw     r4,56(r1)                              
  int               i = 0;                                            
ffc0e190:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_token_types  type = IMFS_CURRENT_DIR;                          
  char              token[ IMFS_NAME_MAX + 1 ];                       
  IMFS_jnode_t     *node;                                             
  int               result;                                           
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
ffc0e194:	40 82 03 28 	bne-    ffc0e4bc <IMFS_eval_path+0x368>        <== NEVER TAKEN
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
ffc0e198:	83 c6 00 00 	lwz     r30,0(r6)                              
ffc0e19c:	38 60 00 00 	li      r3,0                                   
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e1a0:	3f 60 00 00 	lis     r27,0                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
ffc0e1a4:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0e1a8:	38 a1 00 10 	addi    r5,r1,16                               
ffc0e1ac:	38 c1 00 08 	addi    r6,r1,8                                
ffc0e1b0:	48 00 0b 7d 	bl      ffc0ed2c <IMFS_get_token>              
    pathnamelen -= len;                                               
ffc0e1b4:	80 01 00 08 	lwz     r0,8(r1)                               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
ffc0e1b8:	7c 7a 1b 78 	mr      r26,r3                                 
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e1bc:	80 7f 00 00 	lwz     r3,0(r31)                              
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
ffc0e1c0:	80 81 00 38 	lwz     r4,56(r1)                              
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e1c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
    i += len;                                                         
ffc0e1c8:	81 21 00 0c 	lwz     r9,12(r1)                              
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
ffc0e1cc:	7c 80 20 50 	subf    r4,r0,r4                               
    i += len;                                                         
ffc0e1d0:	7c 09 02 14 	add     r0,r9,r0                               
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
ffc0e1d4:	90 81 00 38 	stw     r4,56(r1)                              
    i += len;                                                         
ffc0e1d8:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e1dc:	41 9e 02 cc 	beq-    cr7,ffc0e4a8 <IMFS_eval_path+0x354>    <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0e1e0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0e1e4:	40 9e 00 44 	bne-    cr7,ffc0e228 <IMFS_eval_path+0xd4>     
   *  new fs root node and let let the mounted filesystem set the handlers.
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
ffc0e1e8:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e1ec:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e1f0:	41 9e 01 a8 	beq-    cr7,ffc0e398 <IMFS_eval_path+0x244>    
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0e1f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e1f8:	4b ff fe 15 	bl      ffc0e00c <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0e1fc:	7f 84 e3 78 	mr      r4,r28                                 
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0e200:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0e204:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e208:	4b ff fe 91 	bl      ffc0e098 <IMFS_evaluate_permission>    
ffc0e20c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e210:	40 be 00 e4 	bne+    cr7,ffc0e2f4 <IMFS_eval_path+0x1a0>    
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0e214:	48 00 49 49 	bl      ffc12b5c <__errno>                     
ffc0e218:	38 00 00 0d 	li      r0,13                                  
ffc0e21c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e220:	3b c0 ff ff 	li      r30,-1                                 
ffc0e224:	48 00 00 d0 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
ffc0e228:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e22c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e230:	41 9e 00 f0 	beq-    cr7,ffc0e320 <IMFS_eval_path+0x1cc>    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0e234:	2f 9a 00 03 	cmpwi   cr7,r26,3                              
ffc0e238:	41 9e 00 28 	beq-    cr7,ffc0e260 <IMFS_eval_path+0x10c>    
ffc0e23c:	2f 9a 00 04 	cmpwi   cr7,r26,4                              
ffc0e240:	41 9e 00 a4 	beq-    cr7,ffc0e2e4 <IMFS_eval_path+0x190>    
ffc0e244:	2f 1a 00 02 	cmpwi   cr6,r26,2                              
ffc0e248:	41 9a 00 60 	beq-    cr6,ffc0e2a8 <IMFS_eval_path+0x154>    
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0e24c:	41 be ff 9c 	beq-    cr7,ffc0e1e8 <IMFS_eval_path+0x94>     <== NEVER TAKEN
ffc0e250:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e254:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0e258:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0e25c:	4b ff ff 48 	b       ffc0e1a4 <IMFS_eval_path+0x50>         
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0e260:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e264:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0e268:	41 9e 01 80 	beq-    cr7,ffc0e3e8 <IMFS_eval_path+0x294>    
           * It would be a design error if we evaluated the link and  
           * was broken.                                              
           */                                                         
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0e26c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0e270:	41 9e 02 14 	beq-    cr7,ffc0e484 <IMFS_eval_path+0x330>    
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
ffc0e274:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e278:	40 9e 02 58 	bne-    cr7,ffc0e4d0 <IMFS_eval_path+0x37c>    
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
                                                                      
        /*                                                            
         *  Find the token name in the current node.                  
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
ffc0e27c:	38 81 00 10 	addi    r4,r1,16                               
ffc0e280:	48 00 09 a9 	bl      ffc0ec28 <IMFS_find_match_in_dir>      
        if ( !node )                                                  
ffc0e284:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0e288:	41 82 02 20 	beq-    ffc0e4a8 <IMFS_eval_path+0x354>        
         *  file system and not the IMFS. For example the IMFS length is
         *  limited. If the token is a parent directory move back up otherwise
         *  set loc to the new fs root node and let them finish evaluating the
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
ffc0e28c:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e290:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0e294:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e298:	41 9e 00 a4 	beq-    cr7,ffc0e33c <IMFS_eval_path+0x1e8>    
        }                                                             
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
        pathloc->node_access = node;                                  
ffc0e29c:	93 df 00 00 	stw     r30,0(r31)                             
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0e2a0:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0e2a4:	4b ff ff 00 	b       ffc0e1a4 <IMFS_eval_path+0x50>         
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e2a8:	81 3b 27 3c 	lwz     r9,10044(r27)                          
ffc0e2ac:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0e2b0:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc0e2b4:	41 9e 01 24 	beq-    cr7,ffc0e3d8 <IMFS_eval_path+0x284>    
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e2b8:	81 5f 00 10 	lwz     r10,16(r31)                            
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
ffc0e2bc:	80 0a 00 1c 	lwz     r0,28(r10)                             
ffc0e2c0:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc0e2c4:	41 9e 01 3c 	beq-    cr7,ffc0e400 <IMFS_eval_path+0x2ac>    
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0e2c8:	83 c3 00 08 	lwz     r30,8(r3)                              
ffc0e2cc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e2d0:	41 9e 02 14 	beq-    cr7,ffc0e4e4 <IMFS_eval_path+0x390>    
            rtems_set_errno_and_return_minus_one( ENOENT );           
                                                                      
          node = node->Parent;                                        
          pathloc->node_access = node;                                
ffc0e2d4:	93 df 00 00 	stw     r30,0(r31)                             
ffc0e2d8:	80 81 00 38 	lwz     r4,56(r1)                              
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0e2dc:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0e2e0:	4b ff fe c4 	b       ffc0e1a4 <IMFS_eval_path+0x50>         
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0e2e4:	48 00 48 79 	bl      ffc12b5c <__errno>                     
ffc0e2e8:	38 00 00 5b 	li      r0,91                                  
ffc0e2ec:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e2f0:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e2f4:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc0e2f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e2fc:	83 41 00 40 	lwz     r26,64(r1)                             
ffc0e300:	7c 08 03 a6 	mtlr    r0                                     
ffc0e304:	83 61 00 44 	lwz     r27,68(r1)                             
ffc0e308:	83 81 00 48 	lwz     r28,72(r1)                             
ffc0e30c:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc0e310:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc0e314:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc0e318:	38 21 00 58 	addi    r1,r1,88                               
ffc0e31c:	4e 80 00 20 	blr                                            
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0e320:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e324:	38 80 00 01 	li      r4,1                                   
ffc0e328:	4b ff fd 71 	bl      ffc0e098 <IMFS_evaluate_permission>    
ffc0e32c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e330:	41 be fe e4 	beq-    cr7,ffc0e214 <IMFS_eval_path+0xc0>     
ffc0e334:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0e338:	4b ff fe fc 	b       ffc0e234 <IMFS_eval_path+0xe0>         
         *  file system and not the IMFS. For example the IMFS length is
         *  limited. If the token is a parent directory move back up otherwise
         *  set loc to the new fs root node and let them finish evaluating the
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
ffc0e33c:	80 1e 00 5c 	lwz     r0,92(r30)                             
ffc0e340:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e344:	41 be ff 58 	beq-    cr7,ffc0e29c <IMFS_eval_path+0x148>    
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
ffc0e348:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e34c:	38 81 00 38 	addi    r4,r1,56                               
ffc0e350:	38 a1 00 0c 	addi    r5,r1,12                               
ffc0e354:	4b ff fc 31 	bl      ffc0df84 <IMFS_skip_separator>         
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
ffc0e358:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0e35c:	7c 1d 48 ae 	lbzx    r0,r29,r9                              
ffc0e360:	7c 7d 4a 14 	add     r3,r29,r9                              
ffc0e364:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0e368:	40 9e 01 8c 	bne-    cr7,ffc0e4f4 <IMFS_eval_path+0x3a0>    
ffc0e36c:	88 03 00 01 	lbz     r0,1(r3)                               
ffc0e370:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0e374:	40 9e 01 80 	bne-    cr7,ffc0e4f4 <IMFS_eval_path+0x3a0>    
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
          pathnamelen -= 2;                                           
ffc0e378:	80 81 00 38 	lwz     r4,56(r1)                              
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
ffc0e37c:	39 29 00 02 	addi    r9,r9,2                                
          pathnamelen -= 2;                                           
          node = node->Parent;                                        
ffc0e380:	83 de 00 08 	lwz     r30,8(r30)                             
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
          pathnamelen -= 2;                                           
ffc0e384:	38 84 ff fe 	addi    r4,r4,-2                               
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
ffc0e388:	91 21 00 0c 	stw     r9,12(r1)                              
          pathnamelen -= 2;                                           
ffc0e38c:	90 81 00 38 	stw     r4,56(r1)                              
        }                                                             
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
        pathloc->node_access = node;                                  
ffc0e390:	93 df 00 00 	stw     r30,0(r31)                             
ffc0e394:	4b ff ff 0c 	b       ffc0e2a0 <IMFS_eval_path+0x14c>        
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
ffc0e398:	81 43 00 5c 	lwz     r10,92(r3)                             
ffc0e39c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0e3a0:	41 be fe 54 	beq-    cr7,ffc0e1f4 <IMFS_eval_path+0xa0>     <== ALWAYS TAKEN
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0e3a4:	81 2a 00 20 	lwz     r9,32(r10)                             <== NOT EXECUTED
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0e3a8:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0e3ac:	80 0a 00 24 	lwz     r0,36(r10)                             <== NOT EXECUTED
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0e3b0:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0e3b4:	81 6a 00 28 	lwz     r11,40(r10)                            <== NOT EXECUTED
ffc0e3b8:	81 0a 00 1c 	lwz     r8,28(r10)                             <== NOT EXECUTED
ffc0e3bc:	91 3f 00 04 	stw     r9,4(r31)                              <== NOT EXECUTED
ffc0e3c0:	91 1f 00 00 	stw     r8,0(r31)                              <== NOT EXECUTED
ffc0e3c4:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
ffc0e3c8:	91 7f 00 0c 	stw     r11,12(r31)                            <== NOT EXECUTED
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0e3cc:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0e3d0:	80 0a 00 2c 	lwz     r0,44(r10)                             <== NOT EXECUTED
ffc0e3d4:	48 00 00 5c 	b       ffc0e430 <IMFS_eval_path+0x2dc>        <== NOT EXECUTED
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e3d8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e3dc:	80 81 00 38 	lwz     r4,56(r1)                              
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0e3e0:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0e3e4:	4b ff fd c0 	b       ffc0e1a4 <IMFS_eval_path+0x50>         
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
          IMFS_evaluate_hard_link( pathloc, 0 );                      
ffc0e3e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e3ec:	38 80 00 00 	li      r4,0                                   
ffc0e3f0:	4b ff fc fd 	bl      ffc0e0ec <IMFS_evaluate_hard_link>     
          node = pathloc->node_access;                                
ffc0e3f4:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0e3f8:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e3fc:	4b ff fe 78 	b       ffc0e274 <IMFS_eval_path+0x120>        
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0e400:	81 2a 00 0c 	lwz     r9,12(r10)                             
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
ffc0e404:	7f 85 e3 78 	mr      r5,r28                                 
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0e408:	80 0a 00 10 	lwz     r0,16(r10)                             
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
ffc0e40c:	7f e6 fb 78 	mr      r6,r31                                 
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0e410:	81 6a 00 14 	lwz     r11,20(r10)                            
ffc0e414:	81 0a 00 08 	lwz     r8,8(r10)                              
ffc0e418:	91 3f 00 04 	stw     r9,4(r31)                              
ffc0e41c:	91 1f 00 00 	stw     r8,0(r31)                              
ffc0e420:	90 1f 00 08 	stw     r0,8(r31)                              
ffc0e424:	91 7f 00 0c 	stw     r11,12(r31)                            
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
ffc0e428:	81 21 00 08 	lwz     r9,8(r1)                               
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0e42c:	80 0a 00 18 	lwz     r0,24(r10)                             
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0e430:	90 1f 00 10 	stw     r0,16(r31)                             
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0e434:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0e438:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc0e43c:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0e440:	7c 69 18 50 	subf    r3,r9,r3                               
ffc0e444:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0e448:	7c 09 03 a6 	mtctr   r0                                     
ffc0e44c:	7c 89 22 14 	add     r4,r9,r4                               
ffc0e450:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e454:	80 01 00 5c 	lwz     r0,92(r1)                              
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0e458:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e45c:	83 41 00 40 	lwz     r26,64(r1)                             
ffc0e460:	7c 08 03 a6 	mtlr    r0                                     
ffc0e464:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e468:	83 61 00 44 	lwz     r27,68(r1)                             
ffc0e46c:	83 81 00 48 	lwz     r28,72(r1)                             
ffc0e470:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc0e474:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc0e478:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc0e47c:	38 21 00 58 	addi    r1,r1,88                               
ffc0e480:	4e 80 00 20 	blr                                            
           * was broken.                                              
           */                                                         
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
ffc0e484:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e488:	38 80 00 00 	li      r4,0                                   
ffc0e48c:	48 00 00 b5 	bl      ffc0e540 <IMFS_evaluate_sym_link>      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
ffc0e490:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
           * was broken.                                              
           */                                                         
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
ffc0e494:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
ffc0e498:	80 7f 00 00 	lwz     r3,0(r31)                              
          if ( result == -1 )                                         
ffc0e49c:	41 be fe 58 	beq-    cr7,ffc0e2f4 <IMFS_eval_path+0x1a0>    <== NEVER TAKEN
ffc0e4a0:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e4a4:	4b ff fd d0 	b       ffc0e274 <IMFS_eval_path+0x120>        
        /*                                                            
         *  Find the token name in the current node.                  
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
ffc0e4a8:	48 00 46 b5 	bl      ffc12b5c <__errno>                     
ffc0e4ac:	38 00 00 02 	li      r0,2                                   
ffc0e4b0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e4b4:	3b c0 ff ff 	li      r30,-1                                 
ffc0e4b8:	4b ff fe 3c 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        
  char              token[ IMFS_NAME_MAX + 1 ];                       
  IMFS_jnode_t     *node;                                             
  int               result;                                           
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
ffc0e4bc:	48 00 46 a1 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc0e4c0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0e4c4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0e4c8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc0e4cc:	4b ff fe 28 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
ffc0e4d0:	48 00 46 8d 	bl      ffc12b5c <__errno>                     
ffc0e4d4:	38 00 00 14 	li      r0,20                                  
ffc0e4d8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e4dc:	3b c0 ff ff 	li      r30,-1                                 
ffc0e4e0:	4b ff fe 14 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0e4e4:	48 00 46 79 	bl      ffc12b5c <__errno>                     
ffc0e4e8:	3b c0 ff ff 	li      r30,-1                                 
ffc0e4ec:	93 43 00 00 	stw     r26,0(r3)                              
ffc0e4f0:	4b ff fe 04 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
ffc0e4f4:	81 3e 00 5c 	lwz     r9,92(r30)                             
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0e4f8:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e4fc:	7f e6 fb 78 	mr      r6,r31                                 
ffc0e500:	80 81 00 38 	lwz     r4,56(r1)                              
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
ffc0e504:	81 69 00 28 	lwz     r11,40(r9)                             
ffc0e508:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0e50c:	81 09 00 1c 	lwz     r8,28(r9)                              
ffc0e510:	81 49 00 20 	lwz     r10,32(r9)                             
ffc0e514:	90 1f 00 08 	stw     r0,8(r31)                              
ffc0e518:	91 1f 00 00 	stw     r8,0(r31)                              
ffc0e51c:	91 5f 00 04 	stw     r10,4(r31)                             
ffc0e520:	91 7f 00 0c 	stw     r11,12(r31)                            
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0e524:	80 0b 00 00 	lwz     r0,0(r11)                              
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
ffc0e528:	81 29 00 2c 	lwz     r9,44(r9)                              
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0e52c:	7c 09 03 a6 	mtctr   r0                                     
         *  path.                                                     
         */                                                           
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
ffc0e530:	91 3f 00 10 	stw     r9,16(r31)                             
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0e534:	4e 80 04 21 	bctrl                                          
ffc0e538:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e53c:	4b ff fd b8 	b       ffc0e2f4 <IMFS_eval_path+0x1a0>        
                                                                      

ffc0e70c <IMFS_evaluate_for_make>: int IMFS_evaluate_for_make( const char *path, /* IN */ rtems_filesystem_location_info_t *pathloc, /* IN/OUT */ const char **name /* OUT */ ) {
ffc0e70c:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc0e710:	7c 08 02 a6 	mflr    r0                                     
ffc0e714:	7d 80 00 26 	mfcr    r12                                    
ffc0e718:	90 01 00 5c 	stw     r0,92(r1)                              
  int               i = 0;                                            
ffc0e71c:	38 00 00 00 	li      r0,0                                   
int IMFS_evaluate_for_make(                                           
  const char                         *path,       /* IN     */        
  rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */        
  const char                        **name        /* OUT    */        
                           )                                          
{                                                                     
ffc0e720:	93 61 00 44 	stw     r27,68(r1)                             
ffc0e724:	7c bb 2b 78 	mr      r27,r5                                 
ffc0e728:	93 81 00 48 	stw     r28,72(r1)                             
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e72c:	3f 80 00 00 	lis     r28,0                                  
int IMFS_evaluate_for_make(                                           
  const char                         *path,       /* IN     */        
  rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */        
  const char                        **name        /* OUT    */        
                           )                                          
{                                                                     
ffc0e730:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc0e734:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0e738:	93 c1 00 50 	stw     r30,80(r1)                             
ffc0e73c:	93 e1 00 54 	stw     r31,84(r1)                             
ffc0e740:	7c 9f 23 78 	mr      r31,r4                                 
  int               i = 0;                                            
ffc0e744:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
ffc0e748:	83 c4 00 00 	lwz     r30,0(r4)                              
int IMFS_evaluate_for_make(                                           
  const char                         *path,       /* IN     */        
  rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */        
  const char                        **name        /* OUT    */        
                           )                                          
{                                                                     
ffc0e74c:	93 41 00 40 	stw     r26,64(r1)                             
ffc0e750:	91 81 00 3c 	stw     r12,60(r1)                             
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
ffc0e754:	48 00 5d 35 	bl      ffc14488 <strlen>                      
ffc0e758:	7c 64 1b 78 	mr      r4,r3                                  
ffc0e75c:	90 61 00 08 	stw     r3,8(r1)                               
ffc0e760:	38 00 00 00 	li      r0,0                                   
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0e764:	7c 7d 02 14 	add     r3,r29,r0                              
ffc0e768:	38 a1 00 14 	addi    r5,r1,20                               
ffc0e76c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0e770:	48 00 05 bd 	bl      ffc0ed2c <IMFS_get_token>              
    pathlen -= len;                                                   
ffc0e774:	80 01 00 0c 	lwz     r0,12(r1)                              
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0e778:	7c 7a 1b 78 	mr      r26,r3                                 
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e77c:	80 7f 00 00 	lwz     r3,0(r31)                              
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0e780:	81 21 00 08 	lwz     r9,8(r1)                               
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e784:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
ffc0e788:	81 61 00 10 	lwz     r11,16(r1)                             
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0e78c:	7d 20 48 50 	subf    r9,r0,r9                               
    i +=  len;                                                        
ffc0e790:	7c 0b 02 14 	add     r0,r11,r0                              
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0e794:	91 21 00 08 	stw     r9,8(r1)                               
    i +=  len;                                                        
ffc0e798:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e79c:	41 9e 02 54 	beq-    cr7,ffc0e9f0 <IMFS_evaluate_for_make+0x2e4><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0e7a0:	2e 1a 00 00 	cmpwi   cr4,r26,0                              
ffc0e7a4:	40 92 00 48 	bne-    cr4,ffc0e7ec <IMFS_evaluate_for_make+0xe0>
          pathloc->node_access = node;                                
        }                                                             
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
ffc0e7a8:	48 00 43 b5 	bl      ffc12b5c <__errno>                     
ffc0e7ac:	38 00 00 11 	li      r0,17                                  
ffc0e7b0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e7b4:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e7b8:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc0e7bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e7c0:	81 81 00 3c 	lwz     r12,60(r1)                             
ffc0e7c4:	7c 08 03 a6 	mtlr    r0                                     
ffc0e7c8:	83 41 00 40 	lwz     r26,64(r1)                             
ffc0e7cc:	83 61 00 44 	lwz     r27,68(r1)                             
ffc0e7d0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0e7d4:	83 81 00 48 	lwz     r28,72(r1)                             
ffc0e7d8:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc0e7dc:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc0e7e0:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc0e7e4:	38 21 00 58 	addi    r1,r1,88                               
ffc0e7e8:	4e 80 00 20 	blr                                            
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
ffc0e7ec:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e7f0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e7f4:	41 9e 01 1c 	beq-    cr7,ffc0e910 <IMFS_evaluate_for_make+0x204>
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0e7f8:	2f 9a 00 02 	cmpwi   cr7,r26,2                              
ffc0e7fc:	41 9e 00 84 	beq-    cr7,ffc0e880 <IMFS_evaluate_for_make+0x174>
ffc0e800:	2b 9a 00 02 	cmplwi  cr7,r26,2                              
ffc0e804:	40 9d 00 24 	ble-    cr7,ffc0e828 <IMFS_evaluate_for_make+0x11c>
ffc0e808:	2f 9a 00 03 	cmpwi   cr7,r26,3                              
ffc0e80c:	41 9e 00 b0 	beq-    cr7,ffc0e8bc <IMFS_evaluate_for_make+0x1b0>
ffc0e810:	2f 9a 00 04 	cmpwi   cr7,r26,4                              
ffc0e814:	41 9e 00 28 	beq-    cr7,ffc0e83c <IMFS_evaluate_for_make+0x130><== ALWAYS TAKEN
ffc0e818:	80 01 00 10 	lwz     r0,16(r1)                              <== NOT EXECUTED
ffc0e81c:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc0e820:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc0e824:	4b ff ff 40 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> <== NOT EXECUTED
ffc0e828:	41 b2 ff 80 	beq-    cr4,ffc0e7a8 <IMFS_evaluate_for_make+0x9c><== NEVER TAKEN
ffc0e82c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0e830:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e834:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0e838:	4b ff ff 2c 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> 
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0e83c:	48 00 43 21 	bl      ffc12b5c <__errno>                     
ffc0e840:	38 00 00 5b 	li      r0,91                                  
ffc0e844:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e848:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e84c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e850:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc0e854:	81 81 00 3c 	lwz     r12,60(r1)                             
ffc0e858:	7c 08 03 a6 	mtlr    r0                                     
ffc0e85c:	83 41 00 40 	lwz     r26,64(r1)                             
ffc0e860:	83 61 00 44 	lwz     r27,68(r1)                             
ffc0e864:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0e868:	83 81 00 48 	lwz     r28,72(r1)                             
ffc0e86c:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc0e870:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc0e874:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc0e878:	38 21 00 58 	addi    r1,r1,88                               
ffc0e87c:	4e 80 00 20 	blr                                            
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e880:	81 3c 27 3c 	lwz     r9,10044(r28)                          
ffc0e884:	83 c9 00 18 	lwz     r30,24(r9)                             
ffc0e888:	7f 9e 18 00 	cmpw    cr7,r30,r3                             
ffc0e88c:	41 9e 01 78 	beq-    cr7,ffc0ea04 <IMFS_evaluate_for_make+0x2f8>
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e890:	81 7f 00 10 	lwz     r11,16(r31)                            
                                                                      
        /*                                                            
         * Am I at the root of this mounted filesystem?               
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
ffc0e894:	80 0b 00 1c 	lwz     r0,28(r11)                             
ffc0e898:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0e89c:	41 9e 01 74 	beq-    cr7,ffc0ea10 <IMFS_evaluate_for_make+0x304>
            *pathloc = pathloc->mt_entry->mt_point_node;              
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0e8a0:	83 c3 00 08 	lwz     r30,8(r3)                              
ffc0e8a4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e8a8:	41 9e 02 14 	beq-    cr7,ffc0eabc <IMFS_evaluate_for_make+0x3b0>
            rtems_set_errno_and_return_minus_one( ENOENT );           
                                                                      
          node = node->Parent;                                        
        }                                                             
                                                                      
        pathloc->node_access = node;                                  
ffc0e8ac:	93 df 00 00 	stw     r30,0(r31)                             
ffc0e8b0:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0e8b4:	80 81 00 08 	lwz     r4,8(r1)                               
        break;                                                        
ffc0e8b8:	4b ff fe ac 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> 
                                                                      
      case IMFS_NAME:                                                 
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0e8bc:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e8c0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0e8c4:	41 9e 00 68 	beq-    cr7,ffc0e92c <IMFS_evaluate_for_make+0x220>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0e8c8:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0e8cc:	41 9e 00 60 	beq-    cr7,ffc0e92c <IMFS_evaluate_for_make+0x220>
          if ( result == -1 )                                         
            return -1;                                                
        }                                                             
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
ffc0e8d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e8d4:	41 9e 01 d4 	beq-    cr7,ffc0eaa8 <IMFS_evaluate_for_make+0x39c><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
ffc0e8d8:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0e8dc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e8e0:	40 9e 01 c8 	bne-    cr7,ffc0eaa8 <IMFS_evaluate_for_make+0x39c>
                                                                      
        /*                                                            
         * Find the token name in the present location.               
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
ffc0e8e4:	38 81 00 14 	addi    r4,r1,20                               
ffc0e8e8:	48 00 03 41 	bl      ffc0ec28 <IMFS_find_match_in_dir>      
        /*                                                            
         * If there is no node we have found the name of the node we  
         * wish to create.                                            
         */                                                           
                                                                      
        if ( ! node )                                                 
ffc0e8ec:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0e8f0:	41 82 00 b8 	beq-    ffc0e9a8 <IMFS_evaluate_for_make+0x29c>
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
ffc0e8f4:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e8f8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e8fc:	41 9e 00 50 	beq-    cr7,ffc0e94c <IMFS_evaluate_for_make+0x240>
ffc0e900:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0e904:	80 81 00 08 	lwz     r4,8(r1)                               
            }                                                         
            i += 2;                                                   
            pathlen -= 2;                                             
            node = node->Parent;                                      
          }                                                           
          pathloc->node_access = node;                                
ffc0e908:	93 df 00 00 	stw     r30,0(r31)                             
ffc0e90c:	4b ff fe 58 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> 
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0e910:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e914:	38 80 00 01 	li      r4,1                                   
ffc0e918:	4b ff f7 81 	bl      ffc0e098 <IMFS_evaluate_permission>    
ffc0e91c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e920:	41 9e 01 74 	beq-    cr7,ffc0ea94 <IMFS_evaluate_for_make+0x388>
ffc0e924:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0e928:	4b ff fe d0 	b       ffc0e7f8 <IMFS_evaluate_for_make+0xec> 
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
ffc0e92c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e930:	38 80 00 00 	li      r4,0                                   
ffc0e934:	4b ff fc c5 	bl      ffc0e5f8 <IMFS_evaluate_link>          
                                                                      
          if ( result == -1 )                                         
ffc0e938:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
ffc0e93c:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
          if ( result == -1 )                                         
ffc0e940:	41 be fe 78 	beq-    cr7,ffc0e7b8 <IMFS_evaluate_for_make+0xac><== NEVER TAKEN
ffc0e944:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0e948:	4b ff ff 88 	b       ffc0e8d0 <IMFS_evaluate_for_make+0x1c4>
         */                                                           
                                                                      
        if ( ! node )                                                 
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
ffc0e94c:	80 1e 00 5c 	lwz     r0,92(r30)                             
ffc0e950:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e954:	41 be ff ac 	beq-    cr7,ffc0e900 <IMFS_evaluate_for_make+0x1f4>
            IMFS_skip_separator( path, &pathlen, &i);                 
ffc0e958:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e95c:	38 81 00 08 	addi    r4,r1,8                                
ffc0e960:	38 a1 00 10 	addi    r5,r1,16                               
ffc0e964:	4b ff f6 21 	bl      ffc0df84 <IMFS_skip_separator>         
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
ffc0e968:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0e96c:	7c 1d 48 ae 	lbzx    r0,r29,r9                              
ffc0e970:	7c 7d 4a 14 	add     r3,r29,r9                              
ffc0e974:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0e978:	40 9e 01 54 	bne-    cr7,ffc0eacc <IMFS_evaluate_for_make+0x3c0>
ffc0e97c:	88 03 00 01 	lbz     r0,1(r3)                               
ffc0e980:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0e984:	40 9e 01 48 	bne-    cr7,ffc0eacc <IMFS_evaluate_for_make+0x3c0><== NEVER TAKEN
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
            pathlen -= 2;                                             
ffc0e988:	80 81 00 08 	lwz     r4,8(r1)                               
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
ffc0e98c:	38 09 00 02 	addi    r0,r9,2                                
            pathlen -= 2;                                             
            node = node->Parent;                                      
ffc0e990:	83 de 00 08 	lwz     r30,8(r30)                             
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
            pathlen -= 2;                                             
ffc0e994:	38 84 ff fe 	addi    r4,r4,-2                               
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
ffc0e998:	90 01 00 10 	stw     r0,16(r1)                              
            pathlen -= 2;                                             
ffc0e99c:	90 81 00 08 	stw     r4,8(r1)                               
            node = node->Parent;                                      
          }                                                           
          pathloc->node_access = node;                                
ffc0e9a0:	93 df 00 00 	stw     r30,0(r31)                             
ffc0e9a4:	4b ff fd c0 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> 
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0e9a8:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0e9ac:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0e9b0:	7d 29 00 50 	subf    r9,r9,r0                               
ffc0e9b4:	7d 3d 4a 14 	add     r9,r29,r9                              
ffc0e9b8:	91 3b 00 00 	stw     r9,0(r27)                              
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
ffc0e9bc:	7c 7d 00 ae 	lbzx    r3,r29,r0                              
ffc0e9c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e9c4:	40 be 00 20 	bne+    cr7,ffc0e9e4 <IMFS_evaluate_for_make+0x2d8>
ffc0e9c8:	48 00 00 9c 	b       ffc0ea64 <IMFS_evaluate_for_make+0x358>
ffc0e9cc:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0e9d0:	38 09 00 01 	addi    r0,r9,1                                
ffc0e9d4:	7c 7d 00 ae 	lbzx    r3,r29,r0                              
ffc0e9d8:	90 01 00 10 	stw     r0,16(r1)                              
ffc0e9dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e9e0:	41 9e 00 84 	beq-    cr7,ffc0ea64 <IMFS_evaluate_for_make+0x358>
    if ( !IMFS_is_separator( path[ i ] ) )                            
ffc0e9e4:	4b ff 7b 0d 	bl      ffc064f0 <rtems_filesystem_is_separator>
ffc0e9e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e9ec:	40 9e ff e0 	bne+    cr7,ffc0e9cc <IMFS_evaluate_for_make+0x2c0>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
ffc0e9f0:	48 00 41 6d 	bl      ffc12b5c <__errno>                     
ffc0e9f4:	38 00 00 02 	li      r0,2                                   
ffc0e9f8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e9fc:	3b c0 ff ff 	li      r30,-1                                 
ffc0ea00:	4b ff fd b8 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0ea04:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0ea08:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0ea0c:	4b ff fd 58 	b       ffc0e764 <IMFS_evaluate_for_make+0x58> 
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0ea10:	81 2b 00 14 	lwz     r9,20(r11)                             
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0ea14:	7f e4 fb 78 	mr      r4,r31                                 
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0ea18:	80 0b 00 10 	lwz     r0,16(r11)                             
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0ea1c:	7f 65 db 78 	mr      r5,r27                                 
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0ea20:	81 0b 00 08 	lwz     r8,8(r11)                              
ffc0ea24:	81 4b 00 0c 	lwz     r10,12(r11)                            
ffc0ea28:	91 1f 00 00 	stw     r8,0(r31)                              
ffc0ea2c:	91 5f 00 04 	stw     r10,4(r31)                             
ffc0ea30:	90 1f 00 08 	stw     r0,8(r31)                              
ffc0ea34:	91 3f 00 0c 	stw     r9,12(r31)                             
ffc0ea38:	80 0b 00 18 	lwz     r0,24(r11)                             
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0ea3c:	80 61 00 10 	lwz     r3,16(r1)                              
ffc0ea40:	81 61 00 0c 	lwz     r11,12(r1)                             
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0ea44:	90 1f 00 10 	stw     r0,16(r31)                             
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0ea48:	7c 6b 18 50 	subf    r3,r11,r3                              
ffc0ea4c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0ea50:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0ea54:	7c 09 03 a6 	mtctr   r0                                     
ffc0ea58:	4e 80 04 21 	bctrl                                          
ffc0ea5c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ea60:	4b ff fd 58 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0ea64:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ea68:	4b ff f5 a5 	bl      ffc0e00c <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0ea6c:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0ea70:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0ea74:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0ea78:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ea7c:	40 9e 00 2c 	bne-    cr7,ffc0eaa8 <IMFS_evaluate_for_make+0x39c><== NEVER TAKEN
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
ffc0ea80:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ea84:	38 80 00 03 	li      r4,3                                   
ffc0ea88:	4b ff f6 11 	bl      ffc0e098 <IMFS_evaluate_permission>    
ffc0ea8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea90:	40 9e fd 28 	bne+    cr7,ffc0e7b8 <IMFS_evaluate_for_make+0xac>
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0ea94:	48 00 40 c9 	bl      ffc12b5c <__errno>                     
ffc0ea98:	38 00 00 0d 	li      r0,13                                  
ffc0ea9c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0eaa0:	3b c0 ff ff 	li      r30,-1                                 
ffc0eaa4:	4b ff fd 14 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0eaa8:	48 00 40 b5 	bl      ffc12b5c <__errno>                     
ffc0eaac:	38 00 00 14 	li      r0,20                                  
ffc0eab0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0eab4:	3b c0 ff ff 	li      r30,-1                                 
ffc0eab8:	4b ff fd 00 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0eabc:	48 00 40 a1 	bl      ffc12b5c <__errno>                     
ffc0eac0:	3b c0 ff ff 	li      r30,-1                                 
ffc0eac4:	93 43 00 00 	stw     r26,0(r3)                              
ffc0eac8:	4b ff fc f0 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
            IMFS_skip_separator( path, &pathlen, &i);                 
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
ffc0eacc:	81 3e 00 5c 	lwz     r9,92(r30)                             
              return (*pathloc->ops->evalformake_h)( &path[i],        
ffc0ead0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ead4:	7f 65 db 78 	mr      r5,r27                                 
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
            IMFS_skip_separator( path, &pathlen, &i);                 
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
ffc0ead8:	81 69 00 28 	lwz     r11,40(r9)                             
ffc0eadc:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0eae0:	81 09 00 1c 	lwz     r8,28(r9)                              
ffc0eae4:	81 49 00 20 	lwz     r10,32(r9)                             
ffc0eae8:	90 1f 00 08 	stw     r0,8(r31)                              
ffc0eaec:	91 1f 00 00 	stw     r8,0(r31)                              
ffc0eaf0:	91 5f 00 04 	stw     r10,4(r31)                             
ffc0eaf4:	91 7f 00 0c 	stw     r11,12(r31)                            
              return (*pathloc->ops->evalformake_h)( &path[i],        
ffc0eaf8:	80 0b 00 04 	lwz     r0,4(r11)                              
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
            IMFS_skip_separator( path, &pathlen, &i);                 
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
ffc0eafc:	81 29 00 2c 	lwz     r9,44(r9)                              
              return (*pathloc->ops->evalformake_h)( &path[i],        
ffc0eb00:	7c 09 03 a6 	mtctr   r0                                     
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
            IMFS_skip_separator( path, &pathlen, &i);                 
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
ffc0eb04:	91 3f 00 10 	stw     r9,16(r31)                             
              return (*pathloc->ops->evalformake_h)( &path[i],        
ffc0eb08:	4e 80 04 21 	bctrl                                          
ffc0eb0c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0eb10:	4b ff fc a8 	b       ffc0e7b8 <IMFS_evaluate_for_make+0xac> 
                                                                      

ffc0e5f8 <IMFS_evaluate_link>: */ int IMFS_evaluate_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
ffc0e5f8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0e5fc:	7c 08 02 a6 	mflr    r0                                     
ffc0e600:	93 a1 00 0c 	stw     r29,12(r1)                             
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e604:	3f a0 00 00 	lis     r29,0                                  
 */                                                                   
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
ffc0e608:	93 81 00 08 	stw     r28,8(r1)                              
ffc0e60c:	7c 9c 23 78 	mr      r28,r4                                 
ffc0e610:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0e614:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e618:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0e61c:	93 e1 00 14 	stw     r31,20(r1)                             
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e620:	81 3d 27 3c 	lwz     r9,10044(r29)                          
ffc0e624:	48 00 00 14 	b       ffc0e638 <IMFS_evaluate_link+0x40>     
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
ffc0e628:	41 9a 00 90 	beq-    cr6,ffc0e6b8 <IMFS_evaluate_link+0xc0> 
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
ffc0e62c:	39 6b ff fd 	addi    r11,r11,-3                             
ffc0e630:	2b 8b 00 01 	cmplwi  cr7,r11,1                              
ffc0e634:	41 9d 00 58 	bgt-    cr7,ffc0e68c <IMFS_evaluate_link+0x94> <== ALWAYS TAKEN
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e638:	a1 69 00 30 	lhz     r11,48(r9)                             
{                                                                     
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
ffc0e63c:	83 fe 00 00 	lwz     r31,0(r30)                             
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e640:	38 0b 00 01 	addi    r0,r11,1                               
ffc0e644:	54 00 04 3e 	clrlwi  r0,r0,16                               
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
ffc0e648:	2b 80 00 05 	cmplwi  cr7,r0,5                               
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e64c:	b0 09 00 30 	sth     r0,48(r9)                              
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
ffc0e650:	41 9d 00 84 	bgt-    cr7,ffc0e6d4 <IMFS_evaluate_link+0xdc> 
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
ffc0e654:	81 7f 00 4c 	lwz     r11,76(r31)                            
ffc0e658:	2f 8b 00 03 	cmpwi   cr7,r11,3                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
ffc0e65c:	2f 0b 00 04 	cmpwi   cr6,r11,4                              
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
ffc0e660:	40 9e ff c8 	bne+    cr7,ffc0e628 <IMFS_evaluate_link+0x30> 
      result = IMFS_evaluate_hard_link( node, flags );                
ffc0e664:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e668:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e66c:	4b ff fa 81 	bl      ffc0e0ec <IMFS_evaluate_hard_link>     
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
ffc0e670:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e674:	40 9e 00 58 	bne-    cr7,ffc0e6cc <IMFS_evaluate_link+0xd4> 
ffc0e678:	81 7f 00 4c 	lwz     r11,76(r31)                            
ffc0e67c:	81 3d 27 3c 	lwz     r9,10044(r29)                          
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
ffc0e680:	39 6b ff fd 	addi    r11,r11,-3                             
ffc0e684:	2b 8b 00 01 	cmplwi  cr7,r11,1                              
ffc0e688:	40 9d ff b0 	ble+    cr7,ffc0e638 <IMFS_evaluate_link+0x40> <== ALWAYS TAKEN
ffc0e68c:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc0e690:	38 00 00 00 	li      r0,0                                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e694:	83 81 00 08 	lwz     r28,8(r1)                              
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc0e698:	b0 09 00 30 	sth     r0,48(r9)                              
                                                                      
  return result;                                                      
}                                                                     
ffc0e69c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e6a0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e6a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0e6a8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e6ac:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e6b0:	38 21 00 18 	addi    r1,r1,24                               
ffc0e6b4:	4e 80 00 20 	blr                                            
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
ffc0e6b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e6bc:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e6c0:	4b ff fe 81 	bl      ffc0e540 <IMFS_evaluate_sym_link>      
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
ffc0e6c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e6c8:	41 9e ff b0 	beq+    cr7,ffc0e678 <IMFS_evaluate_link+0x80> 
ffc0e6cc:	81 3d 27 3c 	lwz     r9,10044(r29)                          
ffc0e6d0:	4b ff ff c0 	b       ffc0e690 <IMFS_evaluate_link+0x98>     
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
ffc0e6d4:	38 00 00 00 	li      r0,0                                   
ffc0e6d8:	b0 09 00 30 	sth     r0,48(r9)                              
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e6dc:	48 00 44 81 	bl      ffc12b5c <__errno>                     
ffc0e6e0:	38 00 00 5c 	li      r0,92                                  
ffc0e6e4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e6e8:	38 60 ff ff 	li      r3,-1                                  
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e6ec:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e6f0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0e6f4:	7c 08 03 a6 	mtlr    r0                                     
ffc0e6f8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e6fc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e700:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e704:	38 21 00 18 	addi    r1,r1,24                               
ffc0e708:	4e 80 00 20 	blr                                            
                                                                      

ffc0e098 <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
ffc0e098:	7c 08 02 a6 	mflr    r0                                     
ffc0e09c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0e0a0:	90 01 00 0c 	stw     r0,12(r1)                              
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0e0a4:	54 80 00 39 	rlwinm. r0,r4,0,0,28                           
ffc0e0a8:	40 82 00 30 	bne-    ffc0e0d8 <IMFS_evaluate_permission+0x40><== NEVER TAKEN
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
ffc0e0ac:	81 23 00 00 	lwz     r9,0(r3)                               
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
ffc0e0b0:	54 84 30 32 	rlwinm  r4,r4,6,0,25                           
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
ffc0e0b4:	80 69 00 30 	lwz     r3,48(r9)                              
ffc0e0b8:	7c 83 18 38 	and     r3,r4,r3                               
    return 1;                                                         
ffc0e0bc:	7c 83 1a 78 	xor     r3,r4,r3                               
ffc0e0c0:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0e0c4:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
                                                                      
  return 0;                                                           
}                                                                     
ffc0e0c8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0e0cc:	38 21 00 08 	addi    r1,r1,8                                
ffc0e0d0:	7c 08 03 a6 	mtlr    r0                                     
ffc0e0d4:	4e 80 00 20 	blr                                            
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0e0d8:	48 00 4a 85 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc0e0dc:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0e0e0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0e0e4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0e0e8:	4b ff ff e0 	b       ffc0e0c8 <IMFS_evaluate_permission+0x30><== NOT EXECUTED
                                                                      

ffc0586c <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc0586c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05870:	7c 08 02 a6 	mflr    r0                                     
ffc05874:	7c 68 1b 78 	mr      r8,r3                                  
ffc05878:	90 01 00 14 	stw     r0,20(r1)                              
ffc0587c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc05880:	93 e1 00 0c 	stw     r31,12(r1)                             
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc05884:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc05888:	80 69 00 50 	lwz     r3,80(r9)                              
ffc0588c:	48 00 c6 0d 	bl      ffc11e98 <pipe_lseek>                  
ffc05890:	7c 7e fe 70 	srawi   r30,r3,31                              
  IMFS_FIFO_RETURN(err);                                              
ffc05894:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc05898:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_FIFO_RETURN(err);                                              
ffc0589c:	41 9c 00 24 	blt-    cr7,ffc058c0 <IMFS_fifo_lseek+0x54>    <== ALWAYS TAKEN
}                                                                     
ffc058a0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc058a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc058a8:	7f e4 fb 78 	mr      r4,r31                                 
ffc058ac:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc058b0:	7c 08 03 a6 	mtlr    r0                                     
ffc058b4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc058b8:	38 21 00 10 	addi    r1,r1,16                               
ffc058bc:	4e 80 00 20 	blr                                            
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
ffc058c0:	48 00 ee b1 	bl      ffc14770 <__errno>                     
ffc058c4:	7c 1f 00 d0 	neg     r0,r31                                 
ffc058c8:	90 03 00 00 	stw     r0,0(r3)                               
ffc058cc:	3b c0 ff ff 	li      r30,-1                                 
ffc058d0:	3b e0 ff ff 	li      r31,-1                                 
ffc058d4:	4b ff ff cc 	b       ffc058a0 <IMFS_fifo_lseek+0x34>        
                                                                      

ffc058d8 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc058d8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc058dc:	7c 08 02 a6 	mflr    r0                                     
ffc058e0:	7c 66 1b 78 	mr      r6,r3                                  
ffc058e4:	90 01 00 24 	stw     r0,36(r1)                              
ffc058e8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc058ec:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
ffc058f0:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
ffc058f4:	80 7f 00 50 	lwz     r3,80(r31)                             
ffc058f8:	48 00 c2 a9 	bl      ffc11ba0 <pipe_write>                  
  if (err > 0) {                                                      
ffc058fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05900:	40 81 00 38 	ble-    ffc05938 <IMFS_fifo_write+0x60>        
    IMFS_mtime_ctime_update(jnode);                                   
ffc05904:	38 61 00 08 	addi    r3,r1,8                                
ffc05908:	38 80 00 00 	li      r4,0                                   
ffc0590c:	48 00 16 dd 	bl      ffc06fe8 <gettimeofday>                
ffc05910:	80 01 00 08 	lwz     r0,8(r1)                               
ffc05914:	90 1f 00 44 	stw     r0,68(r31)                             
ffc05918:	90 1f 00 48 	stw     r0,72(r31)                             
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
ffc0591c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05920:	7f c3 f3 78 	mr      r3,r30                                 
ffc05924:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05928:	7c 08 03 a6 	mtlr    r0                                     
ffc0592c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05930:	38 21 00 20 	addi    r1,r1,32                               
ffc05934:	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);                                              
ffc05938:	41 82 ff e4 	beq+    ffc0591c <IMFS_fifo_write+0x44>        <== NEVER TAKEN
ffc0593c:	7f de 00 d0 	neg     r30,r30                                
ffc05940:	48 00 ee 31 	bl      ffc14770 <__errno>                     
ffc05944:	93 c3 00 00 	stw     r30,0(r3)                              
ffc05948:	3b c0 ff ff 	li      r30,-1                                 
ffc0594c:	4b ff ff d0 	b       ffc0591c <IMFS_fifo_write+0x44>        
                                                                      

ffc0ec28 <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
ffc0ec28:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ec2c:	7c 08 02 a6 	mflr    r0                                     
ffc0ec30:	93 e1 00 14 	stw     r31,20(r1)                             
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0ec34:	3f e0 ff c2 	lis     r31,-62                                
ffc0ec38:	3b ff f5 84 	addi    r31,r31,-2684                          
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0ec3c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0ec40:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0ec44:	7f e4 fb 78 	mr      r4,r31                                 
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0ec48:	93 81 00 08 	stw     r28,8(r1)                              
ffc0ec4c:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0ec50:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0ec54:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0ec58:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0ec5c:	48 00 52 51 	bl      ffc13eac <strcmp>                      
ffc0ec60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ec64:	41 9e 00 54 	beq-    cr7,ffc0ecb8 <IMFS_find_match_in_dir+0x90><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
ffc0ec68:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ec6c:	38 9f 00 04 	addi    r4,r31,4                               
ffc0ec70:	48 00 52 3d 	bl      ffc13eac <strcmp>                      
ffc0ec74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ec78:	41 9e 00 64 	beq-    cr7,ffc0ecdc <IMFS_find_match_in_dir+0xb4><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0ec7c:	83 fc 00 50 	lwz     r31,80(r28)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0ec80:	3b bc 00 54 	addi    r29,r28,84                             
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0ec84:	3b 80 00 00 	li      r28,0                                  
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0ec88:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0ec8c:	40 be 00 14 	bne+    cr7,ffc0eca0 <IMFS_find_match_in_dir+0x78>
ffc0ec90:	48 00 00 28 	b       ffc0ecb8 <IMFS_find_match_in_dir+0x90> 
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
ffc0ec94:	83 ff 00 00 	lwz     r31,0(r31)                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0ec98:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0ec9c:	41 9e 00 68 	beq-    cr7,ffc0ed04 <IMFS_find_match_in_dir+0xdc>
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
ffc0eca0:	38 9f 00 0c 	addi    r4,r31,12                              
ffc0eca4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0eca8:	48 00 52 05 	bl      ffc13eac <strcmp>                      
ffc0ecac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ecb0:	40 9e ff e4 	bne+    cr7,ffc0ec94 <IMFS_find_match_in_dir+0x6c>
ffc0ecb4:	7f fc fb 78 	mr      r28,r31                                
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0ecb8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ecbc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ecc0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ecc4:	7c 08 03 a6 	mtlr    r0                                     
ffc0ecc8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0eccc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ecd0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ecd4:	38 21 00 18 	addi    r1,r1,24                               
ffc0ecd8:	4e 80 00 20 	blr                                            
ffc0ecdc:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                                                                      
  if ( !strcmp( name, dotname ) )                                     
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
ffc0ece0:	83 9c 00 08 	lwz     r28,8(r28)                             <== NOT EXECUTED
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0ece4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0ece8:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc0ecec:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0ecf0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0ecf4:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc0ecf8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc0ecfc:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0ed00:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc0ed04:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0ed08:	3b 80 00 00 	li      r28,0                                  
}                                                                     
ffc0ed0c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ed10:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ed14:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed18:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0ed1c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ed20:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ed24:	38 21 00 18 	addi    r1,r1,24                               
ffc0ed28:	4e 80 00 20 	blr                                            
                                                                      

ffc0eb14 <IMFS_fsunmount>: ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next)) int IMFS_fsunmount( rtems_filesystem_mount_table_entry_t *temp_mt_entry ) {
ffc0eb14:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0eb18:	7c 08 02 a6 	mflr    r0                                     
ffc0eb1c:	90 01 00 34 	stw     r0,52(r1)                              
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0eb20:	80 03 00 2c 	lwz     r0,44(r3)                              
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0eb24:	93 c1 00 28 	stw     r30,40(r1)                             
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0eb28:	81 43 00 20 	lwz     r10,32(r3)                             
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
ffc0eb2c:	83 c3 00 1c 	lwz     r30,28(r3)                             
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0eb30:	81 63 00 24 	lwz     r11,36(r3)                             
ffc0eb34:	81 23 00 28 	lwz     r9,40(r3)                              
ffc0eb38:	90 01 00 18 	stw     r0,24(r1)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0eb3c:	38 00 00 00 	li      r0,0                                   
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0eb40:	93 e1 00 2c 	stw     r31,44(r1)                             
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0eb44:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0eb48:	91 41 00 0c 	stw     r10,12(r1)                             
ffc0eb4c:	91 61 00 10 	stw     r11,16(r1)                             
ffc0eb50:	91 21 00 14 	stw     r9,20(r1)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0eb54:	90 03 00 1c 	stw     r0,28(r3)                              
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0eb58:	38 61 00 08 	addi    r3,r1,8                                
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0eb5c:	83 fe 00 08 	lwz     r31,8(r30)                             
     loc.node_access = (void *)jnode;                                 
ffc0eb60:	93 c1 00 08 	stw     r30,8(r1)                              
     IMFS_Set_handlers( &loc );                                       
ffc0eb64:	4b ff f4 a9 	bl      ffc0e00c <IMFS_Set_handlers>           
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
ffc0eb68:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0eb6c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0eb70:	40 9e 00 60 	bne-    cr7,ffc0ebd0 <IMFS_fsunmount+0xbc>     <== NEVER TAKEN
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
ffc0eb74:	81 3e 00 50 	lwz     r9,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 );                            
ffc0eb78:	38 1e 00 54 	addi    r0,r30,84                              
ffc0eb7c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0eb80:	41 9e 00 50 	beq-    cr7,ffc0ebd0 <IMFS_fsunmount+0xbc>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0eb84:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0eb88:	41 9e 00 68 	beq-    cr7,ffc0ebf0 <IMFS_fsunmount+0xdc>     <== NEVER TAKEN
       if ( jnode->type == IMFS_DIRECTORY ) {                         
ffc0eb8c:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0eb90:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0eb94:	40 9e ff c4 	bne+    cr7,ffc0eb58 <IMFS_fsunmount+0x44>     <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0eb98:	80 1e 00 50 	lwz     r0,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 );                            
ffc0eb9c:	39 3e 00 54 	addi    r9,r30,84                              
         if ( jnode_has_children( jnode ) )                           
ffc0eba0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0eba4:	41 be ff b4 	beq-    cr7,ffc0eb58 <IMFS_fsunmount+0x44>     
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0eba8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ebac:	41 9e 00 44 	beq-    cr7,ffc0ebf0 <IMFS_fsunmount+0xdc>     <== NEVER TAKEN
ffc0ebb0:	7c 1e 03 78 	mr      r30,r0                                 
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0ebb4:	38 61 00 08 	addi    r3,r1,8                                
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0ebb8:	83 fe 00 08 	lwz     r31,8(r30)                             
     loc.node_access = (void *)jnode;                                 
ffc0ebbc:	93 c1 00 08 	stw     r30,8(r1)                              
     IMFS_Set_handlers( &loc );                                       
ffc0ebc0:	4b ff f4 4d 	bl      ffc0e00c <IMFS_Set_handlers>           
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
ffc0ebc4:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0ebc8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ebcc:	41 be ff a8 	beq-    cr7,ffc0eb74 <IMFS_fsunmount+0x60>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
ffc0ebd0:	38 60 00 00 	li      r3,0                                   
ffc0ebd4:	38 81 00 08 	addi    r4,r1,8                                
ffc0ebd8:	4b ff 5b 55 	bl      ffc0472c <IMFS_unlink>                 
        if (result != 0)                                              
ffc0ebdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ebe0:	40 9e 00 2c 	bne-    cr7,ffc0ec0c <IMFS_fsunmount+0xf8>     <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
ffc0ebe4:	7f fe fb 78 	mr      r30,r31                                
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0ebe8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0ebec:	40 9e ff a0 	bne+    cr7,ffc0eb8c <IMFS_fsunmount+0x78>     
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
ffc0ebf0:	80 01 00 34 	lwz     r0,52(r1)                              
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
ffc0ebf4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0ebf8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0ebfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ec00:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0ec04:	38 21 00 30 	addi    r1,r1,48                               
ffc0ec08:	4e 80 00 20 	blr                                            
ffc0ec0c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
ffc0ec10:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
ffc0ec14:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc0ec18:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0ec1c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc0ec20:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc0ec24:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0ed2c <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
ffc0ed2c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ed30:	7c 08 02 a6 	mflr    r0                                     
ffc0ed34:	93 41 00 08 	stw     r26,8(r1)                              
ffc0ed38:	7c da 33 78 	mr      r26,r6                                 
ffc0ed3c:	93 81 00 10 	stw     r28,16(r1)                             
  register int i = 0;                                                 
ffc0ed40:	3b 80 00 00 	li      r28,0                                  
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
ffc0ed44:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ed48:	7c 9d 23 78 	mr      r29,r4                                 
ffc0ed4c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0ed50:	7c be 2b 78 	mr      r30,r5                                 
ffc0ed54:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0ed58:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ed5c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ed60:	93 61 00 0c 	stw     r27,12(r1)                             
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
ffc0ed64:	8b 63 00 00 	lbz     r27,0(r3)                              
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0ed68:	48 00 00 08 	b       ffc0ed70 <IMFS_get_token+0x44>         
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0ed6c:	7f 7f e0 ae 	lbzx    r27,r31,r28                            
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0ed70:	7f 63 db 78 	mr      r3,r27                                 
ffc0ed74:	4b ff 77 7d 	bl      ffc064f0 <rtems_filesystem_is_separator>
ffc0ed78:	7f 1c e8 00 	cmpw    cr6,r28,r29                            
ffc0ed7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0ed80:	2c 9c 00 20 	cmpwi   cr1,r28,32                             
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0ed84:	40 9e 00 40 	bne-    cr7,ffc0edc4 <IMFS_get_token+0x98>     
ffc0ed88:	40 98 00 3c 	bge-    cr6,ffc0edc4 <IMFS_get_token+0x98>     <== NEVER TAKEN
                                                                      
     token[i] = c;                                                    
ffc0ed8c:	7f 7e e1 ae 	stbx    r27,r30,r28                            
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0ed90:	3b 9c 00 01 	addi    r28,r28,1                              
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0ed94:	40 86 ff d8 	bne+    cr1,ffc0ed6c <IMFS_get_token+0x40>     
       return IMFS_INVALID_TOKEN;                                     
ffc0ed98:	38 60 00 04 	li      r3,4                                   
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0ed9c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0eda0:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0eda4:	7c 08 03 a6 	mtlr    r0                                     
ffc0eda8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0edac:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0edb0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0edb4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0edb8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0edbc:	38 21 00 20 	addi    r1,r1,32                               
ffc0edc0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
ffc0edc4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0edc8:	40 9e 00 28 	bne-    cr7,ffc0edf0 <IMFS_get_token+0xc4>     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0edcc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
ffc0edd0:	9b 7e 00 00 	stb     r27,0(r30)                             
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0edd4:	38 60 00 00 	li      r3,0                                   
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0edd8:	41 9e 00 10 	beq-    cr7,ffc0ede8 <IMFS_get_token+0xbc>     
ffc0eddc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0ede0:	7f 83 e3 78 	mr      r3,r28                                 
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0ede4:	40 9e 00 8c 	bne-    cr7,ffc0ee70 <IMFS_get_token+0x144>    
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0ede8:	93 9a 00 00 	stw     r28,0(r26)                             
ffc0edec:	4b ff ff b0 	b       ffc0ed9c <IMFS_get_token+0x70>         
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0edf0:	7d 3e e2 14 	add     r9,r30,r28                             
ffc0edf4:	88 09 ff ff 	lbz     r0,-1(r9)                              
ffc0edf8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0edfc:	41 9e 00 0c 	beq-    cr7,ffc0ee08 <IMFS_get_token+0xdc>     <== NEVER TAKEN
    token[i] = '\0';                                                  
ffc0ee00:	38 00 00 00 	li      r0,0                                   
ffc0ee04:	7c 1e e1 ae 	stbx    r0,r30,r28                             
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0ee08:	93 9a 00 00 	stw     r28,0(r26)                             
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
ffc0ee0c:	3c 80 ff c2 	lis     r4,-62                                 
ffc0ee10:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ee14:	38 84 f5 90 	addi    r4,r4,-2672                            
ffc0ee18:	48 00 50 95 	bl      ffc13eac <strcmp>                      
ffc0ee1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      type = IMFS_UP_DIR;                                             
ffc0ee20:	38 60 00 02 	li      r3,2                                   
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
ffc0ee24:	41 be ff 78 	beq-    cr7,ffc0ed9c <IMFS_get_token+0x70>     
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0ee28:	3c 80 ff c2 	lis     r4,-62                                 
ffc0ee2c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ee30:	38 84 f5 8c 	addi    r4,r4,-2676                            
ffc0ee34:	48 00 50 79 	bl      ffc13eac <strcmp>                      
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0ee38:	80 01 00 24 	lwz     r0,36(r1)                              
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0ee3c:	30 63 ff ff 	addic   r3,r3,-1                               
ffc0ee40:	7c 63 19 10 	subfe   r3,r3,r3                               
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0ee44:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0ee48:	7c 08 03 a6 	mtlr    r0                                     
ffc0ee4c:	83 61 00 0c 	lwz     r27,12(r1)                             
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0ee50:	54 63 00 3c 	rlwinm  r3,r3,0,0,30                           
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0ee54:	83 81 00 10 	lwz     r28,16(r1)                             
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0ee58:	38 63 00 03 	addi    r3,r3,3                                
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0ee5c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ee60:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ee64:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ee68:	38 21 00 20 	addi    r1,r1,32                               
ffc0ee6c:	4e 80 00 20 	blr                                            
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
ffc0ee70:	3b 80 00 01 	li      r28,1                                  
      type = IMFS_CURRENT_DIR;                                        
ffc0ee74:	38 60 00 01 	li      r3,1                                   
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0ee78:	93 9a 00 00 	stw     r28,0(r26)                             
ffc0ee7c:	4b ff ff 20 	b       ffc0ed9c <IMFS_get_token+0x70>         
                                                                      

ffc0421c <IMFS_initialize_support>: const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers, const rtems_filesystem_file_handlers_r *fifo_handlers ) {
ffc0421c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04220:	7c 08 02 a6 	mflr    r0                                     
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
ffc04224:	3d 20 00 00 	lis     r9,0                                   
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc04228:	90 01 00 24 	stw     r0,36(r1)                              
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
ffc0422c:	80 09 26 f8 	lwz     r0,9976(r9)                            
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc04230:	93 41 00 08 	stw     r26,8(r1)                              
ffc04234:	7c fa 3b 78 	mr      r26,r7                                 
                                                                      
  /*                                                                  
   * 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) {                      
ffc04238:	2f 80 00 10 	cmpwi   cr7,r0,16                              
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc0423c:	93 81 00 10 	stw     r28,16(r1)                             
ffc04240:	7c dc 33 78 	mr      r28,r6                                 
ffc04244:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04248:	7c 9d 23 78 	mr      r29,r4                                 
ffc0424c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04250:	7c be 2b 78 	mr      r30,r5                                 
ffc04254:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc04258:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0425c:	93 61 00 0c 	stw     r27,12(r1)                             
                                                                      
  /*                                                                  
   * 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) {                      
ffc04260:	41 9e 00 30 	beq-    cr7,ffc04290 <IMFS_initialize_support+0x74>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc04264:	2f 80 00 0f 	cmpwi   cr7,r0,15                              
ffc04268:	40 9d 00 24 	ble-    cr7,ffc0428c <IMFS_initialize_support+0x70>
ffc0426c:	39 60 00 05 	li      r11,5                                  
ffc04270:	7d 69 03 a6 	mtctr   r11                                    
ffc04274:	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) {                      
ffc04278:	7f 80 48 00 	cmpw    cr7,r0,r9                              
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
ffc0427c:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
    if (bit_mask == requested_bytes_per_block) {                      
ffc04280:	41 9e 00 10 	beq-    cr7,ffc04290 <IMFS_initialize_support+0x74>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc04284:	41 9c 00 08 	blt-    cr7,ffc0428c <IMFS_initialize_support+0x70><== 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) {
ffc04288:	42 00 ff f0 	bdnz+   ffc04278 <IMFS_initialize_support+0x5c>
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
ffc0428c:	38 00 00 80 	li      r0,128                                 
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
ffc04290:	3d 20 00 00 	lis     r9,0                                   
ffc04294:	90 09 27 a4 	stw     r0,10148(r9)                           
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc04298:	48 00 9c 9d 	bl      ffc0df34 <IMFS_create_root_node>       
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc0429c:	3c 80 ff c2 	lis     r4,-62                                 
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc042a0:	90 7f 00 1c 	stw     r3,28(r31)                             
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc042a4:	38 84 f5 34 	addi    r4,r4,-2764                            
ffc042a8:	38 a0 00 30 	li      r5,48                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
ffc042ac:	93 9f 00 24 	stw     r28,36(r31)                            
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc042b0:	7c 7b 1b 78 	mr      r27,r3                                 
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc042b4:	38 7f 00 38 	addi    r3,r31,56                              
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
ffc042b8:	93 bf 00 28 	stw     r29,40(r31)                            
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc042bc:	48 00 f5 dd 	bl      ffc13898 <memcpy>                      
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
ffc042c0:	38 60 00 01 	li      r3,1                                   
ffc042c4:	38 80 00 14 	li      r4,20                                  
ffc042c8:	48 00 08 d1 	bl      ffc04b98 <calloc>                      
  if ( !fs_info ) {                                                   
ffc042cc:	7c 69 1b 79 	mr.     r9,r3                                  
ffc042d0:	41 82 00 60 	beq-    ffc04330 <IMFS_initialize_support+0x114>
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc042d4:	3d 60 00 00 	lis     r11,0                                  
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
ffc042d8:	91 3f 00 34 	stw     r9,52(r31)                             
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
ffc042dc:	38 00 00 01 	li      r0,1                                   
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc042e0:	81 4b 28 74 	lwz     r10,10356(r11)                         
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
ffc042e4:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
ffc042e8:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc042ec:	39 0a 00 01 	addi    r8,r10,1                               
ffc042f0:	91 49 00 00 	stw     r10,0(r9)                              
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
ffc042f4:	93 c9 00 08 	stw     r30,8(r9)                              
  fs_info->directory_handlers    = directory_handlers;                
ffc042f8:	93 89 00 0c 	stw     r28,12(r9)                             
  fs_info->fifo_handlers         = fifo_handlers;                     
ffc042fc:	93 49 00 10 	stw     r26,16(r9)                             
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc04300:	91 0b 28 74 	stw     r8,10356(r11)                          
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
ffc04304:	90 1b 00 38 	stw     r0,56(r27)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc04308:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0430c:	83 41 00 08 	lwz     r26,8(r1)                              
ffc04310:	7c 08 03 a6 	mtlr    r0                                     
ffc04314:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc04318:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0431c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04320:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04324:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04328:	38 21 00 20 	addi    r1,r1,32                               
ffc0432c:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
ffc04330:	7f 63 db 78 	mr      r3,r27                                 
ffc04334:	48 00 0e 69 	bl      ffc0519c <free>                        
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
ffc04338:	48 00 e8 25 	bl      ffc12b5c <__errno>                     
ffc0433c:	38 00 00 0c 	li      r0,12                                  
ffc04340:	90 03 00 00 	stw     r0,0(r3)                               
ffc04344:	38 60 ff ff 	li      r3,-1                                  
ffc04348:	4b ff ff c0 	b       ffc04308 <IMFS_initialize_support+0xec>
                                                                      

ffc11544 <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
ffc11544:	94 21 ff c8 	stwu    r1,-56(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11548:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc1154c:	7c 08 02 a6 	mflr    r0                                     
ffc11550:	93 a1 00 2c 	stw     r29,44(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11554:	83 a9 27 a4 	lwz     r29,10148(r9)                          
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11558:	90 01 00 3c 	stw     r0,60(r1)                              
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc1155c:	57 a9 f0 be 	rlwinm  r9,r29,30,2,31                         
ffc11560:	39 69 00 01 	addi    r11,r9,1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11564:	93 41 00 20 	stw     r26,32(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11568:	7d 6b 49 d6 	mullw   r11,r11,r9                             
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc1156c:	93 81 00 28 	stw     r28,40(r1)                             
ffc11570:	7c da 33 78 	mr      r26,r6                                 
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11574:	38 0b 00 01 	addi    r0,r11,1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11578:	93 e1 00 34 	stw     r31,52(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc1157c:	39 60 00 00 	li      r11,0                                  
ffc11580:	7f 8b 28 00 	cmpw    cr7,r11,r5                             
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11584:	93 01 00 18 	stw     r24,24(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11588:	7d 20 49 d6 	mullw   r9,r0,r9                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc1158c:	93 21 00 1c 	stw     r25,28(r1)                             
ffc11590:	7c bc 2b 78 	mr      r28,r5                                 
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11594:	39 29 ff ff 	addi    r9,r9,-1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11598:	93 61 00 24 	stw     r27,36(r1)                             
ffc1159c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc115a0:	93 c1 00 30 	stw     r30,48(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc115a4:	7d 29 e9 d6 	mullw   r9,r9,r29                              
ffc115a8:	40 9d 01 78 	ble-    cr7,ffc11720 <IMFS_memfile_extend+0x1dc>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc115ac:	83 7f 00 50 	lwz     r27,80(r31)                            
ffc115b0:	83 3f 00 54 	lwz     r25,84(r31)                            
ffc115b4:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc115b8:	40 9d 00 c4 	ble-    cr7,ffc1167c <IMFS_memfile_extend+0x138><== ALWAYS TAKEN
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc115bc:	7f b8 fe 70 	srawi   r24,r29,31                             
ffc115c0:	7f 05 c3 78 	mr      r5,r24                                 
ffc115c4:	7f a6 eb 78 	mr      r6,r29                                 
ffc115c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc115cc:	7f 44 d3 78 	mr      r4,r26                                 
ffc115d0:	48 00 ac c1 	bl      ffc1c290 <__divdi3>                    
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc115d4:	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;             
ffc115d8:	7c 9e 23 78 	mr      r30,r4                                 
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc115dc:	7f 05 c3 78 	mr      r5,r24                                 
ffc115e0:	7f 24 cb 78 	mr      r4,r25                                 
ffc115e4:	7f a6 eb 78 	mr      r6,r29                                 
ffc115e8:	48 00 ac a9 	bl      ffc1c290 <__divdi3>                    
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc115ec:	7f 9e 20 40 	cmplw   cr7,r30,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;
ffc115f0:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc115f4:	41 9c 00 c8 	blt-    cr7,ffc116bc <IMFS_memfile_extend+0x178><== NEVER TAKEN
ffc115f8:	7c 9d 23 78 	mr      r29,r4                                 
ffc115fc:	48 00 00 10 	b       ffc1160c <IMFS_memfile_extend+0xc8>    
ffc11600:	3b bd 00 01 	addi    r29,r29,1                              
ffc11604:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
ffc11608:	41 9c 00 b4 	blt-    cr7,ffc116bc <IMFS_memfile_extend+0x178>
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
ffc1160c:	7f a4 eb 78 	mr      r4,r29                                 
ffc11610:	7f e3 fb 78 	mr      r3,r31                                 
ffc11614:	4b ff fc 2d 	bl      ffc11240 <IMFS_memfile_addblock>       
ffc11618:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1161c:	41 9e ff e4 	beq+    cr7,ffc11600 <IMFS_memfile_extend+0xbc>
ffc11620:	48 00 00 14 	b       ffc11634 <IMFS_memfile_extend+0xf0>    
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
ffc11624:	7f a4 eb 78 	mr      r4,r29                                 
ffc11628:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
ffc1162c:	3b bd ff ff 	addi    r29,r29,-1                             
         IMFS_memfile_remove_block( the_jnode, block );               
ffc11630:	4b ff fe d9 	bl      ffc11508 <IMFS_memfile_remove_block>   
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
ffc11634:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc11638:	40 9d ff ec 	ble+    cr7,ffc11624 <IMFS_memfile_extend+0xe0>
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc1163c:	48 00 15 21 	bl      ffc12b5c <__errno>                     
ffc11640:	38 00 00 1c 	li      r0,28                                  
ffc11644:	90 03 00 00 	stw     r0,0(r3)                               
ffc11648:	38 60 ff ff 	li      r3,-1                                  
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc1164c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc11650:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11654:	7c 08 03 a6 	mtlr    r0                                     
ffc11658:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1165c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11660:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11664:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11668:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1166c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11670:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11674:	38 21 00 38 	addi    r1,r1,56                               
ffc11678:	4e 80 00 20 	blr                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc1167c:	40 9e 00 0c 	bne-    cr7,ffc11688 <IMFS_memfile_extend+0x144>
ffc11680:	7f 9a c8 40 	cmplw   cr7,r26,r25                            
ffc11684:	41 9d ff 38 	bgt+    cr7,ffc115bc <IMFS_memfile_extend+0x78>
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc11688:	80 01 00 3c 	lwz     r0,60(r1)                              
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
ffc1168c:	38 60 00 00 	li      r3,0                                   
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc11690:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11694:	7c 08 03 a6 	mtlr    r0                                     
ffc11698:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1169c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc116a0:	83 61 00 24 	lwz     r27,36(r1)                             
ffc116a4:	83 81 00 28 	lwz     r28,40(r1)                             
ffc116a8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc116ac:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc116b0:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc116b4:	38 21 00 38 	addi    r1,r1,56                               
ffc116b8:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc116bc:	93 9f 00 50 	stw     r28,80(r31)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc116c0:	38 80 00 00 	li      r4,0                                   
ffc116c4:	38 61 00 08 	addi    r3,r1,8                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc116c8:	93 5f 00 54 	stw     r26,84(r31)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc116cc:	4b ff 3b 99 	bl      ffc05264 <gettimeofday>                
ffc116d0:	80 01 00 08 	lwz     r0,8(r1)                               
  IMFS_update_mtime(the_jnode);                                       
ffc116d4:	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);                                       
ffc116d8:	90 1f 00 48 	stw     r0,72(r31)                             
  IMFS_update_mtime(the_jnode);                                       
ffc116dc:	38 80 00 00 	li      r4,0                                   
ffc116e0:	4b ff 3b 85 	bl      ffc05264 <gettimeofday>                
ffc116e4:	80 01 00 08 	lwz     r0,8(r1)                               
  return 0;                                                           
ffc116e8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc116ec:	83 01 00 18 	lwz     r24,24(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);                                       
ffc116f0:	90 1f 00 44 	stw     r0,68(r31)                             
  return 0;                                                           
}                                                                     
ffc116f4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc116f8:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc116fc:	7c 08 03 a6 	mtlr    r0                                     
ffc11700:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11704:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11708:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1170c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11710:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11714:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11718:	38 21 00 38 	addi    r1,r1,56                               
ffc1171c:	4e 80 00 20 	blr                                            
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11720:	40 9e 00 0c 	bne-    cr7,ffc1172c <IMFS_memfile_extend+0x1e8><== NEVER TAKEN
ffc11724:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc11728:	41 9d fe 84 	bgt+    cr7,ffc115ac <IMFS_memfile_extend+0x68>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc1172c:	48 00 14 31 	bl      ffc12b5c <__errno>                     
ffc11730:	38 00 00 16 	li      r0,22                                  
ffc11734:	90 03 00 00 	stw     r0,0(r3)                               
ffc11738:	38 60 ff ff 	li      r3,-1                                  
ffc1173c:	4b ff ff 10 	b       ffc1164c <IMFS_memfile_extend+0x108>   
                                                                      

ffc10c80 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
ffc10c80:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10c84:	7c 08 02 a6 	mflr    r0                                     
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10c88:	3d 20 00 00 	lis     r9,0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10c8c:	90 01 00 2c 	stw     r0,44(r1)                              
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10c90:	80 09 27 a4 	lwz     r0,10148(r9)                           
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10c94:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10c98:	7c 7f 1b 78 	mr      r31,r3                                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10c9c:	54 09 f0 be 	rlwinm  r9,r0,30,2,31                          
ffc10ca0:	38 09 ff ff 	addi    r0,r9,-1                               
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10ca4:	93 61 00 14 	stw     r27,20(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10ca8:	7f 84 00 40 	cmplw   cr7,r4,r0                              
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10cac:	93 81 00 18 	stw     r28,24(r1)                             
ffc10cb0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc10cb4:	93 c1 00 20 	stw     r30,32(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10cb8:	41 9d 00 4c 	bgt-    cr7,ffc10d04 <IMFS_memfile_get_block_pointer+0x84>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
ffc10cbc:	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;                                               
ffc10cc0:	80 63 00 58 	lwz     r3,88(r3)                              
                                                                      
    if ( malloc_it ) {                                                
ffc10cc4:	40 9e 01 5c 	bne-    cr7,ffc10e20 <IMFS_memfile_get_block_pointer+0x1a0>
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10cc8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return 0;                                                       
ffc10ccc:	3b c0 00 00 	li      r30,0                                  
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10cd0:	41 9e 00 0c 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
ffc10cd4:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc10cd8:	7f c3 22 14 	add     r30,r3,r4                              
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10cdc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10ce0:	7f c3 f3 78 	mr      r3,r30                                 
ffc10ce4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc10ce8:	7c 08 03 a6 	mtlr    r0                                     
ffc10cec:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10cf0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10cf4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10cf8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10cfc:	38 21 00 28 	addi    r1,r1,40                               
ffc10d00:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
ffc10d04:	3b 69 00 01 	addi    r27,r9,1                               
ffc10d08:	7f 7b 49 d6 	mullw   r27,r27,r9                             
ffc10d0c:	38 1b ff ff 	addi    r0,r27,-1                              
ffc10d10:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc10d14:	40 9d 00 a4 	ble-    cr7,ffc10db8 <IMFS_memfile_get_block_pointer+0x138>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc10d18:	39 7b 00 01 	addi    r11,r27,1                              
ffc10d1c:	7d 6b 49 d6 	mullw   r11,r11,r9                             
  }                                                                   
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
ffc10d20:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc10d24:	38 0b ff ff 	addi    r0,r11,-1                              
ffc10d28:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc10d2c:	41 bd ff b0 	bgt-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
ffc10d30:	7c 9b 20 50 	subf    r4,r27,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;                                        
ffc10d34:	81 43 00 60 	lwz     r10,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;                     
ffc10d38:	7d 64 4b 96 	divwu   r11,r4,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
ffc10d3c:	7f ab 4b 96 	divwu   r29,r11,r9                             
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc10d40:	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;                     
ffc10d44:	7f 6b 49 d6 	mullw   r27,r11,r9                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc10d48:	7d 3d 49 d6 	mullw   r9,r29,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;                     
ffc10d4c:	7f 7b 20 50 	subf    r27,r27,r4                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc10d50:	7f 89 58 50 	subf    r28,r9,r11                             
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc10d54:	41 9e 01 40 	beq-    cr7,ffc10e94 <IMFS_memfile_get_block_pointer+0x214>
      if ( !p ) {                                                     
ffc10d58:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10d5c:	41 9e 01 f0 	beq-    cr7,ffc10f4c <IMFS_memfile_get_block_pointer+0x2cc>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
ffc10d60:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc10d64:	7d 6a e8 2e 	lwzx    r11,r10,r29                            
ffc10d68:	7f aa ea 14 	add     r29,r10,r29                            
      if ( !p1 ) {                                                    
ffc10d6c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc10d70:	41 9e 01 c4 	beq-    cr7,ffc10f34 <IMFS_memfile_get_block_pointer+0x2b4>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
ffc10d74:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc10d78:	7c 6b e0 2e 	lwzx    r3,r11,r28                             
ffc10d7c:	7f 8b e2 14 	add     r28,r11,r28                            
      if ( !p2 ) {                                                    
ffc10d80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10d84:	41 9e 01 80 	beq-    cr7,ffc10f04 <IMFS_memfile_get_block_pointer+0x284>
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10d88:	80 01 00 2c 	lwz     r0,44(r1)                              
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc10d8c:	57 7e 10 3a 	rlwinm  r30,r27,2,0,29                         
ffc10d90:	7f c3 f2 14 	add     r30,r3,r30                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10d94:	83 61 00 14 	lwz     r27,20(r1)                             
ffc10d98:	7c 08 03 a6 	mtlr    r0                                     
ffc10d9c:	7f c3 f3 78 	mr      r3,r30                                 
ffc10da0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10da4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10da8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10dac:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10db0:	38 21 00 28 	addi    r1,r1,40                               
ffc10db4:	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;                                
ffc10db8:	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;                                        
ffc10dbc:	81 63 00 5c 	lwz     r11,92(r3)                             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc10dc0:	7f a4 4b 96 	divwu   r29,r4,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc10dc4:	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;                     
ffc10dc8:	7d 3d 49 d6 	mullw   r9,r29,r9                              
ffc10dcc:	7f 89 20 50 	subf    r28,r9,r4                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc10dd0:	41 9e 00 78 	beq-    cr7,ffc10e48 <IMFS_memfile_get_block_pointer+0x1c8>
                                                                      
      if ( !p ) {                                                     
ffc10dd4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc10dd8:	41 9e 01 44 	beq-    cr7,ffc10f1c <IMFS_memfile_get_block_pointer+0x29c>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
ffc10ddc:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc10de0:	7c 6b e8 2e 	lwzx    r3,r11,r29                             
ffc10de4:	7f ab ea 14 	add     r29,r11,r29                            
      if ( !p1 ) {                                                    
ffc10de8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10dec:	41 9e 01 00 	beq-    cr7,ffc10eec <IMFS_memfile_get_block_pointer+0x26c>
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10df0:	80 01 00 2c 	lwz     r0,44(r1)                              
        if ( !p1 )                                                    
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
ffc10df4:	57 9e 10 3a 	rlwinm  r30,r28,2,0,29                         
ffc10df8:	7f c3 f2 14 	add     r30,r3,r30                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10dfc:	83 61 00 14 	lwz     r27,20(r1)                             
ffc10e00:	7c 08 03 a6 	mtlr    r0                                     
ffc10e04:	7f c3 f3 78 	mr      r3,r30                                 
ffc10e08:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10e0c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10e10:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10e14:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10e18:	38 21 00 28 	addi    r1,r1,40                               
ffc10e1c:	4e 80 00 20 	blr                                            
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
ffc10e20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10e24:	40 9e fe b0 	bne+    cr7,ffc10cd4 <IMFS_memfile_get_block_pointer+0x54>
        p = memfile_alloc_block();                                    
ffc10e28:	90 81 00 08 	stw     r4,8(r1)                               
ffc10e2c:	4b ff fe 11 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p )                                                     
ffc10e30:	2c 03 00 00 	cmpwi   r3,0                                   
           return 0;                                                  
ffc10e34:	3b c0 00 00 	li      r30,0                                  
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc10e38:	80 81 00 08 	lwz     r4,8(r1)                               
ffc10e3c:	41 a2 fe a0 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
ffc10e40:	90 7f 00 58 	stw     r3,88(r31)                             
ffc10e44:	4b ff fe 90 	b       ffc10cd4 <IMFS_memfile_get_block_pointer+0x54>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10e48:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
      return 0;                                                       
ffc10e4c:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10e50:	41 be fe 8c 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
ffc10e54:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc10e58:	7c 0b e8 2e 	lwzx    r0,r11,r29                             
    if ( !p )                                                         
ffc10e5c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10e60:	41 be fe 7c 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
ffc10e64:	57 9e 10 3a 	rlwinm  r30,r28,2,0,29                         
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10e68:	83 61 00 14 	lwz     r27,20(r1)                             
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
ffc10e6c:	7f c0 f2 14 	add     r30,r0,r30                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10e70:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10e74:	7f c3 f3 78 	mr      r3,r30                                 
ffc10e78:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10e7c:	7c 08 03 a6 	mtlr    r0                                     
ffc10e80:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10e84:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10e88:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10e8c:	38 21 00 28 	addi    r1,r1,40                               
ffc10e90:	4e 80 00 20 	blr                                            
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10e94:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10e98:	41 be fe 44 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
ffc10e9c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc10ea0:	7d 6a e8 2e 	lwzx    r11,r10,r29                            
    if ( !p1 )                                                        
ffc10ea4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc10ea8:	41 be fe 34 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
ffc10eac:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc10eb0:	7c 0b e0 2e 	lwzx    r0,r11,r28                             
    if ( !p2 )                                                        
ffc10eb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10eb8:	41 be fe 24 	beq-    cr7,ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc10ebc:	57 7e 10 3a 	rlwinm  r30,r27,2,0,29                         
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10ec0:	83 81 00 18 	lwz     r28,24(r1)                             
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc10ec4:	7f c0 f2 14 	add     r30,r0,r30                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10ec8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10ecc:	7f c3 f3 78 	mr      r3,r30                                 
ffc10ed0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc10ed4:	7c 08 03 a6 	mtlr    r0                                     
ffc10ed8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10edc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10ee0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10ee4:	38 21 00 28 	addi    r1,r1,40                               
ffc10ee8:	4e 80 00 20 	blr                                            
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc10eec:	4b ff fd 51 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc10ef0:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc10ef4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10ef8:	41 a2 fd e4 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
ffc10efc:	90 7d 00 00 	stw     r3,0(r29)                              
ffc10f00:	4b ff fe f0 	b       ffc10df0 <IMFS_memfile_get_block_pointer+0x170>
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
ffc10f04:	4b ff fd 39 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p2 )                                                    
           return 0;                                                  
ffc10f08:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
ffc10f0c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10f10:	41 a2 fd cc 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
ffc10f14:	90 7c 00 00 	stw     r3,0(r28)                              
ffc10f18:	4b ff fe 70 	b       ffc10d88 <IMFS_memfile_get_block_pointer+0x108>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc10f1c:	4b ff fd 21 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc10f20:	3b c0 00 00 	li      r30,0                                  
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc10f24:	7c 6b 1b 79 	mr.     r11,r3                                 
ffc10f28:	41 a2 fd b4 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
ffc10f2c:	91 7f 00 5c 	stw     r11,92(r31)                            
ffc10f30:	4b ff fe ac 	b       ffc10ddc <IMFS_memfile_get_block_pointer+0x15c>
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc10f34:	4b ff fd 09 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc10f38:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc10f3c:	7c 6b 1b 79 	mr.     r11,r3                                 
ffc10f40:	41 a2 fd 9c 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
ffc10f44:	91 7d 00 00 	stw     r11,0(r29)                             
ffc10f48:	4b ff fe 2c 	b       ffc10d74 <IMFS_memfile_get_block_pointer+0xf4>
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc10f4c:	4b ff fc f1 	bl      ffc10c3c <memfile_alloc_block>         
        if ( !p )                                                     
ffc10f50:	7c 6a 1b 79 	mr.     r10,r3                                 
ffc10f54:	41 a2 fd 88 	beq-    ffc10cdc <IMFS_memfile_get_block_pointer+0x5c><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
ffc10f58:	91 5f 00 60 	stw     r10,96(r31)                            
ffc10f5c:	4b ff fe 04 	b       ffc10d60 <IMFS_memfile_get_block_pointer+0xe0>
                                                                      

ffc10f60 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
ffc10f60:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc10f64:	7c 08 02 a6 	mflr    r0                                     
ffc10f68:	90 01 00 44 	stw     r0,68(r1)                              
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc10f6c:	80 03 00 4c 	lwz     r0,76(r3)                              
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc10f70:	93 81 00 30 	stw     r28,48(r1)                             
ffc10f74:	7c fc 3b 78 	mr      r28,r7                                 
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc10f78:	2f 80 00 06 	cmpwi   cr7,r0,6                               
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc10f7c:	93 a1 00 34 	stw     r29,52(r1)                             
ffc10f80:	7c 7d 1b 78 	mr      r29,r3                                 
ffc10f84:	93 c1 00 38 	stw     r30,56(r1)                             
ffc10f88:	7c be 2b 78 	mr      r30,r5                                 
ffc10f8c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc10f90:	7c df 33 78 	mr      r31,r6                                 
ffc10f94:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc10f98:	93 01 00 20 	stw     r24,32(r1)                             
ffc10f9c:	93 21 00 24 	stw     r25,36(r1)                             
ffc10fa0:	93 41 00 28 	stw     r26,40(r1)                             
ffc10fa4:	93 61 00 2c 	stw     r27,44(r1)                             
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc10fa8:	41 9e 01 d0 	beq-    cr7,ffc11178 <IMFS_memfile_read+0x218> 
  /*                                                                  
   *  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 )                        
ffc10fac:	80 03 00 50 	lwz     r0,80(r3)                              
ffc10fb0:	39 20 00 00 	li      r9,0                                   
ffc10fb4:	83 43 00 54 	lwz     r26,84(r3)                             
ffc10fb8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
                                                                      
  /*                                                                  
   *  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;                                         
ffc10fbc:	7c c0 33 78 	mr      r0,r6                                  
ffc10fc0:	7d 28 32 14 	add     r9,r8,r6                               
  if ( last_byte > the_jnode->info.file.size )                        
ffc10fc4:	40 9d 01 28 	ble-    cr7,ffc110ec <IMFS_memfile_read+0x18c> <== ALWAYS TAKEN
    my_length = the_jnode->info.file.size - start;                    
ffc10fc8:	7f 40 d0 50 	subf    r26,r0,r26                             
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc10fcc:	3f 20 00 00 	lis     r25,0                                  
ffc10fd0:	83 79 27 a4 	lwz     r27,10148(r25)                         
ffc10fd4:	7f c3 f3 78 	mr      r3,r30                                 
ffc10fd8:	7f e4 fb 78 	mr      r4,r31                                 
ffc10fdc:	7f 78 fe 70 	srawi   r24,r27,31                             
ffc10fe0:	7f 05 c3 78 	mr      r5,r24                                 
ffc10fe4:	7f 66 db 78 	mr      r6,r27                                 
ffc10fe8:	48 00 b6 e9 	bl      ffc1c6d0 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc10fec:	7f c3 f3 78 	mr      r3,r30                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc10ff0:	7c 97 23 78 	mr      r23,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc10ff4:	7f 05 c3 78 	mr      r5,r24                                 
ffc10ff8:	7f e4 fb 78 	mr      r4,r31                                 
ffc10ffc:	7f 66 db 78 	mr      r6,r27                                 
ffc11000:	48 00 b2 91 	bl      ffc1c290 <__divdi3>                    
  if ( start_offset )  {                                              
ffc11004:	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;                       
ffc11008:	7c 9e 23 78 	mr      r30,r4                                 
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
ffc1100c:	7f 98 e3 78 	mr      r24,r28                                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
ffc11010:	3b e0 00 00 	li      r31,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 )  {                                              
ffc11014:	41 9e 00 50 	beq-    cr7,ffc11064 <IMFS_memfile_read+0x104> 
    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 );
ffc11018:	7f a3 eb 78 	mr      r3,r29                                 
ffc1101c:	38 a0 00 00 	li      r5,0                                   
ffc11020:	4b ff fc 61 	bl      ffc10c80 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc11024:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
ffc11028:	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 )                                                 
ffc1102c:	41 82 00 8c 	beq-    ffc110b8 <IMFS_memfile_read+0x158>     <== NEVER TAKEN
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc11030:	7f 77 d8 50 	subf    r27,r23,r27                            
ffc11034:	7f 9a d8 40 	cmplw   cr7,r26,r27                            
ffc11038:	7f 5f d3 78 	mr      r31,r26                                
ffc1103c:	41 9d 01 cc 	bgt-    cr7,ffc11208 <IMFS_memfile_read+0x2a8> 
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
ffc11040:	80 89 00 00 	lwz     r4,0(r9)                               
ffc11044:	7f 83 e3 78 	mr      r3,r28                                 
ffc11048:	7f e5 fb 78 	mr      r5,r31                                 
ffc1104c:	7c 84 ba 14 	add     r4,r4,r23                              
ffc11050:	48 00 28 49 	bl      ffc13898 <memcpy>                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
ffc11054:	83 79 27 a4 	lwz     r27,10148(r25)                         
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
ffc11058:	7f 1c fa 14 	add     r24,r28,r31                            
    block++;                                                          
ffc1105c:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
ffc11060:	7f 5f d0 50 	subf    r26,r31,r26                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc11064:	7f 9a d8 40 	cmplw   cr7,r26,r27                            
ffc11068:	40 bc 00 20 	bge+    cr7,ffc11088 <IMFS_memfile_read+0x128> 
ffc1106c:	48 00 00 8c 	b       ffc110f8 <IMFS_memfile_read+0x198>     
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc11070:	80 89 00 00 	lwz     r4,0(r9)                               
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc11074:	7f ff da 14 	add     r31,r31,r27                            
  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 );                      
ffc11078:	48 00 28 21 	bl      ffc13898 <memcpy>                      
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc1107c:	80 19 27 a4 	lwz     r0,10148(r25)                          
ffc11080:	7f 80 d0 40 	cmplw   cr7,r0,r26                             
ffc11084:	41 9d 00 74 	bgt-    cr7,ffc110f8 <IMFS_memfile_read+0x198> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11088:	7f c4 f3 78 	mr      r4,r30                                 
ffc1108c:	38 a0 00 00 	li      r5,0                                   
ffc11090:	7f a3 eb 78 	mr      r3,r29                                 
ffc11094:	4b ff fb ed 	bl      ffc10c80 <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;                                             
ffc11098:	7f 5b d0 50 	subf    r26,r27,r26                            
   *  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 )                                                 
ffc1109c:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc110a0:	7f 65 db 78 	mr      r5,r27                                 
ffc110a4:	7f 03 c3 78 	mr      r3,r24                                 
    dest += to_copy;                                                  
    block++;                                                          
ffc110a8:	3b de 00 01 	addi    r30,r30,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;                                                  
ffc110ac:	7f 18 da 14 	add     r24,r24,r27                            
   *  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 )                                                 
ffc110b0:	40 82 ff c0 	bne+    ffc11070 <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;                                                  
ffc110b4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc110b8:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc110bc:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc110c0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc110c4:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc110c8:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc110cc:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc110d0:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc110d4:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc110d8:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc110dc:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc110e0:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc110e4:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc110e8:	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 )                        
ffc110ec:	41 9e 01 0c 	beq-    cr7,ffc111f8 <IMFS_memfile_read+0x298> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc110f0:	7d 1a 43 78 	mr      r26,r8                                 <== NOT EXECUTED
ffc110f4:	4b ff fe d8 	b       ffc10fcc <IMFS_memfile_read+0x6c>      <== NOT EXECUTED
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
ffc110f8:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc110fc:	41 9e 00 30 	beq-    cr7,ffc1112c <IMFS_memfile_read+0x1cc> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11100:	7f a3 eb 78 	mr      r3,r29                                 
ffc11104:	7f c4 f3 78 	mr      r4,r30                                 
ffc11108:	38 a0 00 00 	li      r5,0                                   
ffc1110c:	4b ff fb 75 	bl      ffc10c80 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc11110:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11114:	41 a2 ff a0 	beq-    ffc110b4 <IMFS_memfile_read+0x154>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
ffc11118:	80 83 00 00 	lwz     r4,0(r3)                               
ffc1111c:	7f 45 d3 78 	mr      r5,r26                                 
ffc11120:	7f 03 c3 78 	mr      r3,r24                                 
ffc11124:	48 00 27 75 	bl      ffc13898 <memcpy>                      
    copied += my_length;                                              
ffc11128:	7f ff d2 14 	add     r31,r31,r26                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc1112c:	38 61 00 08 	addi    r3,r1,8                                
ffc11130:	38 80 00 00 	li      r4,0                                   
ffc11134:	4b ff 41 31 	bl      ffc05264 <gettimeofday>                
ffc11138:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return copied;                                                      
ffc1113c:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc11140:	82 e1 00 1c 	lwz     r23,28(r1)                             
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11144:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc11148:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1114c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11150:	7c 08 03 a6 	mtlr    r0                                     
ffc11154:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11158:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1115c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11160:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11164:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11168:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1116c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11170:	38 21 00 40 	addi    r1,r1,64                               
ffc11174:	4e 80 00 20 	blr                                            
  if (the_jnode->type == 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))        
ffc11178:	81 43 00 50 	lwz     r10,80(r3)                             
ffc1117c:	38 00 00 00 	li      r0,0                                   
ffc11180:	81 63 00 54 	lwz     r11,84(r3)                             
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
ffc11184:	80 83 00 58 	lwz     r4,88(r3)                              
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc11188:	7c ff 58 10 	subfc   r7,r31,r11                             
ffc1118c:	7c de 51 10 	subfe   r6,r30,r10                             
ffc11190:	7f 80 30 00 	cmpw    cr7,r0,r6                              
ffc11194:	40 9d 00 7c 	ble-    cr7,ffc11210 <IMFS_memfile_read+0x2b0> <== ALWAYS TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
ffc11198:	7f 5f 58 50 	subf    r26,r31,r11                            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
ffc1119c:	7c 84 fa 14 	add     r4,r4,r31                              
ffc111a0:	7f 45 d3 78 	mr      r5,r26                                 
ffc111a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc111a8:	48 00 26 f1 	bl      ffc13898 <memcpy>                      
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc111ac:	38 61 00 08 	addi    r3,r1,8                                
ffc111b0:	38 80 00 00 	li      r4,0                                   
ffc111b4:	4b ff 40 b1 	bl      ffc05264 <gettimeofday>                
ffc111b8:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
    return my_length;                                                 
ffc111bc:	7f 43 d3 78 	mr      r3,r26                                 
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc111c0:	82 e1 00 1c 	lwz     r23,28(r1)                             
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc111c4:	90 1d 00 40 	stw     r0,64(r29)                             
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc111c8:	80 01 00 44 	lwz     r0,68(r1)                              
ffc111cc:	83 01 00 20 	lwz     r24,32(r1)                             
ffc111d0:	7c 08 03 a6 	mtlr    r0                                     
ffc111d4:	83 21 00 24 	lwz     r25,36(r1)                             
ffc111d8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc111dc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc111e0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc111e4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc111e8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc111ec:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc111f0:	38 21 00 40 	addi    r1,r1,64                               
ffc111f4:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  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 )                        
ffc111f8:	7f 89 d0 40 	cmplw   cr7,r9,r26                             
ffc111fc:	41 bd fd cc 	bgt-    cr7,ffc10fc8 <IMFS_memfile_read+0x68>  
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc11200:	7d 1a 43 78 	mr      r26,r8                                 
ffc11204:	4b ff fd c8 	b       ffc10fcc <IMFS_memfile_read+0x6c>      
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc11208:	7f 7f db 78 	mr      r31,r27                                
ffc1120c:	4b ff fe 34 	b       ffc11040 <IMFS_memfile_read+0xe0>      
  if (the_jnode->type == 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))        
ffc11210:	40 9e 00 0c 	bne-    cr7,ffc1121c <IMFS_memfile_read+0x2bc> <== NEVER TAKEN
ffc11214:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc11218:	41 9d ff 80 	bgt+    cr7,ffc11198 <IMFS_memfile_read+0x238> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc1121c:	7d 1a 43 78 	mr      r26,r8                                 <== NOT EXECUTED
ffc11220:	4b ff ff 7c 	b       ffc1119c <IMFS_memfile_read+0x23c>     <== NOT EXECUTED
                                                                      

ffc1135c <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
ffc1135c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11360:	7c 08 02 a6 	mflr    r0                                     
ffc11364:	90 01 00 2c 	stw     r0,44(r1)                              
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc11368:	80 03 00 58 	lwz     r0,88(r3)                              
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc1136c:	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;                                 
ffc11370:	3f c0 00 00 	lis     r30,0                                  
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc11374:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc11378:	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;                                 
ffc1137c:	83 be 27 a4 	lwz     r29,10148(r30)                         
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc11380:	93 41 00 10 	stw     r26,16(r1)                             
ffc11384:	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;                                 
ffc11388:	57 bd f0 be 	rlwinm  r29,r29,30,2,31                        
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc1138c:	93 21 00 0c 	stw     r25,12(r1)                             
ffc11390:	93 61 00 14 	stw     r27,20(r1)                             
ffc11394:	93 81 00 18 	stw     r28,24(r1)                             
ffc11398:	93 e1 00 24 	stw     r31,36(r1)                             
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc1139c:	41 9e 00 10 	beq-    cr7,ffc113ac <IMFS_memfile_remove+0x50>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
ffc113a0:	38 63 00 58 	addi    r3,r3,88                               
ffc113a4:	7f a4 eb 78 	mr      r4,r29                                 
ffc113a8:	4b ff ff 25 	bl      ffc112cc <memfile_free_blocks_in_table>
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc113ac:	81 3a 00 5c 	lwz     r9,92(r26)                             
ffc113b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc113b4:	41 9e 00 68 	beq-    cr7,ffc1141c <IMFS_memfile_remove+0xc0>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc113b8:	80 1e 27 a4 	lwz     r0,10148(r30)                          
ffc113bc:	54 0b f0 bf 	rlwinm. r11,r0,30,2,31                         
ffc113c0:	41 82 00 50 	beq-    ffc11410 <IMFS_memfile_remove+0xb4>    <== NEVER TAKEN
ffc113c4:	3f 80 00 00 	lis     r28,0                                  
ffc113c8:	38 60 00 00 	li      r3,0                                   
ffc113cc:	3b e0 00 00 	li      r31,0                                  
ffc113d0:	3b 9c 27 a4 	addi    r28,r28,10148                          
ffc113d4:	48 00 00 08 	b       ffc113dc <IMFS_memfile_remove+0x80>    
ffc113d8:	81 3a 00 5c 	lwz     r9,92(r26)                             
      if ( info->doubly_indirect[i] ) {                               
ffc113dc:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc113e0:	7c 09 18 2e 	lwzx    r0,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++ ) {                  
ffc113e4:	3b ff 00 01 	addi    r31,r31,1                              
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
ffc113e8:	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] ) {                               
ffc113ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc113f0:	7c 69 1a 14 	add     r3,r9,r3                               
ffc113f4:	41 9e 00 08 	beq-    cr7,ffc113fc <IMFS_memfile_remove+0xa0><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
ffc113f8:	4b ff fe d5 	bl      ffc112cc <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++ ) {                  
ffc113fc:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc11400:	7f e3 fb 78 	mr      r3,r31                                 
ffc11404:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc11408:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc1140c:	41 9c ff cc 	blt+    cr7,ffc113d8 <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 );  
ffc11410:	38 7a 00 5c 	addi    r3,r26,92                              
ffc11414:	7f a4 eb 78 	mr      r4,r29                                 
ffc11418:	4b ff fe b5 	bl      ffc112cc <memfile_free_blocks_in_table>
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc1141c:	80 7a 00 60 	lwz     r3,96(r26)                             
ffc11420:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11424:	41 9e 00 b4 	beq-    cr7,ffc114d8 <IMFS_memfile_remove+0x17c>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc11428:	80 1e 27 a4 	lwz     r0,10148(r30)                          
ffc1142c:	54 00 f0 bf 	rlwinm. r0,r0,30,2,31                          
ffc11430:	41 82 00 9c 	beq-    ffc114cc <IMFS_memfile_remove+0x170>   <== NEVER TAKEN
      p = (block_p *) info->triply_indirect[i];                       
ffc11434:	83 c3 00 00 	lwz     r30,0(r3)                              
      if ( !p )  /* ensure we have a valid pointer */                 
ffc11438:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1143c:	41 9e 00 90 	beq-    cr7,ffc114cc <IMFS_memfile_remove+0x170><== NEVER TAKEN
ffc11440:	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];                       
ffc11444:	3b 20 00 00 	li      r25,0                                  
      if ( !p )  /* ensure we have a valid pointer */                 
ffc11448:	3b 60 00 00 	li      r27,0                                  
ffc1144c:	3b 9c 27 a4 	addi    r28,r28,10148                          
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
ffc11450:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11454:	41 9e 00 44 	beq-    cr7,ffc11498 <IMFS_memfile_remove+0x13c><== NEVER TAKEN
ffc11458:	38 60 00 00 	li      r3,0                                   
ffc1145c:	3b e0 00 00 	li      r31,0                                  
        if ( p[j] ) {                                                 
ffc11460:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc11464:	7c 1e 18 2e 	lwzx    r0,r30,r3                              
  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++ ) {                
ffc11468:	3b ff 00 01 	addi    r31,r31,1                              
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc1146c:	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] ) {                                                 
ffc11470:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11474:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc11478:	41 9e 00 08 	beq-    cr7,ffc11480 <IMFS_memfile_remove+0x124><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc1147c:	4b ff fe 51 	bl      ffc112cc <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++ ) {                
ffc11480:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc11484:	7f e3 fb 78 	mr      r3,r31                                 
ffc11488:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc1148c:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc11490:	41 9c ff d0 	blt+    cr7,ffc11460 <IMFS_memfile_remove+0x104>
ffc11494:	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(                                   
ffc11498:	7c 63 ca 14 	add     r3,r3,r25                              
ffc1149c:	7f a4 eb 78 	mr      r4,r29                                 
ffc114a0:	4b ff fe 2d 	bl      ffc112cc <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++ ) {                  
ffc114a4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc114a8:	3b 7b 00 01 	addi    r27,r27,1                              
ffc114ac:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc114b0:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc114b4:	40 9c 00 18 	bge-    cr7,ffc114cc <IMFS_memfile_remove+0x170>
      p = (block_p *) info->triply_indirect[i];                       
ffc114b8:	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.
 */                                                                   
int IMFS_memfile_remove(                                              
ffc114bc:	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];                       
ffc114c0:	7f c3 c8 2e 	lwzx    r30,r3,r25                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc114c4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc114c8:	40 9e ff 88 	bne+    cr7,ffc11450 <IMFS_memfile_remove+0xf4><== ALWAYS TAKEN
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
ffc114cc:	38 7a 00 60 	addi    r3,r26,96                              
ffc114d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc114d4:	4b ff fd f9 	bl      ffc112cc <memfile_free_blocks_in_table>
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc114d8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc114dc:	38 60 00 00 	li      r3,0                                   
ffc114e0:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc114e4:	7c 08 03 a6 	mtlr    r0                                     
ffc114e8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc114ec:	83 61 00 14 	lwz     r27,20(r1)                             
ffc114f0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc114f4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc114f8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc114fc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11500:	38 21 00 28 	addi    r1,r1,40                               
ffc11504:	4e 80 00 20 	blr                                            
                                                                      

ffc11740 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
ffc11740:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11744:	7c 08 02 a6 	mflr    r0                                     
ffc11748:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc1174c:	7c f7 3b 78 	mr      r23,r7                                 
ffc11750:	93 81 00 30 	stw     r28,48(r1)                             
ffc11754:	7c bc 2b 78 	mr      r28,r5                                 
ffc11758:	93 a1 00 34 	stw     r29,52(r1)                             
ffc1175c:	7d 1d 43 78 	mr      r29,r8                                 
ffc11760:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11764:	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;                                      
ffc11768:	7c c8 32 14 	add     r6,r8,r6                               
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc1176c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11770:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11774:	90 01 00 44 	stw     r0,68(r1)                              
ffc11778:	93 01 00 20 	stw     r24,32(r1)                             
ffc1177c:	93 21 00 24 	stw     r25,36(r1)                             
ffc11780:	93 41 00 28 	stw     r26,40(r1)                             
ffc11784:	93 61 00 2c 	stw     r27,44(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 ) {                      
ffc11788:	80 03 00 50 	lwz     r0,80(r3)                              
ffc1178c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11790:	41 9c 01 b4 	blt-    cr7,ffc11944 <IMFS_memfile_write+0x204><== NEVER TAKEN
ffc11794:	41 9e 01 a4 	beq-    cr7,ffc11938 <IMFS_memfile_write+0x1f8><== ALWAYS TAKEN
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc11798:	3f 40 00 00 	lis     r26,0                                  
ffc1179c:	83 7a 27 a4 	lwz     r27,10148(r26)                         
ffc117a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc117a4:	7f c4 f3 78 	mr      r4,r30                                 
ffc117a8:	7f 79 fe 70 	srawi   r25,r27,31                             
ffc117ac:	7f 25 cb 78 	mr      r5,r25                                 
ffc117b0:	7f 66 db 78 	mr      r6,r27                                 
ffc117b4:	48 00 af 1d 	bl      ffc1c6d0 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc117b8:	7f 83 e3 78 	mr      r3,r28                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc117bc:	7c 98 23 78 	mr      r24,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc117c0:	7f 25 cb 78 	mr      r5,r25                                 
ffc117c4:	7f c4 f3 78 	mr      r4,r30                                 
ffc117c8:	7f 66 db 78 	mr      r6,r27                                 
ffc117cc:	48 00 aa c5 	bl      ffc1c290 <__divdi3>                    
  if ( start_offset )  {                                              
ffc117d0:	2f 98 00 00 	cmpwi   cr7,r24,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;                       
ffc117d4:	7c 9e 23 78 	mr      r30,r4                                 
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
ffc117d8:	3b 80 00 00 	li      r28,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 )  {                                              
ffc117dc:	40 9e 00 8c 	bne-    cr7,ffc11868 <IMFS_memfile_write+0x128>
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc117e0:	7f 9d d8 40 	cmplw   cr7,r29,r27                            
ffc117e4:	40 bc 00 20 	bge+    cr7,ffc11804 <IMFS_memfile_write+0xc4> 
ffc117e8:	48 00 00 cc 	b       ffc118b4 <IMFS_memfile_write+0x174>    
    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 );                       
ffc117ec:	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(                            
ffc117f0:	7f 9c da 14 	add     r28,r28,r27                            
    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 );                       
ffc117f4:	48 00 20 a5 	bl      ffc13898 <memcpy>                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc117f8:	80 1a 27 a4 	lwz     r0,10148(r26)                          
ffc117fc:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc11800:	41 9d 00 b4 	bgt-    cr7,ffc118b4 <IMFS_memfile_write+0x174>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11804:	7f c4 f3 78 	mr      r4,r30                                 
ffc11808:	38 a0 00 00 	li      r5,0                                   
ffc1180c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11810:	4b ff f4 71 	bl      ffc10c80 <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;                                             
ffc11814:	7f bb e8 50 	subf    r29,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 )                                                 
ffc11818:	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 );                       
ffc1181c:	7e e4 bb 78 	mr      r4,r23                                 
ffc11820:	7f 65 db 78 	mr      r5,r27                                 
    src += to_copy;                                                   
ffc11824:	7e f7 da 14 	add     r23,r23,r27                            
    block++;                                                          
ffc11828:	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 )                                                 
ffc1182c:	40 82 ff c0 	bne+    ffc117ec <IMFS_memfile_write+0xac>     <== ALWAYS TAKEN
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
ffc11830:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11834:	7f 83 e3 78 	mr      r3,r28                                 
ffc11838:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc1183c:	7c 08 03 a6 	mtlr    r0                                     
ffc11840:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11844:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11848:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1184c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11850:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11854:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11858:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1185c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11860:	38 21 00 40 	addi    r1,r1,64                               
ffc11864:	4e 80 00 20 	blr                                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  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 );
ffc11868:	7f e3 fb 78 	mr      r3,r31                                 
ffc1186c:	38 a0 00 00 	li      r5,0                                   
ffc11870:	4b ff f4 11 	bl      ffc10c80 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
      return copied;                                                  
ffc11874:	3b 80 00 00 	li      r28,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 )                                                 
ffc11878:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1187c:	41 a2 ff b4 	beq-    ffc11830 <IMFS_memfile_write+0xf0>     <== NEVER TAKEN
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc11880:	7f 98 d8 50 	subf    r28,r24,r27                            
ffc11884:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc11888:	41 9d 00 e4 	bgt-    cr7,ffc1196c <IMFS_memfile_write+0x22c>
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc1188c:	80 63 00 00 	lwz     r3,0(r3)                               
ffc11890:	7e e4 bb 78 	mr      r4,r23                                 
ffc11894:	7f 85 e3 78 	mr      r5,r28                                 
ffc11898:	7c 63 c2 14 	add     r3,r3,r24                              
ffc1189c:	48 00 1f fd 	bl      ffc13898 <memcpy>                      
    src += to_copy;                                                   
ffc118a0:	7e f7 e2 14 	add     r23,r23,r28                            
    block++;                                                          
ffc118a4:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc118a8:	83 7a 27 a4 	lwz     r27,10148(r26)                         
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc118ac:	7f bc e8 50 	subf    r29,r28,r29                            
ffc118b0:	4b ff ff 30 	b       ffc117e0 <IMFS_memfile_write+0xa0>     
   *  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 ) {                                                  
ffc118b4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc118b8:	41 9e 00 30 	beq-    cr7,ffc118e8 <IMFS_memfile_write+0x1a8>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc118bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc118c0:	7f c4 f3 78 	mr      r4,r30                                 
ffc118c4:	38 a0 00 00 	li      r5,0                                   
ffc118c8:	4b ff f3 b9 	bl      ffc10c80 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc118cc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc118d0:	41 a2 ff 60 	beq-    ffc11830 <IMFS_memfile_write+0xf0>     <== 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 );                     
ffc118d4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc118d8:	7e e4 bb 78 	mr      r4,r23                                 
ffc118dc:	7f a5 eb 78 	mr      r5,r29                                 
ffc118e0:	48 00 1f b9 	bl      ffc13898 <memcpy>                      
    my_length = 0;                                                    
    copied += to_copy;                                                
ffc118e4:	7f 9c ea 14 	add     r28,r28,r29                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc118e8:	38 61 00 08 	addi    r3,r1,8                                
ffc118ec:	38 80 00 00 	li      r4,0                                   
ffc118f0:	4b ff 39 75 	bl      ffc05264 <gettimeofday>                
ffc118f4:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return copied;                                                      
}                                                                     
ffc118f8:	7f 83 e3 78 	mr      r3,r28                                 
ffc118fc:	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 );                               
ffc11900:	90 1f 00 44 	stw     r0,68(r31)                             
ffc11904:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc11908:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1190c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11910:	7c 08 03 a6 	mtlr    r0                                     
ffc11914:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11918:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1191c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11920:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11924:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11928:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1192c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11930:	38 21 00 40 	addi    r1,r1,64                               
ffc11934:	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 ) {                      
ffc11938:	80 03 00 54 	lwz     r0,84(r3)                              
ffc1193c:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc11940:	40 9c fe 58 	bge+    cr7,ffc11798 <IMFS_memfile_write+0x58> 
    status = IMFS_memfile_extend( the_jnode, last_byte );             
ffc11944:	7f e3 fb 78 	mr      r3,r31                                 
ffc11948:	38 a0 00 00 	li      r5,0                                   
ffc1194c:	4b ff fb f9 	bl      ffc11544 <IMFS_memfile_extend>         
    if ( status )                                                     
ffc11950:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11954:	41 9e fe 44 	beq+    cr7,ffc11798 <IMFS_memfile_write+0x58> 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc11958:	48 00 12 05 	bl      ffc12b5c <__errno>                     
ffc1195c:	38 00 00 1c 	li      r0,28                                  
ffc11960:	90 03 00 00 	stw     r0,0(r3)                               
ffc11964:	3b 80 ff ff 	li      r28,-1                                 
ffc11968:	4b ff fe c8 	b       ffc11830 <IMFS_memfile_write+0xf0>     
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc1196c:	80 63 00 00 	lwz     r3,0(r3)                               
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc11970:	7f bc eb 78 	mr      r28,r29                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc11974:	7e e4 bb 78 	mr      r4,r23                                 
ffc11978:	7c 63 c2 14 	add     r3,r3,r24                              
ffc1197c:	7f 85 e3 78 	mr      r5,r28                                 
ffc11980:	48 00 1f 19 	bl      ffc13898 <memcpy>                      
    src += to_copy;                                                   
ffc11984:	7e f7 e2 14 	add     r23,r23,r28                            
    block++;                                                          
ffc11988:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc1198c:	83 7a 27 a4 	lwz     r27,10148(r26)                         
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc11990:	7f bc e8 50 	subf    r29,r28,r29                            
ffc11994:	4b ff fe 4c 	b       ffc117e0 <IMFS_memfile_write+0xa0>     
                                                                      

ffc04550 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04550:	7c 08 02 a6 	mflr    r0                                     
ffc04554:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04558:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc0455c:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc04560:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc04564:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc04568:	40 9e 00 1c 	bne-    cr7,ffc04584 <IMFS_mount+0x34>         <== NEVER TAKEN
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
ffc0456c:	90 69 00 5c 	stw     r3,92(r9)                              
  return 0;                                                           
ffc04570:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc04574:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04578:	38 21 00 08 	addi    r1,r1,8                                
ffc0457c:	7c 08 03 a6 	mtlr    r0                                     
ffc04580:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc04584:	48 00 e5 d9 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc04588:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc0458c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc04590:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04594:	4b ff ff e0 	b       ffc04574 <IMFS_mount+0x24>             <== NOT EXECUTED
                                                                      

ffc072c8 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
ffc072c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc072cc:	7c 08 02 a6 	mflr    r0                                     
ffc072d0:	93 c1 00 08 	stw     r30,8(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc072d4:	3f c0 00 00 	lis     r30,0                                  
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
ffc072d8:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc072dc:	81 3e 27 94 	lwz     r9,10132(r30)                          
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
ffc072e0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc072e4:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc072e8:	38 63 00 0c 	addi    r3,r3,12                               
ffc072ec:	80 89 00 08 	lwz     r4,8(r9)                               
ffc072f0:	48 01 0f dd 	bl      ffc182cc <fputs>                       
  switch( the_jnode->type ) {                                         
ffc072f4:	80 bf 00 4c 	lwz     r5,76(r31)                             
ffc072f8:	2b 85 00 07 	cmplwi  cr7,r5,7                               
ffc072fc:	40 9d 00 34 	ble-    cr7,ffc07330 <IMFS_print_jnode+0x68>   <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
ffc07300:	81 3e 27 94 	lwz     r9,10132(r30)                          <== NOT EXECUTED
ffc07304:	3c 80 ff c2 	lis     r4,-62                                 <== NOT EXECUTED
ffc07308:	38 84 76 dc 	addi    r4,r4,30428                            <== NOT EXECUTED
ffc0730c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc07310:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07314:	48 01 0d b5 	bl      ffc180c8 <fprintf>                     <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc07318:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0731c:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc07320:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07324:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc07328:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0732c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
ffc07330:	3d 20 ff c2 	lis     r9,-62                                 
ffc07334:	39 29 76 64 	addi    r9,r9,30308                            
ffc07338:	54 a0 10 3a 	rlwinm  r0,r5,2,0,29                           
ffc0733c:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc07340:	7d 20 4a 14 	add     r9,r0,r9                               
ffc07344:	7d 29 03 a6 	mtctr   r9                                     
ffc07348:	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" );                       
ffc0734c:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc07350:	3c 60 ff c2 	lis     r3,-62                                 
ffc07354:	38 63 76 b4 	addi    r3,r3,30388                            
ffc07358:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc0735c:	38 80 00 01 	li      r4,1                                   
ffc07360:	38 a0 00 13 	li      r5,19                                  
ffc07364:	48 01 1d 89 	bl      ffc190ec <fwrite>                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc07368:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0736c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc07370:	7c 08 03 a6 	mtlr    r0                                     
ffc07374:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc07378:	38 21 00 10 	addi    r1,r1,16                               
ffc0737c:	4e 80 00 20 	blr                                            
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc07380:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc07384:	3c 60 ff c2 	lis     r3,-62                                 
ffc07388:	38 63 76 c8 	addi    r3,r3,30408                            
ffc0738c:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc07390:	38 80 00 01 	li      r4,1                                   
ffc07394:	38 a0 00 12 	li      r5,18                                  
ffc07398:	48 01 1d 55 	bl      ffc190ec <fwrite>                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc0739c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc073a0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc073a4:	7c 08 03 a6 	mtlr    r0                                     
ffc073a8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc073ac:	38 21 00 10 	addi    r1,r1,16                               
ffc073b0:	4e 80 00 20 	blr                                            
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc073b4:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc073b8:	3c 80 ff c2 	lis     r4,-62                                 
ffc073bc:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc073c0:	38 84 76 a8 	addi    r4,r4,30376                            
ffc073c4:	80 69 00 08 	lwz     r3,8(r9)                               
ffc073c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc073cc:	48 01 0c fd 	bl      ffc180c8 <fprintf>                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
ffc073d0:	3c 60 ff c2 	lis     r3,-62                                 
ffc073d4:	38 63 68 1c 	addi    r3,r3,26652                            
ffc073d8:	48 01 2f a1 	bl      ffc1a378 <puts>                        
}                                                                     
ffc073dc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc073e0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc073e4:	7c 08 03 a6 	mtlr    r0                                     
ffc073e8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc073ec:	38 21 00 10 	addi    r1,r1,16                               
ffc073f0:	4e 80 00 20 	blr                                            
      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)",                       
ffc073f4:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc073f8:	3c 80 ff c2 	lis     r4,-62                                 
ffc073fc:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc07400:	38 84 76 98 	addi    r4,r4,30360                            
ffc07404:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07408:	80 df 00 58 	lwz     r6,88(r31)                             
ffc0740c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07410:	48 01 0c b9 	bl      ffc180c8 <fprintf>                     
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
ffc07414:	4b ff ff bc 	b       ffc073d0 <IMFS_print_jnode+0x108>      
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
ffc07418:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc0741c:	38 60 00 2f 	li      r3,47                                  
ffc07420:	80 89 00 08 	lwz     r4,8(r9)                               
ffc07424:	48 01 0d 8d 	bl      ffc181b0 <fputc>                       
      break;                                                          
ffc07428:	4b ff ff a8 	b       ffc073d0 <IMFS_print_jnode+0x108>      
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
ffc0742c:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc07430:	3c 80 ff c2 	lis     r4,-62                                 
ffc07434:	80 bf 00 50 	lwz     r5,80(r31)                             
ffc07438:	38 84 76 84 	addi    r4,r4,30340                            
ffc0743c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07440:	80 df 00 54 	lwz     r6,84(r31)                             
ffc07444:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07448:	48 01 0c 81 	bl      ffc180c8 <fprintf>                     
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
ffc0744c:	4b ff ff 84 	b       ffc073d0 <IMFS_print_jnode+0x108>      
                                                                      

ffc045f4 <IMFS_rename>: rtems_filesystem_location_info_t *old_parent_loc, /* IN */ rtems_filesystem_location_info_t *old_loc, /* IN */ rtems_filesystem_location_info_t *new_parent_loc, /* IN */ const char *new_name /* IN */ ) {
ffc045f4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc045f8:	7c 08 02 a6 	mflr    r0                                     
ffc045fc:	90 01 00 24 	stw     r0,36(r1)                              
ffc04600:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
ffc04604:	83 e4 00 00 	lwz     r31,0(r4)                              
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
ffc04608:	7c c4 33 78 	mr      r4,r6                                  
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
ffc0460c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04610:	7c be 2b 78 	mr      r30,r5                                 
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
ffc04614:	38 7f 00 0c 	addi    r3,r31,12                              
ffc04618:	38 a0 00 20 	li      r5,32                                  
ffc0461c:	48 00 ff 29 	bl      ffc14544 <strncpy>                     
                                                                      
  if ( the_jnode->Parent != NULL )                                    
ffc04620:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc04624:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04628:	41 9e 00 0c 	beq-    cr7,ffc04634 <IMFS_rename+0x40>        <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0462c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04630:	48 00 5b 91 	bl      ffc0a1c0 <_Chain_Extract>              
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
ffc04634:	80 7e 00 00 	lwz     r3,0(r30)                              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc04638:	7f e4 fb 78 	mr      r4,r31                                 
  the_jnode->Parent = new_parent;                                     
ffc0463c:	90 7f 00 08 	stw     r3,8(r31)                              
ffc04640:	38 63 00 50 	addi    r3,r3,80                               
ffc04644:	48 00 5b 4d 	bl      ffc0a190 <_Chain_Append>               
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc04648:	38 61 00 08 	addi    r3,r1,8                                
ffc0464c:	38 80 00 00 	li      r4,0                                   
ffc04650:	48 00 0c 15 	bl      ffc05264 <gettimeofday>                
ffc04654:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc04658:	38 60 00 00 	li      r3,0                                   
ffc0465c:	83 c1 00 18 	lwz     r30,24(r1)                             
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc04660:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc04664:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04668:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0466c:	38 21 00 20 	addi    r1,r1,32                               
ffc04670:	7c 08 03 a6 	mtlr    r0                                     
ffc04674:	4e 80 00 20 	blr                                            
                                                                      

ffc0df84 <IMFS_skip_separator>: static void IMFS_skip_separator ( const char *path, /* IN */ size_t *len, /* IN/OUT */ int *index /* IN/OUT */ ) {
ffc0df84:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0df88:	7c 08 02 a6 	mflr    r0                                     
ffc0df8c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0df90:	7c bd 2b 78 	mr      r29,r5                                 
ffc0df94:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0df98:	7c 9e 23 78 	mr      r30,r4                                 
ffc0df9c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0dfa0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0dfa4:	90 01 00 1c 	stw     r0,28(r1)                              
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
ffc0dfa8:	48 00 00 34 	b       ffc0dfdc <IMFS_skip_separator+0x58>    
ffc0dfac:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0dfb0:	7c 1f 48 ae 	lbzx    r0,r31,r9                              
    ++(*index);                                                       
ffc0dfb4:	39 29 00 01 	addi    r9,r9,1                                
   const char *path,       /* IN     */                               
   size_t     *len,        /* IN/OUT */                               
   int        *index       /* IN/OUT */                               
)                                                                     
{                                                                     
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
ffc0dfb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dfbc:	41 9e 00 34 	beq-    cr7,ffc0dff0 <IMFS_skip_separator+0x6c>
ffc0dfc0:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0dfc4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dfc8:	41 9e 00 28 	beq-    cr7,ffc0dff0 <IMFS_skip_separator+0x6c><== NEVER TAKEN
    ++(*index);                                                       
ffc0dfcc:	91 3d 00 00 	stw     r9,0(r29)                              
    --(*len);                                                         
ffc0dfd0:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0dfd4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0dfd8:	90 1e 00 00 	stw     r0,0(r30)                              
   const char *path,       /* IN     */                               
   size_t     *len,        /* IN/OUT */                               
   int        *index       /* IN/OUT */                               
)                                                                     
{                                                                     
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
ffc0dfdc:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0dfe0:	7c 7f 00 ae 	lbzx    r3,r31,r0                              
ffc0dfe4:	4b ff 85 0d 	bl      ffc064f0 <rtems_filesystem_is_separator>
ffc0dfe8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0dfec:	40 9e ff c0 	bne+    cr7,ffc0dfac <IMFS_skip_separator+0x28>
    ++(*index);                                                       
    --(*len);                                                         
  }                                                                   
}                                                                     
ffc0dff0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0dff4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0dff8:	7c 08 03 a6 	mtlr    r0                                     
ffc0dffc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e000:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e004:	38 21 00 18 	addi    r1,r1,24                               
ffc0e008:	4e 80 00 20 	blr                                            
                                                                      

ffc0efbc <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc0efbc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0efc0:	7c 08 02 a6 	mflr    r0                                     
ffc0efc4:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
ffc0efc8:	81 23 00 00 	lwz     r9,0(r3)                               
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
ffc0efcc:	93 e1 00 0c 	stw     r31,12(r1)                             
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0efd0:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0efd4:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc0efd8:	40 9d 00 28 	ble-    cr7,ffc0f000 <IMFS_stat+0x44>          <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
ffc0efdc:	48 00 3b 81 	bl      ffc12b5c <__errno>                     
ffc0efe0:	38 00 00 86 	li      r0,134                                 
ffc0efe4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0efe8:	38 60 ff ff 	li      r3,-1                                  
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
                                                                      
  return 0;                                                           
}                                                                     
ffc0efec:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0eff0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0eff4:	38 21 00 10 	addi    r1,r1,16                               
ffc0eff8:	7c 08 03 a6 	mtlr    r0                                     
ffc0effc:	4e 80 00 20 	blr                                            
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0f000:	3d 60 ff c2 	lis     r11,-62                                
ffc0f004:	39 6b f6 74 	addi    r11,r11,-2444                          
ffc0f008:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0f00c:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0f010:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0f014:	7d 69 03 a6 	mtctr   r11                                    
ffc0f018:	4e 80 04 20 	bctr                                           
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
ffc0f01c:	39 40 00 00 	li      r10,0                                  
ffc0f020:	39 60 00 00 	li      r11,0                                  
ffc0f024:	91 44 00 20 	stw     r10,32(r4)                             
ffc0f028:	91 64 00 24 	stw     r11,36(r4)                             
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
ffc0f02c:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
ffc0f030:	3c 60 00 00 	lis     r3,0                                   
ffc0f034:	80 03 26 f8 	lwz     r0,9976(r3)                            
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0f038:	38 60 00 00 	li      r3,0                                   
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
ffc0f03c:	81 6b 00 34 	lwz     r11,52(r11)                            
ffc0f040:	60 63 ff fe 	ori     r3,r3,65534                            
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0f044:	81 89 00 30 	lwz     r12,48(r9)                             
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
ffc0f048:	83 eb 00 00 	lwz     r31,0(r11)                             
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0f04c:	a0 a9 00 34 	lhz     r5,52(r9)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0f050:	80 c9 00 38 	lwz     r6,56(r9)                              
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0f054:	a0 e9 00 3c 	lhz     r7,60(r9)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0f058:	a1 09 00 3e 	lhz     r8,62(r9)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0f05c:	81 49 00 40 	lwz     r10,64(r9)                             
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0f060:	81 69 00 44 	lwz     r11,68(r9)                             
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0f064:	81 29 00 48 	lwz     r9,72(r9)                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
ffc0f068:	90 04 00 40 	stw     r0,64(r4)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0f06c:	80 01 00 14 	lwz     r0,20(r1)                              
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
ffc0f070:	90 64 00 00 	stw     r3,0(r4)                               
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
                                                                      
  return 0;                                                           
ffc0f074:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0f078:	7c 08 03 a6 	mtlr    r0                                     
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
ffc0f07c:	93 e4 00 04 	stw     r31,4(r4)                              
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0f080:	91 84 00 0c 	stw     r12,12(r4)                             
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
                                                                      
  return 0;                                                           
}                                                                     
ffc0f084:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f088:	38 21 00 10 	addi    r1,r1,16                               
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0f08c:	b0 a4 00 10 	sth     r5,16(r4)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0f090:	90 c4 00 08 	stw     r6,8(r4)                               
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0f094:	b0 e4 00 12 	sth     r7,18(r4)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0f098:	b1 04 00 14 	sth     r8,20(r4)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0f09c:	91 44 00 28 	stw     r10,40(r4)                             
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0f0a0:	91 64 00 30 	stw     r11,48(r4)                             
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0f0a4:	91 24 00 38 	stw     r9,56(r4)                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
                                                                      
  return 0;                                                           
}                                                                     
ffc0f0a8:	4e 80 00 20 	blr                                            
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
ffc0f0ac:	81 69 00 54 	lwz     r11,84(r9)                             
ffc0f0b0:	80 09 00 50 	lwz     r0,80(r9)                              
ffc0f0b4:	91 64 00 1c 	stw     r11,28(r4)                             
ffc0f0b8:	90 04 00 18 	stw     r0,24(r4)                              
      break;                                                          
ffc0f0bc:	4b ff ff 70 	b       ffc0f02c <IMFS_stat+0x70>              
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
ffc0f0c0:	81 49 00 50 	lwz     r10,80(r9)                             
ffc0f0c4:	81 69 00 54 	lwz     r11,84(r9)                             
ffc0f0c8:	91 44 00 20 	stw     r10,32(r4)                             
ffc0f0cc:	91 64 00 24 	stw     r11,36(r4)                             
      break;                                                          
ffc0f0d0:	4b ff ff 5c 	b       ffc0f02c <IMFS_stat+0x70>              
                                                                      

ffc0472c <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
ffc0472c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04730:	7c 08 02 a6 	mflr    r0                                     
ffc04734:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04738:	93 c1 00 30 	stw     r30,48(r1)                             
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
ffc0473c:	83 c4 00 00 	lwz     r30,0(r4)                              
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc04740:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04744:	7c 7d 1b 78 	mr      r29,r3                                 
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc04748:	80 1e 00 4c 	lwz     r0,76(r30)                             
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc0474c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04750:	7c 9f 23 78 	mr      r31,r4                                 
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc04754:	2f 80 00 03 	cmpwi   cr7,r0,3                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc04758:	93 81 00 28 	stw     r28,40(r1)                             
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc0475c:	41 9e 00 3c 	beq-    cr7,ffc04798 <IMFS_unlink+0x6c>        
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
ffc04760:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc04764:	7f a3 eb 78 	mr      r3,r29                                 
ffc04768:	7f e4 fb 78 	mr      r4,r31                                 
ffc0476c:	80 09 00 34 	lwz     r0,52(r9)                              
ffc04770:	7c 09 03 a6 	mtctr   r0                                     
ffc04774:	4e 80 04 21 	bctrl                                          
                                                                      
  return result;                                                      
}                                                                     
ffc04778:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0477c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04780:	7c 08 03 a6 	mtlr    r0                                     
ffc04784:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04788:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0478c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04790:	38 21 00 38 	addi    r1,r1,56                               
ffc04794:	4e 80 00 20 	blr                                            
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
ffc04798:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc0479c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc047a0:	41 9e 00 90 	beq-    cr7,ffc04830 <IMFS_unlink+0x104>       <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    the_link.node_access = node->info.hard_link.link_node;            
ffc047a4:	7c 3c 0b 78 	mr      r28,r1                                 
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
ffc047a8:	81 64 00 08 	lwz     r11,8(r4)                              
    the_link.node_access = node->info.hard_link.link_node;            
ffc047ac:	94 1c 00 10 	stwu    r0,16(r28)                             
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
ffc047b0:	81 24 00 0c 	lwz     r9,12(r4)                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc047b4:	7f 83 e3 78 	mr      r3,r28                                 
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
ffc047b8:	81 44 00 04 	lwz     r10,4(r4)                              
ffc047bc:	80 04 00 10 	lwz     r0,16(r4)                              
ffc047c0:	91 61 00 18 	stw     r11,24(r1)                             
ffc047c4:	91 21 00 1c 	stw     r9,28(r1)                              
ffc047c8:	91 41 00 14 	stw     r10,20(r1)                             
ffc047cc:	90 01 00 20 	stw     r0,32(r1)                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc047d0:	48 00 98 3d 	bl      ffc0e00c <IMFS_Set_handlers>           
    /*                                                                
     *  If removing the last hard link to a node, then we need        
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
ffc047d4:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc047d8:	a1 69 00 34 	lhz     r11,52(r9)                             
ffc047dc:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc047e0:	41 9e 00 28 	beq-    cr7,ffc04808 <IMFS_unlink+0xdc>        
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
ffc047e4:	39 6b ff ff 	addi    r11,r11,-1                             
ffc047e8:	b1 69 00 34 	sth     r11,52(r9)                             
        IMFS_update_ctime( node->info.hard_link.link_node );          
ffc047ec:	38 61 00 08 	addi    r3,r1,8                                
ffc047f0:	38 80 00 00 	li      r4,0                                   
ffc047f4:	48 00 0a 71 	bl      ffc05264 <gettimeofday>                
ffc047f8:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc047fc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04800:	90 09 00 48 	stw     r0,72(r9)                              
ffc04804:	4b ff ff 5c 	b       ffc04760 <IMFS_unlink+0x34>            
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
ffc04808:	81 21 00 18 	lwz     r9,24(r1)                              
ffc0480c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04810:	7f 84 e3 78 	mr      r4,r28                                 
ffc04814:	80 09 00 34 	lwz     r0,52(r9)                              
ffc04818:	7c 09 03 a6 	mtctr   r0                                     
ffc0481c:	4e 80 04 21 	bctrl                                          
        if ( result != 0 )                                            
ffc04820:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
ffc04824:	38 60 ff ff 	li      r3,-1                                  
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
        if ( result != 0 )                                            
ffc04828:	41 9e ff 38 	beq+    cr7,ffc04760 <IMFS_unlink+0x34>        
ffc0482c:	4b ff ff 4c 	b       ffc04778 <IMFS_unlink+0x4c>            
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc04830:	48 00 e3 2d 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc04834:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc04838:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0483c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04840:	4b ff ff 38 	b       ffc04778 <IMFS_unlink+0x4c>            <== NOT EXECUTED
                                                                      

ffc04844 <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04844:	7c 08 02 a6 	mflr    r0                                     
ffc04848:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0484c:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc04850:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc04854:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc04858:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0485c:	40 9e 00 2c 	bne-    cr7,ffc04888 <IMFS_unmount+0x44>       <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
ffc04860:	80 09 00 5c 	lwz     r0,92(r9)                              
ffc04864:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04868:	41 9e 00 34 	beq-    cr7,ffc0489c <IMFS_unmount+0x58>       <== NEVER TAKEN
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
ffc0486c:	38 00 00 00 	li      r0,0                                   
ffc04870:	90 09 00 5c 	stw     r0,92(r9)                              
                                                                      
  return 0;                                                           
ffc04874:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc04878:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0487c:	38 21 00 08 	addi    r1,r1,8                                
ffc04880:	7c 08 03 a6 	mtlr    r0                                     
ffc04884:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc04888:	48 00 e2 d5 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc0488c:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc04890:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc04894:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04898:	4b ff ff e0 	b       ffc04878 <IMFS_unmount+0x34>           <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
ffc0489c:	48 00 e2 c1 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc048a0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc048a4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc048a8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc048ac:	4b ff ff cc 	b       ffc04878 <IMFS_unmount+0x34>           <== NOT EXECUTED
                                                                      

ffc0549c <RTEMS_Malloc_Initialize>: ) { /* * If configured, initialize the statistics support */ if ( rtems_malloc_statistics_helpers != NULL ) {
ffc0549c:	3d 20 00 00 	lis     r9,0                                   
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc054a0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc054a4:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc054a8:	81 29 27 68 	lwz     r9,10088(r9)                           
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc054ac:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc054b0:	7c 9d 23 78 	mr      r29,r4                                 
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc054b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc054b8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc054bc:	7c 7e 1b 78 	mr      r30,r3                                 
ffc054c0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc054c4:	7c bf 2b 78 	mr      r31,r5                                 
ffc054c8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc054cc:	93 81 00 08 	stw     r28,8(r1)                              
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc054d0:	41 9e 00 10 	beq-    cr7,ffc054e0 <RTEMS_Malloc_Initialize+0x44>
    (*rtems_malloc_statistics_helpers->initialize)();                 
ffc054d4:	80 09 00 00 	lwz     r0,0(r9)                               
ffc054d8:	7c 09 03 a6 	mtctr   r0                                     
ffc054dc:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
ffc054e0:	4b ff ff 2d 	bl      ffc0540c <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
ffc054e4:	3d 20 00 00 	lis     r9,0                                   
ffc054e8:	81 29 27 64 	lwz     r9,10084(r9)                           
ffc054ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc054f0:	41 9e 00 24 	beq-    cr7,ffc05514 <RTEMS_Malloc_Initialize+0x78>
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
ffc054f4:	80 09 00 00 	lwz     r0,0(r9)                               
ffc054f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc054fc:	7f e4 fb 78 	mr      r4,r31                                 
ffc05500:	7c 09 03 a6 	mtctr   r0                                     
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
ffc05504:	7f be ea 14 	add     r29,r30,r29                            
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
ffc05508:	4e 80 04 21 	bctrl                                          
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
ffc0550c:	7f a3 e8 50 	subf    r29,r3,r29                             
    heap_begin = new_heap_begin;                                      
ffc05510:	7c 7e 1b 78 	mr      r30,r3                                 
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if (                                                                
ffc05514:	3f 80 00 00 	lis     r28,0                                  
ffc05518:	88 1c 27 6c 	lbz     r0,10092(r28)                          
ffc0551c:	3f e0 00 00 	lis     r31,0                                  
ffc05520:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05524:	40 9e 00 34 	bne-    cr7,ffc05558 <RTEMS_Malloc_Initialize+0xbc>
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
ffc05528:	3d 20 00 00 	lis     r9,0                                   
ffc0552c:	88 09 20 2c 	lbz     r0,8236(r9)                            
ffc05530:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05534:	40 9e 00 5c 	bne-    cr7,ffc05590 <RTEMS_Malloc_Initialize+0xf4>
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
ffc05538:	3f e0 00 00 	lis     r31,0                                  
ffc0553c:	80 7f 26 ec 	lwz     r3,9964(r31)                           
ffc05540:	7f c4 f3 78 	mr      r4,r30                                 
ffc05544:	7f a5 eb 78 	mr      r5,r29                                 
ffc05548:	38 c0 00 08 	li      r6,8                                   
ffc0554c:	48 00 55 01 	bl      ffc0aa4c <_Heap_Initialize>            
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
ffc05550:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05554:	41 9e 00 5c 	beq-    cr7,ffc055b0 <RTEMS_Malloc_Initialize+0x114>
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc05558:	80 7f 26 ec 	lwz     r3,9964(r31)                           
ffc0555c:	3f c0 00 00 	lis     r30,0                                  
ffc05560:	83 fe 2a e8 	lwz     r31,10984(r30)                         
ffc05564:	48 00 62 49 	bl      ffc0b7ac <_Protected_heap_Get_size>    
}                                                                     
ffc05568:	80 01 00 1c 	lwz     r0,28(r1)                              
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc0556c:	7c 63 fa 14 	add     r3,r3,r31                              
}                                                                     
ffc05570:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05574:	7c 08 03 a6 	mtlr    r0                                     
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc05578:	90 7e 2a e8 	stw     r3,10984(r30)                          
}                                                                     
ffc0557c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc05580:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05584:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05588:	38 21 00 18 	addi    r1,r1,24                               
ffc0558c:	4e 80 00 20 	blr                                            
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
ffc05590:	7f c3 f3 78 	mr      r3,r30                                 
ffc05594:	38 80 00 00 	li      r4,0                                   
ffc05598:	7f a5 eb 78 	mr      r5,r29                                 
ffc0559c:	48 00 e3 e1 	bl      ffc1397c <memset>                      
   *  Unfortunately we cannot use assert if this fails because if this
   *  has failed we do not have a heap and if we do not have a heap   
   *  STDIO cannot work because there will be no buffers.             
   */                                                                 
                                                                      
  if ( !rtems_unified_work_area ) {                                   
ffc055a0:	88 1c 27 6c 	lbz     r0,10092(r28)                          
ffc055a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc055a8:	41 9e ff 90 	beq+    cr7,ffc05538 <RTEMS_Malloc_Initialize+0x9c><== ALWAYS TAKEN
ffc055ac:	4b ff ff ac 	b       ffc05558 <RTEMS_Malloc_Initialize+0xbc><== NOT EXECUTED
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
ffc055b0:	38 60 00 1a 	li      r3,26                                  
ffc055b4:	48 00 47 89 	bl      ffc09d3c <rtems_fatal_error_occurred>  
                                                                      

ffc03ac8 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
ffc03ac8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc03acc:	7c 08 02 a6 	mflr    r0                                     
ffc03ad0:	90 01 00 44 	stw     r0,68(r1)                              
ffc03ad4:	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);                        
ffc03ad8:	83 83 00 b4 	lwz     r28,180(r3)                            
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc03adc:	80 e3 00 b8 	lwz     r7,184(r3)                             
  size = Stack_check_usable_stack_size(stack);                        
ffc03ae0:	3b 9c ff 80 	addi    r28,r28,-128                           
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc03ae4:	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;                                       
ffc03ae8:	39 27 01 00 	addi    r9,r7,256                              
    for (ebase = base + length; base < ebase; base++)                 
ffc03aec:	57 8a 00 3a 	rlwinm  r10,r28,0,0,29                         
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc03af0:	93 61 00 2c 	stw     r27,44(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++)                 
ffc03af4:	7d 49 52 14 	add     r10,r9,r10                             
ffc03af8:	7f 89 50 40 	cmplw   cr7,r9,r10                             
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc03afc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc03b00:	7c 7b 1b 78 	mr      r27,r3                                 
ffc03b04:	92 e1 00 1c 	stw     r23,28(r1)                             
  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;                                                         
ffc03b08:	3b a0 00 00 	li      r29,0                                  
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc03b0c:	93 01 00 20 	stw     r24,32(r1)                             
ffc03b10:	93 21 00 24 	stw     r25,36(r1)                             
ffc03b14:	93 c1 00 38 	stw     r30,56(r1)                             
ffc03b18:	93 e1 00 3c 	stw     r31,60(r1)                             
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc03b1c:	83 43 00 c4 	lwz     r26,196(r3)                            
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc03b20:	40 9c 00 38 	bge-    cr7,ffc03b58 <Stack_check_Dump_threads_usage+0x90><== NEVER TAKEN
      if (*base != U32_PATTERN)                                       
ffc03b24:	81 07 01 00 	lwz     r8,256(r7)                             
 *  Try to print out how much stack was actually used by the task.    
 */                                                                   
static void                   *print_context;                         
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
ffc03b28:	7d 2b 4b 78 	mr      r11,r9                                 
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
ffc03b2c:	6d 00 5a 5a 	xoris   r0,r8,23130                            
ffc03b30:	2f 80 a5 a5 	cmpwi   cr7,r0,-23131                          
ffc03b34:	41 9e 00 14 	beq-    cr7,ffc03b48 <Stack_check_Dump_threads_usage+0x80><== ALWAYS TAKEN
ffc03b38:	48 00 00 f8 	b       ffc03c30 <Stack_check_Dump_threads_usage+0x168><== NOT EXECUTED
ffc03b3c:	84 0b 00 04 	lwzu    r0,4(r11)                              
ffc03b40:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc03b44:	40 9e 00 ec 	bne-    cr7,ffc03c30 <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++)                 
ffc03b48:	39 29 00 04 	addi    r9,r9,4                                
ffc03b4c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc03b50:	41 9d ff ec 	bgt+    cr7,ffc03b3c <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;                                                         
ffc03b54:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
ffc03b58:	3f c0 00 00 	lis     r30,0                                  
ffc03b5c:	82 fb 00 08 	lwz     r23,8(r27)                             
ffc03b60:	3b fe 28 50 	addi    r31,r30,10320                          
ffc03b64:	83 3e 28 50 	lwz     r25,10320(r30)                         
ffc03b68:	83 1f 00 04 	lwz     r24,4(r31)                             
ffc03b6c:	38 80 00 05 	li      r4,5                                   
ffc03b70:	38 a1 00 08 	addi    r5,r1,8                                
ffc03b74:	7e e3 bb 78 	mr      r3,r23                                 
ffc03b78:	48 00 50 1d 	bl      ffc08b94 <rtems_object_get_name>       
ffc03b7c:	3c 80 ff c2 	lis     r4,-62                                 
ffc03b80:	7c 66 1b 78 	mr      r6,r3                                  
ffc03b84:	7f 29 03 a6 	mtctr   r25                                    
ffc03b88:	38 84 90 b4 	addi    r4,r4,-28492                           
ffc03b8c:	7e e5 bb 78 	mr      r5,r23                                 
ffc03b90:	7f 03 c3 78 	mr      r3,r24                                 
ffc03b94:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03b98:	4e 80 04 21 	bctrl                                          
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc03b9c:	80 db 00 b4 	lwz     r6,180(r27)                            
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc03ba0:	80 1e 28 50 	lwz     r0,10320(r30)                          
ffc03ba4:	3c 80 ff c2 	lis     r4,-62                                 
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc03ba8:	80 bb 00 b8 	lwz     r5,184(r27)                            
ffc03bac:	38 c6 ff ff 	addi    r6,r6,-1                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc03bb0:	7c 09 03 a6 	mtctr   r0                                     
ffc03bb4:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc03bb8:	38 84 90 c4 	addi    r4,r4,-28476                           
ffc03bbc:	7c c5 32 14 	add     r6,r5,r6                               
ffc03bc0:	7f 47 d3 78 	mr      r7,r26                                 
ffc03bc4:	7f 88 e3 78 	mr      r8,r28                                 
ffc03bc8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03bcc:	4e 80 04 21 	bctrl                                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc03bd0:	80 1f 00 08 	lwz     r0,8(r31)                              
    (*print_handler)( print_context, "Unavailable\n" );               
ffc03bd4:	80 7f 00 04 	lwz     r3,4(r31)                              
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc03bd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    (*print_handler)( print_context, "Unavailable\n" );               
ffc03bdc:	80 1e 28 50 	lwz     r0,10320(r30)                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc03be0:	41 9e 00 6c 	beq-    cr7,ffc03c4c <Stack_check_Dump_threads_usage+0x184><== NEVER TAKEN
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
ffc03be4:	3c 80 ff c2 	lis     r4,-62                                 
ffc03be8:	7c 09 03 a6 	mtctr   r0                                     
ffc03bec:	7f a5 eb 78 	mr      r5,r29                                 
ffc03bf0:	38 84 90 f4 	addi    r4,r4,-28428                           
ffc03bf4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03bf8:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc03bfc:	80 01 00 44 	lwz     r0,68(r1)                              
ffc03c00:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc03c04:	7c 08 03 a6 	mtlr    r0                                     
ffc03c08:	83 01 00 20 	lwz     r24,32(r1)                             
ffc03c0c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc03c10:	83 41 00 28 	lwz     r26,40(r1)                             
ffc03c14:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc03c18:	83 81 00 30 	lwz     r28,48(r1)                             
ffc03c1c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc03c20:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc03c24:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc03c28:	38 21 00 40 	addi    r1,r1,64                               
ffc03c2c:	4e 80 00 20 	blr                                            
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
ffc03c30:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc03c34:	3b a0 00 00 	li      r29,0                                  
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
ffc03c38:	41 be ff 20 	beq-    cr7,ffc03b58 <Stack_check_Dump_threads_usage+0x90><== NEVER TAKEN
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc03c3c:	3b a7 00 80 	addi    r29,r7,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 );  
ffc03c40:	7f bd e2 14 	add     r29,r29,r28                            
ffc03c44:	7f a9 e8 50 	subf    r29,r9,r29                             
ffc03c48:	4b ff ff 10 	b       ffc03b58 <Stack_check_Dump_threads_usage+0x90>
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
ffc03c4c:	3c 80 ff c2 	lis     r4,-62                                 <== NOT EXECUTED
ffc03c50:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc03c54:	38 84 90 e4 	addi    r4,r4,-28444                           <== NOT EXECUTED
ffc03c58:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc03c5c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc03c60:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc03c64:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc03c68:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc03c6c:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc03c70:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc03c74:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc03c78:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc03c7c:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc03c80:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc03c84:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc03c88:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc03c8c:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc03c90:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc03c94 <Stack_check_Initialize>: static uint32_t pattern[ 4 ] = { 0xFEEDF00D, 0x0BAD0D06, /* FEED FOOD to BAD DOG */ 0xDEADF00D, 0x600D0D06 /* DEAD FOOD but GOOD DOG */ }; if ( Stack_check_Initialized )
ffc03c94:	3d 00 00 00 	lis     r8,0                                   <== NOT EXECUTED
ffc03c98:	39 08 28 50 	addi    r8,r8,10320                            <== NOT EXECUTED
ffc03c9c:	80 08 00 08 	lwz     r0,8(r8)                               <== NOT EXECUTED
ffc03ca0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc03ca4:	4c 9e 00 20 	bnelr   cr7                                    <== NOT EXECUTED
ffc03ca8:	38 00 00 20 	li      r0,32                                  <== NOT EXECUTED
ffc03cac:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc03cb0:	3d 60 00 00 	lis     r11,0                                  <== NOT EXECUTED
ffc03cb4:	3d 40 ff c2 	lis     r10,-62                                <== NOT EXECUTED
ffc03cb8:	39 6b 2a c0 	addi    r11,r11,10944                          <== NOT EXECUTED
  memset((_stack)->area, BYTE_PATTERN, (_stack)->size)                
                                                                      
/*                                                                    
 *  Stack_check_Initialize                                            
 */                                                                   
void Stack_check_Initialize( void )                                   
ffc03cbc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc03cc0:	39 4a 90 a4 	addi    r10,r10,-28508                         <== NOT EXECUTED
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
ffc03cc4:	55 20 17 3a 	rlwinm  r0,r9,2,28,29                          <== NOT EXECUTED
ffc03cc8:	7c 0a 00 2e 	lwzx    r0,r10,r0                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc03ccc:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
      p[i] = pattern[ i%4 ];                                          
ffc03cd0:	94 0b 00 04 	stwu    r0,4(r11)                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc03cd4:	42 00 ff f0 	bdnz+   ffc03cc4 <Stack_check_Initialize+0x30> <== NOT EXECUTED
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
ffc03cd8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc03cdc:	90 08 00 08 	stw     r0,8(r8)                               <== NOT EXECUTED
ffc03ce0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc03da8 <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) {
ffc03da8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc03dac:	7c 08 02 a6 	mflr    r0                                     
ffc03db0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc03db4:	7c 7d 1b 78 	mr      r29,r3                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc03db8:	3c 60 ff c2 	lis     r3,-62                                 
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc03dbc:	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");                                         
ffc03dc0:	38 63 90 fc 	addi    r3,r3,-28420                           
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc03dc4:	93 c1 00 30 	stw     r30,48(r1)                             
ffc03dc8:	93 e1 00 34 	stw     r31,52(r1)                             
ffc03dcc:	7c 9f 23 78 	mr      r31,r4                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
ffc03dd0:	83 dd 00 b8 	lwz     r30,184(r29)                           
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc03dd4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03dd8:	48 00 20 61 	bl      ffc05e38 <printk>                      
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
ffc03ddc:	3c 60 ff c2 	lis     r3,-62                                 
ffc03de0:	38 63 91 0c 	addi    r3,r3,-28404                           
ffc03de4:	7f a4 eb 78 	mr      r4,r29                                 
ffc03de8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03dec:	48 00 20 4d 	bl      ffc05e38 <printk>                      
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
ffc03df0:	80 9d 00 08 	lwz     r4,8(r29)                              
ffc03df4:	3c 60 ff c2 	lis     r3,-62                                 
ffc03df8:	38 63 91 2c 	addi    r3,r3,-28372                           
ffc03dfc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e00:	48 00 20 39 	bl      ffc05e38 <printk>                      
  printk(                                                             
ffc03e04:	80 9d 00 0c 	lwz     r4,12(r29)                             
ffc03e08:	3c 60 ff c2 	lis     r3,-62                                 
ffc03e0c:	38 63 91 40 	addi    r3,r3,-28352                           
ffc03e10:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e14:	48 00 20 25 	bl      ffc05e38 <printk>                      
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
ffc03e18:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc03e1c:	38 a1 00 08 	addi    r5,r1,8                                
ffc03e20:	38 80 00 20 	li      r4,32                                  
ffc03e24:	48 00 4d 71 	bl      ffc08b94 <rtems_object_get_name>       
ffc03e28:	7c 64 1b 78 	mr      r4,r3                                  
ffc03e2c:	3c 60 ff c2 	lis     r3,-62                                 
ffc03e30:	38 63 91 54 	addi    r3,r3,-28332                           
ffc03e34:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e38:	48 00 20 01 	bl      ffc05e38 <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)                              
ffc03e3c:	80 bd 00 b8 	lwz     r5,184(r29)                            
ffc03e40:	80 9d 00 b4 	lwz     r4,180(r29)                            
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
ffc03e44:	3c 60 ff c2 	lis     r3,-62                                 
ffc03e48:	38 63 91 6c 	addi    r3,r3,-28308                           
ffc03e4c:	7c c5 22 14 	add     r6,r5,r4                               
ffc03e50:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e54:	48 00 1f e5 	bl      ffc05e38 <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) {                                                  
ffc03e58:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc03e5c:	41 9e 00 0c 	beq-    cr7,ffc03e68 <Stack_check_report_blown_task+0xc0><== ALWAYS TAKEN
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
ffc03e60:	38 60 00 81 	li      r3,129                                 
ffc03e64:	48 00 59 41 	bl      ffc097a4 <rtems_fatal_error_occurred>  
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
ffc03e68:	3c 60 ff c2 	lis     r3,-62                                 
ffc03e6c:	38 63 91 a0 	addi    r3,r3,-28256                           
ffc03e70:	38 80 00 80 	li      r4,128                                 
ffc03e74:	38 be 00 08 	addi    r5,r30,8                               
ffc03e78:	38 de 00 88 	addi    r6,r30,136                             
ffc03e7c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e80:	48 00 1f b9 	bl      ffc05e38 <printk>                      
ffc03e84:	4b ff ff dc 	b       ffc03e60 <Stack_check_report_blown_task+0xb8>
                                                                      

ffc110fc <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();
ffc110fc:	3d 20 00 00 	lis     r9,0                                   
ffc11100:	80 09 20 28 	lwz     r0,8232(r9)                            
  ticks                 = microseconds / microseconds_per_tick;       
ffc11104:	7d 23 03 96 	divwu   r9,r3,r0                               
  if ( (microseconds % microseconds_per_tick) != 0 )                  
ffc11108:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc1110c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc11110:	41 9e 00 08 	beq-    cr7,ffc11118 <TOD_MICROSECONDS_TO_TICKS+0x1c><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc11114:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc11118:	7d 23 4b 78 	mr      r3,r9                                  
ffc1111c:	4e 80 00 20 	blr                                            
                                                                      

ffc0b174 <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();
ffc0b174:	3d 20 00 00 	lis     r9,0                                   
ffc0b178:	81 29 20 10 	lwz     r9,8208(r9)                            
ffc0b17c:	3c 00 10 62 	lis     r0,4194                                
ffc0b180:	60 00 4d d3 	ori     r0,r0,19923                            
ffc0b184:	7c 09 00 16 	mulhwu  r0,r9,r0                               
ffc0b188:	54 00 d1 be 	rlwinm  r0,r0,26,6,31                          
  ticks                 = milliseconds / milliseconds_per_tick;       
ffc0b18c:	7d 23 03 96 	divwu   r9,r3,r0                               
  if ( (milliseconds % milliseconds_per_tick) != 0 )                  
ffc0b190:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc0b194:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0b198:	41 9e 00 08 	beq-    cr7,ffc0b1a0 <TOD_MILLISECONDS_TO_TICKS+0x2c><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc0b19c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc0b1a0:	7d 23 4b 78 	mr      r3,r9                                  
ffc0b1a4:	4e 80 00 20 	blr                                            
                                                                      

ffc09f70 <_API_extensions_Run_postdriver>: /* * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
ffc09f70:	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;                              
ffc09f74:	3d 20 00 00 	lis     r9,0                                   
ffc09f78:	7c 08 02 a6 	mflr    r0                                     
ffc09f7c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc09f80:	3b c9 2d 80 	addi    r30,r9,11648                           
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09f84:	3b de 00 04 	addi    r30,r30,4                              
/*                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
ffc09f88:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc09f8c:	83 e9 2d 80 	lwz     r31,11648(r9)                          
ffc09f90:	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 );             
ffc09f94:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc09f98:	41 9e 00 1c 	beq-    cr7,ffc09fb4 <_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)();                            
ffc09f9c:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc09fa0:	7c 09 03 a6 	mtctr   r0                                     
ffc09fa4:	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 ) {                                 
ffc09fa8:	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 );             
ffc09fac:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc09fb0:	40 9e ff ec 	bne+    cr7,ffc09f9c <_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)();                            
  }                                                                   
}                                                                     
ffc09fb4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09fb8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09fbc:	7c 08 03 a6 	mtlr    r0                                     
ffc09fc0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09fc4:	38 21 00 10 	addi    r1,r1,16                               
ffc09fc8:	4e 80 00 20 	blr                                            
                                                                      

ffc09fcc <_API_extensions_Run_postswitch>: /* * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
ffc09fcc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09fd0:	3d 20 00 00 	lis     r9,0                                   
ffc09fd4:	7c 08 02 a6 	mflr    r0                                     
ffc09fd8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09fdc:	3b c9 2d 80 	addi    r30,r9,11648                           
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09fe0:	3b de 00 04 	addi    r30,r30,4                              
/*                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc09fe4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc09fe8:	83 e9 2d 80 	lwz     r31,11648(r9)                          
ffc09fec:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09ff0:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
/*                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc09ff4:	93 a1 00 0c 	stw     r29,12(r1)                             
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09ff8:	41 9e 00 28 	beq-    cr7,ffc0a020 <_API_extensions_Run_postswitch+0x54><== NEVER TAKEN
ffc09ffc:	3f a0 00 00 	lis     r29,0                                  
ffc0a000:	3b bd 2d b8 	addi    r29,r29,11704                          
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
ffc0a004:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0a008:	80 7d 00 0c 	lwz     r3,12(r29)                             
ffc0a00c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a010:	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 ) {                                 
ffc0a014:	83 ff 00 00 	lwz     r31,0(r31)                             
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc0a018:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0a01c:	40 9e ff e8 	bne+    cr7,ffc0a004 <_API_extensions_Run_postswitch+0x38><== NEVER TAKEN
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc0a020:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0a024:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0a028:	7c 08 03 a6 	mtlr    r0                                     
ffc0a02c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0a030:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0a034:	38 21 00 18 	addi    r1,r1,24                               
ffc0a038:	4e 80 00 20 	blr                                            
                                                                      

ffc14f78 <_CORE_message_queue_Initialize>: CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, size_t maximum_message_size ) {
ffc14f78:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc14f7c:	7c 08 02 a6 	mflr    r0                                     
ffc14f80:	90 01 00 24 	stw     r0,36(r1)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc14f84:	70 c0 00 03 	andi.   r0,r6,3                                
{                                                                     
  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;                  
ffc14f88:	38 00 00 00 	li      r0,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                 
)                                                                     
{                                                                     
ffc14f8c:	93 81 00 10 	stw     r28,16(r1)                             
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc14f90:	7c dc 33 78 	mr      r28,r6                                 
  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                 
)                                                                     
{                                                                     
ffc14f94:	93 a1 00 14 	stw     r29,20(r1)                             
ffc14f98:	7c 9d 23 78 	mr      r29,r4                                 
ffc14f9c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc14fa0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc14fa4:	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;
ffc14fa8:	90 a3 00 44 	stw     r5,68(r3)                              
  the_message_queue->number_of_pending_messages = 0;                  
ffc14fac:	90 03 00 48 	stw     r0,72(r3)                              
  the_message_queue->maximum_message_size       = maximum_message_size;
ffc14fb0:	90 c3 00 4c 	stw     r6,76(r3)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc14fb4:	41 82 00 3c 	beq-    ffc14ff0 <_CORE_message_queue_Initialize+0x78>
    allocated_message_size += sizeof(uint32_t);                       
ffc14fb8:	3b 86 00 04 	addi    r28,r6,4                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
ffc14fbc:	57 9c 00 3a 	rlwinm  r28,r28,0,0,29                         
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc14fc0:	7f 86 e0 40 	cmplw   cr7,r6,r28                             
    return false;                                                     
ffc14fc4:	3b c0 00 00 	li      r30,0                                  
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
    allocated_message_size += sizeof(uint32_t);                       
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc14fc8:	40 9d 00 28 	ble-    cr7,ffc14ff0 <_CORE_message_queue_Initialize+0x78><== ALWAYS TAKEN
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc14fcc:	80 01 00 24 	lwz     r0,36(r1)                              
ffc14fd0:	7f c3 f3 78 	mr      r3,r30                                 
ffc14fd4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc14fd8:	7c 08 03 a6 	mtlr    r0                                     
ffc14fdc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc14fe0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc14fe4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc14fe8:	38 21 00 20 	addi    r1,r1,32                               
ffc14fec:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
ffc14ff0:	3b 9c 00 10 	addi    r28,r28,16                             
  size_t  a,                                                          
  size_t  b,                                                          
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
ffc14ff4:	7d 45 e0 16 	mulhwu  r10,r5,r28                             
ffc14ff8:	7d 65 e1 d6 	mullw   r11,r5,r28                             
                                                                      
  if ( x > SIZE_MAX )                                                 
ffc14ffc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
        (size_t) maximum_pending_messages,                            
        allocated_message_size + sizeof(CORE_message_queue_Buffer_control),
        &message_buffering_required ) )                               
    return false;                                                     
ffc15000:	3b c0 00 00 	li      r30,0                                  
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
                                                                      
  if ( x > SIZE_MAX )                                                 
ffc15004:	41 bd ff c8 	bgt-    cr7,ffc14fcc <_CORE_message_queue_Initialize+0x54>
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc15008:	7d 63 5b 78 	mr      r3,r11                                 
ffc1500c:	90 a1 00 08 	stw     r5,8(r1)                               
ffc15010:	48 00 3c 35 	bl      ffc18c44 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc15014:	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 *)  
ffc15018:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
ffc1501c:	7c 64 1b 78 	mr      r4,r3                                  
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc15020:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc15024:	41 be ff a8 	beq-    cr7,ffc14fcc <_CORE_message_queue_Initialize+0x54>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc15028:	38 7f 00 60 	addi    r3,r31,96                              
ffc1502c:	7f 86 e3 78 	mr      r6,r28                                 
ffc15030:	48 00 62 19 	bl      ffc1b248 <_Chain_Initialize>           
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc15034:	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 );                        
ffc15038:	38 1f 00 50 	addi    r0,r31,80                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1503c:	93 df 00 54 	stw     r30,84(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 );                        
ffc15040:	39 3f 00 54 	addi    r9,r31,84                              
ffc15044:	68 84 00 01 	xori    r4,r4,1                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc15048:	90 1f 00 58 	stw     r0,88(r31)                             
ffc1504c:	7c 84 00 34 	cntlzw  r4,r4                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc15050:	91 3f 00 50 	stw     r9,80(r31)                             
ffc15054:	7f e3 fb 78 	mr      r3,r31                                 
ffc15058:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc1505c:	38 a0 00 80 	li      r5,128                                 
ffc15060:	38 c0 00 06 	li      r6,6                                   
ffc15064:	48 00 2e 55 	bl      ffc17eb8 <_Thread_queue_Initialize>    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc15068:	80 01 00 24 	lwz     r0,36(r1)                              
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc1506c:	3b c0 00 01 	li      r30,1                                  
}                                                                     
ffc15070:	83 81 00 10 	lwz     r28,16(r1)                             
ffc15074:	7c 08 03 a6 	mtlr    r0                                     
ffc15078:	7f c3 f3 78 	mr      r3,r30                                 
ffc1507c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc15080:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc15084:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc15088:	38 21 00 20 	addi    r1,r1,32                               
ffc1508c:	4e 80 00 20 	blr                                            
                                                                      

ffc0a6e4 <_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 ) {
ffc0a6e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a6e8:	7c 08 02 a6 	mflr    r0                                     
ffc0a6ec:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a6f0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a6f4:	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)) ) {
ffc0a6f8:	48 00 21 15 	bl      ffc0c80c <_Thread_queue_Dequeue>       
ffc0a6fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0a700:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc0a704:	41 9e 00 18 	beq-    cr7,ffc0a71c <_CORE_semaphore_Surrender+0x38>
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0a708:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a70c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a710:	38 21 00 10 	addi    r1,r1,16                               
ffc0a714:	7c 08 03 a6 	mtlr    r0                                     
ffc0a718:	4e 80 00 20 	blr                                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a71c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a720:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a724:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a728:	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 )
ffc0a72c:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc0a730:	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 )
ffc0a734:	81 7f 00 40 	lwz     r11,64(r31)                            
ffc0a738:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc0a73c:	40 9c 00 10 	bge-    cr7,ffc0a74c <_CORE_semaphore_Surrender+0x68><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc0a740:	39 29 00 01 	addi    r9,r9,1                                
ffc0a744:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0a748:	38 60 00 00 	li      r3,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a74c:	7c 00 01 24 	mtmsr   r0                                     
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0a750:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a754:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a758:	38 21 00 10 	addi    r1,r1,16                               
ffc0a75c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a760:	4e 80 00 20 	blr                                            
                                                                      

ffc101bc <_Chain_Initialize>: Chain_Node *current = head; Chain_Node *next = starting_address; head->previous = NULL; while ( count-- ) {
ffc101bc:	2c 05 00 00 	cmpwi   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;                                              
ffc101c0:	38 00 00 00 	li      r0,0                                   
  size_t         node_size                                            
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc101c4:	39 43 00 04 	addi    r10,r3,4                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
ffc101c8:	90 03 00 04 	stw     r0,4(r3)                               
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc101cc:	7c 69 1b 78 	mr      r9,r3                                  
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc101d0:	41 82 00 38 	beq-    ffc10208 <_Chain_Initialize+0x4c>      <== NEVER TAKEN
ffc101d4:	39 05 ff ff 	addi    r8,r5,-1                               
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc101d8:	7c a9 03 a6 	mtctr   r5                                     
  Chain_Node *next = starting_address;                                
ffc101dc:	7c 89 23 78 	mr      r9,r4                                  
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc101e0:	7c 6b 1b 78 	mr      r11,r3                                 
ffc101e4:	48 00 00 0c 	b       ffc101f0 <_Chain_Initialize+0x34>      
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc101e8:	7d 2b 4b 78 	mr      r11,r9                                 
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
ffc101ec:	7c 09 03 78 	mr      r9,r0                                  
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
ffc101f0:	91 2b 00 00 	stw     r9,0(r11)                              
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
ffc101f4:	7c 09 32 14 	add     r0,r9,r6                               
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
    next->previous = current;                                         
ffc101f8:	91 69 00 04 	stw     r11,4(r9)                              
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc101fc:	42 00 ff ec 	bdnz+   ffc101e8 <_Chain_Initialize+0x2c>      
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
ffc10200:	7c c6 41 d6 	mullw   r6,r6,r8                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc10204:	7d 24 32 14 	add     r9,r4,r6                               
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
ffc10208:	91 49 00 00 	stw     r10,0(r9)                              
  tail->previous = current;                                           
ffc1020c:	91 23 00 08 	stw     r9,8(r3)                               
}                                                                     
ffc10210:	4e 80 00 20 	blr                                            
                                                                      

ffc08f08 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
ffc08f08:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08f0c:	7c 08 02 a6 	mflr    r0                                     
ffc08f10:	90 01 00 14 	stw     r0,20(r1)                              
ffc08f14:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc08f18:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_event_set     event_condition;                                
  rtems_event_set     seized_events;                                  
  rtems_option        option_set;                                     
  RTEMS_API_Control  *api;                                            
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
ffc08f1c:	81 63 01 2c 	lwz     r11,300(r3)                            
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
ffc08f20:	80 c3 00 30 	lwz     r6,48(r3)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08f24:	7d 40 00 a6 	mfmsr   r10                                    
ffc08f28:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08f2c:	7d 40 00 78 	andc    r0,r10,r0                              
ffc08f30:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
ffc08f34:	81 2b 00 00 	lwz     r9,0(r11)                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
ffc08f38:	80 03 00 24 	lwz     r0,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 ) ) {                      
ffc08f3c:	7c 08 48 39 	and.    r8,r0,r9                               
ffc08f40:	41 82 00 e4 	beq-    ffc09024 <_Event_Surrender+0x11c>      
                                                                      
  /*                                                                  
   *  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() &&                                       
ffc08f44:	3c e0 00 00 	lis     r7,0                                   
ffc08f48:	38 e7 2d b8 	addi    r7,r7,11704                            
ffc08f4c:	80 a7 00 08 	lwz     r5,8(r7)                               
ffc08f50:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc08f54:	41 9e 00 10 	beq-    cr7,ffc08f64 <_Event_Surrender+0x5c>   
ffc08f58:	80 e7 00 0c 	lwz     r7,12(r7)                              
ffc08f5c:	7f 83 38 00 	cmpw    cr7,r3,r7                              
ffc08f60:	41 9e 00 78 	beq-    cr7,ffc08fd8 <_Event_Surrender+0xd0>   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
ffc08f64:	80 ff 00 10 	lwz     r7,16(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
ffc08f68:	70 e5 01 00 	andi.   r5,r7,256                              
ffc08f6c:	41 82 00 b8 	beq-    ffc09024 <_Event_Surrender+0x11c>      
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc08f70:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc08f74:	41 9e 00 0c 	beq-    cr7,ffc08f80 <_Event_Surrender+0x78>   
ffc08f78:	70 c0 00 02 	andi.   r0,r6,2                                
ffc08f7c:	41 82 00 a8 	beq-    ffc09024 <_Event_Surrender+0x11c>      <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08f80:	80 ff 00 28 	lwz     r7,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) );                            
ffc08f84:	7d 29 40 78 	andc    r9,r9,r8                               
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
ffc08f88:	38 00 00 00 	li      r0,0                                   
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
ffc08f8c:	91 2b 00 00 	stw     r9,0(r11)                              
      the_thread->Wait.count = 0;                                     
ffc08f90:	90 1f 00 24 	stw     r0,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08f94:	91 07 00 00 	stw     r8,0(r7)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc08f98:	7c 00 00 a6 	mfmsr   r0                                     
ffc08f9c:	7d 40 01 24 	mtmsr   r10                                    
ffc08fa0:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc08fa4:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc08fa8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08fac:	41 9e 00 90 	beq-    cr7,ffc0903c <_Event_Surrender+0x134>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08fb0:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc08fb4:	3c 80 10 03 	lis     r4,4099                                
ffc08fb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc08fbc:	60 84 ff f8 	ori     r4,r4,65528                            
ffc08fc0:	48 00 2f c1 	bl      ffc0bf80 <_Thread_Clear_state>         
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc08fc4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08fc8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08fcc:	38 21 00 10 	addi    r1,r1,16                               
ffc08fd0:	7c 08 03 a6 	mtlr    r0                                     
ffc08fd4:	4e 80 00 20 	blr                                            
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc08fd8:	3c e0 00 00 	lis     r7,0                                   
ffc08fdc:	80 a7 28 0c 	lwz     r5,10252(r7)                           
  /*                                                                  
   *  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 ) &&                          
ffc08fe0:	2f 85 00 02 	cmpwi   cr7,r5,2                               
ffc08fe4:	41 9e 00 10 	beq-    cr7,ffc08ff4 <_Event_Surrender+0xec>   <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
ffc08fe8:	80 a7 28 0c 	lwz     r5,10252(r7)                           
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc08fec:	2f 85 00 01 	cmpwi   cr7,r5,1                               
ffc08ff0:	40 9e ff 74 	bne+    cr7,ffc08f64 <_Event_Surrender+0x5c>   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc08ff4:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc08ff8:	41 9e 00 0c 	beq-    cr7,ffc09004 <_Event_Surrender+0xfc>   
ffc08ffc:	70 c0 00 02 	andi.   r0,r6,2                                
ffc09000:	41 82 00 24 	beq-    ffc09024 <_Event_Surrender+0x11c>      <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc09004:	80 df 00 28 	lwz     r6,40(r31)                             
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
ffc09008:	38 00 00 00 	li      r0,0                                   
ffc0900c:	7d 29 40 78 	andc    r9,r9,r8                               
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
ffc09010:	91 2b 00 00 	stw     r9,0(r11)                              
      the_thread->Wait.count = 0;                                     
ffc09014:	90 1f 00 24 	stw     r0,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc09018:	38 00 00 03 	li      r0,3                                   
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc0901c:	91 06 00 00 	stw     r8,0(r6)                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc09020:	90 07 28 0c 	stw     r0,10252(r7)                           
ffc09024:	7d 40 01 24 	mtmsr   r10                                    
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc09028:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0902c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09030:	38 21 00 10 	addi    r1,r1,16                               
ffc09034:	7c 08 03 a6 	mtlr    r0                                     
ffc09038:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc0903c:	38 00 00 03 	li      r0,3                                   
ffc09040:	90 1f 00 50 	stw     r0,80(r31)                             
ffc09044:	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 );                
ffc09048:	38 7f 00 48 	addi    r3,r31,72                              
ffc0904c:	48 00 48 51 	bl      ffc0d89c <_Watchdog_Remove>            
ffc09050:	3c 80 10 03 	lis     r4,4099                                
ffc09054:	7f e3 fb 78 	mr      r3,r31                                 
ffc09058:	60 84 ff f8 	ori     r4,r4,65528                            
ffc0905c:	48 00 2f 25 	bl      ffc0bf80 <_Thread_Clear_state>         
ffc09060:	4b ff ff c8 	b       ffc09028 <_Event_Surrender+0x120>      
                                                                      

ffc09064 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
ffc09064:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09068:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0906c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc09070:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc09074:	48 00 33 d1 	bl      ffc0c444 <_Thread_Get>                 
  switch ( location ) {                                               
ffc09078:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0907c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09080:	40 9e 00 54 	bne-    cr7,ffc090d4 <_Event_Timeout+0x70>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09084:	7d 20 00 a6 	mfmsr   r9                                     
ffc09088:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0908c:	7d 2b 58 78 	andc    r11,r9,r11                             
ffc09090:	7d 60 01 24 	mtmsr   r11                                    
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc09094:	3d 60 00 00 	lis     r11,0                                  
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc09098:	81 6b 2d c4 	lwz     r11,11716(r11)                         
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc0909c:	90 03 00 24 	stw     r0,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc090a0:	7f 83 58 00 	cmpw    cr7,r3,r11                             
ffc090a4:	41 9e 00 40 	beq-    cr7,ffc090e4 <_Event_Timeout+0x80>     
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc090a8:	38 00 00 06 	li      r0,6                                   
ffc090ac:	90 03 00 34 	stw     r0,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc090b0:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc090b4:	3c 80 10 03 	lis     r4,4099                                
ffc090b8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc090bc:	48 00 2e c5 	bl      ffc0bf80 <_Thread_Clear_state>         
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
ffc090c0:	3d 20 00 00 	lis     r9,0                                   
ffc090c4:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc090c8:	38 0b ff ff 	addi    r0,r11,-1                              
ffc090cc:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc090d0:	80 09 27 c8 	lwz     r0,10184(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc090d4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc090d8:	38 21 00 18 	addi    r1,r1,24                               
ffc090dc:	7c 08 03 a6 	mtlr    r0                                     
ffc090e0:	4e 80 00 20 	blr                                            
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc090e4:	3d 60 00 00 	lis     r11,0                                  
ffc090e8:	80 0b 28 0c 	lwz     r0,10252(r11)                          
ffc090ec:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc090f0:	40 9e ff b8 	bne+    cr7,ffc090a8 <_Event_Timeout+0x44>     
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
ffc090f4:	38 00 00 02 	li      r0,2                                   
ffc090f8:	90 0b 28 0c 	stw     r0,10252(r11)                          
ffc090fc:	4b ff ff ac 	b       ffc090a8 <_Event_Timeout+0x44>         
                                                                      

ffc103e8 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
ffc103e8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc103ec:	7c 08 02 a6 	mflr    r0                                     
ffc103f0:	7d 80 00 26 	mfcr    r12                                    
ffc103f4:	7c 89 23 78 	mr      r9,r4                                  
ffc103f8:	90 01 00 24 	stw     r0,36(r1)                              
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
ffc103fc:	38 04 00 04 	addi    r0,r4,4                                
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
ffc10400:	7f 84 00 40 	cmplw   cr7,r4,r0                              
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc10404:	93 a1 00 14 	stw     r29,20(r1)                             
ffc10408:	7c 7d 1b 78 	mr      r29,r3                                 
  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;                        
ffc1040c:	80 e3 00 10 	lwz     r7,16(r3)                              
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
ffc10410:	38 60 00 00 	li      r3,0                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc10414:	93 61 00 0c 	stw     r27,12(r1)                             
ffc10418:	93 81 00 10 	stw     r28,16(r1)                             
ffc1041c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc10420:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc10424:	91 81 00 08 	stw     r12,8(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 ) {                              
ffc10428:	41 9d 00 7c 	bgt-    cr7,ffc104a4 <_Heap_Allocate_aligned_with_boundary+0xbc>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
ffc1042c:	2e 06 00 00 	cmpwi   cr4,r6,0                               
ffc10430:	40 92 01 b8 	bne-    cr4,ffc105e8 <_Heap_Allocate_aligned_with_boundary+0x200>
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc10434:	80 9d 00 08 	lwz     r4,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 ) {                               
ffc10438:	7f 9d 20 00 	cmpw    cr7,r29,r4                             
ffc1043c:	41 9e 01 c4 	beq-    cr7,ffc10600 <_Heap_Allocate_aligned_with_boundary+0x218>
       * 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 ) {                                       
ffc10440:	2c 05 00 00 	cmpwi   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 ) {                               
ffc10444:	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    
ffc10448:	3b 67 00 07 	addi    r27,r7,7                               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
ffc1044c:	23 89 00 04 	subfic  r28,r9,4                               
ffc10450:	48 00 00 24 	b       ffc10474 <_Heap_Allocate_aligned_with_boundary+0x8c>
       * 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 ) {                                       
ffc10454:	40 82 00 7c 	bne-    ffc104d0 <_Heap_Allocate_aligned_with_boundary+0xe8>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc10458:	3b e4 00 08 	addi    r31,r4,8                               
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc1045c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc10460:	3b de 00 01 	addi    r30,r30,1                              
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc10464:	40 9e 01 3c 	bne-    cr7,ffc105a0 <_Heap_Allocate_aligned_with_boundary+0x1b8>
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
ffc10468:	80 84 00 08 	lwz     r4,8(r4)                               
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc1046c:	7f 9d 20 00 	cmpw    cr7,r29,r4                             
ffc10470:	41 9e 00 20 	beq-    cr7,ffc10490 <_Heap_Allocate_aligned_with_boundary+0xa8>
      /*                                                              
       * 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 ) {                
ffc10474:	81 64 00 04 	lwz     r11,4(r4)                              
ffc10478:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc1047c:	41 bc ff d8 	blt-    cr7,ffc10454 <_Heap_Allocate_aligned_with_boundary+0x6c>
                                                                      
      if ( alloc_begin != 0 ) {                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
ffc10480:	80 84 00 08 	lwz     r4,8(r4)                               
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc10484:	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 ) {                               
ffc10488:	7f 9d 20 00 	cmpw    cr7,r29,r4                             
ffc1048c:	40 9e ff e8 	bne+    cr7,ffc10474 <_Heap_Allocate_aligned_with_boundary+0x8c>
ffc10490:	3b e0 00 00 	li      r31,0                                  
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
ffc10494:	80 1d 00 44 	lwz     r0,68(r29)                             
ffc10498:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc1049c:	41 9c 01 38 	blt-    cr7,ffc105d4 <_Heap_Allocate_aligned_with_boundary+0x1ec>
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
ffc104a0:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc104a4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc104a8:	81 81 00 08 	lwz     r12,8(r1)                              
ffc104ac:	7c 08 03 a6 	mtlr    r0                                     
ffc104b0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc104b4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc104b8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc104bc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc104c0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc104c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc104c8:	38 21 00 20 	addi    r1,r1,32                               
ffc104cc:	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;                
ffc104d0:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
ffc104d4:	80 7d 00 14 	lwz     r3,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;               
ffc104d8:	7d 64 5a 14 	add     r11,r4,r11                             
  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;                     
ffc104dc:	7f fc 5a 14 	add     r31,r28,r11                            
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc104e0:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc104e4:	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;                         
ffc104e8:	7d 43 d8 50 	subf    r10,r3,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    
ffc104ec:	7d 6a 5a 14 	add     r11,r10,r11                            
  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 ) {                          
ffc104f0:	7f 8b f8 40 	cmplw   cr7,r11,r31                            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc104f4:	39 84 00 08 	addi    r12,r4,8                               
ffc104f8:	40 9c 00 0c 	bge-    cr7,ffc10504 <_Heap_Allocate_aligned_with_boundary+0x11c>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc104fc:	7d 6b 2b 96 	divwu   r11,r11,r5                             
ffc10500:	7f eb 29 d6 	mullw   r31,r11,r5                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
ffc10504:	41 92 00 64 	beq-    cr4,ffc10568 <_Heap_Allocate_aligned_with_boundary+0x180>
  /* 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;                               
ffc10508:	7d 5f 4a 14 	add     r10,r31,r9                             
ffc1050c:	7d 6a 33 96 	divwu   r11,r10,r6                             
ffc10510:	7d 6b 31 d6 	mullw   r11,r11,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 ) {
ffc10514:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc10518:	40 9c 00 50 	bge-    cr7,ffc10568 <_Heap_Allocate_aligned_with_boundary+0x180>
ffc1051c:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc10520:	40 9d 00 48 	ble-    cr7,ffc10568 <_Heap_Allocate_aligned_with_boundary+0x180>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
ffc10524:	7d 0c 4a 14 	add     r8,r12,r9                              
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
ffc10528:	7f 88 58 40 	cmplw   cr7,r8,r11                             
        return 0;                                                     
ffc1052c:	3b e0 00 00 	li      r31,0                                  
  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 ) {
      if ( boundary_line < boundary_floor ) {                         
ffc10530:	40 bd 00 10 	ble+    cr7,ffc10540 <_Heap_Allocate_aligned_with_boundary+0x158>
ffc10534:	4b ff ff 28 	b       ffc1045c <_Heap_Allocate_aligned_with_boundary+0x74>
  /* 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 ) {
ffc10538:	40 99 00 30 	ble-    cr6,ffc10568 <_Heap_Allocate_aligned_with_boundary+0x180>
      if ( boundary_line < boundary_floor ) {                         
ffc1053c:	41 85 00 a4 	bgt-    cr1,ffc105e0 <_Heap_Allocate_aligned_with_boundary+0x1f8><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
ffc10540:	7f e9 58 50 	subf    r31,r9,r11                             
ffc10544:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc10548:	7f ff 29 d6 	mullw   r31,r31,r5                             
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
ffc1054c:	7d 5f 4a 14 	add     r10,r31,r9                             
ffc10550:	7d 6a 33 96 	divwu   r11,r10,r6                             
ffc10554:	7d 6b 31 d6 	mullw   r11,r11,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 ) {
ffc10558:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc1055c:	7f 0a 58 40 	cmplw   cr6,r10,r11                            
      if ( boundary_line < boundary_floor ) {                         
ffc10560:	7c 88 58 40 	cmplw   cr1,r8,r11                             
  /* 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 ) {
ffc10564:	41 9c ff d4 	blt+    cr7,ffc10538 <_Heap_Allocate_aligned_with_boundary+0x150>
      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 ) {                           
ffc10568:	7f 8c f8 40 	cmplw   cr7,r12,r31                            
ffc1056c:	41 9d 00 74 	bgt-    cr7,ffc105e0 <_Heap_Allocate_aligned_with_boundary+0x1f8>
ffc10570:	7d 7f 3b 96 	divwu   r11,r31,r7                             
ffc10574:	7d 6b 39 d6 	mullw   r11,r11,r7                             
ffc10578:	21 44 ff f8 	subfic  r10,r4,-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;      
ffc1057c:	7d 6a 5a 14 	add     r11,r10,r11                            
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
ffc10580:	7f 83 58 40 	cmplw   cr7,r3,r11                             
ffc10584:	40 bd fe d8 	ble-    cr7,ffc1045c <_Heap_Allocate_aligned_with_boundary+0x74>
      return alloc_begin;                                             
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc10588:	31 6b ff ff 	addic   r11,r11,-1                             
ffc1058c:	7d 6b 59 10 	subfe   r11,r11,r11                            
ffc10590:	7f ff 58 38 	and     r31,r31,r11                            
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc10594:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc10598:	3b de 00 01 	addi    r30,r30,1                              
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc1059c:	41 9e fe cc 	beq+    cr7,ffc10468 <_Heap_Allocate_aligned_with_boundary+0x80>
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc105a0:	81 7d 00 48 	lwz     r11,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc105a4:	7f a3 eb 78 	mr      r3,r29                                 
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc105a8:	80 1d 00 4c 	lwz     r0,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc105ac:	7f e5 fb 78 	mr      r5,r31                                 
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc105b0:	39 6b 00 01 	addi    r11,r11,1                              
    stats->searches += search_count;                                  
ffc105b4:	7c 00 f2 14 	add     r0,r0,r30                              
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc105b8:	91 7d 00 48 	stw     r11,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc105bc:	7d 26 4b 78 	mr      r6,r9                                  
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc105c0:	90 1d 00 4c 	stw     r0,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc105c4:	4b ff a6 35 	bl      ffc0abf8 <_Heap_Block_allocate>        
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
ffc105c8:	80 1d 00 44 	lwz     r0,68(r29)                             
ffc105cc:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc105d0:	40 bc fe d0 	bge-    cr7,ffc104a0 <_Heap_Allocate_aligned_with_boundary+0xb8>
    stats->max_search = search_count;                                 
ffc105d4:	93 dd 00 44 	stw     r30,68(r29)                            
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
ffc105d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc105dc:	4b ff fe c8 	b       ffc104a4 <_Heap_Allocate_aligned_with_boundary+0xbc>
    if ( free_size >= min_block_size || free_size == 0 ) {            
      return alloc_begin;                                             
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc105e0:	3b e0 00 00 	li      r31,0                                  
ffc105e4:	4b ff fe 78 	b       ffc1045c <_Heap_Allocate_aligned_with_boundary+0x74>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
ffc105e8:	7f 84 30 40 	cmplw   cr7,r4,r6                              
ffc105ec:	41 bd fe b8 	bgt-    cr7,ffc104a4 <_Heap_Allocate_aligned_with_boundary+0xbc>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
ffc105f0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc105f4:	40 be fe 40 	bne-    cr7,ffc10434 <_Heap_Allocate_aligned_with_boundary+0x4c>
      alignment = page_size;                                          
ffc105f8:	7c e5 3b 78 	mr      r5,r7                                  
ffc105fc:	4b ff fe 38 	b       ffc10434 <_Heap_Allocate_aligned_with_boundary+0x4c>
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc10600:	3b c0 00 00 	li      r30,0                                  
ffc10604:	3b e0 00 00 	li      r31,0                                  
ffc10608:	4b ff fe 8c 	b       ffc10494 <_Heap_Allocate_aligned_with_boundary+0xac>
                                                                      

ffc101e8 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
ffc101e8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc101ec:	7d 80 00 26 	mfcr    r12                                    
ffc101f0:	7c 08 02 a6 	mflr    r0                                     
ffc101f4:	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;
ffc101f8:	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 ) {                        
ffc101fc:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc10200:	90 01 00 44 	stw     r0,68(r1)                              
ffc10204:	93 41 00 28 	stw     r26,40(r1)                             
  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;                              
ffc10208:	3b 40 00 00 	li      r26,0                                  
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc1020c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc10210:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10214:	93 01 00 20 	stw     r24,32(r1)                             
ffc10218:	93 21 00 24 	stw     r25,36(r1)                             
ffc1021c:	7c d9 33 78 	mr      r25,r6                                 
ffc10220:	93 61 00 2c 	stw     r27,44(r1)                             
ffc10224:	93 81 00 30 	stw     r28,48(r1)                             
ffc10228:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc1022c:	7c 9f 23 78 	mr      r31,r4                                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc10230:	83 63 00 20 	lwz     r27,32(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 ) {                        
    return false;                                                     
ffc10234:	38 60 00 00 	li      r3,0                                   
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc10238:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc1023c:	91 81 00 18 	stw     r12,24(r1)                             
  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;                              
ffc10240:	93 41 00 0c 	stw     r26,12(r1)                             
  Heap_Block *extend_last_block = NULL;                               
ffc10244:	93 41 00 08 	stw     r26,8(r1)                              
  uintptr_t const page_size = heap->page_size;                        
ffc10248:	83 9e 00 10 	lwz     r28,16(r30)                            
  uintptr_t const min_block_size = heap->min_block_size;              
ffc1024c:	80 de 00 14 	lwz     r6,20(r30)                             
  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;                       
ffc10250:	83 1e 00 30 	lwz     r24,48(r30)                            
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc10254:	40 9d 00 40 	ble-    cr7,ffc10294 <_Heap_Extend+0xac>       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc10258:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1025c:	81 81 00 18 	lwz     r12,24(r1)                             
ffc10260:	7c 08 03 a6 	mtlr    r0                                     
ffc10264:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc10268:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1026c:	7d 81 81 20 	mtcrf   24,r12                                 
ffc10270:	83 21 00 24 	lwz     r25,36(r1)                             
ffc10274:	83 41 00 28 	lwz     r26,40(r1)                             
ffc10278:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1027c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc10280:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc10284:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc10288:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1028c:	38 21 00 40 	addi    r1,r1,64                               
ffc10290:	4e 80 00 20 	blr                                            
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc10294:	7c 83 23 78 	mr      r3,r4                                  
ffc10298:	38 e1 00 0c 	addi    r7,r1,12                               
ffc1029c:	7c a4 2b 78 	mr      r4,r5                                  
ffc102a0:	39 01 00 08 	addi    r8,r1,8                                
ffc102a4:	7f 85 e3 78 	mr      r5,r28                                 
ffc102a8:	4b ff a3 8d 	bl      ffc0a634 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc102ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    /* For simplicity we reject extend areas that are too small */    
    return false;                                                     
ffc102b0:	7f 43 d3 78 	mr      r3,r26                                 
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc102b4:	41 be ff a4 	beq-    cr7,ffc10258 <_Heap_Extend+0x70>       
ffc102b8:	7f 69 db 78 	mr      r9,r27                                 
ffc102bc:	3a e0 00 00 	li      r23,0                                  
ffc102c0:	38 00 00 00 	li      r0,0                                   
ffc102c4:	39 00 00 00 	li      r8,0                                   
ffc102c8:	48 00 00 44 	b       ffc1030c <_Heap_Extend+0x124>          
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc102cc:	7f 9d 58 40 	cmplw   cr7,r29,r11                            
ffc102d0:	40 9c 00 08 	bge-    cr7,ffc102d8 <_Heap_Extend+0xf0>       
ffc102d4:	7d 20 4b 78 	mr      r0,r9                                  
ffc102d8:	7d 4b e3 96 	divwu   r10,r11,r28                            
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc102dc:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc102e0:	7d 4a e1 d6 	mullw   r10,r10,r28                            
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc102e4:	39 4a ff f8 	addi    r10,r10,-8                             
ffc102e8:	41 9e 00 64 	beq-    cr7,ffc1034c <_Heap_Extend+0x164>      
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc102ec:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc102f0:	40 9d 00 08 	ble-    cr7,ffc102f8 <_Heap_Extend+0x110>      
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 )   
ffc102f4:	7d 57 53 78 	mr      r23,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;                
ffc102f8:	81 2a 00 04 	lwz     r9,4(r10)                              
ffc102fc:	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);                 
ffc10300:	7d 29 52 14 	add     r9,r9,r10                              
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc10304:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc10308:	41 9e 00 60 	beq-    cr7,ffc10368 <_Heap_Extend+0x180>      
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc1030c:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc10310:	7d 2a 4b 78 	mr      r10,r9                                 
ffc10314:	41 9e 01 b8 	beq-    cr7,ffc104cc <_Heap_Extend+0x2e4>      
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc10318:	81 69 00 00 	lwz     r11,0(r9)                              
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc1031c:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc10320:	40 9c 00 0c 	bge-    cr7,ffc1032c <_Heap_Extend+0x144>      
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc10324:	7f 8a e8 40 	cmplw   cr7,r10,r29                            
ffc10328:	41 9c 02 28 	blt-    cr7,ffc10550 <_Heap_Extend+0x368>      
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc1032c:	7f 8a e8 00 	cmpw    cr7,r10,r29                            
ffc10330:	40 9e ff 9c 	bne+    cr7,ffc102cc <_Heap_Extend+0xe4>       
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10334:	7d 4b e3 96 	divwu   r10,r11,r28                            
      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 ) {                        
ffc10338:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc1033c:	7d 4a e1 d6 	mullw   r10,r10,r28                            
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc10340:	7d 28 4b 78 	mr      r8,r9                                  
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc10344:	39 4a ff f8 	addi    r10,r10,-8                             
      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 ) {                        
ffc10348:	40 9e ff a4 	bne+    cr7,ffc102ec <_Heap_Extend+0x104>      <== ALWAYS TAKEN
      start_block->prev_size = extend_area_end;                       
ffc1034c:	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 )   
ffc10350:	7d 5a 53 78 	mr      r26,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;                
ffc10354:	81 2a 00 04 	lwz     r9,4(r10)                              
ffc10358:	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);                 
ffc1035c:	7d 29 52 14 	add     r9,r9,r10                              
    } 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 );                             
ffc10360:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc10364:	40 9e ff a8 	bne+    cr7,ffc1030c <_Heap_Extend+0x124>      <== NEVER TAKEN
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc10368:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc1036c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc10370:	41 9c 01 64 	blt-    cr7,ffc104d4 <_Heap_Extend+0x2ec>      
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
ffc10374:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc10378:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc1037c:	40 9d 00 08 	ble-    cr7,ffc10384 <_Heap_Extend+0x19c>      
    heap->area_end = extend_area_end;                                 
ffc10380:	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 ) {
ffc10384:	81 5e 00 20 	lwz     r10,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;   
ffc10388:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1038c:	81 61 00 08 	lwz     r11,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 ) {
ffc10390:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc10394:	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 =                                           
ffc10398:	7d 49 58 50 	subf    r10,r9,r11                             
    (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;                   
ffc1039c:	61 47 00 01 	ori     r7,r10,1                               
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc103a0:	91 4b 00 00 	stw     r10,0(r11)                             
  extend_last_block->size_and_flag = 0;                               
ffc103a4:	39 40 00 00 	li      r10,0                                  
                                                                      
  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 =                                 
ffc103a8:	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;                               
ffc103ac:	91 4b 00 04 	stw     r10,4(r11)                             
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc103b0:	40 9d 01 58 	ble-    cr7,ffc10508 <_Heap_Extend+0x320>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
ffc103b4:	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 ) {                                  
ffc103b8:	2e 08 00 00 	cmpwi   cr4,r8,0                               
ffc103bc:	41 92 01 b0 	beq-    cr4,ffc1056c <_Heap_Extend+0x384>      
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc103c0:	80 1e 00 10 	lwz     r0,16(r30)                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
ffc103c4:	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;                            
ffc103c8:	7d 3f 03 96 	divwu   r9,r31,r0                              
ffc103cc:	7d 29 01 d6 	mullw   r9,r9,r0                               
                                                                      
  if ( remainder != 0 ) {                                             
ffc103d0:	7d 29 f8 51 	subf.   r9,r9,r31                              
ffc103d4:	41 82 00 0c 	beq-    ffc103e0 <_Heap_Extend+0x1f8>          <== NEVER TAKEN
    return value - remainder + alignment;                             
ffc103d8:	7f ff 02 14 	add     r31,r31,r0                             
ffc103dc:	7f e9 f8 50 	subf    r31,r9,r31                             
  uintptr_t const new_first_block_begin =                             
ffc103e0:	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;                
ffc103e4:	81 28 00 00 	lwz     r9,0(r8)                               
  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 =                              
ffc103e8:	7c 04 40 50 	subf    r0,r4,r8                               
    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;
ffc103ec:	60 00 00 01 	ori     r0,r0,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;                
ffc103f0:	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 );                          
ffc103f4:	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;
ffc103f8:	90 04 00 04 	stw     r0,4(r4)                               
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc103fc:	4b ff fd b1 	bl      ffc101ac <_Heap_Free_block>            
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc10400:	2d 9a 00 00 	cmpwi   cr3,r26,0                              
ffc10404:	41 8e 01 18 	beq-    cr3,ffc1051c <_Heap_Extend+0x334>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10408:	81 3e 00 10 	lwz     r9,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,      
ffc1040c:	38 1d ff f8 	addi    r0,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(             
ffc10410:	7c 1a 00 50 	subf    r0,r26,r0                              
  );                                                                  
  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)                 
ffc10414:	81 7a 00 04 	lwz     r11,4(r26)                             
ffc10418:	7c 00 4b 96 	divwu   r0,r0,r9                               
ffc1041c:	7c 00 49 d6 	mullw   r0,r0,r9                               
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc10420:	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)                 
ffc10424:	7d 60 58 50 	subf    r11,r0,r11                             
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc10428:	7d 20 d2 14 	add     r9,r0,r26                              
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc1042c:	61 6b 00 01 	ori     r11,r11,1                              
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc10430:	91 69 00 04 	stw     r11,4(r9)                              
    (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 );                               
ffc10434:	7f 44 d3 78 	mr      r4,r26                                 
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;       
ffc10438:	81 3a 00 04 	lwz     r9,4(r26)                              
ffc1043c:	55 29 07 fe 	clrlwi  r9,r9,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc10440:	7c 00 4b 78 	or      r0,r0,r9                               
ffc10444:	90 1a 00 04 	stw     r0,4(r26)                              
ffc10448:	4b ff fd 65 	bl      ffc101ac <_Heap_Free_block>            
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc1044c:	41 92 01 0c 	beq-    cr4,ffc10558 <_Heap_Extend+0x370>      
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc10450:	81 3e 00 24 	lwz     r9,36(r30)                             
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc10454:	2f 99 00 00 	cmpwi   cr7,r25,0                              
 * 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(                                               
ffc10458:	81 7e 00 20 	lwz     r11,32(r30)                            
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
ffc1045c:	38 60 00 01 	li      r3,1                                   
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;       
ffc10460:	80 09 00 04 	lwz     r0,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(                                               
ffc10464:	7d 69 58 50 	subf    r11,r9,r11                             
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;       
ffc10468:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc1046c:	7c 00 5b 78 	or      r0,r0,r11                              
ffc10470:	90 09 00 04 	stw     r0,4(r9)                               
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc10474:	81 3e 00 30 	lwz     r9,48(r30)                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc10478:	80 1e 00 2c 	lwz     r0,44(r30)                             
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc1047c:	7f 18 48 50 	subf    r24,r24,r9                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc10480:	7c 00 c2 14 	add     r0,r0,r24                              
ffc10484:	90 1e 00 2c 	stw     r0,44(r30)                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc10488:	41 be fd d0 	beq-    cr7,ffc10258 <_Heap_Extend+0x70>       <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc1048c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc10490:	81 81 00 18 	lwz     r12,24(r1)                             
ffc10494:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
ffc10498:	93 19 00 00 	stw     r24,0(r25)                             
                                                                      
  return true;                                                        
}                                                                     
ffc1049c:	7d 81 81 20 	mtcrf   24,r12                                 
ffc104a0:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc104a4:	83 01 00 20 	lwz     r24,32(r1)                             
ffc104a8:	83 21 00 24 	lwz     r25,36(r1)                             
ffc104ac:	83 41 00 28 	lwz     r26,40(r1)                             
ffc104b0:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc104b4:	83 81 00 30 	lwz     r28,48(r1)                             
ffc104b8:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc104bc:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc104c0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc104c4:	38 21 00 40 	addi    r1,r1,64                               
ffc104c8:	4e 80 00 20 	blr                                            
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc104cc:	81 5e 00 18 	lwz     r10,24(r30)                            
ffc104d0:	4b ff fe 48 	b       ffc10318 <_Heap_Extend+0x130>          
                                                                      
  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 ) {
ffc104d4:	81 5e 00 20 	lwz     r10,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;   
ffc104d8:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc104dc:	81 61 00 08 	lwz     r11,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 ) {
ffc104e0:	7f 8a 48 40 	cmplw   cr7,r10,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;                             
ffc104e4:	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 =                                           
ffc104e8:	7d 49 58 50 	subf    r10,r9,r11                             
    (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;                   
ffc104ec:	61 47 00 01 	ori     r7,r10,1                               
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc104f0:	93 a9 00 00 	stw     r29,0(r9)                              
  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;             
ffc104f4:	91 4b 00 00 	stw     r10,0(r11)                             
  extend_last_block->size_and_flag = 0;                               
ffc104f8:	39 40 00 00 	li      r10,0                                  
                                                                      
  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 =                                 
ffc104fc:	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;                               
ffc10500:	91 4b 00 04 	stw     r10,4(r11)                             
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc10504:	41 bd fe b0 	bgt-    cr7,ffc103b4 <_Heap_Extend+0x1cc>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc10508:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc1050c:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc10510:	40 bc fe a8 	bge-    cr7,ffc103b8 <_Heap_Extend+0x1d0>      
    heap->last_block = extend_last_block;                             
ffc10514:	91 7e 00 24 	stw     r11,36(r30)                            
ffc10518:	4b ff fe a0 	b       ffc103b8 <_Heap_Extend+0x1d0>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc1051c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc10520:	41 be ff 2c 	beq-    cr7,ffc1044c <_Heap_Extend+0x264>      
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;       
ffc10524:	81 37 00 04 	lwz     r9,4(r23)                              
)                                                                     
{                                                                     
  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 );       
ffc10528:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1052c:	55 29 07 fe 	clrlwi  r9,r9,31                               
ffc10530:	7c 17 00 50 	subf    r0,r23,r0                              
                                                                      
  block->size_and_flag = size | flag;                                 
ffc10534:	7d 20 03 78 	or      r0,r9,r0                               
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
ffc10538:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1053c:	90 17 00 04 	stw     r0,4(r23)                              
  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;                  
ffc10540:	80 09 00 04 	lwz     r0,4(r9)                               
ffc10544:	60 00 00 01 	ori     r0,r0,1                                
ffc10548:	90 09 00 04 	stw     r0,4(r9)                               
ffc1054c:	4b ff ff 00 	b       ffc1044c <_Heap_Extend+0x264>          
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
ffc10550:	38 60 00 00 	li      r3,0                                   
ffc10554:	4b ff fd 04 	b       ffc10258 <_Heap_Extend+0x70>           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc10558:	40 8e fe f8 	bne+    cr3,ffc10450 <_Heap_Extend+0x268>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc1055c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc10560:	7f c3 f3 78 	mr      r3,r30                                 
ffc10564:	4b ff fc 49 	bl      ffc101ac <_Heap_Free_block>            
ffc10568:	4b ff fe e8 	b       ffc10450 <_Heap_Extend+0x268>          
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
ffc1056c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10570:	41 be fe 90 	beq-    cr7,ffc10400 <_Heap_Extend+0x218>      
{                                                                     
  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;           
ffc10574:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc10578:	60 00 00 01 	ori     r0,r0,1                                
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
ffc1057c:	90 0b 00 04 	stw     r0,4(r11)                              
ffc10580:	4b ff fe 80 	b       ffc10400 <_Heap_Extend+0x218>          
                                                                      

ffc1060c <_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 ) {
ffc1060c:	2c 04 00 00 	cmpwi   r4,0                                   
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc10610:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc10614:	7c 69 1b 78 	mr      r9,r3                                  
ffc10618:	93 e1 00 0c 	stw     r31,12(r1)                             
   * 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;                                                      
ffc1061c:	38 60 00 01 	li      r3,1                                   
  /*                                                                  
   * 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 ) {                                    
ffc10620:	41 82 01 44 	beq-    ffc10764 <_Heap_Free+0x158>            
ffc10624:	80 09 00 10 	lwz     r0,16(r9)                              
                                                                      
  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;                                                     
ffc10628:	38 60 00 00 	li      r3,0                                   
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           
ffc1062c:	81 69 00 20 	lwz     r11,32(r9)                             
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10630:	7c 84 03 96 	divwu   r4,r4,r0                               
ffc10634:	7c 84 01 d6 	mullw   r4,r4,r0                               
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc10638:	38 84 ff f8 	addi    r4,r4,-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;             
ffc1063c:	7f 84 58 40 	cmplw   cr7,r4,r11                             
ffc10640:	41 9c 01 24 	blt-    cr7,ffc10764 <_Heap_Free+0x158>        
ffc10644:	80 09 00 24 	lwz     r0,36(r9)                              
ffc10648:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc1064c:	41 9d 01 18 	bgt-    cr7,ffc10764 <_Heap_Free+0x158>        <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10650:	81 04 00 04 	lwz     r8,4(r4)                               
    - 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;                
ffc10654:	55 07 00 3c 	rlwinm  r7,r8,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);                 
ffc10658:	7d 47 22 14 	add     r10,r7,r4                              
  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;             
ffc1065c:	7f 8b 50 40 	cmplw   cr7,r11,r10                            
ffc10660:	41 9d 01 04 	bgt-    cr7,ffc10764 <_Heap_Free+0x158>        <== NEVER TAKEN
ffc10664:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc10668:	41 9c 00 fc 	blt-    cr7,ffc10764 <_Heap_Free+0x158>        
ffc1066c:	80 ca 00 04 	lwz     r6,4(r10)                              
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc10670:	70 c5 00 01 	andi.   r5,r6,1                                
ffc10674:	41 82 00 f0 	beq-    ffc10764 <_Heap_Free+0x158>            
    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 ));
ffc10678:	7f 80 50 00 	cmpw    cr7,r0,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;                
ffc1067c:	54 c5 00 3c 	rlwinm  r5,r6,0,0,30                           
ffc10680:	38 c0 00 00 	li      r6,0                                   
ffc10684:	41 9e 00 18 	beq-    cr7,ffc1069c <_Heap_Free+0x90>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10688:	7c ca 2a 14 	add     r6,r10,r5                              
  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;                 
ffc1068c:	80 c6 00 04 	lwz     r6,4(r6)                               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
ffc10690:	70 c3 00 01 	andi.   r3,r6,1                                
ffc10694:	7c c0 00 26 	mfcr    r6                                     
ffc10698:	54 c6 1f fe 	rlwinm  r6,r6,3,31,31                          
                                                                      
  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 ) ) {                               
ffc1069c:	71 08 00 01 	andi.   r8,r8,1                                
ffc106a0:	40 82 00 6c 	bne-    ffc1070c <_Heap_Free+0x100>            
    uintptr_t const prev_size = block->prev_size;                     
ffc106a4:	83 e4 00 00 	lwz     r31,0(r4)                              
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
      _HAssert( false );                                              
      return( false );                                                
ffc106a8:	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);                 
ffc106ac:	7d 9f 20 50 	subf    r12,r31,r4                             
  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;             
ffc106b0:	7f 8b 60 40 	cmplw   cr7,r11,r12                            
ffc106b4:	41 9d 00 b0 	bgt-    cr7,ffc10764 <_Heap_Free+0x158>        <== NEVER TAKEN
ffc106b8:	7f 80 60 40 	cmplw   cr7,r0,r12                             
ffc106bc:	7d 03 43 78 	mr      r3,r8                                  
ffc106c0:	41 9c 00 a4 	blt-    cr7,ffc10764 <_Heap_Free+0x158>        <== 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;                 
ffc106c4:	80 0c 00 04 	lwz     r0,4(r12)                              
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
ffc106c8:	70 0b 00 01 	andi.   r11,r0,1                               
ffc106cc:	41 82 00 98 	beq-    ffc10764 <_Heap_Free+0x158>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc106d0:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc106d4:	41 9e 00 e8 	beq-    cr7,ffc107bc <_Heap_Free+0x1b0>        
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc106d8:	81 09 00 38 	lwz     r8,56(r9)                              
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc106dc:	7f e7 fa 14 	add     r31,r7,r31                             
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc106e0:	81 6a 00 08 	lwz     r11,8(r10)                             
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc106e4:	7c bf 2a 14 	add     r5,r31,r5                              
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc106e8:	81 4a 00 0c 	lwz     r10,12(r10)                            
    }                                                                 
                                                                      
    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;                                        
ffc106ec:	39 08 ff ff 	addi    r8,r8,-1                               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc106f0:	60 a0 00 01 	ori     r0,r5,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;                                                  
ffc106f4:	91 6a 00 08 	stw     r11,8(r10)                             
  next->prev = prev;                                                  
ffc106f8:	91 4b 00 0c 	stw     r10,12(r11)                            
    }                                                                 
                                                                      
    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;                                        
ffc106fc:	91 09 00 38 	stw     r8,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc10700:	90 0c 00 04 	stw     r0,4(r12)                              
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
ffc10704:	7c a5 61 2e 	stwx    r5,r5,r12                              
ffc10708:	48 00 00 34 	b       ffc1073c <_Heap_Free+0x130>            
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
ffc1070c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc10710:	41 9e 00 60 	beq-    cr7,ffc10770 <_Heap_Free+0x164>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10714:	81 6a 00 08 	lwz     r11,8(r10)                             
      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;              
ffc10718:	7c a5 3a 14 	add     r5,r5,r7                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc1071c:	81 4a 00 0c 	lwz     r10,12(r10)                            
      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;               
ffc10720:	60 a0 00 01 	ori     r0,r5,1                                
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
ffc10724:	91 64 00 08 	stw     r11,8(r4)                              
  new_block->prev = prev;                                             
ffc10728:	91 44 00 0c 	stw     r10,12(r4)                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc1072c:	90 8a 00 08 	stw     r4,8(r10)                              
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
ffc10730:	90 8b 00 0c 	stw     r4,12(r11)                             
ffc10734:	90 04 00 04 	stw     r0,4(r4)                               
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc10738:	7c a5 21 2e 	stwx    r5,r5,r4                               
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc1073c:	81 69 00 40 	lwz     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc10740:	38 60 00 01 	li      r3,1                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc10744:	81 09 00 50 	lwz     r8,80(r9)                              
  stats->free_size += block_size;                                     
ffc10748:	81 49 00 30 	lwz     r10,48(r9)                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc1074c:	39 6b ff ff 	addi    r11,r11,-1                             
  ++stats->frees;                                                     
ffc10750:	38 08 00 01 	addi    r0,r8,1                                
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc10754:	91 69 00 40 	stw     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
ffc10758:	7c ea 3a 14 	add     r7,r10,r7                              
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc1075c:	90 09 00 50 	stw     r0,80(r9)                              
  stats->free_size += block_size;                                     
ffc10760:	90 e9 00 30 	stw     r7,48(r9)                              
                                                                      
  return( true );                                                     
}                                                                     
ffc10764:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc10768:	38 21 00 10 	addi    r1,r1,16                               
ffc1076c:	4e 80 00 20 	blr                                            
    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;                                             
ffc10770:	81 09 00 38 	lwz     r8,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc10774:	81 69 00 3c 	lwz     r11,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;                                             
ffc10778:	38 08 00 01 	addi    r0,r8,1                                
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
ffc1077c:	91 24 00 0c 	stw     r9,12(r4)                              
    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;         
ffc10780:	60 e8 00 01 	ori     r8,r7,1                                
ffc10784:	91 04 00 04 	stw     r8,4(r4)                               
    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 ) {              
ffc10788:	7f 80 58 40 	cmplw   cr7,r0,r11                             
  } 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;               
ffc1078c:	81 0a 00 04 	lwz     r8,4(r10)                              
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
ffc10790:	81 69 00 08 	lwz     r11,8(r9)                              
ffc10794:	55 08 00 3c 	rlwinm  r8,r8,0,0,30                           
    next_block->prev_size = block_size;                               
ffc10798:	7c e7 21 2e 	stwx    r7,r7,r4                               
                                                                      
  new_block->next = next;                                             
ffc1079c:	91 64 00 08 	stw     r11,8(r4)                              
  } 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;               
ffc107a0:	91 0a 00 04 	stw     r8,4(r10)                              
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc107a4:	90 8b 00 0c 	stw     r4,12(r11)                             
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
ffc107a8:	90 89 00 08 	stw     r4,8(r9)                               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc107ac:	90 09 00 38 	stw     r0,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc107b0:	40 bd ff 8c 	ble-    cr7,ffc1073c <_Heap_Free+0x130>        
      stats->max_free_blocks = stats->free_blocks;                    
ffc107b4:	90 09 00 3c 	stw     r0,60(r9)                              
ffc107b8:	4b ff ff 84 	b       ffc1073c <_Heap_Free+0x130>            
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
ffc107bc:	7f e7 fa 14 	add     r31,r7,r31                             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc107c0:	63 e0 00 01 	ori     r0,r31,1                               
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc107c4:	7f e7 21 2e 	stwx    r31,r7,r4                              
      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;        
ffc107c8:	90 0c 00 04 	stw     r0,4(r12)                              
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc107cc:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc107d0:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc107d4:	90 0a 00 04 	stw     r0,4(r10)                              
ffc107d8:	4b ff ff 64 	b       ffc1073c <_Heap_Free+0x130>            
                                                                      

ffc0b39c <_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;
ffc0b39c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
ffc0b3a0:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc0b3a4:	7c 08 02 a6 	mflr    r0                                     
ffc0b3a8:	92 e1 00 44 	stw     r23,68(r1)                             
ffc0b3ac:	90 01 00 6c 	stw     r0,108(r1)                             
ffc0b3b0:	93 01 00 48 	stw     r24,72(r1)                             
ffc0b3b4:	93 21 00 4c 	stw     r25,76(r1)                             
ffc0b3b8:	7c 99 23 78 	mr      r25,r4                                 
ffc0b3bc:	93 41 00 50 	stw     r26,80(r1)                             
ffc0b3c0:	93 61 00 54 	stw     r27,84(r1)                             
ffc0b3c4:	93 e1 00 64 	stw     r31,100(r1)                            
ffc0b3c8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0b3cc:	91 c1 00 20 	stw     r14,32(r1)                             
ffc0b3d0:	91 e1 00 24 	stw     r15,36(r1)                             
ffc0b3d4:	92 01 00 28 	stw     r16,40(r1)                             
ffc0b3d8:	92 21 00 2c 	stw     r17,44(r1)                             
ffc0b3dc:	92 41 00 30 	stw     r18,48(r1)                             
ffc0b3e0:	92 61 00 34 	stw     r19,52(r1)                             
ffc0b3e4:	92 81 00 38 	stw     r20,56(r1)                             
ffc0b3e8:	92 a1 00 3c 	stw     r21,60(r1)                             
ffc0b3ec:	92 c1 00 40 	stw     r22,64(r1)                             
ffc0b3f0:	93 81 00 58 	stw     r28,88(r1)                             
ffc0b3f4:	93 a1 00 5c 	stw     r29,92(r1)                             
ffc0b3f8:	93 c1 00 60 	stw     r30,96(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc0b3fc:	83 63 00 10 	lwz     r27,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0b400:	83 03 00 14 	lwz     r24,20(r3)                             
  Heap_Block *const first_block = heap->first_block;                  
ffc0b404:	83 43 00 20 	lwz     r26,32(r3)                             
  Heap_Block *const last_block = heap->last_block;                    
ffc0b408:	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;                      
ffc0b40c:	41 9e 00 7c 	beq-    cr7,ffc0b488 <_Heap_Walk+0xec>         
ffc0b410:	3d 20 ff c1 	lis     r9,-63                                 
ffc0b414:	39 29 b2 9c 	addi    r9,r9,-19812                           
ffc0b418:	91 21 00 18 	stw     r9,24(r1)                              
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc0b41c:	3d 20 00 00 	lis     r9,0                                   
    return true;                                                      
ffc0b420:	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() ) ) {                
ffc0b424:	80 09 27 e0 	lwz     r0,10208(r9)                           
ffc0b428:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0b42c:	41 9e 00 7c 	beq-    cr7,ffc0b4a8 <_Heap_Walk+0x10c>        <== ALWAYS TAKEN
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0b430:	80 01 00 6c 	lwz     r0,108(r1)                             
ffc0b434:	81 c1 00 20 	lwz     r14,32(r1)                             
ffc0b438:	7c 08 03 a6 	mtlr    r0                                     
ffc0b43c:	81 e1 00 24 	lwz     r15,36(r1)                             
ffc0b440:	82 01 00 28 	lwz     r16,40(r1)                             
ffc0b444:	82 21 00 2c 	lwz     r17,44(r1)                             
ffc0b448:	82 41 00 30 	lwz     r18,48(r1)                             
ffc0b44c:	82 61 00 34 	lwz     r19,52(r1)                             
ffc0b450:	82 81 00 38 	lwz     r20,56(r1)                             
ffc0b454:	82 a1 00 3c 	lwz     r21,60(r1)                             
ffc0b458:	82 c1 00 40 	lwz     r22,64(r1)                             
ffc0b45c:	82 e1 00 44 	lwz     r23,68(r1)                             
ffc0b460:	83 01 00 48 	lwz     r24,72(r1)                             
ffc0b464:	83 21 00 4c 	lwz     r25,76(r1)                             
ffc0b468:	83 41 00 50 	lwz     r26,80(r1)                             
ffc0b46c:	83 61 00 54 	lwz     r27,84(r1)                             
ffc0b470:	83 81 00 58 	lwz     r28,88(r1)                             
ffc0b474:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc0b478:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc0b47c:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc0b480:	38 21 00 68 	addi    r1,r1,104                              
ffc0b484:	4e 80 00 20 	blr                                            
  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;                      
ffc0b488:	3d 20 ff c1 	lis     r9,-63                                 
ffc0b48c:	39 29 b2 98 	addi    r9,r9,-19816                           
ffc0b490:	91 21 00 18 	stw     r9,24(r1)                              
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc0b494:	3d 20 00 00 	lis     r9,0                                   
    return true;                                                      
ffc0b498:	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() ) ) {                
ffc0b49c:	80 09 27 e0 	lwz     r0,10208(r9)                           
ffc0b4a0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0b4a4:	40 9e ff 8c 	bne+    cr7,ffc0b430 <_Heap_Walk+0x94>         
  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)(                                                         
ffc0b4a8:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0b4ac:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b4b0:	81 1f 00 18 	lwz     r8,24(r31)                             
ffc0b4b4:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b4b8:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0b4bc:	38 80 00 00 	li      r4,0                                   
ffc0b4c0:	81 7f 00 08 	lwz     r11,8(r31)                             
ffc0b4c4:	38 a5 a7 58 	addi    r5,r5,-22696                           
ffc0b4c8:	90 01 00 10 	stw     r0,16(r1)                              
ffc0b4cc:	7f 66 db 78 	mr      r6,r27                                 
ffc0b4d0:	7f 07 c3 78 	mr      r7,r24                                 
ffc0b4d4:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b4d8:	7f 4a d3 78 	mr      r10,r26                                
ffc0b4dc:	92 e1 00 08 	stw     r23,8(r1)                              
ffc0b4e0:	7c 09 03 a6 	mtctr   r0                                     
ffc0b4e4:	91 61 00 0c 	stw     r11,12(r1)                             
ffc0b4e8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b4ec:	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 ) {                                             
ffc0b4f0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0b4f4:	41 9e 00 ac 	beq-    cr7,ffc0b5a0 <_Heap_Walk+0x204>        
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
ffc0b4f8:	73 67 00 07 	andi.   r7,r27,7                               
ffc0b4fc:	40 82 00 cc 	bne-    ffc0b5c8 <_Heap_Walk+0x22c>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0b500:	7c 18 db 96 	divwu   r0,r24,r27                             
ffc0b504:	7c 00 d9 d6 	mullw   r0,r0,r27                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
ffc0b508:	7f 98 00 00 	cmpw    cr7,r24,r0                             
ffc0b50c:	40 9e 00 e8 	bne-    cr7,ffc0b5f4 <_Heap_Walk+0x258>        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0b510:	38 1a 00 08 	addi    r0,r26,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0b514:	7d 20 db 96 	divwu   r9,r0,r27                              
ffc0b518:	7d 29 d9 d6 	mullw   r9,r9,r27                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc0b51c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0b520:	40 9e 01 00 	bne-    cr7,ffc0b620 <_Heap_Walk+0x284>        
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0b524:	82 da 00 04 	lwz     r22,4(r26)                             
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
ffc0b528:	72 c7 00 01 	andi.   r7,r22,1                               
ffc0b52c:	41 82 01 20 	beq-    ffc0b64c <_Heap_Walk+0x2b0>            
    - 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;                
ffc0b530:	81 37 00 04 	lwz     r9,4(r23)                              
ffc0b534:	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);                 
ffc0b538:	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;                 
ffc0b53c:	80 09 00 04 	lwz     r0,4(r9)                               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
ffc0b540:	70 07 00 01 	andi.   r7,r0,1                                
ffc0b544:	41 82 00 34 	beq-    ffc0b578 <_Heap_Walk+0x1dc>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc0b548:	7f 9a 48 00 	cmpw    cr7,r26,r9                             
ffc0b54c:	41 9e 01 28 	beq-    cr7,ffc0b674 <_Heap_Walk+0x2d8>        
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
ffc0b550:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b554:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b558:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b55c:	38 80 00 01 	li      r4,1                                   
ffc0b560:	7c 09 03 a6 	mtctr   r0                                     
ffc0b564:	38 a5 a8 c0 	addi    r5,r5,-22336                           
ffc0b568:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b56c:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b570:	38 60 00 00 	li      r3,0                                   
ffc0b574:	4b ff fe bc 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
ffc0b578:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b57c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b580:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b584:	38 80 00 01 	li      r4,1                                   
ffc0b588:	7c 09 03 a6 	mtctr   r0                                     
ffc0b58c:	38 a5 a8 a8 	addi    r5,r5,-22360                           
ffc0b590:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b594:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b598:	38 60 00 00 	li      r3,0                                   
ffc0b59c:	4b ff fe 94 	b       ffc0b430 <_Heap_Walk+0x94>             
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
ffc0b5a0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b5a4:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b5a8:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b5ac:	38 80 00 01 	li      r4,1                                   
ffc0b5b0:	7c 09 03 a6 	mtctr   r0                                     
ffc0b5b4:	38 a5 a7 ec 	addi    r5,r5,-22548                           
ffc0b5b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b5bc:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b5c0:	38 60 00 00 	li      r3,0                                   
ffc0b5c4:	4b ff fe 6c 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
ffc0b5c8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b5cc:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b5d0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b5d4:	38 80 00 01 	li      r4,1                                   
ffc0b5d8:	7c 09 03 a6 	mtctr   r0                                     
ffc0b5dc:	38 a5 a8 00 	addi    r5,r5,-22528                           
ffc0b5e0:	7f 66 db 78 	mr      r6,r27                                 
ffc0b5e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b5e8:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b5ec:	38 60 00 00 	li      r3,0                                   
ffc0b5f0:	4b ff fe 40 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
ffc0b5f4:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b5f8:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b5fc:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b600:	38 80 00 01 	li      r4,1                                   
ffc0b604:	7c 09 03 a6 	mtctr   r0                                     
ffc0b608:	38 a5 a8 20 	addi    r5,r5,-22496                           
ffc0b60c:	7f 06 c3 78 	mr      r6,r24                                 
ffc0b610:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b614:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b618:	38 60 00 00 	li      r3,0                                   
ffc0b61c:	4b ff fe 14 	b       ffc0b430 <_Heap_Walk+0x94>             
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
ffc0b620:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b624:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b628:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b62c:	38 80 00 01 	li      r4,1                                   
ffc0b630:	7c 09 03 a6 	mtctr   r0                                     
ffc0b634:	38 a5 a8 44 	addi    r5,r5,-22460                           
ffc0b638:	7f 46 d3 78 	mr      r6,r26                                 
ffc0b63c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b640:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b644:	38 60 00 00 	li      r3,0                                   
ffc0b648:	4b ff fd e8 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
ffc0b64c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b650:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b654:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b658:	38 80 00 01 	li      r4,1                                   
ffc0b65c:	7c 09 03 a6 	mtctr   r0                                     
ffc0b660:	38 a5 a8 78 	addi    r5,r5,-22408                           
ffc0b664:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b668:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b66c:	38 60 00 00 	li      r3,0                                   
ffc0b670:	4b ff fd c0 	b       ffc0b430 <_Heap_Walk+0x94>             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0b674:	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;                        
ffc0b678:	81 1f 00 10 	lwz     r8,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 ) {                            
ffc0b67c:	7f 9f 30 00 	cmpw    cr7,r31,r6                             
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0b680:	80 1f 00 20 	lwz     r0,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 ) {                            
ffc0b684:	41 9e 00 34 	beq-    cr7,ffc0b6b8 <_Heap_Walk+0x31c>        
  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;             
ffc0b688:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc0b68c:	40 9d 03 24 	ble-    cr7,ffc0b9b0 <_Heap_Walk+0x614>        <== ALWAYS TAKEN
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
ffc0b690:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b694:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b698:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b69c:	38 80 00 01 	li      r4,1                                   
ffc0b6a0:	7c 09 03 a6 	mtctr   r0                                     
ffc0b6a4:	38 a5 a8 f0 	addi    r5,r5,-22288                           
ffc0b6a8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b6ac:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0b6b0:	38 60 00 00 	li      r3,0                                   
ffc0b6b4:	4b ff fd 7c 	b       ffc0b430 <_Heap_Walk+0x94>             
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0b6b8:	3e 60 ff c2 	lis     r19,-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)(                                                     
ffc0b6bc:	3e 80 ff c2 	lis     r20,-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)(                                                         
ffc0b6c0:	3e 40 ff c2 	lis     r18,-62                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0b6c4:	7f 5d d3 78 	mr      r29,r26                                
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0b6c8:	3a 73 ab 0c 	addi    r19,r19,-21748                         
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc0b6cc:	3a 94 aa f4 	addi    r20,r20,-21772                         
  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)(                                                         
ffc0b6d0:	3a 52 aa 50 	addi    r18,r18,-21936                         
ffc0b6d4:	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)" : "")          
ffc0b6d8:	3e a0 ff c2 	lis     r21,-62                                
ffc0b6dc:	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)(                                                         
ffc0b6e0:	3e 00 ff c2 	lis     r16,-62                                
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0b6e4:	3d c0 ff c2 	lis     r14,-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;                
ffc0b6e8:	56 dc 00 3c 	rlwinm  r28,r22,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);                 
ffc0b6ec:	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;             
ffc0b6f0:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0b6f4:	40 9d 00 34 	ble-    cr7,ffc0b728 <_Heap_Walk+0x38c>        <== 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)(                                                     
ffc0b6f8:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b6fc:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b700:	38 80 00 01 	li      r4,1                                   
ffc0b704:	38 a5 a9 90 	addi    r5,r5,-22128                           
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
ffc0b708:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b70c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b710:	7f c7 f3 78 	mr      r7,r30                                 
ffc0b714:	7c 09 03 a6 	mtctr   r0                                     
ffc0b718:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b71c:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0b720:	38 60 00 00 	li      r3,0                                   
ffc0b724:	4b ff fd 0c 	b       ffc0b430 <_Heap_Walk+0x94>             
ffc0b728:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0b72c:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0b730:	41 bc ff c8 	blt-    cr7,ffc0b6f8 <_Heap_Walk+0x35c>        
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0b734:	7d 3c db 96 	divwu   r9,r28,r27                             
ffc0b738:	7d 29 d9 d6 	mullw   r9,r9,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;               
ffc0b73c:	7f a0 ba 78 	xor     r0,r29,r23                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc0b740:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
    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;               
ffc0b744:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0b748:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0b74c:	68 00 00 01 	xori    r0,r0,1                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc0b750:	41 9e 00 0c 	beq-    cr7,ffc0b75c <_Heap_Walk+0x3c0>        
ffc0b754:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b758:	40 9e 01 e0 	bne-    cr7,ffc0b938 <_Heap_Walk+0x59c>        
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
ffc0b75c:	7f 98 e0 40 	cmplw   cr7,r24,r28                            
ffc0b760:	40 9d 00 0c 	ble-    cr7,ffc0b76c <_Heap_Walk+0x3d0>        
ffc0b764:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b768:	40 9e 02 00 	bne-    cr7,ffc0b968 <_Heap_Walk+0x5cc>        <== ALWAYS TAKEN
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
ffc0b76c:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc0b770:	41 9c 00 0c 	blt-    cr7,ffc0b77c <_Heap_Walk+0x3e0>        
ffc0b774:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b778:	40 9e 02 24 	bne-    cr7,ffc0b99c <_Heap_Walk+0x600>        
  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;                 
ffc0b77c:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0b780:	56 d6 07 fe 	clrlwi  r22,r22,31                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
ffc0b784:	70 07 00 01 	andi.   r7,r0,1                                
ffc0b788:	41 82 00 74 	beq-    ffc0b7fc <_Heap_Walk+0x460>            
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc0b78c:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0b790:	41 9e 00 40 	beq-    cr7,ffc0b7d0 <_Heap_Walk+0x434>        
      (*printer)(                                                     
ffc0b794:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b798:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b79c:	38 80 00 00 	li      r4,0                                   
ffc0b7a0:	7e 85 a3 78 	mr      r5,r20                                 
ffc0b7a4:	7c 09 03 a6 	mtctr   r0                                     
ffc0b7a8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b7ac:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b7b0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b7b4:	4e 80 04 21 	bctrl                                          
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc0b7b8:	7f 9a f0 00 	cmpw    cr7,r26,r30                            
ffc0b7bc:	41 9e 01 0c 	beq-    cr7,ffc0b8c8 <_Heap_Walk+0x52c>        
ffc0b7c0:	82 de 00 04 	lwz     r22,4(r30)                             
ffc0b7c4:	7f dd f3 78 	mr      r29,r30                                
ffc0b7c8:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0b7cc:	4b ff ff 1c 	b       ffc0b6e8 <_Heap_Walk+0x34c>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0b7d0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b7d4:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b7d8:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b7dc:	81 1d 00 00 	lwz     r8,0(r29)                              
ffc0b7e0:	38 80 00 00 	li      r4,0                                   
ffc0b7e4:	7c 09 03 a6 	mtctr   r0                                     
ffc0b7e8:	7e 65 9b 78 	mr      r5,r19                                 
ffc0b7ec:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b7f0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b7f4:	4e 80 04 21 	bctrl                                          
ffc0b7f8:	4b ff ff c0 	b       ffc0b7b8 <_Heap_Walk+0x41c>            
    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 ?                                 
ffc0b7fc:	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)(                                                         
ffc0b800:	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;                            
ffc0b804:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0b808:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc0b80c:	41 9e 00 f8 	beq-    cr7,ffc0b904 <_Heap_Walk+0x568>        
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0b810:	7f 9f 40 00 	cmpw    cr7,r31,r8                             
ffc0b814:	41 9e 01 00 	beq-    cr7,ffc0b914 <_Heap_Walk+0x578>        
ffc0b818:	39 35 aa c0 	addi    r9,r21,-21824                          
    block->next,                                                      
    block->next == last_free_block ?                                  
ffc0b81c:	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)(                                                         
ffc0b820:	7f 80 50 00 	cmpw    cr7,r0,r10                             
ffc0b824:	41 9e 00 e8 	beq-    cr7,ffc0b90c <_Heap_Walk+0x570>        
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0b828:	7f 9f 50 00 	cmpw    cr7,r31,r10                            
ffc0b82c:	41 9e 00 f0 	beq-    cr7,ffc0b91c <_Heap_Walk+0x580>        
ffc0b830:	38 15 aa c0 	addi    r0,r21,-21824                          
  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)(                                                         
ffc0b834:	90 01 00 08 	stw     r0,8(r1)                               
ffc0b838:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b83c:	38 80 00 00 	li      r4,0                                   
ffc0b840:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b844:	7e 45 93 78 	mr      r5,r18                                 
ffc0b848:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b84c:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b850:	7c 09 03 a6 	mtctr   r0                                     
ffc0b854:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b858:	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 ) {                        
ffc0b85c:	81 1e 00 00 	lwz     r8,0(r30)                              
ffc0b860:	7f 9c 40 00 	cmpw    cr7,r28,r8                             
ffc0b864:	40 9e 00 6c 	bne-    cr7,ffc0b8d0 <_Heap_Walk+0x534>        
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
ffc0b868:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0b86c:	41 9e 00 b8 	beq-    cr7,ffc0b924 <_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;                            
ffc0b870:	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 ) {                            
ffc0b874:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0b878:	41 9e 00 24 	beq-    cr7,ffc0b89c <_Heap_Walk+0x500>        <== NEVER TAKEN
    if ( free_block == block ) {                                      
ffc0b87c:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0b880:	40 be 00 0c 	bne+    cr7,ffc0b88c <_Heap_Walk+0x4f0>        
ffc0b884:	4b ff ff 34 	b       ffc0b7b8 <_Heap_Walk+0x41c>            
ffc0b888:	41 ba ff 30 	beq-    cr6,ffc0b7b8 <_Heap_Walk+0x41c>        
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
ffc0b88c:	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 ) {                            
ffc0b890:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    if ( free_block == block ) {                                      
ffc0b894:	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 ) {                            
ffc0b898:	40 9e ff f0 	bne+    cr7,ffc0b888 <_Heap_Walk+0x4ec>        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
ffc0b89c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b8a0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b8a4:	38 80 00 01 	li      r4,1                                   
ffc0b8a8:	38 a5 ab 34 	addi    r5,r5,-21708                           
ffc0b8ac:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b8b0:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b8b4:	7c 09 03 a6 	mtctr   r0                                     
ffc0b8b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b8bc:	4e 80 04 21 	bctrl                                          
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
ffc0b8c0:	38 60 00 00 	li      r3,0                                   
ffc0b8c4:	4b ff fb 6c 	b       ffc0b430 <_Heap_Walk+0x94>             
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
ffc0b8c8:	38 60 00 01 	li      r3,1                                   
ffc0b8cc:	4b ff fb 64 	b       ffc0b430 <_Heap_Walk+0x94>             
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
ffc0b8d0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b8d4:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b8d8:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b8dc:	38 80 00 01 	li      r4,1                                   
ffc0b8e0:	7c 09 03 a6 	mtctr   r0                                     
ffc0b8e4:	38 a5 aa 88 	addi    r5,r5,-21880                           
ffc0b8e8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b8ec:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b8f0:	7f c9 f3 78 	mr      r9,r30                                 
ffc0b8f4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b8f8:	4e 80 04 21 	bctrl                                          
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
ffc0b8fc:	38 60 00 00 	li      r3,0                                   
ffc0b900:	4b ff fb 30 	b       ffc0b430 <_Heap_Walk+0x94>             
  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)(                                                         
ffc0b904:	39 30 a7 20 	addi    r9,r16,-22752                          
ffc0b908:	4b ff ff 14 	b       ffc0b81c <_Heap_Walk+0x480>            
ffc0b90c:	38 11 a7 3c 	addi    r0,r17,-22724                          
ffc0b910:	4b ff ff 24 	b       ffc0b834 <_Heap_Walk+0x498>            
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0b914:	39 2e a7 30 	addi    r9,r14,-22736                          
ffc0b918:	4b ff ff 04 	b       ffc0b81c <_Heap_Walk+0x480>            
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0b91c:	38 0f a7 4c 	addi    r0,r15,-22708                          
ffc0b920:	4b ff ff 14 	b       ffc0b834 <_Heap_Walk+0x498>            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
ffc0b924:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b928:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b92c:	38 80 00 01 	li      r4,1                                   
ffc0b930:	38 a5 aa c4 	addi    r5,r5,-21820                           
ffc0b934:	4b ff ff 78 	b       ffc0b8ac <_Heap_Walk+0x510>            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
ffc0b938:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b93c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b940:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b944:	38 80 00 01 	li      r4,1                                   
ffc0b948:	7c 09 03 a6 	mtctr   r0                                     
ffc0b94c:	38 a5 a9 c0 	addi    r5,r5,-22080                           
ffc0b950:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b954:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b958:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b95c:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0b960:	38 60 00 00 	li      r3,0                                   
ffc0b964:	4b ff fa cc 	b       ffc0b430 <_Heap_Walk+0x94>             
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
      (*printer)(                                                     
ffc0b968:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0b96c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b970:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b974:	38 80 00 01 	li      r4,1                                   
ffc0b978:	7c 09 03 a6 	mtctr   r0                                     
ffc0b97c:	38 a5 a9 f0 	addi    r5,r5,-22032                           
ffc0b980:	7f a6 eb 78 	mr      r6,r29                                 
ffc0b984:	7f 87 e3 78 	mr      r7,r28                                 
ffc0b988:	7f 08 c3 78 	mr      r8,r24                                 
ffc0b98c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b990:	4e 80 04 21 	bctrl                                          
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
ffc0b994:	38 60 00 00 	li      r3,0                                   
ffc0b998:	4b ff fa 98 	b       ffc0b430 <_Heap_Walk+0x94>             
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
ffc0b99c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0b9a0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b9a4:	38 80 00 01 	li      r4,1                                   
ffc0b9a8:	38 a5 aa 1c 	addi    r5,r5,-21988                           
ffc0b9ac:	4b ff fd 5c 	b       ffc0b708 <_Heap_Walk+0x36c>            
  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;             
ffc0b9b0:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc0b9b4:	7f 86 50 40 	cmplw   cr7,r6,r10                             
ffc0b9b8:	41 bd fc d8 	bgt-    cr7,ffc0b690 <_Heap_Walk+0x2f4>        <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0b9bc:	39 26 00 08 	addi    r9,r6,8                                
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0b9c0:	7d 69 43 96 	divwu   r11,r9,r8                              
ffc0b9c4:	7d 6b 41 d6 	mullw   r11,r11,r8                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0b9c8:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc0b9cc:	40 9e 00 d4 	bne-    cr7,ffc0baa0 <_Heap_Walk+0x704>        <== 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;                
ffc0b9d0:	81 26 00 04 	lwz     r9,4(r6)                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0b9d4:	7f eb fb 78 	mr      r11,r31                                
ffc0b9d8:	7c c5 33 78 	mr      r5,r6                                  
ffc0b9dc:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0b9e0:	7d 26 4a 14 	add     r9,r6,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;                 
ffc0b9e4:	81 29 00 04 	lwz     r9,4(r9)                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0b9e8:	71 27 00 01 	andi.   r7,r9,1                                
ffc0b9ec:	41 a2 00 58 	beq+    ffc0ba44 <_Heap_Walk+0x6a8>            <== ALWAYS TAKEN
ffc0b9f0:	48 00 00 88 	b       ffc0ba78 <_Heap_Walk+0x6dc>            <== NOT EXECUTED
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
ffc0b9f4:	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 ) {                            
ffc0b9f8:	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;             
ffc0b9fc:	7f 06 00 40 	cmplw   cr6,r6,r0                              
ffc0ba00:	7c 86 50 40 	cmplw   cr1,r6,r10                             
ffc0ba04:	41 be fc b4 	beq-    cr7,ffc0b6b8 <_Heap_Walk+0x31c>        
ffc0ba08:	41 b8 fc 88 	blt-    cr6,ffc0b690 <_Heap_Walk+0x2f4>        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0ba0c:	39 26 00 08 	addi    r9,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;             
ffc0ba10:	41 a5 fc 80 	bgt-    cr1,ffc0b690 <_Heap_Walk+0x2f4>        <== NEVER TAKEN
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0ba14:	7c e9 43 96 	divwu   r7,r9,r8                               
ffc0ba18:	7c e7 41 d6 	mullw   r7,r7,r8                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0ba1c:	7c ab 2b 78 	mr      r11,r5                                 
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0ba20:	7f 89 38 00 	cmpw    cr7,r9,r7                              
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0ba24:	7c c5 33 78 	mr      r5,r6                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0ba28:	40 9e 00 78 	bne-    cr7,ffc0baa0 <_Heap_Walk+0x704>        
    - 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;                
ffc0ba2c:	81 26 00 04 	lwz     r9,4(r6)                               
ffc0ba30:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0ba34:	7d 26 4a 14 	add     r9,r6,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;                 
ffc0ba38:	81 29 00 04 	lwz     r9,4(r9)                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0ba3c:	71 27 00 01 	andi.   r7,r9,1                                
ffc0ba40:	40 82 00 38 	bne-    ffc0ba78 <_Heap_Walk+0x6dc>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
ffc0ba44:	80 e6 00 0c 	lwz     r7,12(r6)                              
ffc0ba48:	7f 87 58 00 	cmpw    cr7,r7,r11                             
ffc0ba4c:	41 9e ff a8 	beq+    cr7,ffc0b9f4 <_Heap_Walk+0x658>        
      (*printer)(                                                     
ffc0ba50:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0ba54:	3c a0 ff c2 	lis     r5,-62                                 
ffc0ba58:	7f 23 cb 78 	mr      r3,r25                                 
ffc0ba5c:	38 80 00 01 	li      r4,1                                   
ffc0ba60:	7c 09 03 a6 	mtctr   r0                                     
ffc0ba64:	38 a5 a9 5c 	addi    r5,r5,-22180                           
ffc0ba68:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ba6c:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0ba70:	38 60 00 00 	li      r3,0                                   
ffc0ba74:	4b ff f9 bc 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
ffc0ba78:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0ba7c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0ba80:	7f 23 cb 78 	mr      r3,r25                                 
ffc0ba84:	38 80 00 01 	li      r4,1                                   
ffc0ba88:	7c 09 03 a6 	mtctr   r0                                     
ffc0ba8c:	38 a5 a9 40 	addi    r5,r5,-22208                           
ffc0ba90:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ba94:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0ba98:	38 60 00 00 	li      r3,0                                   
ffc0ba9c:	4b ff f9 94 	b       ffc0b430 <_Heap_Walk+0x94>             
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
ffc0baa0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0baa4:	3c a0 ff c2 	lis     r5,-62                                 
ffc0baa8:	7f 23 cb 78 	mr      r3,r25                                 
ffc0baac:	38 80 00 01 	li      r4,1                                   
ffc0bab0:	7c 09 03 a6 	mtctr   r0                                     
ffc0bab4:	38 a5 a9 10 	addi    r5,r5,-22256                           
ffc0bab8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0babc:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc0bac0:	38 60 00 00 	li      r3,0                                   
ffc0bac4:	4b ff f9 6c 	b       ffc0b430 <_Heap_Walk+0x94>             
                                                                      

ffc0b29c <_Heap_Walk_print>: static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
ffc0b29c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0b2a0:	7c 08 02 a6 	mflr    r0                                     
ffc0b2a4:	93 e1 00 74 	stw     r31,116(r1)                            
ffc0b2a8:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0b2ac:	7c 60 1b 78 	mr      r0,r3                                  
ffc0b2b0:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0b2b4:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0b2b8:	91 01 00 24 	stw     r8,36(r1)                              
ffc0b2bc:	91 21 00 28 	stw     r9,40(r1)                              
ffc0b2c0:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0b2c4:	40 86 00 24 	bne-    cr1,ffc0b2e8 <_Heap_Walk_print+0x4c>   <== ALWAYS TAKEN
ffc0b2c8:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc0b2cc:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0b2d0:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0b2d4:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc0b2d8:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc0b2dc:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0b2e0:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0b2e4:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc0b2e8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
ffc0b2ec:	7c bf 2b 78 	mr      r31,r5                                 
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc0b2f0:	40 9e 00 58 	bne-    cr7,ffc0b348 <_Heap_Walk_print+0xac>   
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
ffc0b2f4:	3c 60 ff c2 	lis     r3,-62                                 
ffc0b2f8:	7c 04 03 78 	mr      r4,r0                                  
ffc0b2fc:	38 63 a7 14 	addi    r3,r3,-22764                           
ffc0b300:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b304:	4b ff b2 35 	bl      ffc06538 <printk>                      
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b308:	38 00 00 03 	li      r0,3                                   
ffc0b30c:	98 01 00 08 	stb     r0,8(r1)                               
ffc0b310:	38 00 00 00 	li      r0,0                                   
  vprintk( fmt, ap );                                                 
ffc0b314:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b318:	98 01 00 09 	stb     r0,9(r1)                               
ffc0b31c:	38 01 00 80 	addi    r0,r1,128                              
  vprintk( fmt, ap );                                                 
ffc0b320:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b324:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0b328:	38 01 00 10 	addi    r0,r1,16                               
ffc0b32c:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc0b330:	4b ff d5 95 	bl      ffc088c4 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc0b334:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0b338:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0b33c:	38 21 00 78 	addi    r1,r1,120                              
ffc0b340:	7c 08 03 a6 	mtlr    r0                                     
ffc0b344:	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 );                                   
ffc0b348:	3c 60 ff c2 	lis     r3,-62                                 
ffc0b34c:	7c 04 03 78 	mr      r4,r0                                  
ffc0b350:	38 63 a7 08 	addi    r3,r3,-22776                           
ffc0b354:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b358:	4b ff b1 e1 	bl      ffc06538 <printk>                      
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b35c:	38 00 00 03 	li      r0,3                                   
ffc0b360:	98 01 00 08 	stb     r0,8(r1)                               
ffc0b364:	38 00 00 00 	li      r0,0                                   
  vprintk( fmt, ap );                                                 
ffc0b368:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b36c:	98 01 00 09 	stb     r0,9(r1)                               
ffc0b370:	38 01 00 80 	addi    r0,r1,128                              
  vprintk( fmt, ap );                                                 
ffc0b374:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b378:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0b37c:	38 01 00 10 	addi    r0,r1,16                               
ffc0b380:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc0b384:	4b ff d5 41 	bl      ffc088c4 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc0b388:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0b38c:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0b390:	38 21 00 78 	addi    r1,r1,120                              
ffc0b394:	7c 08 03 a6 	mtlr    r0                                     
ffc0b398:	4e 80 00 20 	blr                                            
                                                                      

ffc09e68 <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
ffc09e68:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09e6c:	7c 08 02 a6 	mflr    r0                                     
ffc09e70:	93 c1 00 08 	stw     r30,8(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09e74:	3f c0 00 00 	lis     r30,0                                  
 *                                                                    
 *  Output Parameters: NONE                                           
 */                                                                   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc09e78:	90 01 00 14 	stw     r0,20(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09e7c:	80 1e 28 10 	lwz     r0,10256(r30)                          
 *                                                                    
 *  Output Parameters: NONE                                           
 */                                                                   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc09e80:	93 e1 00 0c 	stw     r31,12(r1)                             
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09e84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09e88:	41 9e 00 2c 	beq-    cr7,ffc09eb4 <_IO_Initialize_all_drivers+0x4c><== NEVER TAKEN
ffc09e8c:	3b e0 00 00 	li      r31,0                                  
ffc09e90:	3b de 28 10 	addi    r30,r30,10256                          
     (void) rtems_io_initialize( major, 0, NULL );                    
ffc09e94:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e98:	38 80 00 00 	li      r4,0                                   
ffc09e9c:	38 a0 00 00 	li      r5,0                                   
ffc09ea0:	48 00 62 ad 	bl      ffc1014c <rtems_io_initialize>         
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09ea4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc09ea8:	3b ff 00 01 	addi    r31,r31,1                              
ffc09eac:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc09eb0:	41 9d ff e4 	bgt+    cr7,ffc09e94 <_IO_Initialize_all_drivers+0x2c>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
ffc09eb4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09eb8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09ebc:	7c 08 03 a6 	mtlr    r0                                     
ffc09ec0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09ec4:	38 21 00 10 	addi    r1,r1,16                               
ffc09ec8:	4e 80 00 20 	blr                                            
                                                                      

ffc09d58 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
ffc09d58:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09d5c:	7c 08 02 a6 	mflr    r0                                     
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc09d60:	3d 20 00 00 	lis     r9,0                                   
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09d64:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc09d68:	39 29 20 04 	addi    r9,r9,8196                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09d6c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc09d70:	93 c1 00 18 	stw     r30,24(r1)                             
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
  number_of_drivers = Configuration.maximum_drivers;                  
ffc09d74:	83 a9 00 2c 	lwz     r29,44(r9)                             
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
ffc09d78:	83 c9 00 30 	lwz     r30,48(r9)                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09d7c:	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 )                        
ffc09d80:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09d84:	93 61 00 0c 	stw     r27,12(r1)                             
ffc09d88:	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      = Configuration.Device_driver_table;              
ffc09d8c:	83 e9 00 34 	lwz     r31,52(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 )                        
ffc09d90:	40 9c 00 a4 	bge-    cr7,ffc09e34 <_IO_Manager_initialization+0xdc>
   *  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 )  
ffc09d94:	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(                             
ffc09d98:	7f 63 db 78 	mr      r3,r27                                 
ffc09d9c:	48 00 3d 8d 	bl      ffc0db28 <_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 *)           
ffc09da0:	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;                          
ffc09da4:	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 *)           
ffc09da8:	90 7c 28 14 	stw     r3,10260(r28)                          
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
ffc09dac:	38 80 00 00 	li      r4,0                                   
ffc09db0:	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;                          
ffc09db4:	93 a9 28 10 	stw     r29,10256(r9)                          
                                                                      
  memset(                                                             
ffc09db8:	48 00 9b c5 	bl      ffc1397c <memset>                      
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc09dbc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc09dc0:	41 9e 00 50 	beq-    cr7,ffc09e10 <_IO_Manager_initialization+0xb8><== NEVER TAKEN
ffc09dc4:	7f c9 03 a6 	mtctr   r30                                    
ffc09dc8:	81 1c 28 14 	lwz     r8,10260(r28)                          
ffc09dcc:	39 40 00 00 	li      r10,0                                  
    _IO_Driver_address_table[index] = driver_table[index];            
ffc09dd0:	7f e9 fb 78 	mr      r9,r31                                 
ffc09dd4:	7c a9 50 6e 	lwzux   r5,r9,r10                              
ffc09dd8:	7d 68 52 14 	add     r11,r8,r10                             
ffc09ddc:	80 e9 00 08 	lwz     r7,8(r9)                               
ffc09de0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09de4:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc09de8:	7c a8 51 2e 	stwx    r5,r8,r10                              
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc09dec:	39 4a 00 18 	addi    r10,r10,24                             
    _IO_Driver_address_table[index] = driver_table[index];            
ffc09df0:	90 cb 00 04 	stw     r6,4(r11)                              
ffc09df4:	90 eb 00 08 	stw     r7,8(r11)                              
ffc09df8:	90 0b 00 0c 	stw     r0,12(r11)                             
ffc09dfc:	80 e9 00 10 	lwz     r7,16(r9)                              
ffc09e00:	80 09 00 14 	lwz     r0,20(r9)                              
ffc09e04:	90 eb 00 10 	stw     r7,16(r11)                             
ffc09e08:	90 0b 00 14 	stw     r0,20(r11)                             
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc09e0c:	42 00 ff c4 	bdnz+   ffc09dd0 <_IO_Manager_initialization+0x78>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc09e10:	80 01 00 24 	lwz     r0,36(r1)                              
ffc09e14:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc09e18:	7c 08 03 a6 	mtlr    r0                                     
ffc09e1c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc09e20:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc09e24:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc09e28:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc09e2c:	38 21 00 20 	addi    r1,r1,32                               
ffc09e30:	4e 80 00 20 	blr                                            
ffc09e34:	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;                          
ffc09e38:	3d 20 00 00 	lis     r9,0                                   
ffc09e3c:	93 e9 28 14 	stw     r31,10260(r9)                          
    _IO_Number_of_drivers = number_of_drivers;                        
ffc09e40:	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];            
}                                                                     
ffc09e44:	7c 08 03 a6 	mtlr    r0                                     
   *  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;                        
ffc09e48:	93 c9 28 10 	stw     r30,10256(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];            
}                                                                     
ffc09e4c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc09e50:	83 81 00 10 	lwz     r28,16(r1)                             
ffc09e54:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc09e58:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc09e5c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc09e60:	38 21 00 20 	addi    r1,r1,32                               
ffc09e64:	4e 80 00 20 	blr                                            
                                                                      

ffc0ad64 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0ad64:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ad68:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0ad6c:	3d 60 00 00 	lis     r11,0                                  
ffc0ad70:	39 2b 2c d0 	addi    r9,r11,11472                           
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0ad74:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ad78:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0ad7c:	7c bf 2b 78 	mr      r31,r5                                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc0ad80:	98 89 00 04 	stb     r4,4(r9)                               
  _Internal_errors_What_happened.the_error   = the_error;             
ffc0ad84:	90 a9 00 08 	stw     r5,8(r9)                               
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0ad88:	90 6b 2c d0 	stw     r3,11472(r11)                          
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
ffc0ad8c:	48 00 26 75 	bl      ffc0d400 <_User_extensions_Fatal>      
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc0ad90:	38 00 00 05 	li      r0,5                                   
ffc0ad94:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc0ad98:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ad9c:	90 09 28 04 	stw     r0,10244(r9)                           
ffc0ada0:	4b ff 91 79 	bl      ffc03f18 <_BSP_Fatal_error>            
ffc0ada4:	48 00 00 00 	b       ffc0ada4 <_Internal_error_Occurred+0x40><== NOT EXECUTED
                                                                      

ffc0adbc <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc0adbc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0adc0:	7c 08 02 a6 	mflr    r0                                     
ffc0adc4:	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 )                                       
ffc0adc8:	80 03 00 18 	lwz     r0,24(r3)                              
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0adcc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0add0:	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 )                                       
ffc0add4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0add8:	93 c1 00 08 	stw     r30,8(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;                                                      
ffc0addc:	38 60 00 00 	li      r3,0                                   
   *  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 )                                       
ffc0ade0:	41 9e 00 58 	beq-    cr7,ffc0ae38 <_Objects_Allocate+0x7c>  <== 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 );
ffc0ade4:	3b df 00 20 	addi    r30,r31,32                             
ffc0ade8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0adec:	4b ff f3 fd 	bl      ffc0a1e8 <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc0adf0:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc0adf4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0adf8:	41 9e 00 40 	beq-    cr7,ffc0ae38 <_Objects_Allocate+0x7c>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc0adfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ae00:	41 9e 00 50 	beq-    cr7,ffc0ae50 <_Objects_Allocate+0x94>  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0ae04:	a1 63 00 0a 	lhz     r11,10(r3)                             
ffc0ae08:	a0 1f 00 0a 	lhz     r0,10(r31)                             
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0ae0c:	a1 3f 00 14 	lhz     r9,20(r31)                             
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0ae10:	7c 00 58 50 	subf    r0,r0,r11                              
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
      information->inactive--;                                        
ffc0ae14:	a1 7f 00 2c 	lhz     r11,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;                          
ffc0ae18:	7c 00 4b 96 	divwu   r0,r0,r9                               
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0ae1c:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc0ae20:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ae24:	7d 49 00 2e 	lwzx    r10,r9,r0                              
      information->inactive--;                                        
ffc0ae28:	39 6b ff ff 	addi    r11,r11,-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 ]--;                     
ffc0ae2c:	39 4a ff ff 	addi    r10,r10,-1                             
ffc0ae30:	7d 49 01 2e 	stwx    r10,r9,r0                              
      information->inactive--;                                        
ffc0ae34:	b1 7f 00 2c 	sth     r11,44(r31)                            
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0ae38:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ae3c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ae40:	7c 08 03 a6 	mtlr    r0                                     
ffc0ae44:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ae48:	38 21 00 10 	addi    r1,r1,16                               
ffc0ae4c:	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 );                     
ffc0ae50:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ae54:	48 00 00 4d 	bl      ffc0aea0 <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc0ae58:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ae5c:	4b ff f3 8d 	bl      ffc0a1e8 <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc0ae60:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ae64:	41 82 ff d4 	beq+    ffc0ae38 <_Objects_Allocate+0x7c>      
ffc0ae68:	4b ff ff 9c 	b       ffc0ae04 <_Objects_Allocate+0x48>      
                                                                      

ffc0aea0 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc0aea0:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0aea4:	7c 08 02 a6 	mflr    r0                                     
ffc0aea8:	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 )                           
ffc0aeac:	81 23 00 34 	lwz     r9,52(r3)                              
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0aeb0:	93 61 00 2c 	stw     r27,44(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 )                           
ffc0aeb4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0aeb8:	93 81 00 30 	stw     r28,48(r1)                             
ffc0aebc:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0aec0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0aec4:	92 c1 00 18 	stw     r22,24(r1)                             
ffc0aec8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc0aecc:	93 01 00 20 	stw     r24,32(r1)                             
ffc0aed0:	93 21 00 24 	stw     r25,36(r1)                             
ffc0aed4:	93 41 00 28 	stw     r26,40(r1)                             
ffc0aed8:	93 a1 00 34 	stw     r29,52(r1)                             
ffc0aedc:	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 );      
ffc0aee0:	a3 83 00 0a 	lhz     r28,10(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0aee4:	a3 63 00 10 	lhz     r27,16(r3)                             
ffc0aee8:	41 9e 02 80 	beq-    cr7,ffc0b168 <_Objects_Extend_information+0x2c8>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0aeec:	a1 63 00 14 	lhz     r11,20(r3)                             
ffc0aef0:	7e db 5b 96 	divwu   r22,r27,r11                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0aef4:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0aef8:	41 9e 02 88 	beq-    cr7,ffc0b180 <_Objects_Extend_information+0x2e0><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0aefc:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0af00:	7d 6a 5b 78 	mr      r10,r11                                
  /*                                                                  
   *  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 );      
ffc0af04:	7f 9e e3 78 	mr      r30,r28                                
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0af08:	7e c9 03 a6 	mtctr   r22                                    
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0af0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
   *  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;                                                  
ffc0af10:	3b a0 00 00 	li      r29,0                                  
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0af14:	40 be 00 14 	bne+    cr7,ffc0af28 <_Objects_Extend_information+0x88><== ALWAYS TAKEN
ffc0af18:	48 00 02 7c 	b       ffc0b194 <_Objects_Extend_information+0x2f4><== NOT EXECUTED
ffc0af1c:	84 09 00 04 	lwzu    r0,4(r9)                               
ffc0af20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0af24:	41 9e 01 f4 	beq-    cr7,ffc0b118 <_Objects_Extend_information+0x278>
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
ffc0af28:	7f de 5a 14 	add     r30,r30,r11                            
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0af2c:	3b bd 00 01 	addi    r29,r29,1                              
ffc0af30:	42 00 ff ec 	bdnz+   ffc0af1c <_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;                                               
ffc0af34:	3b 20 00 01 	li      r25,1                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc0af38:	7f 7b 52 14 	add     r27,r27,r10                            
  /*                                                                  
   *  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 ) {                           
ffc0af3c:	2b 9b ff ff 	cmplwi  cr7,r27,65535                          
ffc0af40:	41 9d 01 a0 	bgt-    cr7,ffc0b0e0 <_Objects_Extend_information+0x240>
  /*                                                                  
   * 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 ) {                                   
ffc0af44:	88 1f 00 12 	lbz     r0,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;      
ffc0af48:	80 7f 00 18 	lwz     r3,24(r31)                             
  if ( information->auto_extend ) {                                   
ffc0af4c:	2f 80 00 00 	cmpwi   cr7,r0,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;      
ffc0af50:	7c 6a 19 d6 	mullw   r3,r10,r3                              
  if ( information->auto_extend ) {                                   
ffc0af54:	41 9e 01 cc 	beq-    cr7,ffc0b120 <_Objects_Extend_information+0x280>
    new_object_block = _Workspace_Allocate( block_size );             
ffc0af58:	48 00 2b 71 	bl      ffc0dac8 <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc0af5c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0af60:	41 82 01 80 	beq-    ffc0b0e0 <_Objects_Extend_information+0x240>
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc0af64:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0af68:	41 9e 00 f4 	beq-    cr7,ffc0b05c <_Objects_Extend_information+0x1bc>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc0af6c:	3a f6 00 01 	addi    r23,r22,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0af70:	1c 77 00 03 	mulli   r3,r23,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc0af74:	7c 7b 1a 14 	add     r3,r27,r3                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0af78:	7c 63 e2 14 	add     r3,r3,r28                              
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
ffc0af7c:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0af80:	48 00 2b 49 	bl      ffc0dac8 <_Workspace_Allocate>         
                                                                      
    if ( !object_blocks ) {                                           
ffc0af84:	7c 78 1b 79 	mr.     r24,r3                                 
ffc0af88:	41 82 02 18 	beq-    ffc0b1a0 <_Objects_Extend_information+0x300>
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0af8c:	a0 1f 00 10 	lhz     r0,16(r31)                             
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
ffc0af90:	56 f7 10 3a 	rlwinm  r23,r23,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc0af94:	7f 38 ba 14 	add     r25,r24,r23                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0af98:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc0af9c:	7e f9 ba 14 	add     r23,r25,r23                            
ffc0afa0:	41 9c 01 8c 	blt-    cr7,ffc0b12c <_Objects_Extend_information+0x28c>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0afa4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
        local_table[ index ] = NULL;                                  
ffc0afa8:	7f 89 03 a6 	mtctr   r28                                    
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0afac:	39 37 ff fc 	addi    r9,r23,-4                              
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0afb0:	38 00 00 00 	li      r0,0                                   
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0afb4:	41 9e 00 0c 	beq-    cr7,ffc0afc0 <_Objects_Extend_information+0x120><== NEVER TAKEN
        local_table[ index ] = NULL;                                  
ffc0afb8:	94 09 00 04 	stwu    r0,4(r9)                               
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0afbc:	42 00 ff fc 	bdnz+   ffc0afb8 <_Objects_Extend_information+0x118>
ffc0afc0:	56 d6 10 3a 	rlwinm  r22,r22,2,0,29                         
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0afc4:	a1 7f 00 14 	lhz     r11,20(r31)                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0afc8:	38 00 00 00 	li      r0,0                                   
ffc0afcc:	7c 18 b1 2e 	stwx    r0,r24,r22                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0afd0:	7d 7e 5a 14 	add     r11,r30,r11                            
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0afd4:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
ffc0afd8:	7c 19 b1 2e 	stwx    r0,r25,r22                             
                                                                      
    for ( index=index_base ;                                          
ffc0afdc:	40 9c 00 30 	bge-    cr7,ffc0b00c <_Objects_Extend_information+0x16c><== NEVER TAKEN
ffc0afe0:	38 1e 00 01 	addi    r0,r30,1                               
ffc0afe4:	7f 80 58 40 	cmplw   cr7,r0,r11                             
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0afe8:	57 c9 10 3a 	rlwinm  r9,r30,2,0,29                          
ffc0afec:	39 29 ff fc 	addi    r9,r9,-4                               
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0aff0:	7d 7e 58 50 	subf    r11,r30,r11                            
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0aff4:	7d 29 ba 14 	add     r9,r9,r23                              
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0aff8:	7d 69 03 a6 	mtctr   r11                                    
ffc0affc:	38 00 00 00 	li      r0,0                                   
ffc0b000:	41 9d 01 ac 	bgt-    cr7,ffc0b1ac <_Objects_Extend_information+0x30c><== NEVER TAKEN
ffc0b004:	94 09 00 04 	stwu    r0,4(r9)                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0b008:	42 00 ff fc 	bdnz+   ffc0b004 <_Objects_Extend_information+0x164>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0b00c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0b010:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0b014:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0b018:	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)   |    
ffc0b01c:	81 7f 00 00 	lwz     r11,0(r31)                             
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
ffc0b020:	57 7b 04 3e 	clrlwi  r27,r27,16                             
    information->maximum_id = _Objects_Build_id(                      
ffc0b024:	a1 3f 00 04 	lhz     r9,4(r31)                              
ffc0b028:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc0b02c:	80 7f 00 34 	lwz     r3,52(r31)                             
ffc0b030:	65 6b 00 01 	oris    r11,r11,1                              
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
ffc0b034:	93 3f 00 30 	stw     r25,48(r31)                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0b038:	55 29 d8 08 	rlwinm  r9,r9,27,0,4                           
ffc0b03c:	7d 69 4b 78 	or      r9,r11,r9                              
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
ffc0b040:	93 1f 00 34 	stw     r24,52(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b044:	7d 29 db 78 	or      r9,r9,r27                              
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
ffc0b048:	92 ff 00 1c 	stw     r23,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
ffc0b04c:	b3 7f 00 10 	sth     r27,16(r31)                            
    information->maximum_id = _Objects_Build_id(                      
ffc0b050:	91 3f 00 0c 	stw     r9,12(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0b054:	7c 00 01 24 	mtmsr   r0                                     
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    _Workspace_Free( old_tables );                                    
ffc0b058:	48 00 2a a5 	bl      ffc0dafc <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0b05c:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0b060:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0b064:	a0 bf 00 14 	lhz     r5,20(r31)                             
ffc0b068:	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;             
ffc0b06c:	7f 49 e9 2e 	stwx    r26,r9,r29                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b070:	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(                                                  
ffc0b074:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0b078:	80 df 00 18 	lwz     r6,24(r31)                             
ffc0b07c:	7c 89 e8 2e 	lwzx    r4,r9,r29                              
ffc0b080:	48 00 51 3d 	bl      ffc101bc <_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 ) {
ffc0b084:	48 00 00 2c 	b       ffc0b0b0 <_Objects_Extend_information+0x210>
ffc0b088:	81 7f 00 00 	lwz     r11,0(r31)                             
                                                                      
    the_object->id = _Objects_Build_id(                               
ffc0b08c:	a0 1f 00 04 	lhz     r0,4(r31)                              
ffc0b090:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc0b094:	65 6b 00 01 	oris    r11,r11,1                              
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0b098:	54 00 d8 08 	rlwinm  r0,r0,27,0,4                           
ffc0b09c:	7d 60 03 78 	or      r0,r11,r0                              
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b0a0:	7c 00 f3 78 	or      r0,r0,r30                              
ffc0b0a4:	90 09 00 08 	stw     r0,8(r9)                               
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc0b0a8:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b0ac:	4b ff f0 e5 	bl      ffc0a190 <_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 ) {
ffc0b0b0:	38 61 00 08 	addi    r3,r1,8                                
ffc0b0b4:	4b ff f1 35 	bl      ffc0a1e8 <_Chain_Get>                  
ffc0b0b8:	7c 69 1b 79 	mr.     r9,r3                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b0bc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0b0c0:	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 ) {
ffc0b0c4:	40 82 ff c4 	bne+    ffc0b088 <_Objects_Extend_information+0x1e8>
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0b0c8:	a1 3f 00 2c 	lhz     r9,44(r31)                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0b0cc:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc0b0d0:	81 7f 00 30 	lwz     r11,48(r31)                            
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0b0d4:	7d 20 4a 14 	add     r9,r0,r9                               
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0b0d8:	7c 0b e9 2e 	stwx    r0,r11,r29                             
  information->inactive =                                             
ffc0b0dc:	b1 3f 00 2c 	sth     r9,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc0b0e0:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0b0e4:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc0b0e8:	7c 08 03 a6 	mtlr    r0                                     
ffc0b0ec:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0b0f0:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0b0f4:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0b0f8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0b0fc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0b100:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0b104:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0b108:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0b10c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0b110:	38 21 00 40 	addi    r1,r1,64                               
ffc0b114:	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;                                            
ffc0b118:	3b 20 00 00 	li      r25,0                                  
ffc0b11c:	4b ff fe 1c 	b       ffc0af38 <_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 );
ffc0b120:	48 00 2a 09 	bl      ffc0db28 <_Workspace_Allocate_or_fatal_error>
ffc0b124:	7c 7a 1b 78 	mr      r26,r3                                 
ffc0b128:	4b ff fe 3c 	b       ffc0af64 <_Objects_Extend_information+0xc4>
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc0b12c:	56 d6 10 3a 	rlwinm  r22,r22,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,                                          
ffc0b130:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc0b134:	7e c5 b3 78 	mr      r5,r22                                 
ffc0b138:	48 00 87 61 	bl      ffc13898 <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc0b13c:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc0b140:	7e c5 b3 78 	mr      r5,r22                                 
ffc0b144:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b148:	48 00 87 51 	bl      ffc13898 <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0b14c:	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,                                            
ffc0b150:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0b154:	7e e3 bb 78 	mr      r3,r23                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0b158:	7c bc 2a 14 	add     r5,r28,r5                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0b15c:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0b160:	48 00 87 39 	bl      ffc13898 <memcpy>                      
ffc0b164:	4b ff fe 60 	b       ffc0afc4 <_Objects_Extend_information+0x124>
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0b168:	a1 43 00 14 	lhz     r10,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 );      
ffc0b16c:	7f 9e e3 78 	mr      r30,r28                                
                                                                      
  /*                                                                  
   *  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;                                               
ffc0b170:	3b 20 00 01 	li      r25,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0b174:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc0b178:	3a c0 00 00 	li      r22,0                                  
ffc0b17c:	4b ff fd bc 	b       ffc0af38 <_Objects_Extend_information+0x98>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0b180:	7d 6a 5b 78 	mr      r10,r11                                <== 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 );      
ffc0b184:	7f 9e e3 78 	mr      r30,r28                                <== 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;                                               
ffc0b188:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0b18c:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc0b190:	4b ff fd a8 	b       ffc0af38 <_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;                                            
ffc0b194:	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;                                                  
ffc0b198:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc0b19c:	4b ff fd 9c 	b       ffc0af38 <_Objects_Extend_information+0x98><== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
ffc0b1a0:	7f 43 d3 78 	mr      r3,r26                                 
ffc0b1a4:	48 00 29 59 	bl      ffc0dafc <_Workspace_Free>             
      return;                                                         
ffc0b1a8:	4b ff ff 38 	b       ffc0b0e0 <_Objects_Extend_information+0x240>
ffc0b1ac:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc0b1b0:	7d 69 03 a6 	mtctr   r11                                    <== NOT EXECUTED
ffc0b1b4:	4b ff fe 50 	b       ffc0b004 <_Objects_Extend_information+0x164><== NOT EXECUTED
                                                                      

ffc0b2a4 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc0b2a4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b2a8:	7c 08 02 a6 	mflr    r0                                     
ffc0b2ac:	93 c1 00 10 	stw     r30,16(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0b2b0:	7c 9e 23 79 	mr.     r30,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0b2b4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0b2b8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0b2bc:	93 e1 00 14 	stw     r31,20(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc0b2c0:	3b e0 00 00 	li      r31,0                                  
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0b2c4:	90 01 00 1c 	stw     r0,28(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0b2c8:	41 82 00 4c 	beq-    ffc0b314 <_Objects_Get_information+0x70>
                                                                      
  /*                                                                  
   *  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 );      
ffc0b2cc:	48 00 55 11 	bl      ffc107dc <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc0b2d0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0b2d4:	41 82 00 40 	beq-    ffc0b314 <_Objects_Get_information+0x70>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc0b2d8:	7f 83 f0 40 	cmplw   cr7,r3,r30                             
ffc0b2dc:	41 9c 00 38 	blt-    cr7,ffc0b314 <_Objects_Get_information+0x70>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0b2e0:	3d 20 00 00 	lis     r9,0                                   
ffc0b2e4:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc0b2e8:	39 29 2b e0 	addi    r9,r9,11232                            
ffc0b2ec:	7d 29 e8 2e 	lwzx    r9,r9,r29                              
ffc0b2f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b2f4:	41 9e 00 20 	beq-    cr7,ffc0b314 <_Objects_Get_information+0x70><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc0b2f8:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0b2fc:	7f e9 f0 2e 	lwzx    r31,r9,r30                             
  if ( !info )                                                        
ffc0b300:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0b304:	41 9e 00 10 	beq-    cr7,ffc0b314 <_Objects_Get_information+0x70><== 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 )                                         
ffc0b308:	a0 1f 00 10 	lhz     r0,16(r31)                             
ffc0b30c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b310:	41 9e 00 24 	beq-    cr7,ffc0b334 <_Objects_Get_information+0x90>
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc0b314:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b318:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b31c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b320:	7c 08 03 a6 	mtlr    r0                                     
ffc0b324:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b328:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b32c:	38 21 00 18 	addi    r1,r1,24                               
ffc0b330:	4e 80 00 20 	blr                                            
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
ffc0b334:	3b e0 00 00 	li      r31,0                                  
ffc0b338:	4b ff ff dc 	b       ffc0b314 <_Objects_Get_information+0x70>
                                                                      

ffc0cf70 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
ffc0cf70:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0cf74:	7c 08 02 a6 	mflr    r0                                     
ffc0cf78:	93 c1 00 20 	stw     r30,32(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc0cf7c:	7c 9e 23 79 	mr.     r30,r4                                 
char *_Objects_Get_name_as_string(                                    
  Objects_Id        id,                                               
  size_t            length,                                           
  char             *name                                              
)                                                                     
{                                                                     
ffc0cf80:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0cf84:	7c bf 2b 78 	mr      r31,r5                                 
ffc0cf88:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0cf8c:	93 a1 00 1c 	stw     r29,28(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc0cf90:	41 82 00 f8 	beq-    ffc0d088 <_Objects_Get_name_as_string+0x118>
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
ffc0cf94:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0cf98:	41 9e 00 c0 	beq-    cr7,ffc0d058 <_Objects_Get_name_as_string+0xe8>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0cf9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cfa0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0cfa4:	41 9e 00 d4 	beq-    cr7,ffc0d078 <_Objects_Get_name_as_string+0x108>
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
ffc0cfa8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0cfac:	4b ff fe 91 	bl      ffc0ce3c <_Objects_Get_information_id> 
  if ( !information )                                                 
ffc0cfb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cfb4:	41 9e 00 d4 	beq-    cr7,ffc0d088 <_Objects_Get_name_as_string+0x118>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
ffc0cfb8:	7f a4 eb 78 	mr      r4,r29                                 
ffc0cfbc:	38 a1 00 08 	addi    r5,r1,8                                
ffc0cfc0:	48 00 00 ed 	bl      ffc0d0ac <_Objects_Get>                
  switch ( location ) {                                               
ffc0cfc4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0cfc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cfcc:	40 9e 00 bc 	bne-    cr7,ffc0d088 <_Objects_Get_name_as_string+0x118>
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cfd0:	34 fe ff ff 	addic.  r7,r30,-1                              
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
ffc0cfd4:	81 63 00 0c 	lwz     r11,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';                                            
ffc0cfd8:	98 01 00 10 	stb     r0,16(r1)                              
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cfdc:	7f e9 fb 78 	mr      r9,r31                                 
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc0cfe0:	55 60 46 3e 	rlwinm  r0,r11,8,24,31                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc0cfe4:	55 68 84 3e 	rlwinm  r8,r11,16,16,31                        
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc0cfe8:	98 01 00 0c 	stb     r0,12(r1)                              
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc0cfec:	55 6a c2 3e 	rlwinm  r10,r11,24,8,31                        
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cff0:	7c e9 03 a6 	mtctr   r7                                     
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc0cff4:	99 01 00 0d 	stb     r8,13(r1)                              
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc0cff8:	99 41 00 0e 	stb     r10,14(r1)                             
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
ffc0cffc:	99 61 00 0f 	stb     r11,15(r1)                             
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0d000:	41 82 00 4c 	beq-    ffc0d04c <_Objects_Get_name_as_string+0xdc><== NEVER TAKEN
ffc0d004:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d008:	41 9e 00 44 	beq-    cr7,ffc0d04c <_Objects_Get_name_as_string+0xdc>
ffc0d00c:	3d 00 00 00 	lis     r8,0                                   
        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';                                            
        s = lname;                                                    
ffc0d010:	39 41 00 0c 	addi    r10,r1,12                              
ffc0d014:	39 08 27 ac 	addi    r8,r8,10156                            
ffc0d018:	48 00 00 10 	b       ffc0d028 <_Objects_Get_name_as_string+0xb8>
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0d01c:	8c 0a 00 01 	lbzu    r0,1(r10)                              
ffc0d020:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d024:	41 9e 00 28 	beq-    cr7,ffc0d04c <_Objects_Get_name_as_string+0xdc>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc0d028:	81 68 00 00 	lwz     r11,0(r8)                              
ffc0d02c:	7d 6b 02 14 	add     r11,r11,r0                             
ffc0d030:	89 6b 00 01 	lbz     r11,1(r11)                             
ffc0d034:	71 67 00 97 	andi.   r7,r11,151                             
ffc0d038:	40 82 00 08 	bne-    ffc0d040 <_Objects_Get_name_as_string+0xd0>
ffc0d03c:	38 00 00 2a 	li      r0,42                                  
ffc0d040:	98 09 00 00 	stb     r0,0(r9)                               
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0d044:	39 29 00 01 	addi    r9,r9,1                                
ffc0d048:	42 00 ff d4 	bdnz+   ffc0d01c <_Objects_Get_name_as_string+0xac>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
ffc0d04c:	38 00 00 00 	li      r0,0                                   
ffc0d050:	98 09 00 00 	stb     r0,0(r9)                               
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0d054:	48 00 10 b5 	bl      ffc0e108 <_Thread_Enable_dispatch>     
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc0d058:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0d05c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d060:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d064:	7c 08 03 a6 	mtlr    r0                                     
ffc0d068:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d06c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d070:	38 21 00 28 	addi    r1,r1,40                               
ffc0d074:	4e 80 00 20 	blr                                            
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0d078:	3d 20 00 00 	lis     r9,0                                   
ffc0d07c:	81 29 32 24 	lwz     r9,12836(r9)                           
ffc0d080:	83 a9 00 08 	lwz     r29,8(r9)                              
ffc0d084:	4b ff ff 24 	b       ffc0cfa8 <_Objects_Get_name_as_string+0x38>
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc0d088:	80 01 00 2c 	lwz     r0,44(r1)                              
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
ffc0d08c:	3b e0 00 00 	li      r31,0                                  
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc0d090:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d094:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d098:	7c 08 03 a6 	mtlr    r0                                     
ffc0d09c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d0a0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d0a4:	38 21 00 28 	addi    r1,r1,40                               
ffc0d0a8:	4e 80 00 20 	blr                                            
                                                                      

ffc0aeec <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
ffc0aeec:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0aef0:	7c 08 02 a6 	mflr    r0                                     
ffc0aef4:	93 c1 00 10 	stw     r30,16(r1)                             
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
ffc0aef8:	7c 7e 1b 79 	mr.     r30,r3                                 
      return NULL;                                                    
ffc0aefc:	38 60 00 00 	li      r3,0                                   
    Objects_Information *information,                                 
    Objects_Id           id,                                          
    Objects_Locations   *location_p,                                  
    Objects_Id          *next_id_p                                    
)                                                                     
{                                                                     
ffc0af00:	93 81 00 08 	stw     r28,8(r1)                              
ffc0af04:	7c dc 33 78 	mr      r28,r6                                 
ffc0af08:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0af0c:	7c bf 2b 78 	mr      r31,r5                                 
ffc0af10:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0af14:	93 a1 00 0c 	stw     r29,12(r1)                             
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
ffc0af18:	41 82 00 58 	beq-    ffc0af70 <_Objects_Get_next+0x84>      
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
ffc0af1c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0af20:	41 9e 00 50 	beq-    cr7,ffc0af70 <_Objects_Get_next+0x84>  
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
ffc0af24:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0af28:	41 9e 00 48 	beq-    cr7,ffc0af70 <_Objects_Get_next+0x84>  
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
ffc0af2c:	54 80 04 3e 	clrlwi  r0,r4,16                               
ffc0af30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
        next_id = information->minimum_id;                            
    else                                                              
        next_id = id;                                                 
ffc0af34:	7c 9d 23 78 	mr      r29,r4                                 
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
ffc0af38:	41 9e 00 58 	beq-    cr7,ffc0af90 <_Objects_Get_next+0xa4>  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0af3c:	a1 3e 00 10 	lhz     r9,16(r30)                             
ffc0af40:	57 a0 04 3e 	clrlwi  r0,r29,16                              
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0af44:	7f a4 eb 78 	mr      r4,r29                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0af48:	7f 89 00 40 	cmplw   cr7,r9,r0                              
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0af4c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0af50:	7f e5 fb 78 	mr      r5,r31                                 
                                                                      
        next_id++;                                                    
ffc0af54:	3b bd 00 01 	addi    r29,r29,1                              
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0af58:	41 9c 00 5c 	blt-    cr7,ffc0afb4 <_Objects_Get_next+0xc8>  
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0af5c:	48 00 00 8d 	bl      ffc0afe8 <_Objects_Get>                
                                                                      
        next_id++;                                                    
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
ffc0af60:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0af64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0af68:	40 9e ff d4 	bne+    cr7,ffc0af3c <_Objects_Get_next+0x50>  
                                                                      
    *next_id_p = next_id;                                             
ffc0af6c:	93 bc 00 00 	stw     r29,0(r28)                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
ffc0af70:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0af74:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0af78:	7c 08 03 a6 	mtlr    r0                                     
ffc0af7c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0af80:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0af84:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0af88:	38 21 00 18 	addi    r1,r1,24                               
ffc0af8c:	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;                            
ffc0af90:	83 be 00 08 	lwz     r29,8(r30)                             
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0af94:	7f c3 f3 78 	mr      r3,r30                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0af98:	a1 3e 00 10 	lhz     r9,16(r30)                             
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0af9c:	7f e5 fb 78 	mr      r5,r31                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0afa0:	57 a0 04 3e 	clrlwi  r0,r29,16                              
ffc0afa4:	7f 89 00 40 	cmplw   cr7,r9,r0                              
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc0afa8:	7f a4 eb 78 	mr      r4,r29                                 
                                                                      
        next_id++;                                                    
ffc0afac:	3b bd 00 01 	addi    r29,r29,1                              
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc0afb0:	40 9c ff ac 	bge+    cr7,ffc0af5c <_Objects_Get_next+0x70>  <== ALWAYS TAKEN
        {                                                             
            *location_p = OBJECTS_ERROR;                              
ffc0afb4:	38 00 00 01 	li      r0,1                                   
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
ffc0afb8:	83 a1 00 0c 	lwz     r29,12(r1)                             
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
        {                                                             
            *location_p = OBJECTS_ERROR;                              
ffc0afbc:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
ffc0afc0:	38 00 ff ff 	li      r0,-1                                  
    return 0;                                                         
ffc0afc4:	38 60 00 00 	li      r3,0                                   
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
ffc0afc8:	90 1c 00 00 	stw     r0,0(r28)                              
    return 0;                                                         
}                                                                     
ffc0afcc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0afd0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0afd4:	7c 08 03 a6 	mtlr    r0                                     
ffc0afd8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0afdc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0afe0:	38 21 00 18 	addi    r1,r1,24                               
ffc0afe4:	4e 80 00 20 	blr                                            
                                                                      

ffc0bed0 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
ffc0bed0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0bed4:	7c 08 02 a6 	mflr    r0                                     
ffc0bed8:	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;
ffc0bedc:	7c 60 1b 79 	mr.     r0,r3                                  
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc0bee0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0bee4:	7c 9e 23 78 	mr      r30,r4                                 
ffc0bee8:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0beec:	40 82 00 10 	bne-    ffc0befc <_Objects_Id_to_name+0x2c>    
ffc0bef0:	3d 20 00 00 	lis     r9,0                                   
ffc0bef4:	81 29 2e 24 	lwz     r9,11812(r9)                           
ffc0bef8:	80 09 00 08 	lwz     r0,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);
ffc0befc:	54 09 47 7e 	rlwinm  r9,r0,8,29,31                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc0bf00:	39 69 ff ff 	addi    r11,r9,-1                              
ffc0bf04:	2b 8b 00 02 	cmplwi  cr7,r11,2                              
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
ffc0bf08:	3b e0 00 03 	li      r31,3                                  
ffc0bf0c:	41 9d 00 50 	bgt-    cr7,ffc0bf5c <_Objects_Id_to_name+0x8c>
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0bf10:	3d 60 00 00 	lis     r11,0                                  
ffc0bf14:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0bf18:	39 6b 2c 40 	addi    r11,r11,11328                          
ffc0bf1c:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc0bf20:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bf24:	41 9e 00 38 	beq-    cr7,ffc0bf5c <_Objects_Id_to_name+0x8c>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
ffc0bf28:	54 0b 3e 7a 	rlwinm  r11,r0,7,25,29                         
ffc0bf2c:	7c 69 58 2e 	lwzx    r3,r9,r11                              
  if ( !information )                                                 
ffc0bf30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bf34:	41 9e 00 28 	beq-    cr7,ffc0bf5c <_Objects_Id_to_name+0x8c><== 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 ); 
ffc0bf38:	7c 04 03 78 	mr      r4,r0                                  
ffc0bf3c:	38 a1 00 08 	addi    r5,r1,8                                
ffc0bf40:	4b ff fe f1 	bl      ffc0be30 <_Objects_Get>                
  if ( !the_object )                                                  
ffc0bf44:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0bf48:	41 82 00 14 	beq-    ffc0bf5c <_Objects_Id_to_name+0x8c>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0bf4c:	80 03 00 0c 	lwz     r0,12(r3)                              
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc0bf50:	3b e0 00 00 	li      r31,0                                  
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0bf54:	90 1e 00 00 	stw     r0,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc0bf58:	48 00 0f dd 	bl      ffc0cf34 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0bf5c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0bf60:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bf64:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0bf68:	7c 08 03 a6 	mtlr    r0                                     
ffc0bf6c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0bf70:	38 21 00 20 	addi    r1,r1,32                               
ffc0bf74:	4e 80 00 20 	blr                                            
                                                                      

ffc0b5bc <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
ffc0b5bc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b5c0:	7c 08 02 a6 	mflr    r0                                     
ffc0b5c4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0b5c8:	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) /                 
ffc0b5cc:	a1 43 00 10 	lhz     r10,16(r3)                             
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
ffc0b5d0:	a3 e3 00 0a 	lhz     r31,10(r3)                             
  block_count = (information->maximum - index_base) /                 
ffc0b5d4:	a0 03 00 14 	lhz     r0,20(r3)                              
ffc0b5d8:	7d 5f 50 50 	subf    r10,r31,r10                            
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b5dc:	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) /                 
ffc0b5e0:	7d 4a 03 96 	divwu   r10,r10,r0                             
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b5e4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0b5e8:	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++ ) {                   
ffc0b5ec:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b5f0:	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++ ) {                   
ffc0b5f4:	41 9e 00 3c 	beq-    cr7,ffc0b630 <_Objects_Shrink_information+0x74><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
ffc0b5f8:	81 63 00 30 	lwz     r11,48(r3)                             
ffc0b5fc:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc0b600:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0b604:	41 9e 00 4c 	beq-    cr7,ffc0b650 <_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++ ) {                   
ffc0b608:	39 20 00 00 	li      r9,0                                   
ffc0b60c:	7d 49 03 a6 	mtctr   r10                                    
ffc0b610:	48 00 00 18 	b       ffc0b628 <_Objects_Shrink_information+0x6c>
    if ( information->inactive_per_block[ block ] ==                  
ffc0b614:	85 4b 00 04 	lwzu    r10,4(r11)                             
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
ffc0b618:	7f ff 02 14 	add     r31,r31,r0                             
  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 ] ==                  
ffc0b61c:	55 3d 10 3a 	rlwinm  r29,r9,2,0,29                          
ffc0b620:	7f 80 50 00 	cmpw    cr7,r0,r10                             
ffc0b624:	41 9e 00 30 	beq-    cr7,ffc0b654 <_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++ ) {                   
ffc0b628:	39 29 00 01 	addi    r9,r9,1                                
ffc0b62c:	42 00 ff e8 	bdnz+   ffc0b614 <_Objects_Shrink_information+0x58>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0b630:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b634:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b638:	7c 08 03 a6 	mtlr    r0                                     
ffc0b63c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b640:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b644:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b648:	38 21 00 18 	addi    r1,r1,24                               
ffc0b64c:	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 ] ==                  
ffc0b650:	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;                              
ffc0b654:	80 7c 00 20 	lwz     r3,32(r28)                             
ffc0b658:	48 00 00 10 	b       ffc0b668 <_Objects_Shrink_information+0xac>
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b65c:	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;      
ffc0b660:	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 );                                          
ffc0b664:	41 9e 00 34 	beq-    cr7,ffc0b698 <_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 );                
ffc0b668:	a0 03 00 0a 	lhz     r0,10(r3)                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0b66c:	83 c3 00 00 	lwz     r30,0(r3)                              
         if ((index >= index_base) &&                                 
ffc0b670:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0b674:	41 bc ff e8 	blt-    cr7,ffc0b65c <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
ffc0b678:	a1 3c 00 14 	lhz     r9,20(r28)                             
ffc0b67c:	7d 3f 4a 14 	add     r9,r31,r9                              
         /*                                                           
          *  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) &&                                 
ffc0b680:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0b684:	40 9c ff d8 	bge+    cr7,ffc0b65c <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
ffc0b688:	4b ff eb 39 	bl      ffc0a1c0 <_Chain_Extract>              
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b68c:	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;      
ffc0b690:	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 );                                          
ffc0b694:	40 9e ff d4 	bne+    cr7,ffc0b668 <_Objects_Shrink_information+0xac><== ALWAYS TAKEN
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
ffc0b698:	81 3c 00 34 	lwz     r9,52(r28)                             
ffc0b69c:	7c 69 e8 2e 	lwzx    r3,r9,r29                              
ffc0b6a0:	48 00 24 5d 	bl      ffc0dafc <_Workspace_Free>             
      information->object_blocks[ block ] = NULL;                     
ffc0b6a4:	81 3c 00 34 	lwz     r9,52(r28)                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b6a8:	a1 7c 00 2c 	lhz     r11,44(r28)                            
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc0b6ac:	7f c9 e9 2e 	stwx    r30,r9,r29                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b6b0:	a0 1c 00 14 	lhz     r0,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;                   
ffc0b6b4:	81 3c 00 30 	lwz     r9,48(r28)                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b6b8:	7c 00 58 50 	subf    r0,r0,r11                              
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0b6bc:	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;                   
ffc0b6c0:	7f c9 e9 2e 	stwx    r30,r9,r29                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b6c4:	b0 1c 00 2c 	sth     r0,44(r28)                             
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0b6c8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b6cc:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b6d0:	7c 08 03 a6 	mtlr    r0                                     
ffc0b6d4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b6d8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b6dc:	38 21 00 18 	addi    r1,r1,24                               
ffc0b6e0:	4e 80 00 20 	blr                                            
                                                                      

ffc117b4 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
ffc117b4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc117b8:	7c 08 02 a6 	mflr    r0                                     
ffc117bc:	93 c1 00 10 	stw     r30,16(r1)                             
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc117c0:	7c 9e 23 79 	mr.     r30,r4                                 
 */                                                                   
void _RBTree_Extract_unprotected(                                     
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
ffc117c4:	93 81 00 08 	stw     r28,8(r1)                              
ffc117c8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc117cc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc117d0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc117d4:	93 e1 00 14 	stw     r31,20(r1)                             
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc117d8:	41 82 01 10 	beq-    ffc118e8 <_RBTree_Extract_unprotected+0x134>
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
ffc117dc:	80 03 00 08 	lwz     r0,8(r3)                               
ffc117e0:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc117e4:	41 9e 01 68 	beq-    cr7,ffc1194c <_RBTree_Extract_unprotected+0x198>
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
    }                                                                 
  }                                                                   
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
ffc117e8:	80 1c 00 0c 	lwz     r0,12(r28)                             
ffc117ec:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc117f0:	41 9e 01 28 	beq-    cr7,ffc11918 <_RBTree_Extract_unprotected+0x164>
   * 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]) {      
ffc117f4:	83 fe 00 04 	lwz     r31,4(r30)                             
ffc117f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc117fc:	41 9e 01 38 	beq-    cr7,ffc11934 <_RBTree_Extract_unprotected+0x180>
ffc11800:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc11804:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11808:	40 be 00 0c 	bne+    cr7,ffc11814 <_RBTree_Extract_unprotected+0x60>
ffc1180c:	48 00 01 54 	b       ffc11960 <_RBTree_Extract_unprotected+0x1ac>
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
ffc11810:	7c 1f 03 78 	mr      r31,r0                                 
ffc11814:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc11818:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1181c:	40 9e ff f4 	bne+    cr7,ffc11810 <_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];                                   
ffc11820:	83 bf 00 04 	lwz     r29,4(r31)                             
    if(leaf) {                                                        
ffc11824:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc11828:	41 9e 01 a0 	beq-    cr7,ffc119c8 <_RBTree_Extract_unprotected+0x214>
      leaf->parent = target->parent;                                  
ffc1182c:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc11830:	90 1d 00 00 	stw     r0,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];                         
ffc11834:	81 5f 00 00 	lwz     r10,0(r31)                             
    target->parent->child[dir] = leaf;                                
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
ffc11838:	81 7e 00 00 	lwz     r11,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];                         
ffc1183c:	80 0a 00 04 	lwz     r0,4(r10)                              
      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;                                     
ffc11840:	81 3f 00 0c 	lwz     r9,12(r31)                             
    dir = target != target->parent->child[0];                         
ffc11844:	7f e0 02 78 	xor     r0,r31,r0                              
ffc11848:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc1184c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11850:	68 00 00 01 	xori    r0,r0,1                                
    target->parent->child[dir] = leaf;                                
ffc11854:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc11858:	7d 4a 02 14 	add     r10,r10,r0                             
ffc1185c:	93 aa 00 04 	stw     r29,4(r10)                             
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
ffc11860:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc11864:	7f c0 02 78 	xor     r0,r30,r0                              
ffc11868:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc1186c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11870:	68 00 00 01 	xori    r0,r0,1                                
    the_node->parent->child[dir] = target;                            
ffc11874:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc11878:	7d 6b 02 14 	add     r11,r11,r0                             
ffc1187c:	93 eb 00 04 	stw     r31,4(r11)                             
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
ffc11880:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc11884:	90 1f 00 08 	stw     r0,8(r31)                              
    if (the_node->child[RBT_RIGHT])                                   
ffc11888:	81 7e 00 08 	lwz     r11,8(r30)                             
ffc1188c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc11890:	41 9e 00 08 	beq-    cr7,ffc11898 <_RBTree_Extract_unprotected+0xe4><== NEVER TAKEN
      the_node->child[RBT_RIGHT]->parent = target;                    
ffc11894:	93 eb 00 00 	stw     r31,0(r11)                             
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
ffc11898:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc1189c:	90 1f 00 04 	stw     r0,4(r31)                              
    if (the_node->child[RBT_LEFT])                                    
ffc118a0:	81 7e 00 04 	lwz     r11,4(r30)                             
ffc118a4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc118a8:	41 9e 00 08 	beq-    cr7,ffc118b0 <_RBTree_Extract_unprotected+0xfc>
      the_node->child[RBT_LEFT]->parent = target;                     
ffc118ac:	93 eb 00 00 	stw     r31,0(r11)                             
    /* 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;                                
ffc118b0:	81 7e 00 00 	lwz     r11,0(r30)                             
    target->color = the_node->color;                                  
ffc118b4:	80 1e 00 0c 	lwz     r0,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;                                
ffc118b8:	91 7f 00 00 	stw     r11,0(r31)                             
    target->color = the_node->color;                                  
ffc118bc:	90 1f 00 0c 	stw     r0,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 */             
ffc118c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc118c4:	41 9e 00 44 	beq-    cr7,ffc11908 <_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;          
ffc118c8:	81 3c 00 04 	lwz     r9,4(r28)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _RBTree_Set_off_rbtree(                     
    RBTree_Node *node                                                 
    )                                                                 
{                                                                     
  node->parent = node->child[RBT_LEFT] = node->child[RBT_RIGHT] = NULL;
ffc118cc:	38 00 00 00 	li      r0,0                                   
ffc118d0:	90 1e 00 08 	stw     r0,8(r30)                              
ffc118d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc118d8:	90 1e 00 04 	stw     r0,4(r30)                              
ffc118dc:	90 1e 00 00 	stw     r0,0(r30)                              
ffc118e0:	41 9e 00 08 	beq-    cr7,ffc118e8 <_RBTree_Extract_unprotected+0x134>
ffc118e4:	90 09 00 0c 	stw     r0,12(r9)                              
}                                                                     
ffc118e8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc118ec:	83 81 00 08 	lwz     r28,8(r1)                              
ffc118f0:	7c 08 03 a6 	mtlr    r0                                     
ffc118f4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc118f8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc118fc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc11900:	38 21 00 18 	addi    r1,r1,24                               
ffc11904:	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) {                                                       
ffc11908:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1190c:	41 be ff bc 	beq-    cr7,ffc118c8 <_RBTree_Extract_unprotected+0x114>
      leaf->color = RBT_BLACK; /* case 2 */                           
ffc11910:	91 3d 00 0c 	stw     r9,12(r29)                             
ffc11914:	4b ff ff b4 	b       ffc118c8 <_RBTree_Extract_unprotected+0x114>
        the_rbtree->first[RBT_LEFT] = NULL;                           
    }                                                                 
  }                                                                   
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
    if (the_node->child[RBT_LEFT])                                    
ffc11918:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc1191c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11920:	41 9e 00 90 	beq-    cr7,ffc119b0 <_RBTree_Extract_unprotected+0x1fc>
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
            the_rbtree->first[RBT_RIGHT]))                            
        the_rbtree->first[RBT_RIGHT] = NULL;                          
ffc11924:	90 1c 00 0c 	stw     r0,12(r28)                             
   * 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]) {      
ffc11928:	83 fe 00 04 	lwz     r31,4(r30)                             
ffc1192c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc11930:	40 9e fe d0 	bne+    cr7,ffc11800 <_RBTree_Extract_unprotected+0x4c>
     * 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]; 
ffc11934:	83 be 00 08 	lwz     r29,8(r30)                             
    if( leaf ) {                                                      
ffc11938:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1193c:	40 be 00 28 	bne+    cr7,ffc11964 <_RBTree_Extract_unprotected+0x1b0>
      leaf->parent = the_node->parent;                                
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
ffc11940:	7f c3 f3 78 	mr      r3,r30                                 
ffc11944:	4b ff fb 75 	bl      ffc114b8 <_RBTree_Extract_validate_unprotected>
ffc11948:	48 00 00 24 	b       ffc1196c <_RBTree_Extract_unprotected+0x1b8>
                                                                      
  if (!the_node) return;                                              
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
    if (the_node->child[RBT_RIGHT])                                   
ffc1194c:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc11950:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11954:	41 9e 00 44 	beq-    cr7,ffc11998 <_RBTree_Extract_unprotected+0x1e4>
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
ffc11958:	90 1c 00 08 	stw     r0,8(r28)                              
ffc1195c:	4b ff fe 8c 	b       ffc117e8 <_RBTree_Extract_unprotected+0x34>
   * 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]) {      
ffc11960:	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;                                
ffc11964:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc11968:	90 1d 00 00 	stw     r0,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];                     
ffc1196c:	81 7e 00 00 	lwz     r11,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;                                   
ffc11970:	81 3e 00 0c 	lwz     r9,12(r30)                             
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
ffc11974:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc11978:	7f c0 02 78 	xor     r0,r30,r0                              
ffc1197c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc11980:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11984:	68 00 00 01 	xori    r0,r0,1                                
    the_node->parent->child[dir] = leaf;                              
ffc11988:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc1198c:	7d 6b 02 14 	add     r11,r11,r0                             
ffc11990:	93 ab 00 04 	stw     r29,4(r11)                             
ffc11994:	4b ff ff 2c 	b       ffc118c0 <_RBTree_Extract_unprotected+0x10c>
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
    if (the_node->child[RBT_RIGHT])                                   
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
ffc11998:	81 3e 00 00 	lwz     r9,0(r30)                              
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc1199c:	7f 83 48 00 	cmpw    cr7,r3,r9                              
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
    if (the_node->child[RBT_RIGHT])                                   
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
ffc119a0:	91 23 00 08 	stw     r9,8(r3)                               
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc119a4:	40 9e fe 44 	bne+    cr7,ffc117e8 <_RBTree_Extract_unprotected+0x34>
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
ffc119a8:	90 1c 00 08 	stw     r0,8(r28)                              
ffc119ac:	4b ff fe 3c 	b       ffc117e8 <_RBTree_Extract_unprotected+0x34>
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
    if (the_node->child[RBT_LEFT])                                    
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
ffc119b0:	81 3e 00 00 	lwz     r9,0(r30)                              
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc119b4:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
    if (the_node->child[RBT_LEFT])                                    
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
ffc119b8:	91 3c 00 0c 	stw     r9,12(r28)                             
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc119bc:	40 9e fe 38 	bne+    cr7,ffc117f4 <_RBTree_Extract_unprotected+0x40>
            the_rbtree->first[RBT_RIGHT]))                            
        the_rbtree->first[RBT_RIGHT] = NULL;                          
ffc119c0:	90 1c 00 0c 	stw     r0,12(r28)                             
ffc119c4:	4b ff ff 64 	b       ffc11928 <_RBTree_Extract_unprotected+0x174>
    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);                   
ffc119c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc119cc:	4b ff fa ed 	bl      ffc114b8 <_RBTree_Extract_validate_unprotected>
ffc119d0:	4b ff fe 64 	b       ffc11834 <_RBTree_Extract_unprotected+0x80>
                                                                      

ffc114b8 <_RBTree_Extract_validate_unprotected>: ) { RBTree_Node *parent, *sibling; RBTree_Direction dir; parent = the_node->parent;
ffc114b8:	81 23 00 00 	lwz     r9,0(r3)                               
  if(!parent->parent) return;                                         
ffc114bc:	80 09 00 00 	lwz     r0,0(r9)                               
ffc114c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc114c4:	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])                   
ffc114c8:	81 69 00 04 	lwz     r11,4(r9)                              
ffc114cc:	7f 83 58 00 	cmpw    cr7,r3,r11                             
ffc114d0:	41 9e 02 dc 	beq-    cr7,ffc117ac <_RBTree_Extract_validate_unprotected+0x2f4>
     * 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;                                     
ffc114d4:	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;                                     
ffc114d8:	38 e0 00 01 	li      r7,1                                   
ffc114dc:	48 00 00 94 	b       ffc11570 <_RBTree_Extract_validate_unprotected+0xb8>
  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) {               
ffc114e0:	81 49 00 00 	lwz     r10,0(r9)                              
ffc114e4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc114e8:	41 9e 00 94 	beq-    cr7,ffc1157c <_RBTree_Extract_validate_unprotected+0xc4>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc114ec:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc114f0:	41 9e 00 10 	beq-    cr7,ffc11500 <_RBTree_Extract_validate_unprotected+0x48><== NEVER TAKEN
ffc114f4:	80 0b 00 0c 	lwz     r0,12(r11)                             
ffc114f8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc114fc:	41 9e 00 98 	beq-    cr7,ffc11594 <_RBTree_Extract_validate_unprotected+0xdc>
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[!dir];                                  
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
ffc11500:	81 4b 00 08 	lwz     r10,8(r11)                             
ffc11504:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc11508:	41 9e 00 10 	beq-    cr7,ffc11518 <_RBTree_Extract_validate_unprotected+0x60>
ffc1150c:	80 0a 00 0c 	lwz     r0,12(r10)                             
ffc11510:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11514:	41 9e 01 40 	beq-    cr7,ffc11654 <_RBTree_Extract_validate_unprotected+0x19c>
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
ffc11518:	81 4b 00 04 	lwz     r10,4(r11)                             
ffc1151c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc11520:	41 9e 00 10 	beq-    cr7,ffc11530 <_RBTree_Extract_validate_unprotected+0x78>
ffc11524:	80 0a 00 0c 	lwz     r0,12(r10)                             
ffc11528:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1152c:	41 9e 01 28 	beq-    cr7,ffc11654 <_RBTree_Extract_validate_unprotected+0x19c>
        sibling->color = RBT_RED;                                     
ffc11530:	90 eb 00 0c 	stw     r7,12(r11)                             
ffc11534:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc11538:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1153c:	41 9e 00 f4 	beq-    cr7,ffc11630 <_RBTree_Extract_validate_unprotected+0x178>
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
ffc11540:	81 49 00 00 	lwz     r10,0(r9)                              
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
ffc11544:	39 60 00 00 	li      r11,0                                  
ffc11548:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1154c:	41 9e 00 1c 	beq-    cr7,ffc11568 <_RBTree_Extract_validate_unprotected+0xb0><== NEVER TAKEN
  if(!(the_node->parent->parent)) return NULL;                        
ffc11550:	80 0a 00 00 	lwz     r0,0(r10)                              
ffc11554:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11558:	41 9e 00 10 	beq-    cr7,ffc11568 <_RBTree_Extract_validate_unprotected+0xb0>
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
ffc1155c:	81 6a 00 04 	lwz     r11,4(r10)                             
ffc11560:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc11564:	41 9e 00 e8 	beq-    cr7,ffc1164c <_RBTree_Extract_validate_unprotected+0x194>
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc11568:	7d 23 4b 78 	mr      r3,r9                                  
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
ffc1156c:	7d 49 53 78 	mr      r9,r10                                 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc11570:	80 03 00 0c 	lwz     r0,12(r3)                              
ffc11574:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11578:	40 9e ff 68 	bne+    cr7,ffc114e0 <_RBTree_Extract_validate_unprotected+0x28>
      sibling->child[!dir]->color = RBT_BLACK;                        
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
ffc1157c:	81 23 00 00 	lwz     r9,0(r3)                               
ffc11580:	80 09 00 00 	lwz     r0,0(r9)                               
ffc11584:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11588:	4c be 00 20 	bnelr+  cr7                                    
ffc1158c:	90 03 00 0c 	stw     r0,12(r3)                              
ffc11590:	4e 80 00 20 	blr                                            
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc11594:	81 09 00 04 	lwz     r8,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;                                        
ffc11598:	90 09 00 0c 	stw     r0,12(r9)                              
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc1159c:	7c 60 42 78 	xor     r0,r3,r8                               
ffc115a0:	7c 00 00 34 	cntlzw  r0,r0                                  
     * 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;                                     
ffc115a4:	90 8b 00 0c 	stw     r4,12(r11)                             
      dir = the_node != parent->child[0];                             
ffc115a8:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc115ac:	68 00 00 01 	xori    r0,r0,1                                
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[(1-dir)] == NULL) return;                       
ffc115b0:	20 c0 00 01 	subfic  r6,r0,1                                
ffc115b4:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc115b8:	7c c9 32 14 	add     r6,r9,r6                               
ffc115bc:	81 06 00 04 	lwz     r8,4(r6)                               
ffc115c0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc115c4:	41 9e 00 58 	beq-    cr7,ffc1161c <_RBTree_Extract_validate_unprotected+0x164><== NEVER TAKEN
                                                                      
  c = the_node->child[(1-dir)];                                       
  the_node->child[(1-dir)] = c->child[dir];                           
ffc115c8:	54 0b 10 3a 	rlwinm  r11,r0,2,0,29                          
ffc115cc:	7c a8 5a 14 	add     r5,r8,r11                              
ffc115d0:	81 85 00 04 	lwz     r12,4(r5)                              
ffc115d4:	91 86 00 04 	stw     r12,4(r6)                              
                                                                      
  if (c->child[dir])                                                  
ffc115d8:	80 c5 00 04 	lwz     r6,4(r5)                               
ffc115dc:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc115e0:	41 9e 00 0c 	beq-    cr7,ffc115ec <_RBTree_Extract_validate_unprotected+0x134><== NEVER TAKEN
    c->child[dir]->parent = the_node;                                 
ffc115e4:	91 26 00 00 	stw     r9,0(r6)                               
ffc115e8:	81 49 00 00 	lwz     r10,0(r9)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc115ec:	7d 68 5a 14 	add     r11,r8,r11                             
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
ffc115f0:	91 48 00 00 	stw     r10,0(r8)                              
  the_node->child[(1-dir)] = c->child[dir];                           
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
ffc115f4:	91 2b 00 04 	stw     r9,4(r11)                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc115f8:	81 6a 00 04 	lwz     r11,4(r10)                             
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc115fc:	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;
ffc11600:	7d 2b 5a 78 	xor     r11,r9,r11                             
ffc11604:	7d 6b 00 34 	cntlzw  r11,r11                                
ffc11608:	55 6b d9 7e 	rlwinm  r11,r11,27,5,31                        
ffc1160c:	69 6b 00 01 	xori    r11,r11,1                              
ffc11610:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
ffc11614:	7d 4a 5a 14 	add     r10,r10,r11                            
ffc11618:	91 0a 00 04 	stw     r8,4(r10)                              
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[!dir];                                  
ffc1161c:	68 00 00 01 	xori    r0,r0,1                                
ffc11620:	54 0b 10 3a 	rlwinm  r11,r0,2,0,29                          
ffc11624:	7d 69 5a 14 	add     r11,r9,r11                             
ffc11628:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc1162c:	4b ff fe d4 	b       ffc11500 <_RBTree_Extract_validate_unprotected+0x48>
    /* 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;                                  
ffc11630:	38 00 00 00 	li      r0,0                                   
ffc11634:	90 09 00 0c 	stw     r0,12(r9)                              
      sibling->child[!dir]->color = RBT_BLACK;                        
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
ffc11638:	81 23 00 00 	lwz     r9,0(r3)                               
ffc1163c:	80 09 00 00 	lwz     r0,0(r9)                               
ffc11640:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11644:	4c be 00 20 	bnelr+  cr7                                    
ffc11648:	4b ff ff 44 	b       ffc1158c <_RBTree_Extract_validate_unprotected+0xd4><== 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];                        
ffc1164c:	81 6a 00 08 	lwz     r11,8(r10)                             
ffc11650:	4b ff ff 18 	b       ffc11568 <_RBTree_Extract_validate_unprotected+0xb0>
       * 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];                             
ffc11654:	80 09 00 04 	lwz     r0,4(r9)                               
ffc11658:	7c 60 02 78 	xor     r0,r3,r0                               
ffc1165c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc11660:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11664:	68 00 00 01 	xori    r0,r0,1                                
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
ffc11668:	68 0a 00 01 	xori    r10,r0,1                               
ffc1166c:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc11670:	7d 0b 52 14 	add     r8,r11,r10                             
ffc11674:	81 08 00 04 	lwz     r8,4(r8)                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc11678:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1167c:	41 9e 00 10 	beq-    cr7,ffc1168c <_RBTree_Extract_validate_unprotected+0x1d4>
ffc11680:	80 e8 00 0c 	lwz     r7,12(r8)                              
ffc11684:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc11688:	41 9e 00 a0 	beq-    cr7,ffc11728 <_RBTree_Extract_validate_unprotected+0x270>
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
ffc1168c:	68 06 00 01 	xori    r6,r0,1                                
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[(1-dir)] == NULL) return;                       
ffc11690:	20 e6 00 01 	subfic  r7,r6,1                                
ffc11694:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc11698:	7c eb 3a 14 	add     r7,r11,r7                              
ffc1169c:	81 07 00 04 	lwz     r8,4(r7)                               
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
ffc116a0:	54 05 10 3a 	rlwinm  r5,r0,2,0,29                           
ffc116a4:	7c ab 2a 14 	add     r5,r11,r5                              
ffc116a8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc116ac:	80 a5 00 04 	lwz     r5,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[!dir])) {                    
        sibling->color = RBT_RED;                                     
ffc116b0:	38 80 00 01 	li      r4,1                                   
ffc116b4:	90 8b 00 0c 	stw     r4,12(r11)                             
        sibling->child[dir]->color = RBT_BLACK;                       
ffc116b8:	38 80 00 00 	li      r4,0                                   
ffc116bc:	90 85 00 0c 	stw     r4,12(r5)                              
ffc116c0:	41 9e 00 58 	beq-    cr7,ffc11718 <_RBTree_Extract_validate_unprotected+0x260><== NEVER TAKEN
                                                                      
  c = the_node->child[(1-dir)];                                       
  the_node->child[(1-dir)] = c->child[dir];                           
ffc116c4:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc116c8:	7c a8 32 14 	add     r5,r8,r6                               
ffc116cc:	80 85 00 04 	lwz     r4,4(r5)                               
ffc116d0:	90 87 00 04 	stw     r4,4(r7)                               
                                                                      
  if (c->child[dir])                                                  
ffc116d4:	80 e5 00 04 	lwz     r7,4(r5)                               
ffc116d8:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc116dc:	41 9e 00 08 	beq-    cr7,ffc116e4 <_RBTree_Extract_validate_unprotected+0x22c>
    c->child[dir]->parent = the_node;                                 
ffc116e0:	91 67 00 00 	stw     r11,0(r7)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc116e4:	7c e8 32 14 	add     r7,r8,r6                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc116e8:	80 cb 00 00 	lwz     r6,0(r11)                              
  the_node->child[(1-dir)] = c->child[dir];                           
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
ffc116ec:	91 67 00 04 	stw     r11,4(r7)                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc116f0:	80 e6 00 04 	lwz     r7,4(r6)                               
                                                                      
  c->parent = the_node->parent;                                       
ffc116f4:	90 c8 00 00 	stw     r6,0(r8)                               
  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;
ffc116f8:	7d 67 3a 78 	xor     r7,r11,r7                              
ffc116fc:	7c e7 00 34 	cntlzw  r7,r7                                  
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc11700:	91 0b 00 00 	stw     r8,0(r11)                              
  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;
ffc11704:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc11708:	68 e7 00 01 	xori    r7,r7,1                                
ffc1170c:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc11710:	7c c6 3a 14 	add     r6,r6,r7                               
ffc11714:	91 06 00 04 	stw     r8,4(r6)                               
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
ffc11718:	7d 69 52 14 	add     r11,r9,r10                             
ffc1171c:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc11720:	7d 4b 52 14 	add     r10,r11,r10                            
ffc11724:	81 0a 00 04 	lwz     r8,4(r10)                              
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[(1-dir)] == NULL) return;                       
ffc11728:	20 c0 00 01 	subfic  r6,r0,1                                
      }                                                               
      sibling->color = parent->color;                                 
ffc1172c:	80 a9 00 0c 	lwz     r5,12(r9)                              
ffc11730:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc11734:	7c c9 32 14 	add     r6,r9,r6                               
ffc11738:	90 ab 00 0c 	stw     r5,12(r11)                             
      parent->color = RBT_BLACK;                                      
ffc1173c:	38 e0 00 00 	li      r7,0                                   
ffc11740:	81 46 00 04 	lwz     r10,4(r6)                              
ffc11744:	90 e9 00 0c 	stw     r7,12(r9)                              
ffc11748:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
      sibling->child[!dir]->color = RBT_BLACK;                        
ffc1174c:	90 e8 00 0c 	stw     r7,12(r8)                              
ffc11750:	41 be fe 2c 	beq-    cr7,ffc1157c <_RBTree_Extract_validate_unprotected+0xc4><== NEVER TAKEN
                                                                      
  c = the_node->child[(1-dir)];                                       
  the_node->child[(1-dir)] = c->child[dir];                           
ffc11754:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc11758:	7d 6a 02 14 	add     r11,r10,r0                             
ffc1175c:	81 0b 00 04 	lwz     r8,4(r11)                              
ffc11760:	91 06 00 04 	stw     r8,4(r6)                               
                                                                      
  if (c->child[dir])                                                  
ffc11764:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc11768:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1176c:	41 9e 00 08 	beq-    cr7,ffc11774 <_RBTree_Extract_validate_unprotected+0x2bc>
    c->child[dir]->parent = the_node;                                 
ffc11770:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc11774:	7d 0a 02 14 	add     r8,r10,r0                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc11778:	81 69 00 00 	lwz     r11,0(r9)                              
  the_node->child[(1-dir)] = c->child[dir];                           
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
ffc1177c:	91 28 00 04 	stw     r9,4(r8)                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc11780:	80 0b 00 04 	lwz     r0,4(r11)                              
                                                                      
  c->parent = the_node->parent;                                       
ffc11784:	91 6a 00 00 	stw     r11,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;
ffc11788:	7d 20 02 78 	xor     r0,r9,r0                               
ffc1178c:	7c 00 00 34 	cntlzw  r0,r0                                  
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc11790:	91 49 00 00 	stw     r10,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;
ffc11794:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11798:	68 00 00 01 	xori    r0,r0,1                                
ffc1179c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc117a0:	7d 6b 02 14 	add     r11,r11,r0                             
ffc117a4:	91 4b 00 04 	stw     r10,4(r11)                             
ffc117a8:	4b ff fd d4 	b       ffc1157c <_RBTree_Extract_validate_unprotected+0xc4>
  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];                        
ffc117ac:	81 69 00 08 	lwz     r11,8(r9)                              
ffc117b0:	4b ff fd 24 	b       ffc114d4 <_RBTree_Extract_validate_unprotected+0x1c>
                                                                      

ffc0c76c <_RBTree_Find>: RBTree_Node *_RBTree_Find( RBTree_Control *the_rbtree, RBTree_Node *search_node ) {
ffc0c76c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c770:	7c 08 02 a6 	mflr    r0                                     
ffc0c774:	90 01 00 24 	stw     r0,36(r1)                              
ffc0c778:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0c77c:	7c 9d 23 78 	mr      r29,r4                                 
ffc0c780:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0c784:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0c788:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0c78c:	93 81 00 10 	stw     r28,16(r1)                             
ffc0c790:	93 e1 00 1c 	stw     r31,28(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c794:	7f 60 00 a6 	mfmsr   r27                                    
ffc0c798:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0c79c:	7f 60 00 78 	andc    r0,r27,r0                              
ffc0c7a0:	7c 00 01 24 	mtmsr   r0                                     
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
ffc0c7a4:	83 e3 00 04 	lwz     r31,4(r3)                              
  RBTree_Node* found = NULL;                                          
ffc0c7a8:	3b 80 00 00 	li      r28,0                                  
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0c7ac:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0c7b0:	41 9e 00 50 	beq-    cr7,ffc0c800 <_RBTree_Find+0x94>       <== NEVER TAKEN
    compare_result = the_rbtree->compare_function(the_node, iter_node);
ffc0c7b4:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc0c7b8:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c7bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0c7c0:	7c 09 03 a6 	mtctr   r0                                     
ffc0c7c4:	4e 80 04 21 	bctrl                                          
    if (compare_result == 0) {                                        
ffc0c7c8:	2c 03 00 00 	cmpwi   r3,0                                   
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir = (compare_result == 1);                     
ffc0c7cc:	68 63 00 01 	xori    r3,r3,1                                
ffc0c7d0:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0c7d4:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
    iter_node = iter_node->child[dir];                                
ffc0c7d8:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0c7dc:	7c 7f 1a 14 	add     r3,r31,r3                              
  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 (compare_result == 0) {                                        
ffc0c7e0:	40 82 00 14 	bne-    ffc0c7f4 <_RBTree_Find+0x88>           
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0c7e4:	88 1e 00 14 	lbz     r0,20(r30)                             
ffc0c7e8:	7f fc fb 78 	mr      r28,r31                                
ffc0c7ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c7f0:	40 9e 00 3c 	bne-    cr7,ffc0c82c <_RBTree_Find+0xc0>       
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir = (compare_result == 1);                     
    iter_node = iter_node->child[dir];                                
ffc0c7f4:	83 e3 00 04 	lwz     r31,4(r3)                              
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0c7f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0c7fc:	40 9e ff b8 	bne+    cr7,ffc0c7b4 <_RBTree_Find+0x48>       
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c800:	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;                                                 
}                                                                     
ffc0c804:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c808:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c80c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0c810:	7c 08 03 a6 	mtlr    r0                                     
ffc0c814:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0c818:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0c81c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c820:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c824:	38 21 00 20 	addi    r1,r1,32                               
ffc0c828:	4e 80 00 20 	blr                                            
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if (compare_result == 0) {                                        
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0c82c:	7f fc fb 78 	mr      r28,r31                                
ffc0c830:	7f 60 01 24 	mtmsr   r27                                    
ffc0c834:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c838:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c83c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0c840:	7c 08 03 a6 	mtlr    r0                                     
ffc0c844:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0c848:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0c84c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c850:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c854:	38 21 00 20 	addi    r1,r1,32                               
ffc0c858:	4e 80 00 20 	blr                                            
                                                                      

ffc0cbc8 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
ffc0cbc8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0cbcc:	7c 08 02 a6 	mflr    r0                                     
ffc0cbd0:	93 e1 00 1c 	stw     r31,28(r1)                             
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0cbd4:	7c 7f 1b 79 	mr.     r31,r3                                 
  void                    *starting_address,                          
  size_t                   number_nodes,                              
  size_t                   node_size,                                 
  bool                     is_unique                                  
)                                                                     
{                                                                     
ffc0cbd8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0cbdc:	7c fe 3b 78 	mr      r30,r7                                 
ffc0cbe0:	90 01 00 24 	stw     r0,36(r1)                              
ffc0cbe4:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0cbe8:	90 c1 00 08 	stw     r6,8(r1)                               
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0cbec:	41 82 00 4c 	beq-    ffc0cc38 <_RBTree_Initialize+0x70>     <== NEVER TAKEN
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0cbf0:	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;                    
ffc0cbf4:	90 9f 00 10 	stw     r4,16(r31)                             
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
ffc0cbf8:	38 00 00 00 	li      r0,0                                   
ffc0cbfc:	90 1f 00 00 	stw     r0,0(r31)                              
  the_rbtree->root             = NULL;                                
ffc0cc00:	90 1f 00 04 	stw     r0,4(r31)                              
  the_rbtree->first[0]         = NULL;                                
ffc0cc04:	90 1f 00 08 	stw     r0,8(r31)                              
  the_rbtree->first[1]         = NULL;                                
ffc0cc08:	90 1f 00 0c 	stw     r0,12(r31)                             
  the_rbtree->compare_function = compare_function;                    
  the_rbtree->is_unique        = is_unique;                           
ffc0cc0c:	99 1f 00 14 	stb     r8,20(r31)                             
ffc0cc10:	41 9e 00 28 	beq-    cr7,ffc0cc38 <_RBTree_Initialize+0x70> <== NEVER TAKEN
                                                                      
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
ffc0cc14:	7c bd 2b 78 	mr      r29,r5                                 
  while ( count-- ) {                                                 
    _RBTree_Insert(the_rbtree, next);                                 
ffc0cc18:	7f a4 eb 78 	mr      r4,r29                                 
ffc0cc1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cc20:	4b ff ff 95 	bl      ffc0cbb4 <_RBTree_Insert>              
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0cc24:	80 01 00 08 	lwz     r0,8(r1)                               
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RBTree_Initialize(                                              
ffc0cc28:	7f bd f2 14 	add     r29,r29,r30                            
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0cc2c:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc0cc30:	91 21 00 08 	stw     r9,8(r1)                               
ffc0cc34:	40 82 ff e4 	bne+    ffc0cc18 <_RBTree_Initialize+0x50>     
    _RBTree_Insert(the_rbtree, next);                                 
    next           = (RBTree_Node *)                                  
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
}                                                                     
ffc0cc38:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cc3c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cc40:	7c 08 03 a6 	mtlr    r0                                     
ffc0cc44:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cc48:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cc4c:	38 21 00 20 	addi    r1,r1,32                               
ffc0cc50:	4e 80 00 20 	blr                                            
                                                                      

ffc11a10 <_RBTree_Validate_insert_unprotected>: * append operation. */ void _RBTree_Validate_insert_unprotected( RBTree_Node *the_node ) {
ffc11a10:	94 21 ff f0 	stwu    r1,-16(r1)                             
      /* 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;                            
ffc11a14:	38 a0 00 00 	li      r5,0                                   
      g->color = RBT_RED;                                             
ffc11a18:	39 80 00 01 	li      r12,1                                  
 *        append operation.                                           
 */                                                                   
void _RBTree_Validate_insert_unprotected(                             
    RBTree_Node    *the_node                                          
    )                                                                 
{                                                                     
ffc11a1c:	93 e1 00 0c 	stw     r31,12(r1)                             
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
    return _RBTree_Insert_unprotected( tree, node );                  
  _ISR_Enable( level );                                               
}                                                                     
ffc11a20:	81 23 00 00 	lwz     r9,0(r3)                               
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
ffc11a24:	81 69 00 00 	lwz     r11,0(r9)                              
ffc11a28:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc11a2c:	7d 68 5b 78 	mr      r8,r11                                 
ffc11a30:	41 9e 01 70 	beq-    cr7,ffc11ba0 <_RBTree_Validate_insert_unprotected+0x190>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc11a34:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc11a38:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11a3c:	41 9e 00 10 	beq-    cr7,ffc11a4c <_RBTree_Validate_insert_unprotected+0x3c>
      /* 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;          
}                                                                     
ffc11a40:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11a44:	38 21 00 10 	addi    r1,r1,16                               
ffc11a48:	4e 80 00 20 	blr                                            
    )                                                                 
{                                                                     
  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;                
ffc11a4c:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc11a50:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11a54:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc11a58:	41 9e 00 24 	beq-    cr7,ffc11a7c <_RBTree_Validate_insert_unprotected+0x6c><== 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])                   
ffc11a5c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc11a60:	7c 0a 03 78 	mr      r10,r0                                 
ffc11a64:	41 9e 01 6c 	beq-    cr7,ffc11bd0 <_RBTree_Validate_insert_unprotected+0x1c0>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc11a68:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc11a6c:	41 9e 00 10 	beq-    cr7,ffc11a7c <_RBTree_Validate_insert_unprotected+0x6c>
ffc11a70:	80 ea 00 0c 	lwz     r7,12(r10)                             
ffc11a74:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc11a78:	41 9e 01 38 	beq-    cr7,ffc11bb0 <_RBTree_Validate_insert_unprotected+0x1a0>
      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];  
ffc11a7c:	81 49 00 04 	lwz     r10,4(r9)                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc11a80:	7d 20 02 78 	xor     r0,r9,r0                               
ffc11a84:	7c 00 00 34 	cntlzw  r0,r0                                  
      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];  
ffc11a88:	7c 6a 52 78 	xor     r10,r3,r10                             
ffc11a8c:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc11a90:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc11a94:	54 00 d9 7e 	rlwinm  r0,r0,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];  
ffc11a98:	69 4a 00 01 	xori    r10,r10,1                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc11a9c:	68 00 00 01 	xori    r0,r0,1                                
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
ffc11aa0:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc11aa4:	41 9e 01 20 	beq-    cr7,ffc11bc4 <_RBTree_Validate_insert_unprotected+0x1b4>
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[(1-dir)] == NULL) return;                       
ffc11aa8:	20 c0 00 01 	subfic  r6,r0,1                                
ffc11aac:	54 ca 10 3a 	rlwinm  r10,r6,2,0,29                          
ffc11ab0:	7d 49 52 14 	add     r10,r9,r10                             
ffc11ab4:	80 ea 00 04 	lwz     r7,4(r10)                              
ffc11ab8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc11abc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc11ac0:	41 9e 00 54 	beq-    cr7,ffc11b14 <_RBTree_Validate_insert_unprotected+0x104><== NEVER TAKEN
                                                                      
  c = the_node->child[(1-dir)];                                       
  the_node->child[(1-dir)] = c->child[dir];                           
ffc11ac4:	7c 87 02 14 	add     r4,r7,r0                               
ffc11ac8:	83 e4 00 04 	lwz     r31,4(r4)                              
ffc11acc:	93 ea 00 04 	stw     r31,4(r10)                             
                                                                      
  if (c->child[dir])                                                  
ffc11ad0:	81 44 00 04 	lwz     r10,4(r4)                              
ffc11ad4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc11ad8:	41 9e 00 0c 	beq-    cr7,ffc11ae4 <_RBTree_Validate_insert_unprotected+0xd4>
    c->child[dir]->parent = the_node;                                 
ffc11adc:	91 2a 00 00 	stw     r9,0(r10)                              
ffc11ae0:	81 69 00 00 	lwz     r11,0(r9)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc11ae4:	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;                                       
ffc11ae8:	91 67 00 00 	stw     r11,0(r7)                              
  the_node->child[(1-dir)] = c->child[dir];                           
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
ffc11aec:	91 2a 00 04 	stw     r9,4(r10)                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc11af0:	81 4b 00 04 	lwz     r10,4(r11)                             
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc11af4:	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;
ffc11af8:	7d 2a 52 78 	xor     r10,r9,r10                             
ffc11afc:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc11b00:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc11b04:	69 4a 00 01 	xori    r10,r10,1                              
ffc11b08:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc11b0c:	7d 6b 52 14 	add     r11,r11,r10                            
ffc11b10:	90 eb 00 04 	stw     r7,4(r11)                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
ffc11b14:	7c 63 02 14 	add     r3,r3,r0                               
ffc11b18:	80 63 00 04 	lwz     r3,4(r3)                               
ffc11b1c:	81 23 00 00 	lwz     r9,0(r3)                               
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[(1-dir)] == NULL) return;                       
ffc11b20:	7d 48 02 14 	add     r10,r8,r0                              
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
ffc11b24:	90 a9 00 0c 	stw     r5,12(r9)                              
ffc11b28:	81 6a 00 04 	lwz     r11,4(r10)                             
      g->color = RBT_RED;                                             
ffc11b2c:	91 88 00 0c 	stw     r12,12(r8)                             
ffc11b30:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc11b34:	41 be fe ec 	beq-    cr7,ffc11a20 <_RBTree_Validate_insert_unprotected+0x10><== NEVER TAKEN
                                                                      
  c = the_node->child[(1-dir)];                                       
  the_node->child[(1-dir)] = c->child[dir];                           
ffc11b38:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc11b3c:	7d 2b 32 14 	add     r9,r11,r6                              
ffc11b40:	80 09 00 04 	lwz     r0,4(r9)                               
ffc11b44:	90 0a 00 04 	stw     r0,4(r10)                              
                                                                      
  if (c->child[dir])                                                  
ffc11b48:	81 29 00 04 	lwz     r9,4(r9)                               
ffc11b4c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11b50:	41 9e 00 08 	beq-    cr7,ffc11b58 <_RBTree_Validate_insert_unprotected+0x148>
    c->child[dir]->parent = the_node;                                 
ffc11b54:	91 09 00 00 	stw     r8,0(r9)                               
                                                                      
  c->child[dir] = the_node;                                           
ffc11b58:	7c cb 32 14 	add     r6,r11,r6                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc11b5c:	81 28 00 00 	lwz     r9,0(r8)                               
  the_node->child[(1-dir)] = c->child[dir];                           
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
ffc11b60:	91 06 00 04 	stw     r8,4(r6)                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc11b64:	80 09 00 04 	lwz     r0,4(r9)                               
                                                                      
  c->parent = the_node->parent;                                       
ffc11b68:	91 2b 00 00 	stw     r9,0(r11)                              
  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;
ffc11b6c:	7d 00 02 78 	xor     r0,r8,r0                               
ffc11b70:	7c 00 00 34 	cntlzw  r0,r0                                  
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc11b74:	91 68 00 00 	stw     r11,0(r8)                              
  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;
ffc11b78:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc11b7c:	68 00 00 01 	xori    r0,r0,1                                
ffc11b80:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc11b84:	7d 29 02 14 	add     r9,r9,r0                               
ffc11b88:	91 69 00 04 	stw     r11,4(r9)                              
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
    return _RBTree_Insert_unprotected( tree, node );                  
  _ISR_Enable( level );                                               
}                                                                     
ffc11b8c:	81 23 00 00 	lwz     r9,0(r3)                               
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
ffc11b90:	81 69 00 00 	lwz     r11,0(r9)                              
ffc11b94:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc11b98:	7d 68 5b 78 	mr      r8,r11                                 
ffc11b9c:	40 9e fe 98 	bne+    cr7,ffc11a34 <_RBTree_Validate_insert_unprotected+0x24><== ALWAYS TAKEN
      /* 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;          
}                                                                     
ffc11ba0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11ba4:	38 21 00 10 	addi    r1,r1,16                               
                                                                      
      /* 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;          
ffc11ba8:	91 63 00 0c 	stw     r11,12(r3)                             
}                                                                     
ffc11bac:	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;                            
ffc11bb0:	90 a9 00 0c 	stw     r5,12(r9)                              
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
ffc11bb4:	7d 63 5b 78 	mr      r3,r11                                 
    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;                                           
ffc11bb8:	90 aa 00 0c 	stw     r5,12(r10)                             
      g->color = RBT_RED;                                             
ffc11bbc:	90 eb 00 0c 	stw     r7,12(r11)                             
ffc11bc0:	4b ff fe 60 	b       ffc11a20 <_RBTree_Validate_insert_unprotected+0x10>
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
ffc11bc4:	20 ca 00 01 	subfic  r6,r10,1                               
ffc11bc8:	55 40 10 3a 	rlwinm  r0,r10,2,0,29                          
ffc11bcc:	4b ff ff 54 	b       ffc11b20 <_RBTree_Validate_insert_unprotected+0x110>
  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];                        
ffc11bd0:	81 4b 00 08 	lwz     r10,8(r11)                             
ffc11bd4:	4b ff fe 94 	b       ffc11a68 <_RBTree_Validate_insert_unprotected+0x58>
                                                                      

ffc098e4 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
ffc098e4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc098e8:	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;
ffc098ec:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc098f0:	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;
ffc098f4:	39 29 20 44 	addi    r9,r9,8260                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc098f8:	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;
ffc098fc:	83 e9 00 2c 	lwz     r31,44(r9)                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09900:	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 )                                                  
ffc09904:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09908:	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;
ffc0990c:	83 a9 00 28 	lwz     r29,40(r9)                             
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
ffc09910:	41 9e 00 5c 	beq-    cr7,ffc0996c <_RTEMS_tasks_Initialize_user_tasks_body+0x88>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc09914:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc09918:	41 9e 00 54 	beq-    cr7,ffc0996c <_RTEMS_tasks_Initialize_user_tasks_body+0x88><== NEVER TAKEN
ffc0991c:	3b c0 00 00 	li      r30,0                                  
    return_value = rtems_task_create(                                 
ffc09920:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc09924:	39 01 00 08 	addi    r8,r1,8                                
ffc09928:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0992c:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc09930:	80 df 00 14 	lwz     r6,20(r31)                             
ffc09934:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc09938:	4b ff fd 0d 	bl      ffc09644 <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 ) )                
ffc0993c:	7c 65 1b 79 	mr.     r5,r3                                  
ffc09940:	40 82 00 48 	bne-    ffc09988 <_RTEMS_tasks_Initialize_user_tasks_body+0xa4>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
ffc09944:	80 bf 00 18 	lwz     r5,24(r31)                             
ffc09948:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0994c:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc09950:	48 00 00 45 	bl      ffc09994 <rtems_task_start>            
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
ffc09954:	7c 65 1b 79 	mr.     r5,r3                                  
ffc09958:	40 82 00 30 	bne-    ffc09988 <_RTEMS_tasks_Initialize_user_tasks_body+0xa4>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc0995c:	3b de 00 01 	addi    r30,r30,1                              
ffc09960:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc09964:	3b ff 00 1c 	addi    r31,r31,28                             
ffc09968:	40 9e ff b8 	bne+    cr7,ffc09920 <_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 );
  }                                                                   
}                                                                     
ffc0996c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09970:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09974:	7c 08 03 a6 	mtlr    r0                                     
ffc09978:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0997c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc09980:	38 21 00 28 	addi    r1,r1,40                               
ffc09984:	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 );
ffc09988:	38 60 00 01 	li      r3,1                                   
ffc0998c:	38 80 00 01 	li      r4,1                                   
ffc09990:	48 00 13 d5 	bl      ffc0ad64 <_Internal_error_Occurred>    
                                                                      

ffc0fe5c <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
ffc0fe5c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0fe60:	7c 08 02 a6 	mflr    r0                                     
ffc0fe64:	90 01 00 24 	stw     r0,36(r1)                              
ffc0fe68:	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 ];                
ffc0fe6c:	83 e3 01 2c 	lwz     r31,300(r3)                            
 */                                                                   
                                                                      
void _RTEMS_tasks_Post_switch_extension(                              
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0fe70:	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 )                                                         
ffc0fe74:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0fe78:	41 9e 00 7c 	beq-    cr7,ffc0fef4 <_RTEMS_tasks_Post_switch_extension+0x98><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0fe7c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0fe80:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0fe84:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0fe88:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
ffc0fe8c:	39 20 00 00 	li      r9,0                                   
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
ffc0fe90:	83 df 00 14 	lwz     r30,20(r31)                            
    asr->signals_posted = 0;                                          
ffc0fe94:	91 3f 00 14 	stw     r9,20(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0fe98:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Enable( level );                                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
ffc0fe9c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0fea0:	41 be 00 54 	beq+    cr7,ffc0fef4 <_RTEMS_tasks_Post_switch_extension+0x98>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0fea4:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0fea8:	38 80 00 00 	li      r4,0                                   
ffc0feac:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0feb0:	60 84 ff ff 	ori     r4,r4,65535                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0feb4:	38 09 00 01 	addi    r0,r9,1                                
ffc0feb8:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0febc:	38 a1 00 08 	addi    r5,r1,8                                
ffc0fec0:	48 00 26 6d 	bl      ffc1252c <rtems_task_mode>             
                                                                      
  (*asr->handler)( signal_set );                                      
ffc0fec4:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0fec8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fecc:	7c 09 03 a6 	mtctr   r0                                     
ffc0fed0:	4e 80 04 21 	bctrl                                          
                                                                      
  asr->nest_level -= 1;                                               
ffc0fed4:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0fed8:	38 80 00 00 	li      r4,0                                   
ffc0fedc:	80 61 00 08 	lwz     r3,8(r1)                               
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
ffc0fee0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0fee4:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0fee8:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0feec:	38 a1 00 08 	addi    r5,r1,8                                
ffc0fef0:	48 00 26 3d 	bl      ffc1252c <rtems_task_mode>             
                                                                      
}                                                                     
ffc0fef4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0fef8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0fefc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ff00:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ff04:	38 21 00 20 	addi    r1,r1,32                               
ffc0ff08:	4e 80 00 20 	blr                                            
                                                                      

ffc0fdcc <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
ffc0fdcc:	81 23 01 38 	lwz     r9,312(r3)                             
  while (tvp) {                                                       
ffc0fdd0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fdd4:	41 9e 00 24 	beq-    cr7,ffc0fdf8 <_RTEMS_tasks_Switch_extension+0x2c>
    tvp->tval = *tvp->ptr;                                            
ffc0fdd8:	81 69 00 04 	lwz     r11,4(r9)                              
    *tvp->ptr = tvp->gval;                                            
ffc0fddc:	80 09 00 08 	lwz     r0,8(r9)                               
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
ffc0fde0:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0fde4:	91 49 00 0c 	stw     r10,12(r9)                             
    *tvp->ptr = tvp->gval;                                            
ffc0fde8:	90 0b 00 00 	stw     r0,0(r11)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc0fdec:	81 29 00 00 	lwz     r9,0(r9)                               
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
ffc0fdf0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fdf4:	40 9e ff e4 	bne+    cr7,ffc0fdd8 <_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;                                         
ffc0fdf8:	81 24 01 38 	lwz     r9,312(r4)                             
  while (tvp) {                                                       
ffc0fdfc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fe00:	4d 9e 00 20 	beqlr   cr7                                    
    tvp->gval = *tvp->ptr;                                            
ffc0fe04:	81 69 00 04 	lwz     r11,4(r9)                              
    *tvp->ptr = tvp->tval;                                            
ffc0fe08:	80 09 00 0c 	lwz     r0,12(r9)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
ffc0fe0c:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0fe10:	91 49 00 08 	stw     r10,8(r9)                              
    *tvp->ptr = tvp->tval;                                            
ffc0fe14:	90 0b 00 00 	stw     r0,0(r11)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc0fe18:	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) {                                                       
ffc0fe1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fe20:	40 9e ff e4 	bne+    cr7,ffc0fe04 <_RTEMS_tasks_Switch_extension+0x38><== NEVER TAKEN
ffc0fe24:	4e 80 00 20 	blr                                            
                                                                      

ffc0a8c8 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc0a8c8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a8cc:	7c 08 02 a6 	mflr    r0                                     
ffc0a8d0:	7c 64 1b 78 	mr      r4,r3                                  
ffc0a8d4:	3c 60 00 00 	lis     r3,0                                   
ffc0a8d8:	90 01 00 24 	stw     r0,36(r1)                              
ffc0a8dc:	38 63 2c 00 	addi    r3,r3,11264                            
ffc0a8e0:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a8e4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0a8e8:	48 00 27 69 	bl      ffc0d050 <_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 ) {                                               
ffc0a8ec:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a8f0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a8f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a8f8:	40 9e 00 4c 	bne-    cr7,ffc0a944 <_Rate_monotonic_Timeout+0x7c><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc0a8fc:	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);                   
ffc0a900:	80 03 00 10 	lwz     r0,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc0a904:	70 09 40 00 	andi.   r9,r0,16384                            
ffc0a908:	41 82 00 14 	beq-    ffc0a91c <_Rate_monotonic_Timeout+0x54>
ffc0a90c:	81 23 00 20 	lwz     r9,32(r3)                              
ffc0a910:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0a914:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a918:	41 9e 00 6c 	beq-    cr7,ffc0a984 <_Rate_monotonic_Timeout+0xbc>
        _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 ) {
ffc0a91c:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc0a920:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0a924:	41 9e 00 34 	beq-    cr7,ffc0a958 <_Rate_monotonic_Timeout+0x90>
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc0a928:	38 00 00 04 	li      r0,4                                   
ffc0a92c:	90 1f 00 38 	stw     r0,56(r31)                             
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
ffc0a930:	3d 20 00 00 	lis     r9,0                                   
ffc0a934:	81 69 28 08 	lwz     r11,10248(r9)                          
ffc0a938:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0a93c:	90 09 28 08 	stw     r0,10248(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0a940:	80 09 28 08 	lwz     r0,10248(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc0a944:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a948:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a94c:	38 21 00 20 	addi    r1,r1,32                               
ffc0a950:	7c 08 03 a6 	mtlr    r0                                     
ffc0a954:	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;    
ffc0a958:	38 00 00 03 	li      r0,3                                   
ffc0a95c:	90 1f 00 38 	stw     r0,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc0a960:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a964:	4b ff f7 89 	bl      ffc0a0ec <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a968:	80 1f 00 3c 	lwz     r0,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a96c:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a970:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a974:	38 63 2d c8 	addi    r3,r3,11720                            
ffc0a978:	38 9f 00 10 	addi    r4,r31,16                              
ffc0a97c:	48 00 4b 15 	bl      ffc0f490 <_Watchdog_Insert>            
ffc0a980:	4b ff ff b0 	b       ffc0a930 <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc0a984:	3c 80 10 03 	lis     r4,4099                                
ffc0a988:	60 84 ff f8 	ori     r4,r4,65528                            
ffc0a98c:	48 00 32 99 	bl      ffc0dc24 <_Thread_Clear_state>         
ffc0a990:	4b ff ff d0 	b       ffc0a960 <_Rate_monotonic_Timeout+0x98>
                                                                      

ffc0c23c <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
ffc0c23c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c240:	7c 08 02 a6 	mflr    r0                                     
ffc0c244:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c248:	7c 7f 1b 78 	mr      r31,r3                                 
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0c24c:	38 60 00 18 	li      r3,24                                  
#include <rtems/score/wkspace.h>                                      
                                                                      
void *_Scheduler_EDF_Allocate(                                        
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0c250:	90 01 00 14 	stw     r0,20(r1)                              
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0c254:	48 00 25 2d 	bl      ffc0e780 <_Workspace_Allocate>         
                                                                      
  if ( sched ) {                                                      
ffc0c258:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0c25c:	41 82 00 14 	beq-    ffc0c270 <_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;  
ffc0c260:	38 00 00 02 	li      r0,2                                   
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
                                                                      
  if ( sched ) {                                                      
    the_thread->scheduler_info = sched;                               
ffc0c264:	90 7f 00 8c 	stw     r3,140(r31)                            
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
ffc0c268:	93 e3 00 00 	stw     r31,0(r3)                              
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
ffc0c26c:	90 03 00 14 	stw     r0,20(r3)                              
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
ffc0c270:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c274:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c278:	38 21 00 10 	addi    r1,r1,16                               
ffc0c27c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c280:	4e 80 00 20 	blr                                            
                                                                      

ffc0c284 <_Scheduler_EDF_Block>: #include <rtems/score/thread.h> void _Scheduler_EDF_Block( Thread_Control *the_thread ) {
ffc0c284:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c288:	7c 08 02 a6 	mflr    r0                                     
ffc0c28c:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (                           
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Heir );                              
ffc0c290:	3f c0 00 00 	lis     r30,0                                  
ffc0c294:	3b de 2e 38 	addi    r30,r30,11832                          
ffc0c298:	90 01 00 14 	stw     r0,20(r1)                              
ffc0c29c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c2a0:	7c 7f 1b 78 	mr      r31,r3                                 
  _Scheduler_EDF_Extract( the_thread );                               
ffc0c2a4:	48 00 00 bd 	bl      ffc0c360 <_Scheduler_EDF_Extract>      
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc0c2a8:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc0c2ac:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0c2b0:	41 9e 00 48 	beq-    cr7,ffc0c2f8 <_Scheduler_EDF_Block+0x74><== ALWAYS TAKEN
    _Scheduler_EDF_Schedule();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0c2b4:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0c2b8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0c2bc:	41 9e 00 1c 	beq-    cr7,ffc0c2d8 <_Scheduler_EDF_Block+0x54><== ALWAYS TAKEN
    _Thread_Dispatch_necessary = true;                                
}                                                                     
ffc0c2c0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0c2c4:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc0c2c8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0c2cc:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc0c2d0:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0c2d4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
    _Scheduler_EDF_Schedule();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
ffc0c2d8:	38 00 00 01 	li      r0,1                                   
}                                                                     
ffc0c2dc:	83 e1 00 0c 	lwz     r31,12(r1)                             
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
    _Scheduler_EDF_Schedule();                                        
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
ffc0c2e0:	98 1e 00 18 	stb     r0,24(r30)                             
}                                                                     
ffc0c2e4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c2e8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0c2ec:	38 21 00 10 	addi    r1,r1,16                               
ffc0c2f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c2f4:	4e 80 00 20 	blr                                            
  _Scheduler_EDF_Extract( the_thread );                               
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
    _Scheduler_EDF_Schedule();                                        
ffc0c2f8:	48 00 01 fd 	bl      ffc0c4f4 <_Scheduler_EDF_Schedule>     
ffc0c2fc:	4b ff ff b8 	b       ffc0c2b4 <_Scheduler_EDF_Block+0x30>   
                                                                      

ffc0c52c <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
ffc0c52c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c530:	7c 08 02 a6 	mflr    r0                                     
ffc0c534:	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(                             
ffc0c538:	3f e0 00 00 	lis     r31,0                                  
ffc0c53c:	3b ff 2e 38 	addi    r31,r31,11832                          
#include <rtems/score/scheduleredf.h>                                 
                                                                      
void _Scheduler_EDF_Unblock(                                          
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
ffc0c540:	90 01 00 14 	stw     r0,20(r1)                              
ffc0c544:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0c548:	7c 7e 1b 78 	mr      r30,r3                                 
  _Scheduler_EDF_Enqueue(the_thread);                                 
ffc0c54c:	4b ff fd d5 	bl      ffc0c320 <_Scheduler_EDF_Enqueue>      
ffc0c550:	3d 60 00 00 	lis     r11,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(                             
ffc0c554:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0c558:	80 0b 21 10 	lwz     r0,8464(r11)                           
ffc0c55c:	80 69 00 14 	lwz     r3,20(r9)                              
ffc0c560:	80 9e 00 14 	lwz     r4,20(r30)                             
ffc0c564:	7c 09 03 a6 	mtctr   r0                                     
ffc0c568:	4e 80 04 21 	bctrl                                          
ffc0c56c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c570:	41 9c 00 1c 	blt-    cr7,ffc0c58c <_Scheduler_EDF_Unblock+0x60>
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
  }                                                                   
}                                                                     
ffc0c574:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c578:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0c57c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c580:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c584:	38 21 00 10 	addi    r1,r1,16                               
ffc0c588:	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 ||                         
ffc0c58c:	81 3f 00 0c 	lwz     r9,12(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;                                        
ffc0c590:	93 df 00 10 	stw     r30,16(r31)                            
    if ( _Thread_Executing->is_preemptible ||                         
ffc0c594:	88 09 00 74 	lbz     r0,116(r9)                             
ffc0c598:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c59c:	41 9e 00 24 	beq-    cr7,ffc0c5c0 <_Scheduler_EDF_Unblock+0x94><== NEVER TAKEN
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0c5a0:	38 00 00 01 	li      r0,1                                   
ffc0c5a4:	98 1f 00 18 	stb     r0,24(r31)                             
  }                                                                   
}                                                                     
ffc0c5a8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c5ac:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0c5b0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c5b4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c5b8:	38 21 00 10 	addi    r1,r1,16                               
ffc0c5bc:	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 ||                         
ffc0c5c0:	80 1e 00 14 	lwz     r0,20(r30)                             <== NOT EXECUTED
ffc0c5c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0c5c8:	40 be ff ac 	bne-    cr7,ffc0c574 <_Scheduler_EDF_Unblock+0x48><== NOT EXECUTED
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0c5cc:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c5d0:	98 1f 00 18 	stb     r0,24(r31)                             <== NOT EXECUTED
ffc0c5d4:	4b ff ff d4 	b       ffc0c5a8 <_Scheduler_EDF_Unblock+0x7c> <== NOT EXECUTED
                                                                      

ffc0c5d8 <_Scheduler_EDF_Update>: #include <rtems/score/thread.h> void _Scheduler_EDF_Update( Thread_Control *the_thread ) {
ffc0c5d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c5dc:	7c 08 02 a6 	mflr    r0                                     
ffc0c5e0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0c5e4:	93 c1 00 10 	stw     r30,16(r1)                             
  Scheduler_EDF_Per_thread *sched_info =                              
ffc0c5e8:	83 c3 00 8c 	lwz     r30,140(r3)                            
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Update(                                           
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0c5ec:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0c5f0:	7c 7f 1b 78 	mr      r31,r3                                 
  Scheduler_EDF_Per_thread *sched_info =                              
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
                                                                      
  if (sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN) {
ffc0c5f4:	80 1e 00 14 	lwz     r0,20(r30)                             
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Update(                                           
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0c5f8:	93 a1 00 0c 	stw     r29,12(r1)                             
  Scheduler_EDF_Per_thread *sched_info =                              
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
                                                                      
  if (sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN) {
ffc0c5fc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0c600:	41 9e 00 28 	beq-    cr7,ffc0c628 <_Scheduler_EDF_Update+0x50>
    the_thread->real_priority    = the_thread->Start.initial_priority;
    the_thread->current_priority = the_thread->Start.initial_priority;
    sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
  }                                                                   
                                                                      
  if ( sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_YES ) {   
ffc0c604:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c608:	41 9e 00 58 	beq-    cr7,ffc0c660 <_Scheduler_EDF_Update+0x88><== NEVER TAKEN
      if ( _Thread_Executing->is_preemptible ||                       
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0c60c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c610:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0c614:	7c 08 03 a6 	mtlr    r0                                     
ffc0c618:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0c61c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0c620:	38 21 00 18 	addi    r1,r1,24                               
ffc0c624:	4e 80 00 20 	blr                                            
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
                                                                      
  if (sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN) {
    /* Shifts the priority to the region of background tasks. */      
    the_thread->Start.initial_priority |= (SCHEDULER_EDF_PRIO_MSB);   
ffc0c628:	80 03 00 b0 	lwz     r0,176(r3)                             
      if ( _Thread_Executing->is_preemptible ||                       
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0c62c:	83 a1 00 0c 	lwz     r29,12(r1)                             
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
                                                                      
  if (sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN) {
    /* Shifts the priority to the region of background tasks. */      
    the_thread->Start.initial_priority |= (SCHEDULER_EDF_PRIO_MSB);   
ffc0c630:	64 00 80 00 	oris    r0,r0,32768                            
      if ( _Thread_Executing->is_preemptible ||                       
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0c634:	83 e1 00 14 	lwz     r31,20(r1)                             
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
                                                                      
  if (sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN) {
    /* Shifts the priority to the region of background tasks. */      
    the_thread->Start.initial_priority |= (SCHEDULER_EDF_PRIO_MSB);   
ffc0c638:	90 03 00 b0 	stw     r0,176(r3)                             
    the_thread->real_priority    = the_thread->Start.initial_priority;
ffc0c63c:	90 03 00 18 	stw     r0,24(r3)                              
    the_thread->current_priority = the_thread->Start.initial_priority;
ffc0c640:	90 03 00 14 	stw     r0,20(r3)                              
    sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
ffc0c644:	38 00 00 00 	li      r0,0                                   
ffc0c648:	90 1e 00 14 	stw     r0,20(r30)                             
      if ( _Thread_Executing->is_preemptible ||                       
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0c64c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c650:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0c654:	38 21 00 18 	addi    r1,r1,24                               
ffc0c658:	7c 08 03 a6 	mtlr    r0                                     
ffc0c65c:	4e 80 00 20 	blr                                            
    the_thread->current_priority = the_thread->Start.initial_priority;
    sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
  }                                                                   
                                                                      
  if ( sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_YES ) {   
    _RBTree_Extract(&_Scheduler_EDF_Ready_queue, the_node);           
ffc0c660:	3f a0 00 00 	lis     r29,0                                  <== NOT EXECUTED
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
  Scheduler_EDF_Per_thread *sched_info =                              
    (Scheduler_EDF_Per_thread*)the_thread->scheduler_info;            
  RBTree_Node *the_node = &(sched_info->Node);                        
ffc0c664:	3b de 00 04 	addi    r30,r30,4                              <== NOT EXECUTED
    the_thread->current_priority = the_thread->Start.initial_priority;
    sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
  }                                                                   
                                                                      
  if ( sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_YES ) {   
    _RBTree_Extract(&_Scheduler_EDF_Ready_queue, the_node);           
ffc0c668:	3b bd 2e 5c 	addi    r29,r29,11868                          <== NOT EXECUTED
ffc0c66c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0c670:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0c674:	48 00 53 61 	bl      ffc119d4 <_RBTree_Extract>             <== NOT EXECUTED
    _RBTree_Insert(&_Scheduler_EDF_Ready_queue, the_node);            
ffc0c678:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0c67c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0c680:	48 00 56 91 	bl      ffc11d10 <_RBTree_Insert>              <== NOT EXECUTED
                                                                      
    _Scheduler_EDF_Schedule();                                        
ffc0c684:	4b ff fe 71 	bl      ffc0c4f4 <_Scheduler_EDF_Schedule>     <== NOT EXECUTED
    if ( _Thread_Executing != _Thread_Heir ) {                        
ffc0c688:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0c68c:	39 29 2e 38 	addi    r9,r9,11832                            <== NOT EXECUTED
ffc0c690:	81 69 00 0c 	lwz     r11,12(r9)                             <== NOT EXECUTED
ffc0c694:	80 09 00 10 	lwz     r0,16(r9)                              <== NOT EXECUTED
ffc0c698:	7f 8b 00 00 	cmpw    cr7,r11,r0                             <== NOT EXECUTED
ffc0c69c:	41 be ff 70 	beq-    cr7,ffc0c60c <_Scheduler_EDF_Update+0x34><== NOT EXECUTED
      if ( _Thread_Executing->is_preemptible ||                       
ffc0c6a0:	88 0b 00 74 	lbz     r0,116(r11)                            <== NOT EXECUTED
ffc0c6a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0c6a8:	40 9e 00 10 	bne-    cr7,ffc0c6b8 <_Scheduler_EDF_Update+0xe0><== NOT EXECUTED
ffc0c6ac:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
ffc0c6b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0c6b4:	40 be ff 58 	bne-    cr7,ffc0c60c <_Scheduler_EDF_Update+0x34><== NOT EXECUTED
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
ffc0c6b8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
    }                                                                 
  }                                                                   
}                                                                     
ffc0c6bc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
                                                                      
    _Scheduler_EDF_Schedule();                                        
    if ( _Thread_Executing != _Thread_Heir ) {                        
      if ( _Thread_Executing->is_preemptible ||                       
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
ffc0c6c0:	98 09 00 18 	stb     r0,24(r9)                              <== NOT EXECUTED
    }                                                                 
  }                                                                   
}                                                                     
ffc0c6c4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc0c6c8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0c6cc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0c6d0:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc0c6d4:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0c6d8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0c6dc <_Scheduler_EDF_Yield>: #include <rtems/score/scheduler.h> #include <rtems/score/scheduleredf.h> #include <rtems/score/thread.h> void _Scheduler_EDF_Yield(void) {
ffc0c6dc:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc0c6e0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc0c6e4:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  Scheduler_EDF_Per_thread *first_info;                               
  RBTree_Node              *first_node;                               
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
ffc0c6e8:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
ffc0c6ec:	3b de 2e 38 	addi    r30,r30,11832                          <== NOT EXECUTED
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/scheduleredf.h>                                 
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Yield(void)                                       
{                                                                     
ffc0c6f0:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc0c6f4:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
  Scheduler_EDF_Per_thread *first_info;                               
  RBTree_Node              *first_node;                               
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
ffc0c6f8:	83 be 00 0c 	lwz     r29,12(r30)                            <== NOT EXECUTED
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/scheduleredf.h>                                 
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Yield(void)                                       
{                                                                     
ffc0c6fc:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc0c700:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc0c704:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
  Scheduler_EDF_Per_thread *first_info;                               
  RBTree_Node              *first_node;                               
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
  Scheduler_EDF_Per_thread *executing_info =                          
ffc0c708:	83 7d 00 8c 	lwz     r27,140(r29)                           <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c70c:	7f 80 00 a6 	mfmsr   r28                                    <== NOT EXECUTED
ffc0c710:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc0c714:	7f 80 00 78 	andc    r0,r28,r0                              <== NOT EXECUTED
ffc0c718:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool _RBTree_Has_only_one_node(                  
    const RBTree_Control *the_rbtree                                  
    )                                                                 
{                                                                     
  if(!the_rbtree) return NULL; /* TODO: expected behavior? */         
  return (the_rbtree->root->child[RBT_LEFT] == NULL && the_rbtree->root->child[RBT_RIGHT] == NULL);
ffc0c71c:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc0c720:	3b ff 2e 5c 	addi    r31,r31,11868                          <== NOT EXECUTED
ffc0c724:	81 3f 00 04 	lwz     r9,4(r31)                              <== NOT EXECUTED
ffc0c728:	80 09 00 04 	lwz     r0,4(r9)                               <== NOT EXECUTED
ffc0c72c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0c730:	41 9e 00 68 	beq-    cr7,ffc0c798 <_Scheduler_EDF_Yield+0xbc><== NOT EXECUTED
    (Scheduler_EDF_Per_thread *) executing->scheduler_info;           
  RBTree_Node *executing_node = &(executing_info->Node);              
ffc0c734:	3b 7b 00 04 	addi    r27,r27,4                              <== NOT EXECUTED
  if ( !_RBTree_Has_only_one_node(&_Scheduler_EDF_Ready_queue) ) {    
    /*                                                                
     * The RBTree has more than one node, enqueue behind the tasks    
     * with the same priority in case there are such ones.            
     */                                                               
    _RBTree_Extract( &_Scheduler_EDF_Ready_queue, executing_node );   
ffc0c738:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0c73c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc0c740:	48 00 52 95 	bl      ffc119d4 <_RBTree_Extract>             <== NOT EXECUTED
    _RBTree_Insert( &_Scheduler_EDF_Ready_queue, executing_node );    
ffc0c744:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0c748:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc0c74c:	48 00 55 c5 	bl      ffc11d10 <_RBTree_Insert>              <== NOT EXECUTED
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0c750:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc0c754:	7f 80 01 24 	mtmsr   r28                                    <== NOT EXECUTED
ffc0c758:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
                                                                      
    _ISR_Flash( level );                                              
                                                                      
    if ( _Thread_Is_heir( executing ) ) {                             
ffc0c75c:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc0c760:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc0c764:	41 9e 00 50 	beq-    cr7,ffc0c7b4 <_Scheduler_EDF_Yield+0xd8><== NOT EXECUTED
      _Thread_Heir = first_info->thread;                              
    }                                                                 
    _Thread_Dispatch_necessary = true;                                
  }                                                                   
  else if ( !_Thread_Is_heir( executing ) )                           
    _Thread_Dispatch_necessary = true;                                
ffc0c768:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c76c:	98 1e 00 18 	stb     r0,24(r30)                             <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c770:	7f 80 01 24 	mtmsr   r28                                    <== NOT EXECUTED
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc0c774:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc0c778:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc0c77c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0c780:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc0c784:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc0c788:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc0c78c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc0c790:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc0c794:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc0c798:	80 09 00 08 	lwz     r0,8(r9)                               <== NOT EXECUTED
ffc0c79c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0c7a0:	40 9e ff 94 	bne+    cr7,ffc0c734 <_Scheduler_EDF_Yield+0x58><== NOT EXECUTED
        _RBTree_Container_of(first_node, Scheduler_EDF_Per_thread, Node);
      _Thread_Heir = first_info->thread;                              
    }                                                                 
    _Thread_Dispatch_necessary = true;                                
  }                                                                   
  else if ( !_Thread_Is_heir( executing ) )                           
ffc0c7a4:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc0c7a8:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc0c7ac:	40 9e ff bc 	bne+    cr7,ffc0c768 <_Scheduler_EDF_Yield+0x8c><== NOT EXECUTED
ffc0c7b0:	4b ff ff c0 	b       ffc0c770 <_Scheduler_EDF_Yield+0x94>   <== NOT EXECUTED
    _RBTree_Insert( &_Scheduler_EDF_Ready_queue, executing_node );    
                                                                      
    _ISR_Flash( level );                                              
                                                                      
    if ( _Thread_Is_heir( executing ) ) {                             
      first_node = _RBTree_Peek( &_Scheduler_EDF_Ready_queue, RBT_LEFT );
ffc0c7b4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0c7b8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc0c7bc:	48 00 55 69 	bl      ffc11d24 <_RBTree_Peek>                <== NOT EXECUTED
      first_info =                                                    
        _RBTree_Container_of(first_node, Scheduler_EDF_Per_thread, Node);
      _Thread_Heir = first_info->thread;                              
ffc0c7c0:	80 03 ff fc 	lwz     r0,-4(r3)                              <== NOT EXECUTED
ffc0c7c4:	90 1e 00 10 	stw     r0,16(r30)                             <== NOT EXECUTED
ffc0c7c8:	4b ff ff a0 	b       ffc0c768 <_Scheduler_EDF_Yield+0x8c>   <== NOT EXECUTED
                                                                      

ffc0b814 <_Scheduler_priority_Block>: ) { Scheduler_priority_Per_thread *sched_info; Chain_Control *ready; sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
ffc0b814:	81 63 00 8c 	lwz     r11,140(r3)                            
  ready      = sched_info->ready_chain;                               
ffc0b818:	81 2b 00 00 	lwz     r9,0(r11)                              
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
ffc0b81c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0b820:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0b824:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc0b828:	41 9e 00 a4 	beq-    cr7,ffc0b8cc <_Scheduler_priority_Block+0xb8>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0b82c:	81 63 00 00 	lwz     r11,0(r3)                              
  previous       = the_node->previous;                                
ffc0b830:	81 23 00 04 	lwz     r9,4(r3)                               
  next->previous = previous;                                          
ffc0b834:	91 2b 00 04 	stw     r9,4(r11)                              
  previous->next = next;                                              
ffc0b838:	91 69 00 00 	stw     r11,0(r9)                              
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (                           
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Heir );                              
ffc0b83c:	3d 20 00 00 	lis     r9,0                                   
ffc0b840:	39 29 2d b8 	addi    r9,r9,11704                            
{                                                                     
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc0b844:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0b848:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0b84c:	41 9e 00 1c 	beq-    cr7,ffc0b868 <_Scheduler_priority_Block+0x54>
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0b850:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0b854:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0b858:	4c be 00 20 	bnelr+  cr7                                    
    _Thread_Dispatch_necessary = true;                                
ffc0b85c:	38 00 00 01 	li      r0,1                                   
ffc0b860:	98 09 00 18 	stb     r0,24(r9)                              
ffc0b864:	4e 80 00 20 	blr                                            
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 );         
ffc0b868:	3c a0 00 00 	lis     r5,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                          
ffc0b86c:	3d 40 00 00 	lis     r10,0                                  
ffc0b870:	81 65 28 08 	lwz     r11,10248(r5)                          
ffc0b874:	81 4a 20 e0 	lwz     r10,8416(r10)                          
ffc0b878:	7d 66 00 34 	cntlzw  r6,r11                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0b87c:	3c e0 00 00 	lis     r7,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 );         
ffc0b880:	91 65 28 08 	stw     r11,10248(r5)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0b884:	38 e7 2d e0 	addi    r7,r7,11744                            
ffc0b888:	54 c8 10 3a 	rlwinm  r8,r6,2,0,29                           
ffc0b88c:	7c 07 40 2e 	lwzx    r0,r7,r8                               
ffc0b890:	7c 0b 00 34 	cntlzw  r11,r0                                 
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0b894:	54 c6 20 36 	rlwinm  r6,r6,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 );        
ffc0b898:	7c 07 41 2e 	stwx    r0,r7,r8                               
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0b89c:	7d 66 5a 14 	add     r11,r6,r11                             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0b8a0:	1d 6b 00 0c 	mulli   r11,r11,12                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0b8a4:	7c 0a 58 2e 	lwzx    r0,r10,r11                             
ffc0b8a8:	7d 0a 5a 14 	add     r8,r10,r11                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0b8ac:	39 68 00 04 	addi    r11,r8,4                               
ffc0b8b0:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc0b8b4:	41 9e 00 60 	beq-    cr7,ffc0b914 <_Scheduler_priority_Block+0x100><== 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(               
ffc0b8b8:	90 09 00 10 	stw     r0,16(r9)                              
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0b8bc:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0b8c0:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0b8c4:	4c be 00 20 	bnelr+  cr7                                    
ffc0b8c8:	4b ff ff 94 	b       ffc0b85c <_Scheduler_priority_Block+0x48>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc0b8cc:	81 4b 00 04 	lwz     r10,4(r11)                             
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 );                        
ffc0b8d0:	39 09 00 04 	addi    r8,r9,4                                
ffc0b8d4:	80 0b 00 14 	lwz     r0,20(r11)                             
ffc0b8d8:	80 ea 00 00 	lwz     r7,0(r10)                              
                                                                      
  head->next = tail;                                                  
ffc0b8dc:	91 09 00 00 	stw     r8,0(r9)                               
  head->previous = NULL;                                              
ffc0b8e0:	39 00 00 00 	li      r8,0                                   
ffc0b8e4:	7c e0 00 38 	and     r0,r7,r0                               
  if ( *the_priority_map->minor == 0 )                                
ffc0b8e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b8ec:	91 09 00 04 	stw     r8,4(r9)                               
  tail->previous = head;                                              
ffc0b8f0:	91 29 00 08 	stw     r9,8(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;          
ffc0b8f4:	90 0a 00 00 	stw     r0,0(r10)                              
  if ( *the_priority_map->minor == 0 )                                
ffc0b8f8:	40 be ff 44 	bne-    cr7,ffc0b83c <_Scheduler_priority_Block+0x28>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
ffc0b8fc:	3d 20 00 00 	lis     r9,0                                   
ffc0b900:	80 0b 00 10 	lwz     r0,16(r11)                             
ffc0b904:	81 49 28 08 	lwz     r10,10248(r9)                          
ffc0b908:	7d 40 00 38 	and     r0,r10,r0                              
ffc0b90c:	90 09 28 08 	stw     r0,10248(r9)                           
ffc0b910:	4b ff ff 2c 	b       ffc0b83c <_Scheduler_priority_Block+0x28>
  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;                                                        
ffc0b914:	38 00 00 00 	li      r0,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(               
ffc0b918:	90 09 00 10 	stw     r0,16(r9)                              <== NOT EXECUTED
ffc0b91c:	4b ff ff a0 	b       ffc0b8bc <_Scheduler_priority_Block+0xa8><== NOT EXECUTED
                                                                      

ffc0baf8 <_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 );
ffc0baf8:	3c c0 00 00 	lis     r6,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                          
ffc0bafc:	3d 60 00 00 	lis     r11,0                                  
ffc0bb00:	81 26 28 08 	lwz     r9,10248(r6)                           
ffc0bb04:	81 6b 20 e0 	lwz     r11,8416(r11)                          
ffc0bb08:	7d 27 00 34 	cntlzw  r7,r9                                  
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0bb0c:	3d 00 00 00 	lis     r8,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 );         
ffc0bb10:	91 26 28 08 	stw     r9,10248(r6)                           
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0bb14:	39 08 2d e0 	addi    r8,r8,11744                            
ffc0bb18:	54 ea 10 3a 	rlwinm  r10,r7,2,0,29                          
ffc0bb1c:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc0bb20:	7c 06 00 34 	cntlzw  r6,r0                                  
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0bb24:	54 e9 20 36 	rlwinm  r9,r7,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 );        
ffc0bb28:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0bb2c:	7d 29 32 14 	add     r9,r9,r6                               
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0bb30:	1d 29 00 0c 	mulli   r9,r9,12                               
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0bb34:	7c 0b 48 2e 	lwzx    r0,r11,r9                              
ffc0bb38:	7d 4b 4a 14 	add     r10,r11,r9                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0bb3c:	39 2a 00 04 	addi    r9,r10,4                               
ffc0bb40:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0bb44:	41 9e 00 10 	beq-    cr7,ffc0bb54 <_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(               
ffc0bb48:	3d 20 00 00 	lis     r9,0                                   
ffc0bb4c:	90 09 2d c8 	stw     r0,11720(r9)                           
#include <rtems/score/schedulerpriority.h>                            
                                                                      
void _Scheduler_priority_Schedule(void)                               
{                                                                     
  _Scheduler_priority_Schedule_body();                                
}                                                                     
ffc0bb50:	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;                                                        
ffc0bb54:	38 00 00 00 	li      r0,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(               
ffc0bb58:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0bb5c:	90 09 2d c8 	stw     r0,11720(r9)                           <== NOT EXECUTED
ffc0bb60:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0c508 <_Scheduler_simple_Ready_queue_enqueue_first>: { Chain_Control *ready; Chain_Node *the_node; Thread_Control *current; ready = (Chain_Control *)_Scheduler.information;
ffc0c508:	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 ) {
ffc0c50c:	81 63 00 14 	lwz     r11,20(r3)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0c510:	81 29 20 e0 	lwz     r9,8416(r9)                            
ffc0c514:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0c518:	80 09 00 14 	lwz     r0,20(r9)                              
ffc0c51c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0c520:	40 9c 00 14 	bge-    cr7,ffc0c534 <_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 ) {
ffc0c524:	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 ) {
ffc0c528:	80 09 00 14 	lwz     r0,20(r9)                              
ffc0c52c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0c530:	41 9c ff f4 	blt+    cr7,ffc0c524 <_Scheduler_simple_Ready_queue_enqueue_first+0x1c><== NEVER TAKEN
      current = (Thread_Control *)current->Object.Node.previous;      
ffc0c534:	81 29 00 04 	lwz     r9,4(r9)                               
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0c538:	81 69 00 00 	lwz     r11,0(r9)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0c53c:	91 23 00 04 	stw     r9,4(r3)                               
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0c540:	90 69 00 00 	stw     r3,0(r9)                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0c544:	90 6b 00 04 	stw     r3,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;                                
ffc0c548:	91 63 00 00 	stw     r11,0(r3)                              
    }                                                                 
  }                                                                   
                                                                      
  /* enqueue */                                                       
  _Chain_Insert_unprotected( (Chain_Node *)current, &the_thread->Object.Node );
}                                                                     
ffc0c54c:	4e 80 00 20 	blr                                            
                                                                      

ffc0a834 <_TOD_Tickle_ticks>: { Timestamp_Control tick; uint32_t seconds; /* Convert the tick quantum to a timestamp */ _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a834:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
ffc0a838:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a83c:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
ffc0a840:	3c 60 00 00 	lis     r3,0                                   
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a844:	81 69 20 10 	lwz     r11,8208(r9)                           
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
ffc0a848:	3d 20 00 00 	lis     r9,0                                   
ffc0a84c:	81 49 27 fc 	lwz     r10,10236(r9)                          
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
ffc0a850:	38 81 00 08 	addi    r4,r1,8                                
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a854:	1d 6b 03 e8 	mulli   r11,r11,1000                           
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
ffc0a858:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
ffc0a85c:	38 63 27 d0 	addi    r3,r3,10192                            
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a860:	91 61 00 0c 	stw     r11,12(r1)                             
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
ffc0a864:	38 0a 00 01 	addi    r0,r10,1                               
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a868:	39 40 00 00 	li      r10,0                                  
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
ffc0a86c:	90 09 27 fc 	stw     r0,10236(r9)                           
{                                                                     
  Timestamp_Control tick;                                             
  uint32_t          seconds;                                          
                                                                      
  /* Convert the tick quantum to a timestamp */                       
  _Timestamp_Set( &tick, 0, rtems_configuration_get_nanoseconds_per_tick() );
ffc0a870:	91 41 00 08 	stw     r10,8(r1)                              
 *                                                                    
 *  Output parameters: NONE                                           
 */                                                                   
                                                                      
void _TOD_Tickle_ticks( void )                                        
{                                                                     
ffc0a874:	93 e1 00 24 	stw     r31,36(r1)                             
                                                                      
  /* Update the counter of ticks since boot */                        
  _Watchdog_Ticks_since_boot += 1;                                    
                                                                      
  /* Update the timespec format uptime */                             
  _Timestamp_Add_to( &_TOD_Uptime, &tick );                           
ffc0a878:	48 00 28 f1 	bl      ffc0d168 <_Timespec_Add_to>            
  /* we do not care how much the uptime changed */                    
                                                                      
  /* Update the timespec format TOD */                                
  seconds = _Timestamp_Add_to_at_tick( &_TOD_Now, &tick );            
ffc0a87c:	3c 60 00 00 	lis     r3,0                                   
ffc0a880:	38 63 27 e0 	addi    r3,r3,10208                            
ffc0a884:	38 81 00 08 	addi    r4,r1,8                                
ffc0a888:	48 00 28 e1 	bl      ffc0d168 <_Timespec_Add_to>            
  while ( seconds ) {                                                 
ffc0a88c:	7c 60 1b 79 	mr.     r0,r3                                  
ffc0a890:	90 01 00 18 	stw     r0,24(r1)                              
ffc0a894:	41 82 00 24 	beq-    ffc0a8b8 <_TOD_Tickle_ticks+0x84>      
ffc0a898:	3f e0 00 00 	lis     r31,0                                  
ffc0a89c:	3b ff 2c dc 	addi    r31,r31,11484                          
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Watchdog_Tickle_seconds( void )            
{                                                                     
                                                                      
  _Watchdog_Tickle( &_Watchdog_Seconds_chain );                       
ffc0a8a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a8a4:	48 00 30 c9 	bl      ffc0d96c <_Watchdog_Tickle>            
ffc0a8a8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a8ac:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc0a8b0:	91 21 00 18 	stw     r9,24(r1)                              
ffc0a8b4:	40 82 ff ec 	bne+    ffc0a8a0 <_TOD_Tickle_ticks+0x6c>      <== NEVER TAKEN
    _Watchdog_Tickle_seconds();                                       
    seconds--;                                                        
  }                                                                   
}                                                                     
ffc0a8b8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a8bc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a8c0:	38 21 00 28 	addi    r1,r1,40                               
ffc0a8c4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a8c8:	4e 80 00 20 	blr                                            
                                                                      

ffc0bde4 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc0bde4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0bde8:	7c 08 02 a6 	mflr    r0                                     
ffc0bdec:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0bdf0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0bdf4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0bdf8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0bdfc:	7c bc 2b 78 	mr      r28,r5                                 
ffc0be00:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0be04:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0be08:	7c 9e 23 78 	mr      r30,r4                                 
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc0be0c:	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 );                                
ffc0be10:	48 00 11 35 	bl      ffc0cf44 <_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 )                  
ffc0be14:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0be18:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc0be1c:	41 9e 00 10 	beq-    cr7,ffc0be2c <_Thread_Change_priority+0x48>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc0be20:	7f e3 fb 78 	mr      r3,r31                                 
ffc0be24:	7f c4 f3 78 	mr      r4,r30                                 
ffc0be28:	48 00 10 75 	bl      ffc0ce9c <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0be2c:	7f c0 00 a6 	mfmsr   r30                                    
ffc0be30:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0be34:	7f c0 00 78 	andc    r0,r30,r0                              
ffc0be38:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  /*                                                                  
   *  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;                                  
ffc0be3c:	80 1f 00 10 	lwz     r0,16(r31)                             
  if ( state != STATES_TRANSIENT ) {                                  
ffc0be40:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0be44:	41 9e 00 88 	beq-    cr7,ffc0becc <_Thread_Change_priority+0xe8>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc0be48:	73 a9 00 04 	andi.   r9,r29,4                               
ffc0be4c:	41 82 00 38 	beq-    ffc0be84 <_Thread_Change_priority+0xa0><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0be50:	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);              
ffc0be54:	3d 20 00 03 	lis     r9,3                                   <== NOT EXECUTED
ffc0be58:	61 29 be e0 	ori     r9,r9,48864                            <== NOT EXECUTED
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0be5c:	7c 0b 48 39 	and.    r11,r0,r9                              <== NOT EXECUTED
ffc0be60:	40 82 00 40 	bne-    ffc0bea0 <_Thread_Change_priority+0xbc><== NOT EXECUTED
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0be64:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0be68:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0be6c:	7c 08 03 a6 	mtlr    r0                                     
ffc0be70:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0be74:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0be78:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0be7c:	38 21 00 18 	addi    r1,r1,24                               
ffc0be80:	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);                         
ffc0be84:	54 09 07 b8 	rlwinm  r9,r0,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 );
ffc0be88:	91 3f 00 10 	stw     r9,16(r31)                             
ffc0be8c:	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);              
ffc0be90:	3d 20 00 03 	lis     r9,3                                   
ffc0be94:	61 29 be e0 	ori     r9,r9,48864                            
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0be98:	7c 0b 48 39 	and.    r11,r0,r9                              
ffc0be9c:	41 82 ff c8 	beq+    ffc0be64 <_Thread_Change_priority+0x80>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0bea0:	80 7f 00 44 	lwz     r3,68(r31)                             
ffc0bea4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0bea8:	48 00 0e f9 	bl      ffc0cda0 <_Thread_queue_Requeue>       
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0beac:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0beb0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0beb4:	7c 08 03 a6 	mtlr    r0                                     
ffc0beb8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0bebc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0bec0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0bec4:	38 21 00 18 	addi    r1,r1,24                               
ffc0bec8:	4e 80 00 20 	blr                                            
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc0becc:	73 bd 00 04 	andi.   r29,r29,4                              
ffc0bed0:	41 82 00 74 	beq-    ffc0bf44 <_Thread_Change_priority+0x160><== ALWAYS TAKEN
ffc0bed4:	3f a0 00 00 	lis     r29,0                                  <== NOT EXECUTED
ffc0bed8:	3b bd 20 e0 	addi    r29,r29,8416                           <== NOT EXECUTED
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0bedc:	7c 00 00 a6 	mfmsr   r0                                     
ffc0bee0:	7f c0 01 24 	mtmsr   r30                                    
ffc0bee4:	7c 00 01 24 	mtmsr   r0                                     
 *  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();                                   
ffc0bee8:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc0beec:	7c 09 03 a6 	mtctr   r0                                     
ffc0bef0:	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 );                       
ffc0bef4:	3d 20 00 00 	lis     r9,0                                   
ffc0bef8:	39 29 2d b8 	addi    r9,r9,11704                            
ffc0befc:	81 69 00 0c 	lwz     r11,12(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() &&                       
ffc0bf00:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0bf04:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc0bf08:	41 9e 00 18 	beq-    cr7,ffc0bf20 <_Thread_Change_priority+0x13c>
ffc0bf0c:	88 0b 00 74 	lbz     r0,116(r11)                            
ffc0bf10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bf14:	41 9e 00 0c 	beq-    cr7,ffc0bf20 <_Thread_Change_priority+0x13c>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc0bf18:	38 00 00 01 	li      r0,1                                   
ffc0bf1c:	98 09 00 18 	stb     r0,24(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0bf20:	7f c0 01 24 	mtmsr   r30                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc0bf24:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0bf28:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0bf2c:	7c 08 03 a6 	mtlr    r0                                     
ffc0bf30:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0bf34:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0bf38:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0bf3c:	38 21 00 18 	addi    r1,r1,24                               
ffc0bf40:	4e 80 00 20 	blr                                            
     *  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 )                                                 
ffc0bf44:	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 );
ffc0bf48:	93 bf 00 10 	stw     r29,16(r31)                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
ffc0bf4c:	3f a0 00 00 	lis     r29,0                                  
ffc0bf50:	3b bd 20 e0 	addi    r29,r29,8416                           
                                                                      
    if ( prepend_it )                                                 
ffc0bf54:	41 9e 00 18 	beq-    cr7,ffc0bf6c <_Thread_Change_priority+0x188>
ffc0bf58:	80 1d 00 28 	lwz     r0,40(r29)                             
ffc0bf5c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bf60:	7c 09 03 a6 	mtctr   r0                                     
ffc0bf64:	4e 80 04 21 	bctrl                                          
ffc0bf68:	4b ff ff 74 	b       ffc0bedc <_Thread_Change_priority+0xf8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
ffc0bf6c:	80 1d 00 24 	lwz     r0,36(r29)                             
ffc0bf70:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bf74:	7c 09 03 a6 	mtctr   r0                                     
ffc0bf78:	4e 80 04 21 	bctrl                                          
ffc0bf7c:	4b ff ff 60 	b       ffc0bedc <_Thread_Change_priority+0xf8>
                                                                      

ffc0c1f8 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0c1f8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c1fc:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c200:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0c204:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c208:	48 00 02 3d 	bl      ffc0c444 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c20c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c210:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c214:	40 9e 00 24 	bne-    cr7,ffc0c238 <_Thread_Delay_ended+0x40><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc0c218:	3c 80 10 00 	lis     r4,4096                                
ffc0c21c:	60 84 00 18 	ori     r4,r4,24                               
ffc0c220:	4b ff fd 61 	bl      ffc0bf80 <_Thread_Clear_state>         
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
ffc0c224:	3d 20 00 00 	lis     r9,0                                   
ffc0c228:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0c22c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0c230:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0c234:	80 09 27 c8 	lwz     r0,10184(r9)                           
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0c238:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c23c:	38 21 00 18 	addi    r1,r1,24                               
ffc0c240:	7c 08 03 a6 	mtlr    r0                                     
ffc0c244:	4e 80 00 20 	blr                                            
                                                                      

ffc0c248 <_Thread_Dispatch>: * INTERRUPT LATENCY: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
ffc0c248:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0c24c:	7c 08 02 a6 	mflr    r0                                     
ffc0c250:	93 21 00 1c 	stw     r25,28(r1)                             
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc0c254:	3f 20 00 00 	lis     r25,0                                  
ffc0c258:	81 39 27 c8 	lwz     r9,10184(r25)                          
ffc0c25c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0c260:	38 09 00 01 	addi    r0,r9,1                                
ffc0c264:	90 19 27 c8 	stw     r0,10184(r25)                          
ffc0c268:	93 01 00 18 	stw     r24,24(r1)                             
    return _Thread_Dispatch_disable_level;                            
ffc0c26c:	80 19 27 c8 	lwz     r0,10184(r25)                          
ffc0c270:	93 41 00 20 	stw     r26,32(r1)                             
ffc0c274:	93 61 00 24 	stw     r27,36(r1)                             
ffc0c278:	93 81 00 28 	stw     r28,40(r1)                             
ffc0c27c:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0c280:	93 c1 00 30 	stw     r30,48(r1)                             
ffc0c284:	93 e1 00 34 	stw     r31,52(r1)                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
ffc0c288:	3f a0 00 00 	lis     r29,0                                  
ffc0c28c:	3b bd 2d b8 	addi    r29,r29,11704                          
ffc0c290:	83 fd 00 0c 	lwz     r31,12(r29)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c294:	7c 00 00 a6 	mfmsr   r0                                     
ffc0c298:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0c29c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0c2a0:	7d 20 01 24 	mtmsr   r9                                     
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0c2a4:	89 3d 00 18 	lbz     r9,24(r29)                             
ffc0c2a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c2ac:	41 9e 01 14 	beq-    cr7,ffc0c3c0 <_Thread_Dispatch+0x178>  
                                                                      
    heir = _Thread_Heir;                                              
ffc0c2b0:	83 dd 00 10 	lwz     r30,16(r29)                            
    _Thread_Dispatch_necessary = false;                               
ffc0c2b4:	39 20 00 00 	li      r9,0                                   
ffc0c2b8:	99 3d 00 18 	stb     r9,24(r29)                             
    /*                                                                
     *  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 )                                          
ffc0c2bc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
    _Thread_Executing = heir;                                         
ffc0c2c0:	93 dd 00 0c 	stw     r30,12(r29)                            
    /*                                                                
     *  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 )                                          
ffc0c2c4:	41 9e 00 fc 	beq-    cr7,ffc0c3c0 <_Thread_Dispatch+0x178>  
ffc0c2c8:	3f 80 00 00 	lis     r28,0                                  
ffc0c2cc:	3b 7d 00 1c 	addi    r27,r29,28                             
ffc0c2d0:	3b 9c 27 dc 	addi    r28,r28,10204                          
#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;            
ffc0c2d4:	3f 00 00 00 	lis     r24,0                                  
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
ffc0c2d8:	3b 40 00 00 	li      r26,0                                  
ffc0c2dc:	48 00 00 cc 	b       ffc0c3a8 <_Thread_Dispatch+0x160>      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c2e0:	7c 00 01 24 	mtmsr   r0                                     
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc0c2e4:	38 61 00 10 	addi    r3,r1,16                               
ffc0c2e8:	48 00 40 69 	bl      ffc10350 <_TOD_Get_uptime>             
        _Timestamp_Subtract(                                          
ffc0c2ec:	7f 63 db 78 	mr      r3,r27                                 
ffc0c2f0:	38 81 00 10 	addi    r4,r1,16                               
ffc0c2f4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0c2f8:	48 00 0e cd 	bl      ffc0d1c4 <_Timespec_Subtract>          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
ffc0c2fc:	38 81 00 08 	addi    r4,r1,8                                
ffc0c300:	38 7f 00 84 	addi    r3,r31,132                             
ffc0c304:	48 00 0e 65 	bl      ffc0d168 <_Timespec_Add_to>            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0c308:	81 3c 00 00 	lwz     r9,0(r28)                              
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0c30c:	81 41 00 10 	lwz     r10,16(r1)                             
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0c310:	7f e3 fb 78 	mr      r3,r31                                 
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0c314:	2f 89 00 00 	cmpwi   cr7,r9,0                               
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0c318:	81 61 00 14 	lwz     r11,20(r1)                             
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0c31c:	7f c4 f3 78 	mr      r4,r30                                 
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0c320:	91 5d 00 1c 	stw     r10,28(r29)                            
ffc0c324:	91 7d 00 20 	stw     r11,32(r29)                            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0c328:	41 9e 00 14 	beq-    cr7,ffc0c33c <_Thread_Dispatch+0xf4>   <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0c32c:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0c330:	90 1f 01 28 	stw     r0,296(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0c334:	80 1e 01 28 	lwz     r0,296(r30)                            
ffc0c338:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0c33c:	48 00 13 1d 	bl      ffc0d658 <_User_extensions_Thread_switch>
     *  operations.                                                   
     */                                                               
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH != TRUE )                            
    if ( executing->fp_context != NULL )                              
ffc0c340:	80 1f 01 24 	lwz     r0,292(r31)                            
      _Context_Save_fp( &executing->fp_context );                     
ffc0c344:	38 7f 01 24 	addi    r3,r31,292                             
     *  operations.                                                   
     */                                                               
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH != TRUE )                            
    if ( executing->fp_context != NULL )                              
ffc0c348:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c34c:	41 9e 00 08 	beq-    cr7,ffc0c354 <_Thread_Dispatch+0x10c>  
      _Context_Save_fp( &executing->fp_context );                     
ffc0c350:	48 01 10 51 	bl      ffc1d3a0 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0c354:	38 7f 00 c4 	addi    r3,r31,196                             
ffc0c358:	38 9e 00 c4 	addi    r4,r30,196                             
ffc0c35c:	48 01 11 c5 	bl      ffc1d520 <_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 )                              
ffc0c360:	80 1f 01 24 	lwz     r0,292(r31)                            
      _Context_Restore_fp( &executing->fp_context );                  
ffc0c364:	38 7f 01 24 	addi    r3,r31,292                             
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
      _Context_Restore_fp( &executing->fp_context );                  
      _Thread_Allocated_fp = executing;                               
    }                                                                 
#else                                                                 
    if ( executing->fp_context != NULL )                              
ffc0c368:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c36c:	41 9e 00 08 	beq-    cr7,ffc0c374 <_Thread_Dispatch+0x12c>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0c370:	48 01 10 f1 	bl      ffc1d460 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0c374:	83 fd 00 0c 	lwz     r31,12(r29)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c378:	7c 00 00 a6 	mfmsr   r0                                     
ffc0c37c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0c380:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0c384:	7d 20 01 24 	mtmsr   r9                                     
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0c388:	89 3d 00 18 	lbz     r9,24(r29)                             
ffc0c38c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c390:	41 9e 00 30 	beq-    cr7,ffc0c3c0 <_Thread_Dispatch+0x178>  
                                                                      
    heir = _Thread_Heir;                                              
ffc0c394:	83 dd 00 10 	lwz     r30,16(r29)                            
    _Thread_Dispatch_necessary = false;                               
ffc0c398:	9b 5d 00 18 	stb     r26,24(r29)                            
    /*                                                                
     *  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 )                                          
ffc0c39c:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
    _Thread_Executing = heir;                                         
ffc0c3a0:	93 dd 00 0c 	stw     r30,12(r29)                            
    /*                                                                
     *  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 )                                          
ffc0c3a4:	41 9e 00 1c 	beq-    cr7,ffc0c3c0 <_Thread_Dispatch+0x178>  <== NEVER TAKEN
     */                                                               
#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 )
ffc0c3a8:	81 3e 00 7c 	lwz     r9,124(r30)                            
ffc0c3ac:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0c3b0:	40 9e ff 30 	bne+    cr7,ffc0c2e0 <_Thread_Dispatch+0x98>   
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0c3b4:	81 38 27 c4 	lwz     r9,10180(r24)                          
ffc0c3b8:	91 3e 00 78 	stw     r9,120(r30)                            
ffc0c3bc:	4b ff ff 24 	b       ffc0c2e0 <_Thread_Dispatch+0x98>       
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c3c0:	7c 00 01 24 	mtmsr   r0                                     
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
ffc0c3c4:	81 39 27 c8 	lwz     r9,10184(r25)                          
ffc0c3c8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0c3cc:	90 19 27 c8 	stw     r0,10184(r25)                          
    return _Thread_Dispatch_disable_level;                            
ffc0c3d0:	80 19 27 c8 	lwz     r0,10184(r25)                          
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  _API_extensions_Run_postswitch();                                   
ffc0c3d4:	4b ff db f9 	bl      ffc09fcc <_API_extensions_Run_postswitch>
}                                                                     
ffc0c3d8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0c3dc:	83 01 00 18 	lwz     r24,24(r1)                             
ffc0c3e0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c3e4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc0c3e8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0c3ec:	83 61 00 24 	lwz     r27,36(r1)                             
ffc0c3f0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc0c3f4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0c3f8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0c3fc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc0c400:	38 21 00 38 	addi    r1,r1,56                               
ffc0c404:	4e 80 00 20 	blr                                            
                                                                      

ffc1298c <_Thread_Handler>: * Input parameters: NONE * * Output parameters: NONE */ void _Thread_Handler( void ) {
ffc1298c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12990:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc12994:	3d 20 00 00 	lis     r9,0                                   
 *  Input parameters:   NONE                                          
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
void _Thread_Handler( void )                                          
{                                                                     
ffc12998:	90 01 00 14 	stw     r0,20(r1)                              
ffc1299c:	93 e1 00 0c 	stw     r31,12(r1)                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc129a0:	83 e9 2d c4 	lwz     r31,11716(r9)                          
 *  Input parameters:   NONE                                          
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
void _Thread_Handler( void )                                          
{                                                                     
ffc129a4:	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;                                 
ffc129a8:	81 3f 00 ac 	lwz     r9,172(r31)                            
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc129ac:	38 00 00 00 	li      r0,0                                   
ffc129b0:	7c 00 00 a6 	mfmsr   r0                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc129b4:	71 2b 00 01 	andi.   r11,r9,1                               
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc129b8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc129bc:	40 82 00 54 	bne-    ffc12a10 <_Thread_Handler+0x84>        
    msr |= ppc_interrupt_get_disable_mask();                          
ffc129c0:	7d 20 03 78 	or      r0,r9,r0                               
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc129c4:	7c 00 01 24 	mtmsr   r0                                     
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
ffc129c8:	3d 20 00 00 	lis     r9,0                                   
ffc129cc:	8b c9 29 80 	lbz     r30,10624(r9)                          
      doneConstructors = true;                                        
ffc129d0:	38 00 00 01 	li      r0,1                                   
  /*                                                                  
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
  _User_extensions_Thread_begin( executing );                         
ffc129d4:	7f e3 fb 78 	mr      r3,r31                                 
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
      doneConstructors = true;                                        
ffc129d8:	98 09 29 80 	stb     r0,10624(r9)                           
  /*                                                                  
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
  _User_extensions_Thread_begin( executing );                         
ffc129dc:	4b ff a9 41 	bl      ffc0d31c <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc129e0:	4b ff 9a 29 	bl      ffc0c408 <_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) */ {                    
ffc129e4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc129e8:	41 9e 00 30 	beq-    cr7,ffc12a18 <_Thread_Handler+0x8c>    
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc129ec:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc129f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc129f4:	41 9e 00 2c 	beq-    cr7,ffc12a20 <_Thread_Handler+0x94>    <== ALWAYS TAKEN
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
ffc129f8:	7f e3 fb 78 	mr      r3,r31                                 
ffc129fc:	4b ff a9 95 	bl      ffc0d390 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
ffc12a00:	38 60 00 00 	li      r3,0                                   
ffc12a04:	38 80 00 01 	li      r4,1                                   
ffc12a08:	38 a0 00 05 	li      r5,5                                   
ffc12a0c:	4b ff 83 59 	bl      ffc0ad64 <_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();                         
ffc12a10:	7c 00 48 78 	andc    r0,r0,r9                               
ffc12a14:	4b ff ff b0 	b       ffc129c4 <_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 ();                                                   
ffc12a18:	48 00 b7 85 	bl      ffc1e19c <_init>                       
ffc12a1c:	4b ff ff d0 	b       ffc129ec <_Thread_Handler+0x60>        
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc12a20:	80 1f 00 90 	lwz     r0,144(r31)                            
ffc12a24:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc12a28:	7c 09 03 a6 	mtctr   r0                                     
ffc12a2c:	4e 80 04 21 	bctrl                                          
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc12a30:	90 7f 00 28 	stw     r3,40(r31)                             
ffc12a34:	4b ff ff c4 	b       ffc129f8 <_Thread_Handler+0x6c>        
                                                                      

ffc0c514 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0c514:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0c518:	7c 08 02 a6 	mflr    r0                                     
ffc0c51c:	93 c1 00 28 	stw     r30,40(r1)                             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0c520:	3b c0 00 00 	li      r30,0                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0c524:	90 01 00 34 	stw     r0,52(r1)                              
ffc0c528:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc0c52c:	93 01 00 10 	stw     r24,16(r1)                             
ffc0c530:	7d 58 53 78 	mr      r24,r10                                
ffc0c534:	93 21 00 14 	stw     r25,20(r1)                             
ffc0c538:	7d 39 4b 78 	mr      r25,r9                                 
ffc0c53c:	93 41 00 18 	stw     r26,24(r1)                             
ffc0c540:	7d 1a 43 78 	mr      r26,r8                                 
ffc0c544:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0c548:	7c fb 3b 78 	mr      r27,r7                                 
ffc0c54c:	93 81 00 20 	stw     r28,32(r1)                             
ffc0c550:	7c 7c 1b 78 	mr      r28,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 );
ffc0c554:	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                          
)                                                                     
{                                                                     
ffc0c558:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0c55c:	7c dd 33 78 	mr      r29,r6                                 
ffc0c560:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0c564:	7c 9f 23 78 	mr      r31,r4                                 
ffc0c568:	81 61 00 40 	lwz     r11,64(r1)                             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0c56c:	93 c4 01 2c 	stw     r30,300(r4)                            
ffc0c570:	93 c4 01 30 	stw     r30,304(r4)                            
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
ffc0c574:	93 c4 01 28 	stw     r30,296(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 );
ffc0c578:	7c c4 33 78 	mr      r4,r6                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0c57c:	82 eb 00 00 	lwz     r23,0(r11)                             
                                                                      
  /*                                                                  
   *  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 );
ffc0c580:	48 00 0a 21 	bl      ffc0cfa0 <_Thread_Stack_Allocate>      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0c584:	7c 60 1b 79 	mr.     r0,r3                                  
      return false;                     /* stack allocation failed */ 
ffc0c588:	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 )       
ffc0c58c:	41 82 01 20 	beq-    ffc0c6ac <_Thread_Initialize+0x198>    
ffc0c590:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0c594:	41 9d 01 18 	bgt-    cr7,ffc0c6ac <_Thread_Initialize+0x198><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0c598:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0c59c:	81 3f 00 c0 	lwz     r9,192(r31)                            
  the_stack->size = size;                                             
ffc0c5a0:	90 1f 00 b4 	stw     r0,180(r31)                            
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
ffc0c5a4:	3b a0 00 00 	li      r29,0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0c5a8:	91 3f 00 b8 	stw     r9,184(r31)                            
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0c5ac:	40 9e 01 34 	bne-    cr7,ffc0c6e0 <_Thread_Initialize+0x1cc>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0c5b0:	3f c0 00 00 	lis     r30,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;                           
ffc0c5b4:	93 bf 01 24 	stw     r29,292(r31)                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0c5b8:	38 00 00 00 	li      r0,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0c5bc:	81 3e 27 e8 	lwz     r9,10216(r30)                          
      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;                           
ffc0c5c0:	93 bf 00 bc 	stw     r29,188(r31)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0c5c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c5c8:	90 1f 00 50 	stw     r0,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0c5cc:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0c5d0:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0c5d4:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc0c5d8:	40 9e 01 24 	bne-    cr7,ffc0c6fc <_Thread_Initialize+0x1e8>
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0c5dc:	91 3f 01 34 	stw     r9,308(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;                                             
ffc0c5e0:	3b 60 00 00 	li      r27,0                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0c5e4:	80 01 00 38 	lwz     r0,56(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
ffc0c5e8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
ffc0c5ec:	3b c0 00 00 	li      r30,0                                  
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0c5f0:	9b 3f 00 a0 	stb     r25,160(r31)                           
ffc0c5f4:	7f e3 fb 78 	mr      r3,r31                                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0c5f8:	90 1f 00 a8 	stw     r0,168(r31)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0c5fc:	80 01 00 3c 	lwz     r0,60(r1)                              
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0c600:	93 1f 00 a4 	stw     r24,164(r31)                           
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0c604:	90 1f 00 ac 	stw     r0,172(r31)                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0c608:	38 00 00 01 	li      r0,1                                   
ffc0c60c:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0c610:	80 09 20 f8 	lwz     r0,8440(r9)                            
  the_thread->Wait.queue              = NULL;                         
ffc0c614:	93 df 00 44 	stw     r30,68(r31)                            
ffc0c618:	7c 09 03 a6 	mtctr   r0                                     
  the_thread->resource_count          = 0;                            
ffc0c61c:	93 df 00 1c 	stw     r30,28(r31)                            
  the_thread->real_priority           = priority;                     
ffc0c620:	93 5f 00 18 	stw     r26,24(r31)                            
  the_thread->Start.initial_priority  = priority;                     
ffc0c624:	93 5f 00 b0 	stw     r26,176(r31)                           
ffc0c628:	4e 80 04 21 	bctrl                                          
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
ffc0c62c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0c630:	41 82 00 40 	beq-    ffc0c670 <_Thread_Initialize+0x15c>    
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
ffc0c634:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c638:	7f 44 d3 78 	mr      r4,r26                                 
ffc0c63c:	48 00 08 61 	bl      ffc0ce9c <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0c640:	a0 1f 00 0a 	lhz     r0,10(r31)                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0c644:	81 3c 00 1c 	lwz     r9,28(r28)                             
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
ffc0c648:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c64c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
ffc0c650:	93 df 00 84 	stw     r30,132(r31)                           
ffc0c654:	93 df 00 88 	stw     r30,136(r31)                           
ffc0c658:	7f e9 01 2e 	stwx    r31,r9,r0                              
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0c65c:	92 ff 00 0c 	stw     r23,12(r31)                            
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
ffc0c660:	48 00 0e 31 	bl      ffc0d490 <_User_extensions_Thread_create>
  if ( extension_status )                                             
ffc0c664:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return true;                                                      
ffc0c668:	38 60 00 01 	li      r3,1                                   
   *  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 )                                             
ffc0c66c:	40 9e 00 40 	bne-    cr7,ffc0c6ac <_Thread_Initialize+0x198>
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
ffc0c670:	80 7f 01 28 	lwz     r3,296(r31)                            
ffc0c674:	48 00 14 89 	bl      ffc0dafc <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
ffc0c678:	80 7f 01 2c 	lwz     r3,300(r31)                            
ffc0c67c:	48 00 14 81 	bl      ffc0dafc <_Workspace_Free>             
ffc0c680:	80 7f 01 30 	lwz     r3,304(r31)                            
ffc0c684:	48 00 14 79 	bl      ffc0dafc <_Workspace_Free>             
                                                                      
  _Workspace_Free( extensions_area );                                 
ffc0c688:	7f 63 db 78 	mr      r3,r27                                 
ffc0c68c:	48 00 14 71 	bl      ffc0dafc <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
ffc0c690:	7f a3 eb 78 	mr      r3,r29                                 
ffc0c694:	48 00 14 69 	bl      ffc0dafc <_Workspace_Free>             
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
ffc0c698:	7f 23 cb 78 	mr      r3,r25                                 
ffc0c69c:	48 00 14 61 	bl      ffc0dafc <_Workspace_Free>             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0c6a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c6a4:	48 00 09 a5 	bl      ffc0d048 <_Thread_Stack_Free>          
  return false;                                                       
ffc0c6a8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0c6ac:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0c6b0:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc0c6b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0c6b8:	83 01 00 10 	lwz     r24,16(r1)                             
ffc0c6bc:	83 21 00 14 	lwz     r25,20(r1)                             
ffc0c6c0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0c6c4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0c6c8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0c6cc:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0c6d0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c6d4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c6d8:	38 21 00 30 	addi    r1,r1,48                               
ffc0c6dc:	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 );               
ffc0c6e0:	38 60 01 08 	li      r3,264                                 
ffc0c6e4:	48 00 13 e5 	bl      ffc0dac8 <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0c6e8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0c6ec:	40 82 fe c4 	bne+    ffc0c5b0 <_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;                                             
ffc0c6f0:	3b 60 00 00 	li      r27,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;                                  
ffc0c6f4:	3b 20 00 00 	li      r25,0                                  
ffc0c6f8:	4b ff ff 78 	b       ffc0c670 <_Thread_Initialize+0x15c>    
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
ffc0c6fc:	39 29 00 01 	addi    r9,r9,1                                
ffc0c700:	55 23 10 3a 	rlwinm  r3,r9,2,0,29                           
ffc0c704:	48 00 13 c5 	bl      ffc0dac8 <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0c708:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0c70c:	41 82 00 40 	beq-    ffc0c74c <_Thread_Initialize+0x238>    
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0c710:	93 7f 01 34 	stw     r27,308(r31)                           
ffc0c714:	7f 6b db 78 	mr      r11,r27                                
   * 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++ )              
ffc0c718:	38 00 00 00 	li      r0,0                                   
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0c71c:	81 1e 27 e8 	lwz     r8,10216(r30)                          
ffc0c720:	39 20 00 00 	li      r9,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;                               
ffc0c724:	39 40 00 00 	li      r10,0                                  
ffc0c728:	48 00 00 08 	b       ffc0c730 <_Thread_Initialize+0x21c>    
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0c72c:	81 7f 01 34 	lwz     r11,308(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++ )              
ffc0c730:	39 29 00 01 	addi    r9,r9,1                                
ffc0c734:	7f 89 40 40 	cmplw   cr7,r9,r8                              
      the_thread->extensions[i] = NULL;                               
ffc0c738:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0c73c:	7d 4b 01 2e 	stwx    r10,r11,r0                             
   * 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++ )              
ffc0c740:	7d 20 4b 78 	mr      r0,r9                                  
ffc0c744:	40 9d ff e8 	ble+    cr7,ffc0c72c <_Thread_Initialize+0x218>
ffc0c748:	4b ff fe 9c 	b       ffc0c5e4 <_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;                                  
ffc0c74c:	3b 20 00 00 	li      r25,0                                  
ffc0c750:	4b ff ff 20 	b       ffc0c670 <_Thread_Initialize+0x15c>    
                                                                      

ffc0d968 <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0d968:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d96c:	7c 08 02 a6 	mflr    r0                                     
ffc0d970:	90 01 00 1c 	stw     r0,28(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0d974:	80 03 00 10 	lwz     r0,16(r3)                              
ffc0d978:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d97c:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0d980:	70 09 00 01 	andi.   r9,r0,1                                
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0d984:	93 c1 00 10 	stw     r30,16(r1)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0d988:	38 00 00 00 	li      r0,0                                   
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0d98c:	41 82 00 20 	beq-    ffc0d9ac <_Thread_Restart+0x44>        
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
ffc0d990:	7c 03 03 78 	mr      r3,r0                                  
ffc0d994:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d998:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d99c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d9a0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d9a4:	38 21 00 18 	addi    r1,r1,24                               
ffc0d9a8:	4e 80 00 20 	blr                                            
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0d9ac:	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 );                         
ffc0d9b0:	3f c0 00 00 	lis     r30,0                                  
ffc0d9b4:	3b de 2d d8 	addi    r30,r30,11736                          
ffc0d9b8:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0d9bc:	48 00 01 05 	bl      ffc0dac0 <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0d9c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d9c4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0d9c8:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0d9cc:	48 00 3d cd 	bl      ffc11798 <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0d9d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d9d4:	48 00 3a 31 	bl      ffc11404 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0d9d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d9dc:	48 00 3d 6d 	bl      ffc11748 <_Thread_Ready>               
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
ffc0d9e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d9e4:	48 00 07 69 	bl      ffc0e14c <_User_extensions_Thread_restart>
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0d9e8:	81 3e 00 0c 	lwz     r9,12(r30)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0d9ec:	38 00 00 01 	li      r0,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0d9f0:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0d9f4:	40 9e ff 9c 	bne+    cr7,ffc0d990 <_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 )                        
ffc0d9f8:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0d9fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0da00:	41 9e 00 0c 	beq-    cr7,ffc0da0c <_Thread_Restart+0xa4>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0da04:	38 7f 01 24 	addi    r3,r31,292                             
ffc0da08:	48 01 06 f9 	bl      ffc1e100 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0da0c:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc0da10:	38 63 00 c4 	addi    r3,r3,196                              
ffc0da14:	48 01 08 ad 	bl      ffc1e2c0 <_CPU_Context_restore>        
                                                                      

ffc0cda0 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0cda0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0cda4:	7c 08 02 a6 	mflr    r0                                     
ffc0cda8:	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 )                                            
ffc0cdac:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0cdb0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0cdb4:	7c 9e 23 78 	mr      r30,r4                                 
ffc0cdb8:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0cdbc:	93 a1 00 1c 	stw     r29,28(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0cdc0:	41 82 00 10 	beq-    ffc0cdd0 <_Thread_queue_Requeue+0x30>  <== 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 ) {
ffc0cdc4:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc0cdc8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0cdcc:	41 9e 00 20 	beq-    cr7,ffc0cdec <_Thread_queue_Requeue+0x4c><== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0cdd0:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc0cdd4:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc0cdd8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0cddc:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc0cde0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc0cde4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc0cde8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0cdec:	7f a0 00 a6 	mfmsr   r29                                    
ffc0cdf0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0cdf4:	7f a9 48 78 	andc    r9,r29,r9                              
ffc0cdf8:	7d 20 01 24 	mtmsr   r9                                     
ffc0cdfc:	3d 60 00 03 	lis     r11,3                                  
ffc0ce00:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0ce04:	61 6b be e0 	ori     r11,r11,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 ) ) {
ffc0ce08:	7d 6a 48 39 	and.    r10,r11,r9                             
ffc0ce0c:	40 82 00 24 	bne-    ffc0ce30 <_Thread_queue_Requeue+0x90>  <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ce10:	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 );                                             
  }                                                                   
}                                                                     
ffc0ce14:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0ce18:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0ce1c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce20:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0ce24:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0ce28:	38 21 00 28 	addi    r1,r1,40                               
ffc0ce2c:	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;
ffc0ce30:	90 1f 00 30 	stw     r0,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 );  
ffc0ce34:	38 a0 00 01 	li      r5,1                                   
ffc0ce38:	48 00 3b a5 	bl      ffc109dc <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0ce3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ce40:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ce44:	38 a1 00 08 	addi    r5,r1,8                                
ffc0ce48:	4b ff fc 81 	bl      ffc0cac8 <_Thread_queue_Enqueue_priority>
ffc0ce4c:	7f a0 01 24 	mtmsr   r29                                    
ffc0ce50:	4b ff ff c4 	b       ffc0ce14 <_Thread_queue_Requeue+0x74>  
                                                                      

ffc0ce54 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0ce54:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ce58:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0ce5c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0ce60:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0ce64:	4b ff f5 e1 	bl      ffc0c444 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0ce68:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ce6c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ce70:	40 9e 00 1c 	bne-    cr7,ffc0ce8c <_Thread_queue_Timeout+0x38><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
ffc0ce74:	48 00 3c 69 	bl      ffc10adc <_Thread_queue_Process_timeout>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level--;                                 
ffc0ce78:	3d 20 00 00 	lis     r9,0                                   
ffc0ce7c:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0ce80:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0ce84:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0ce88:	80 09 27 c8 	lwz     r0,10184(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0ce8c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ce90:	38 21 00 18 	addi    r1,r1,24                               
ffc0ce94:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce98:	4e 80 00 20 	blr                                            
                                                                      

ffc1c4a8 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc1c4a8:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc1c4ac:	7c 08 02 a6 	mflr    r0                                     
ffc1c4b0:	92 a1 00 3c 	stw     r21,60(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1c4b4:	3a a1 00 14 	addi    r21,r1,20                              
ffc1c4b8:	90 01 00 6c 	stw     r0,108(r1)                             
  head->previous = NULL;                                              
ffc1c4bc:	38 00 00 00 	li      r0,0                                   
ffc1c4c0:	92 e1 00 44 	stw     r23,68(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1c4c4:	3a e1 00 0c 	addi    r23,r1,12                              
ffc1c4c8:	93 41 00 50 	stw     r26,80(r1)                             
ffc1c4cc:	3b 41 00 18 	addi    r26,r1,24                              
ffc1c4d0:	93 81 00 58 	stw     r28,88(r1)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1c4d4:	3b 81 00 08 	addi    r28,r1,8                               
ffc1c4d8:	92 81 00 38 	stw     r20,56(r1)                             
ffc1c4dc:	3e 80 00 00 	lis     r20,0                                  
ffc1c4e0:	3a 94 28 9c 	addi    r20,r20,10396                          
ffc1c4e4:	93 01 00 48 	stw     r24,72(r1)                             
ffc1c4e8:	3f 00 00 00 	lis     r24,0                                  
ffc1c4ec:	3b 18 28 d0 	addi    r24,r24,10448                          
ffc1c4f0:	93 21 00 4c 	stw     r25,76(r1)                             
ffc1c4f4:	3f 20 00 00 	lis     r25,0                                  
ffc1c4f8:	3b 39 28 b4 	addi    r25,r25,10420                          
ffc1c4fc:	93 c1 00 60 	stw     r30,96(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1c500:	93 41 00 14 	stw     r26,20(r1)                             
  head->previous = NULL;                                              
ffc1c504:	90 01 00 18 	stw     r0,24(r1)                              
  tail->previous = head;                                              
ffc1c508:	92 a1 00 1c 	stw     r21,28(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1c50c:	92 e1 00 08 	stw     r23,8(r1)                              
  head->previous = NULL;                                              
ffc1c510:	90 01 00 0c 	stw     r0,12(r1)                              
  tail->previous = head;                                              
ffc1c514:	93 81 00 10 	stw     r28,16(r1)                             
ffc1c518:	92 01 00 28 	stw     r16,40(r1)                             
ffc1c51c:	3a 03 00 08 	addi    r16,r3,8                               
ffc1c520:	92 21 00 2c 	stw     r17,44(r1)                             
ffc1c524:	3a 23 00 40 	addi    r17,r3,64                              
ffc1c528:	92 41 00 30 	stw     r18,48(r1)                             
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc1c52c:	3a 40 00 00 	li      r18,0                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1c530:	92 61 00 34 	stw     r19,52(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;                                              
ffc1c534:	3a 60 00 01 	li      r19,1                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1c538:	92 c1 00 40 	stw     r22,64(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;                        
ffc1c53c:	3a c0 00 00 	li      r22,0                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1c540:	93 61 00 54 	stw     r27,84(r1)                             
ffc1c544:	3b 63 00 68 	addi    r27,r3,104                             
ffc1c548:	93 a1 00 5c 	stw     r29,92(r1)                             
ffc1c54c:	3b a3 00 30 	addi    r29,r3,48                              
ffc1c550:	93 e1 00 64 	stw     r31,100(r1)                            
ffc1c554:	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;                                    
ffc1c558:	92 bf 00 78 	stw     r21,120(r31)                           
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1c55c:	7f 85 e3 78 	mr      r5,r28                                 
ffc1c560:	7f a3 eb 78 	mr      r3,r29                                 
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc1c564:	80 18 00 00 	lwz     r0,0(r24)                              
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
ffc1c568:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1c56c:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1c570:	7c 84 00 50 	subf    r4,r4,r0                               
ffc1c574:	48 00 57 c9 	bl      ffc21d3c <_Watchdog_Adjust_to_chain>   
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
ffc1c578:	83 d9 00 00 	lwz     r30,0(r25)                             
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc1c57c:	80 bf 00 74 	lwz     r5,116(r31)                            
  /*                                                                  
   *  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 ) {                                   
ffc1c580:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc1c584:	41 9d 00 98 	bgt-    cr7,ffc1c61c <_Timer_server_Body+0x174>
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc1c588:	41 9c 00 a8 	blt-    cr7,ffc1c630 <_Timer_server_Body+0x188>
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1c58c:	93 df 00 74 	stw     r30,116(r31)                           
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc1c590:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1c594:	48 00 0e 35 	bl      ffc1d3c8 <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc1c598:	7c 64 1b 79 	mr.     r4,r3                                  
ffc1c59c:	41 82 00 34 	beq-    ffc1c5d0 <_Timer_server_Body+0x128>    <== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1c5a0:	80 04 00 38 	lwz     r0,56(r4)                              <== NOT EXECUTED
ffc1c5a4:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1c5a8:	2f 00 00 03 	cmpwi   cr6,r0,3                               <== NOT EXECUTED
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1c5ac:	41 9e 00 98 	beq-    cr7,ffc1c644 <_Timer_server_Body+0x19c><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1c5b0:	40 9a ff e0 	bne+    cr6,ffc1c590 <_Timer_server_Body+0xe8> <== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1c5b4:	38 84 00 10 	addi    r4,r4,16                               <== NOT EXECUTED
ffc1c5b8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1c5bc:	48 00 58 39 	bl      ffc21df4 <_Watchdog_Insert>            <== NOT EXECUTED
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc1c5c0:	80 7f 00 78 	lwz     r3,120(r31)                            <== NOT EXECUTED
ffc1c5c4:	48 00 0e 05 	bl      ffc1d3c8 <_Chain_Get>                  <== NOT EXECUTED
                                                                      
    if ( timer == NULL ) {                                            
ffc1c5c8:	7c 64 1b 79 	mr.     r4,r3                                  <== NOT EXECUTED
ffc1c5cc:	40 82 ff d4 	bne+    ffc1c5a0 <_Timer_server_Body+0xf8>     <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1c5d0:	7d 20 00 a6 	mfmsr   r9                                     
ffc1c5d4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1c5d8:	7d 20 00 78 	andc    r0,r9,r0                               
ffc1c5dc:	7c 00 01 24 	mtmsr   r0                                     
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
ffc1c5e0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1c5e4:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc1c5e8:	41 9e 00 6c 	beq-    cr7,ffc1c654 <_Timer_server_Body+0x1ac><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1c5ec:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc1c5f0:	80 18 00 00 	lwz     r0,0(r24)                              <== NOT EXECUTED
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1c5f4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
ffc1c5f8:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1c5fc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1c600:	90 1f 00 3c 	stw     r0,60(r31)                             <== NOT EXECUTED
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1c604:	7c 84 00 50 	subf    r4,r4,r0                               <== NOT EXECUTED
ffc1c608:	48 00 57 35 	bl      ffc21d3c <_Watchdog_Adjust_to_chain>   <== NOT EXECUTED
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
ffc1c60c:	83 d9 00 00 	lwz     r30,0(r25)                             <== NOT EXECUTED
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc1c610:	80 bf 00 74 	lwz     r5,116(r31)                            <== NOT EXECUTED
  /*                                                                  
   *  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 ) {                                   
ffc1c614:	7f 9e 28 40 	cmplw   cr7,r30,r5                             <== NOT EXECUTED
ffc1c618:	40 9d ff 70 	ble+    cr7,ffc1c588 <_Timer_server_Body+0xe0> <== NOT EXECUTED
    /*                                                                
     *  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 );
ffc1c61c:	7c 85 f0 50 	subf    r4,r5,r30                              
ffc1c620:	7f 63 db 78 	mr      r3,r27                                 
ffc1c624:	7f 85 e3 78 	mr      r5,r28                                 
ffc1c628:	48 00 57 15 	bl      ffc21d3c <_Watchdog_Adjust_to_chain>   
ffc1c62c:	4b ff ff 60 	b       ffc1c58c <_Timer_server_Body+0xe4>     
     /*                                                               
      *  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 ); 
ffc1c630:	7f 63 db 78 	mr      r3,r27                                 
ffc1c634:	38 80 00 01 	li      r4,1                                   
ffc1c638:	7c be 28 50 	subf    r5,r30,r5                              
ffc1c63c:	48 00 55 e5 	bl      ffc21c20 <_Watchdog_Adjust>            
ffc1c640:	4b ff ff 4c 	b       ffc1c58c <_Timer_server_Body+0xe4>     
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1c644:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1c648:	38 84 00 10 	addi    r4,r4,16                               <== NOT EXECUTED
ffc1c64c:	48 00 57 a9 	bl      ffc21df4 <_Watchdog_Insert>            <== NOT EXECUTED
ffc1c650:	4b ff ff 40 	b       ffc1c590 <_Timer_server_Body+0xe8>     <== NOT EXECUTED
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
ffc1c654:	90 9f 00 78 	stw     r4,120(r31)                            
ffc1c658:	7d 20 01 24 	mtmsr   r9                                     
  _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 ) ) {                          
ffc1c65c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1c660:	7f 80 b8 00 	cmpw    cr7,r0,r23                             
ffc1c664:	40 be 00 30 	bne+    cr7,ffc1c694 <_Timer_server_Body+0x1ec>
ffc1c668:	48 00 00 50 	b       ffc1c6b8 <_Timer_server_Body+0x210>    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc1c66c:	81 69 00 00 	lwz     r11,0(r9)                              
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
ffc1c670:	93 8b 00 04 	stw     r28,4(r11)                             
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
ffc1c674:	91 61 00 08 	stw     r11,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;                        
ffc1c678:	92 c9 00 08 	stw     r22,8(r9)                              
ffc1c67c:	7c 00 01 24 	mtmsr   r0                                     
        /*                                                            
         *  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 );    
ffc1c680:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1c684:	80 69 00 20 	lwz     r3,32(r9)                              
ffc1c688:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1c68c:	7c 09 03 a6 	mtctr   r0                                     
ffc1c690:	4e 80 04 21 	bctrl                                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1c694:	7c 00 00 a6 	mfmsr   r0                                     
ffc1c698:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1c69c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc1c6a0:	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;                    
ffc1c6a4:	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))                                   
ffc1c6a8:	7f 89 b8 00 	cmpw    cr7,r9,r23                             
ffc1c6ac:	40 9e ff c0 	bne+    cr7,ffc1c66c <_Timer_server_Body+0x1c4>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1c6b0:	7c 00 01 24 	mtmsr   r0                                     
ffc1c6b4:	4b ff fe a4 	b       ffc1c558 <_Timer_server_Body+0xb0>     
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc1c6b8:	9a 5f 00 7c 	stb     r18,124(r31)                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc1c6bc:	80 14 00 00 	lwz     r0,0(r20)                              
ffc1c6c0:	30 00 00 01 	addic   r0,r0,1                                
ffc1c6c4:	90 14 00 00 	stw     r0,0(r20)                              
    return _Thread_Dispatch_disable_level;                            
ffc1c6c8:	80 14 00 00 	lwz     r0,0(r20)                              
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc1c6cc:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1c6d0:	38 80 00 08 	li      r4,8                                   
ffc1c6d4:	48 00 4c 45 	bl      ffc21318 <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc1c6d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c6dc:	4b ff fc a5 	bl      ffc1c380 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc1c6e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c6e4:	4b ff fd 31 	bl      ffc1c414 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc1c6e8:	48 00 40 bd 	bl      ffc207a4 <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc1c6ec:	9a 7f 00 7c 	stb     r19,124(r31)                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc1c6f0:	7e 03 83 78 	mr      r3,r16                                 
ffc1c6f4:	48 00 58 c9 	bl      ffc21fbc <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc1c6f8:	7e 23 8b 78 	mr      r3,r17                                 
ffc1c6fc:	48 00 58 c1 	bl      ffc21fbc <_Watchdog_Remove>            
ffc1c700:	4b ff fe 58 	b       ffc1c558 <_Timer_server_Body+0xb0>     
                                                                      

ffc1c704 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc1c704:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1c708:	7c 08 02 a6 	mflr    r0                                     
ffc1c70c:	7c 89 23 78 	mr      r9,r4                                  
ffc1c710:	90 01 00 14 	stw     r0,20(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc1c714:	80 03 00 78 	lwz     r0,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1c718:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1c71c:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc1c720:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c724:	41 9e 00 20 	beq-    cr7,ffc1c744 <_Timer_server_Schedule_operation_method+0x40><== ALWAYS TAKEN
     *  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 );           
ffc1c728:	80 63 00 78 	lwz     r3,120(r3)                             <== NOT EXECUTED
ffc1c72c:	48 00 0c 45 	bl      ffc1d370 <_Chain_Append>               <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc1c730:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc1c734:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1c738:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1c73c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1c740:	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)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc1c744:	3d 60 00 00 	lis     r11,0                                  
ffc1c748:	81 4b 28 9c 	lwz     r10,10396(r11)                         
ffc1c74c:	38 0a 00 01 	addi    r0,r10,1                               
ffc1c750:	90 0b 28 9c 	stw     r0,10396(r11)                          
    return _Thread_Dispatch_disable_level;                            
ffc1c754:	80 0b 28 9c 	lwz     r0,10396(r11)                          
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1c758:	80 04 00 38 	lwz     r0,56(r4)                              
ffc1c75c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1c760:	41 9e 00 ac 	beq-    cr7,ffc1c80c <_Timer_server_Schedule_operation_method+0x108>
    _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 ) {       
ffc1c764:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1c768:	41 9e 00 1c 	beq-    cr7,ffc1c784 <_Timer_server_Schedule_operation_method+0x80>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1c76c:	48 00 40 39 	bl      ffc207a4 <_Thread_Enable_dispatch>     
     *  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 );           
  }                                                                   
}                                                                     
ffc1c770:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1c774:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1c778:	38 21 00 10 	addi    r1,r1,16                               
ffc1c77c:	7c 08 03 a6 	mtlr    r0                                     
ffc1c780:	4e 80 00 20 	blr                                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1c784:	7c c0 00 a6 	mfmsr   r6                                     
ffc1c788:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1c78c:	7c c0 00 78 	andc    r0,r6,r0                               
ffc1c790:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc1c794:	81 63 00 68 	lwz     r11,104(r3)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1c798:	38 03 00 6c 	addi    r0,r3,108                              
    /*                                                                
     *  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();        
ffc1c79c:	3d 40 00 00 	lis     r10,0                                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1c7a0:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
    /*                                                                
     *  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();        
ffc1c7a4:	80 0a 28 b4 	lwz     r0,10420(r10)                          
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc1c7a8:	81 43 00 74 	lwz     r10,116(r3)                            
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1c7ac:	41 9e 00 30 	beq-    cr7,ffc1c7dc <_Timer_server_Schedule_operation_method+0xd8>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1c7b0:	7f 80 50 40 	cmplw   cr7,r0,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;                
ffc1c7b4:	80 eb 00 10 	lwz     r7,16(r11)                             
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc1c7b8:	7d 07 52 14 	add     r8,r7,r10                              
        delta_interval += delta;                                      
ffc1c7bc:	7d 00 40 50 	subf    r8,r0,r8                               
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1c7c0:	40 9d 00 18 	ble-    cr7,ffc1c7d8 <_Timer_server_Schedule_operation_method+0xd4>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc1c7c4:	7d 4a 00 50 	subf    r10,r10,r0                             
        if (delta_interval > delta) {                                 
ffc1c7c8:	7f 87 50 40 	cmplw   cr7,r7,r10                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc1c7cc:	39 00 00 00 	li      r8,0                                   
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc1c7d0:	40 9d 00 08 	ble-    cr7,ffc1c7d8 <_Timer_server_Schedule_operation_method+0xd4><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc1c7d4:	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;                
ffc1c7d8:	91 0b 00 10 	stw     r8,16(r11)                             
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc1c7dc:	90 1f 00 74 	stw     r0,116(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1c7e0:	7c c0 01 24 	mtmsr   r6                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1c7e4:	38 7f 00 68 	addi    r3,r31,104                             
ffc1c7e8:	38 89 00 10 	addi    r4,r9,16                               
ffc1c7ec:	48 00 56 09 	bl      ffc21df4 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1c7f0:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc1c7f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c7f8:	40 9e ff 74 	bne+    cr7,ffc1c76c <_Timer_server_Schedule_operation_method+0x68>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc1c7fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c800:	4b ff fc 15 	bl      ffc1c414 <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1c804:	48 00 3f a1 	bl      ffc207a4 <_Thread_Enable_dispatch>     
ffc1c808:	4b ff ff 68 	b       ffc1c770 <_Timer_server_Schedule_operation_method+0x6c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1c80c:	7c c0 00 a6 	mfmsr   r6                                     
ffc1c810:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1c814:	7c c0 00 78 	andc    r0,r6,r0                               
ffc1c818:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc1c81c:	81 63 00 30 	lwz     r11,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 );                            
ffc1c820:	38 03 00 34 	addi    r0,r3,52                               
    /*                                                                
     *  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;                            
ffc1c824:	3d 40 00 00 	lis     r10,0                                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1c828:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
    /*                                                                
     *  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;                            
ffc1c82c:	80 0a 28 d0 	lwz     r0,10448(r10)                          
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc1c830:	81 03 00 3c 	lwz     r8,60(r3)                              
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1c834:	41 9e 00 20 	beq-    cr7,ffc1c854 <_Timer_server_Schedule_operation_method+0x150>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc1c838:	80 eb 00 10 	lwz     r7,16(r11)                             
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
ffc1c83c:	7d 08 00 50 	subf    r8,r8,r0                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
ffc1c840:	39 40 00 00 	li      r10,0                                  
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
ffc1c844:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc1c848:	40 9c 00 08 	bge-    cr7,ffc1c850 <_Timer_server_Schedule_operation_method+0x14c>
        delta_interval -= delta;                                      
ffc1c84c:	7d 48 38 50 	subf    r10,r8,r7                              
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc1c850:	91 4b 00 10 	stw     r10,16(r11)                            
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc1c854:	90 1f 00 3c 	stw     r0,60(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1c858:	7c c0 01 24 	mtmsr   r6                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1c85c:	38 7f 00 30 	addi    r3,r31,48                              
ffc1c860:	38 89 00 10 	addi    r4,r9,16                               
ffc1c864:	48 00 55 91 	bl      ffc21df4 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1c868:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc1c86c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c870:	40 9e fe fc 	bne+    cr7,ffc1c76c <_Timer_server_Schedule_operation_method+0x68>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc1c874:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c878:	4b ff fb 09 	bl      ffc1c380 <_Timer_server_Reset_interval_system_watchdog>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1c87c:	48 00 3f 29 	bl      ffc207a4 <_Thread_Enable_dispatch>     
ffc1c880:	4b ff fe f0 	b       ffc1c770 <_Timer_server_Schedule_operation_method+0x6c>
                                                                      

ffc0d168 <_Timespec_Add_to>: { uint32_t seconds = add->tv_sec; /* Add the basics */ time->tv_sec += add->tv_sec; time->tv_nsec += add->tv_nsec;
ffc0d168:	81 03 00 04 	lwz     r8,4(r3)                               
                                                                      
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
ffc0d16c:	7c 69 1b 78 	mr      r9,r3                                  
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0d170:	80 04 00 04 	lwz     r0,4(r4)                               
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
ffc0d174:	80 64 00 00 	lwz     r3,0(r4)                               
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0d178:	7d 08 02 14 	add     r8,r8,r0                               
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0d17c:	81 49 00 00 	lwz     r10,0(r9)                              
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0d180:	3c 00 3b 9a 	lis     r0,15258                               
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0d184:	91 09 00 04 	stw     r8,4(r9)                               
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0d188:	60 00 c9 ff 	ori     r0,r0,51711                            
ffc0d18c:	7f 88 00 40 	cmplw   cr7,r8,r0                              
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0d190:	7d 4a 1a 14 	add     r10,r10,r3                             
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0d194:	7d 0b 43 78 	mr      r11,r8                                 
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0d198:	91 49 00 00 	stw     r10,0(r9)                              
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0d19c:	4c 9d 00 20 	blelr   cr7                                    
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
ffc0d1a0:	3d 6b c4 65 	addis   r11,r11,-15259                         
ffc0d1a4:	39 6b 36 00 	addi    r11,r11,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 ) {             
ffc0d1a8:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
ffc0d1ac:	39 4a 00 01 	addi    r10,r10,1                              
    seconds++;                                                        
ffc0d1b0:	38 63 00 01 	addi    r3,r3,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 ) {             
ffc0d1b4:	41 9d ff ec 	bgt+    cr7,ffc0d1a0 <_Timespec_Add_to+0x38>   <== NEVER TAKEN
ffc0d1b8:	91 69 00 04 	stw     r11,4(r9)                              
ffc0d1bc:	91 49 00 00 	stw     r10,0(r9)                              
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
ffc0d1c0:	4e 80 00 20 	blr                                            
                                                                      

ffc0d400 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0d400:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d404:	7c 08 02 a6 	mflr    r0                                     
ffc0d408:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0d40c:	3f c0 00 00 	lis     r30,0                                  
ffc0d410:	3b de 2d 74 	addi    r30,r30,11636                          
ffc0d414:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0d418:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0d41c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0d420:	7c 7b 1b 78 	mr      r27,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d424:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0d428:	93 81 00 10 	stw     r28,16(r1)                             
ffc0d42c:	7c 9c 23 78 	mr      r28,r4                                 
ffc0d430:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0d434:	7c bd 2b 78 	mr      r29,r5                                 
ffc0d438:	90 01 00 24 	stw     r0,36(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d43c:	41 9e 00 30 	beq-    cr7,ffc0d46c <_User_extensions_Fatal+0x6c><== NEVER TAKEN
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0d440:	80 1f 00 30 	lwz     r0,48(r31)                             
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0d444:	7f 63 db 78 	mr      r3,r27                                 
ffc0d448:	7f 84 e3 78 	mr      r4,r28                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0d44c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0d450:	7f a5 eb 78 	mr      r5,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0d454:	41 9e 00 0c 	beq-    cr7,ffc0d460 <_User_extensions_Fatal+0x60>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0d458:	7c 09 03 a6 	mtctr   r0                                     
ffc0d45c:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0d460:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d464:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d468:	40 9e ff d8 	bne+    cr7,ffc0d440 <_User_extensions_Fatal+0x40>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0d46c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d470:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d474:	7c 08 03 a6 	mtlr    r0                                     
ffc0d478:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d47c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d480:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d484:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d488:	38 21 00 20 	addi    r1,r1,32                               
ffc0d48c:	4e 80 00 20 	blr                                            
                                                                      

ffc0d210 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
ffc0d210:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d214:	7c 08 02 a6 	mflr    r0                                     
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0d218:	3c e0 00 00 	lis     r7,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0d21c:	90 01 00 1c 	stw     r0,28(r1)                              
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0d220:	38 e7 20 04 	addi    r7,r7,8196                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d224:	3d 00 00 00 	lis     r8,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0d228:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d22c:	3d 40 00 00 	lis     r10,0                                  
ffc0d230:	39 68 2d 74 	addi    r11,r8,11636                           
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
  initial_extensions   = Configuration.User_extension_table;          
ffc0d234:	83 a7 00 3c 	lwz     r29,60(r7)                             
ffc0d238:	39 2a 2c 50 	addi    r9,r10,11344                           
  head->previous = NULL;                                              
ffc0d23c:	38 00 00 00 	li      r0,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0d240:	93 c1 00 10 	stw     r30,16(r1)                             
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0d244:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d248:	38 ab 00 04 	addi    r5,r11,4                               
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0d24c:	93 81 00 08 	stw     r28,8(r1)                              
ffc0d250:	38 c9 00 04 	addi    r6,r9,4                                
ffc0d254:	93 e1 00 14 	stw     r31,20(r1)                             
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0d258:	83 c7 00 38 	lwz     r30,56(r7)                             
ffc0d25c:	90 a8 2d 74 	stw     r5,11636(r8)                           
  head->previous = NULL;                                              
ffc0d260:	90 0b 00 04 	stw     r0,4(r11)                              
  tail->previous = head;                                              
ffc0d264:	91 6b 00 08 	stw     r11,8(r11)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d268:	90 ca 2c 50 	stw     r6,11344(r10)                          
  head->previous = NULL;                                              
ffc0d26c:	90 09 00 04 	stw     r0,4(r9)                               
  tail->previous = head;                                              
ffc0d270:	91 29 00 08 	stw     r9,8(r9)                               
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0d274:	41 9e 00 88 	beq-    cr7,ffc0d2fc <_User_extensions_Handler_initialization+0xec><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
ffc0d278:	1f 9e 00 34 	mulli   r28,r30,52                             
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
ffc0d27c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0d280:	48 00 08 a9 	bl      ffc0db28 <_Workspace_Allocate_or_fatal_error>
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0d284:	38 80 00 00 	li      r4,0                                   
ffc0d288:	7f 85 e3 78 	mr      r5,r28                                 
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
ffc0d28c:	7c 7f 1b 78 	mr      r31,r3                                 
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0d290:	48 00 66 ed 	bl      ffc1397c <memset>                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0d294:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d298:	41 9e 00 64 	beq-    cr7,ffc0d2fc <_User_extensions_Handler_initialization+0xec><== NEVER TAKEN
ffc0d29c:	3b 80 00 00 	li      r28,0                                  
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0d2a0:	81 5d 00 00 	lwz     r10,0(r29)                             
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0d2a4:	7f e3 fb 78 	mr      r3,r31                                 
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0d2a8:	81 7d 00 04 	lwz     r11,4(r29)                             
ffc0d2ac:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0d2b0:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc0d2b4:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc0d2b8:	91 5f 00 14 	stw     r10,20(r31)                            
ffc0d2bc:	91 7f 00 18 	stw     r11,24(r31)                            
ffc0d2c0:	91 3f 00 1c 	stw     r9,28(r31)                             
ffc0d2c4:	90 1f 00 20 	stw     r0,32(r31)                             
ffc0d2c8:	81 5d 00 10 	lwz     r10,16(r29)                            
ffc0d2cc:	81 7d 00 14 	lwz     r11,20(r29)                            
ffc0d2d0:	81 3d 00 18 	lwz     r9,24(r29)                             
ffc0d2d4:	80 1d 00 1c 	lwz     r0,28(r29)                             
ffc0d2d8:	3b bd 00 20 	addi    r29,r29,32                             
ffc0d2dc:	91 5f 00 24 	stw     r10,36(r31)                            
ffc0d2e0:	91 7f 00 28 	stw     r11,40(r31)                            
ffc0d2e4:	91 3f 00 2c 	stw     r9,44(r31)                             
ffc0d2e8:	90 1f 00 30 	stw     r0,48(r31)                             
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
ffc0d2ec:	3b ff 00 34 	addi    r31,r31,52                             
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0d2f0:	48 00 38 a5 	bl      ffc10b94 <_User_extensions_Add_set>    
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0d2f4:	7f 9c f0 00 	cmpw    cr7,r28,r30                            
ffc0d2f8:	40 9e ff a8 	bne+    cr7,ffc0d2a0 <_User_extensions_Handler_initialization+0x90>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
ffc0d2fc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d300:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d304:	7c 08 03 a6 	mtlr    r0                                     
ffc0d308:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d30c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d310:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d314:	38 21 00 18 	addi    r1,r1,24                               
ffc0d318:	4e 80 00 20 	blr                                            
                                                                      

ffc0d31c <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
ffc0d31c:	94 21 ff e8 	stwu    r1,-24(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d320:	3d 20 00 00 	lis     r9,0                                   
ffc0d324:	7c 08 02 a6 	mflr    r0                                     
ffc0d328:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d32c:	3b c9 2d 74 	addi    r30,r9,11636                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d330:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0d334:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d338:	83 e9 2d 74 	lwz     r31,11636(r9)                          
ffc0d33c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d340:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d344:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0d348:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d34c:	41 9e 00 28 	beq-    cr7,ffc0d374 <_User_extensions_Thread_begin+0x58><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
ffc0d350:	80 1f 00 28 	lwz     r0,40(r31)                             
      (*the_extension->Callouts.thread_begin)( executing );           
ffc0d354:	7f a3 eb 78 	mr      r3,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
ffc0d358:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d35c:	41 9e 00 0c 	beq-    cr7,ffc0d368 <_User_extensions_Thread_begin+0x4c>
      (*the_extension->Callouts.thread_begin)( executing );           
ffc0d360:	7c 09 03 a6 	mtctr   r0                                     
ffc0d364:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0d368:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d36c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d370:	40 9e ff e0 	bne+    cr7,ffc0d350 <_User_extensions_Thread_begin+0x34>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
ffc0d374:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d378:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d37c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d380:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d384:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d388:	38 21 00 18 	addi    r1,r1,24                               
ffc0d38c:	4e 80 00 20 	blr                                            
                                                                      

ffc0d490 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
ffc0d490:	94 21 ff e8 	stwu    r1,-24(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d494:	3d 20 00 00 	lis     r9,0                                   
ffc0d498:	7c 08 02 a6 	mflr    r0                                     
ffc0d49c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d4a0:	3b c9 2d 74 	addi    r30,r9,11636                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d4a4:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d4a8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d4ac:	83 e9 2d 74 	lwz     r31,11636(r9)                          
ffc0d4b0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d4b4:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d4b8:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d4bc:	90 01 00 1c 	stw     r0,28(r1)                              
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
ffc0d4c0:	38 60 00 01 	li      r3,1                                   
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d4c4:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d4c8:	41 9e 00 40 	beq-    cr7,ffc0d508 <_User_extensions_Thread_create+0x78><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
      status = (*the_extension->Callouts.thread_create)(              
ffc0d4cc:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
ffc0d4d0:	80 1f 00 14 	lwz     r0,20(r31)                             
      status = (*the_extension->Callouts.thread_create)(              
ffc0d4d4:	39 3c 2d b8 	addi    r9,r28,11704                           
ffc0d4d8:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
ffc0d4dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d4e0:	41 9e 00 18 	beq-    cr7,ffc0d4f8 <_User_extensions_Thread_create+0x68>
      status = (*the_extension->Callouts.thread_create)(              
ffc0d4e4:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0d4e8:	7c 09 03 a6 	mtctr   r0                                     
ffc0d4ec:	4e 80 04 21 	bctrl                                          
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
ffc0d4f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d4f4:	41 9e 00 34 	beq-    cr7,ffc0d528 <_User_extensions_Thread_create+0x98>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0d4f8:	83 ff 00 00 	lwz     r31,0(r31)                             
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d4fc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d500:	40 9e ff d0 	bne+    cr7,ffc0d4d0 <_User_extensions_Thread_create+0x40>
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
ffc0d504:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc0d508:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d50c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d510:	7c 08 03 a6 	mtlr    r0                                     
ffc0d514:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d518:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d51c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d520:	38 21 00 18 	addi    r1,r1,24                               
ffc0d524:	4e 80 00 20 	blr                                            
ffc0d528:	80 01 00 1c 	lwz     r0,28(r1)                              
      status = (*the_extension->Callouts.thread_create)(              
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
        return false;                                                 
ffc0d52c:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0d530:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d534:	7c 08 03 a6 	mtlr    r0                                     
ffc0d538:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d53c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d540:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d544:	38 21 00 18 	addi    r1,r1,24                               
ffc0d548:	4e 80 00 20 	blr                                            
                                                                      

ffc0d54c <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
ffc0d54c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d550:	7c 08 02 a6 	mflr    r0                                     
ffc0d554:	93 c1 00 10 	stw     r30,16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
ffc0d558:	3f c0 00 00 	lis     r30,0                                  
ffc0d55c:	3b de 2d 74 	addi    r30,r30,11636                          
ffc0d560:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d564:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0d568:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d56c:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d570:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d574:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d578:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d57c:	41 9e 00 34 	beq-    cr7,ffc0d5b0 <_User_extensions_Thread_delete+0x64><== NEVER TAKEN
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
      (*the_extension->Callouts.thread_delete)(                       
ffc0d580:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
ffc0d584:	80 1f 00 20 	lwz     r0,32(r31)                             
      (*the_extension->Callouts.thread_delete)(                       
ffc0d588:	39 3c 2d b8 	addi    r9,r28,11704                           
ffc0d58c:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
ffc0d590:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d594:	41 9e 00 10 	beq-    cr7,ffc0d5a4 <_User_extensions_Thread_delete+0x58>
      (*the_extension->Callouts.thread_delete)(                       
ffc0d598:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0d59c:	7c 09 03 a6 	mtctr   r0                                     
ffc0d5a0:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0d5a4:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d5a8:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d5ac:	40 9e ff d8 	bne+    cr7,ffc0d584 <_User_extensions_Thread_delete+0x38>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d5b0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d5b4:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d5b8:	7c 08 03 a6 	mtlr    r0                                     
ffc0d5bc:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d5c0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d5c4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d5c8:	38 21 00 18 	addi    r1,r1,24                               
ffc0d5cc:	4e 80 00 20 	blr                                            
                                                                      

ffc0d390 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
ffc0d390:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d394:	7c 08 02 a6 	mflr    r0                                     
ffc0d398:	93 c1 00 10 	stw     r30,16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
ffc0d39c:	3f c0 00 00 	lis     r30,0                                  
ffc0d3a0:	3b de 2d 74 	addi    r30,r30,11636                          
ffc0d3a4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d3a8:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0d3ac:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d3b0:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d3b4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0d3b8:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d3bc:	41 9e 00 28 	beq-    cr7,ffc0d3e4 <_User_extensions_Thread_exitted+0x54><== NEVER TAKEN
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
ffc0d3c0:	80 1f 00 2c 	lwz     r0,44(r31)                             
      (*the_extension->Callouts.thread_exitted)( executing );         
ffc0d3c4:	7f a3 eb 78 	mr      r3,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
ffc0d3c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d3cc:	41 9e 00 0c 	beq-    cr7,ffc0d3d8 <_User_extensions_Thread_exitted+0x48>
      (*the_extension->Callouts.thread_exitted)( executing );         
ffc0d3d0:	7c 09 03 a6 	mtctr   r0                                     
ffc0d3d4:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0d3d8:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d3dc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d3e0:	40 9e ff e0 	bne+    cr7,ffc0d3c0 <_User_extensions_Thread_exitted+0x30>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
ffc0d3e4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d3e8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d3ec:	7c 08 03 a6 	mtlr    r0                                     
ffc0d3f0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d3f4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d3f8:	38 21 00 18 	addi    r1,r1,24                               
ffc0d3fc:	4e 80 00 20 	blr                                            
                                                                      

ffc0e14c <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
ffc0e14c:	94 21 ff e8 	stwu    r1,-24(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0e150:	3d 20 00 00 	lis     r9,0                                   
ffc0e154:	7c 08 02 a6 	mflr    r0                                     
ffc0e158:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0e15c:	3b c9 2d 94 	addi    r30,r9,11668                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e160:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e164:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0e168:	83 e9 2d 94 	lwz     r31,11668(r9)                          
ffc0e16c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0e170:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e174:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e178:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0e17c:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e180:	41 9e 00 34 	beq-    cr7,ffc0e1b4 <_User_extensions_Thread_restart+0x68><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
      (*the_extension->Callouts.thread_restart)(                      
ffc0e184:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
ffc0e188:	80 1f 00 1c 	lwz     r0,28(r31)                             
      (*the_extension->Callouts.thread_restart)(                      
ffc0e18c:	39 3c 2d d8 	addi    r9,r28,11736                           
ffc0e190:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
ffc0e194:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e198:	41 9e 00 10 	beq-    cr7,ffc0e1a8 <_User_extensions_Thread_restart+0x5c>
      (*the_extension->Callouts.thread_restart)(                      
ffc0e19c:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0e1a0:	7c 09 03 a6 	mtctr   r0                                     
ffc0e1a4:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0e1a8:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e1ac:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0e1b0:	40 9e ff d8 	bne+    cr7,ffc0e188 <_User_extensions_Thread_restart+0x3c>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0e1b4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e1b8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0e1bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0e1c0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e1c4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e1c8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e1cc:	38 21 00 18 	addi    r1,r1,24                               
ffc0e1d0:	4e 80 00 20 	blr                                            
                                                                      

ffc0d5d0 <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
ffc0d5d0:	94 21 ff e8 	stwu    r1,-24(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d5d4:	3d 20 00 00 	lis     r9,0                                   
ffc0d5d8:	7c 08 02 a6 	mflr    r0                                     
ffc0d5dc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d5e0:	3b c9 2d 74 	addi    r30,r9,11636                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d5e4:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d5e8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d5ec:	83 e9 2d 74 	lwz     r31,11636(r9)                          
ffc0d5f0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d5f4:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d5f8:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d5fc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d600:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d604:	41 9e 00 34 	beq-    cr7,ffc0d638 <_User_extensions_Thread_start+0x68><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
      (*the_extension->Callouts.thread_start)(                        
ffc0d608:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
ffc0d60c:	80 1f 00 18 	lwz     r0,24(r31)                             
      (*the_extension->Callouts.thread_start)(                        
ffc0d610:	39 3c 2d b8 	addi    r9,r28,11704                           
ffc0d614:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
ffc0d618:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d61c:	41 9e 00 10 	beq-    cr7,ffc0d62c <_User_extensions_Thread_start+0x5c>
      (*the_extension->Callouts.thread_start)(                        
ffc0d620:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0d624:	7c 09 03 a6 	mtctr   r0                                     
ffc0d628:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0d62c:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d630:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d634:	40 9e ff d8 	bne+    cr7,ffc0d60c <_User_extensions_Thread_start+0x3c>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d638:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d63c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d640:	7c 08 03 a6 	mtlr    r0                                     
ffc0d644:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d648:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d64c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d650:	38 21 00 18 	addi    r1,r1,24                               
ffc0d654:	4e 80 00 20 	blr                                            
                                                                      

ffc0d658 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
ffc0d658:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d65c:	3d 20 00 00 	lis     r9,0                                   
ffc0d660:	7c 08 02 a6 	mflr    r0                                     
ffc0d664:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d668:	3b c9 2c 50 	addi    r30,r9,11344                           
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d66c:	3b de 00 04 	addi    r30,r30,4                              
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d670:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d674:	83 e9 2c 50 	lwz     r31,11344(r9)                          
ffc0d678:	93 81 00 08 	stw     r28,8(r1)                              
ffc0d67c:	7c 7c 1b 78 	mr      r28,r3                                 
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d680:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d684:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d688:	7c 9d 23 78 	mr      r29,r4                                 
ffc0d68c:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d690:	41 9e 00 24 	beq-    cr7,ffc0d6b4 <_User_extensions_Thread_switch+0x5c><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
ffc0d694:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0d698:	7f 83 e3 78 	mr      r3,r28                                 
ffc0d69c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d6a0:	7c 09 03 a6 	mtctr   r0                                     
ffc0d6a4:	4e 80 04 21 	bctrl                                          
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
ffc0d6a8:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d6ac:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d6b0:	40 9e ff e4 	bne+    cr7,ffc0d694 <_User_extensions_Thread_switch+0x3c>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
ffc0d6b4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d6b8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d6bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0d6c0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d6c4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d6c8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d6cc:	38 21 00 18 	addi    r1,r1,24                               
ffc0d6d0:	4e 80 00 20 	blr                                            
                                                                      

ffc0f538 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0f538:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f53c:	7c 08 02 a6 	mflr    r0                                     
ffc0f540:	90 01 00 24 	stw     r0,36(r1)                              
ffc0f544:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0f548:	7c be 2b 78 	mr      r30,r5                                 
ffc0f54c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0f550:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f554:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0f558:	93 81 00 10 	stw     r28,16(r1)                             
ffc0f55c:	93 a1 00 14 	stw     r29,20(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f560:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f564:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f568:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0f56c:	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;                    
ffc0f570:	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 );                            
ffc0f574:	3b 83 00 04 	addi    r28,r3,4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0f578:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0f57c:	41 9e 00 68 	beq-    cr7,ffc0f5e4 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
ffc0f580:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0f584:	40 9e 00 88 	bne-    cr7,ffc0f60c <_Watchdog_Adjust+0xd4>   
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f588:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0f58c:	41 9e 00 58 	beq-    cr7,ffc0f5e4 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f590:	83 a9 00 10 	lwz     r29,16(r9)                             
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f594:	3b 60 00 01 	li      r27,1                                  
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f598:	7f 85 e8 40 	cmplw   cr7,r5,r29                             
ffc0f59c:	40 bc 00 18 	bge+    cr7,ffc0f5b4 <_Watchdog_Adjust+0x7c>   <== ALWAYS TAKEN
ffc0f5a0:	48 00 00 a8 	b       ffc0f648 <_Watchdog_Adjust+0x110>      <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f5a4:	41 82 00 40 	beq-    ffc0f5e4 <_Watchdog_Adjust+0xac>       <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f5a8:	83 a9 00 10 	lwz     r29,16(r9)                             
ffc0f5ac:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc0f5b0:	41 9d 00 98 	bgt-    cr7,ffc0f648 <_Watchdog_Adjust+0x110>  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f5b4:	93 69 00 10 	stw     r27,16(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f5b8:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0f5bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f5c0:	48 00 03 2d 	bl      ffc0f8ec <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f5c4:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f5c8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f5cc:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0f5d0:	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;                    
ffc0f5d4:	81 3f 00 00 	lwz     r9,0(r31)                              
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f5d8:	7f dd f0 51 	subf.   r30,r29,r30                            
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0f5dc:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc0f5e0:	40 9e ff c4 	bne+    cr7,ffc0f5a4 <_Watchdog_Adjust+0x6c>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f5e4:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f5e8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f5ec:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f5f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0f5f4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f5f8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f5fc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f600:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f604:	38 21 00 20 	addi    r1,r1,32                               
ffc0f608:	4e 80 00 20 	blr                                            
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0f60c:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0f610:	40 9e ff d4 	bne+    cr7,ffc0f5e4 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0f614:	81 69 00 10 	lwz     r11,16(r9)                             
ffc0f618:	7f cb 2a 14 	add     r30,r11,r5                             
ffc0f61c:	93 c9 00 10 	stw     r30,16(r9)                             
ffc0f620:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f624:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f628:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f62c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f630:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f634:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f638:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f63c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f640:	38 21 00 20 	addi    r1,r1,32                               
ffc0f644:	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;       
ffc0f648:	7f de e8 50 	subf    r30,r30,r29                            
ffc0f64c:	93 c9 00 10 	stw     r30,16(r9)                             
            break;                                                    
ffc0f650:	4b ff ff 94 	b       ffc0f5e4 <_Watchdog_Adjust+0xac>       
                                                                      

ffc0d6d4 <_Watchdog_Insert>: Watchdog_Control *after; uint32_t insert_isr_nest_level; Watchdog_Interval delta_interval; insert_isr_nest_level = _ISR_Nest_level;
ffc0d6d4:	3d 20 00 00 	lis     r9,0                                   
ffc0d6d8:	80 09 2d c0 	lwz     r0,11712(r9)                           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d6dc:	7d 00 00 a6 	mfmsr   r8                                     
ffc0d6e0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d6e4:	7d 09 48 78 	andc    r9,r8,r9                               
ffc0d6e8:	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 ) {                   
ffc0d6ec:	81 24 00 08 	lwz     r9,8(r4)                               
ffc0d6f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d6f4:	40 9e 01 04 	bne-    cr7,ffc0d7f8 <_Watchdog_Insert+0x124>  
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
ffc0d6f8:	3c c0 00 00 	lis     r6,0                                   
ffc0d6fc:	81 26 27 f8 	lwz     r9,10232(r6)                           
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
ffc0d700:	39 60 00 01 	li      r11,1                                  
ffc0d704:	91 64 00 08 	stw     r11,8(r4)                              
ffc0d708:	3c a0 00 00 	lis     r5,0                                   
  _Watchdog_Sync_count++;                                             
ffc0d70c:	39 29 00 01 	addi    r9,r9,1                                
ffc0d710:	91 26 27 f8 	stw     r9,10232(r6)                           
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
ffc0d714:	81 24 00 0c 	lwz     r9,12(r4)                              
ffc0d718:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d71c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d720:	41 9e 00 98 	beq-    cr7,ffc0d7b8 <_Watchdog_Insert+0xe4>   
ffc0d724:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d728:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d72c:	41 9e 00 8c 	beq-    cr7,ffc0d7b8 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0d730:	81 4b 00 10 	lwz     r10,16(r11)                            
ffc0d734:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0d738:	41 9c 00 c8 	blt-    cr7,ffc0d800 <_Watchdog_Insert+0x12c>  
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0d73c:	7c e0 00 a6 	mfmsr   r7                                     
ffc0d740:	7d 00 01 24 	mtmsr   r8                                     
ffc0d744:	7c e0 01 24 	mtmsr   r7                                     
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0d748:	80 e4 00 08 	lwz     r7,8(r4)                               
ffc0d74c:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc0d750:	40 9e 00 98 	bne-    cr7,ffc0d7e8 <_Watchdog_Insert+0x114>  
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d754:	81 85 27 f0 	lwz     r12,10224(r5)                          
ffc0d758:	38 e5 27 f0 	addi    r7,r5,10224                            
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0d75c:	7d 2a 48 50 	subf    r9,r10,r9                              
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d760:	7f 80 60 40 	cmplw   cr7,r0,r12                             
ffc0d764:	40 bc 00 48 	bge+    cr7,ffc0d7ac <_Watchdog_Insert+0xd8>   
ffc0d768:	48 00 00 d4 	b       ffc0d83c <_Watchdog_Insert+0x168>      
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d76c:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d770:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d774:	41 9e 00 44 	beq-    cr7,ffc0d7b8 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0d778:	81 4b 00 10 	lwz     r10,16(r11)                            
ffc0d77c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc0d780:	41 9d 00 80 	bgt-    cr7,ffc0d800 <_Watchdog_Insert+0x12c>  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0d784:	7d 2a 48 50 	subf    r9,r10,r9                              
ffc0d788:	7d 40 00 a6 	mfmsr   r10                                    
ffc0d78c:	7d 00 01 24 	mtmsr   r8                                     
ffc0d790:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0d794:	81 44 00 08 	lwz     r10,8(r4)                              
ffc0d798:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc0d79c:	40 9e 00 4c 	bne-    cr7,ffc0d7e8 <_Watchdog_Insert+0x114>  <== NEVER TAKEN
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d7a0:	81 47 00 00 	lwz     r10,0(r7)                              
ffc0d7a4:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc0d7a8:	41 9c 00 94 	blt-    cr7,ffc0d83c <_Watchdog_Insert+0x168>  <== NEVER TAKEN
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d7ac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
ffc0d7b0:	81 6b 00 00 	lwz     r11,0(r11)                             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d7b4:	40 9e ff b8 	bne+    cr7,ffc0d76c <_Watchdog_Insert+0x98>   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
ffc0d7b8:	81 6b 00 04 	lwz     r11,4(r11)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d7bc:	3c e0 00 00 	lis     r7,0                                   
ffc0d7c0:	80 e7 27 fc 	lwz     r7,10236(r7)                           
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
ffc0d7c4:	38 60 00 02 	li      r3,2                                   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0d7c8:	81 4b 00 00 	lwz     r10,0(r11)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0d7cc:	91 64 00 04 	stw     r11,4(r4)                              
ffc0d7d0:	90 64 00 08 	stw     r3,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0d7d4:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0d7d8:	90 8b 00 00 	stw     r4,0(r11)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0d7dc:	90 8a 00 04 	stw     r4,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;                                
ffc0d7e0:	91 44 00 00 	stw     r10,0(r4)                              
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d7e4:	90 e4 00 14 	stw     r7,20(r4)                              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
ffc0d7e8:	90 05 27 f0 	stw     r0,10224(r5)                           
  _Watchdog_Sync_count--;                                             
ffc0d7ec:	81 26 27 f8 	lwz     r9,10232(r6)                           
ffc0d7f0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0d7f4:	90 06 27 f8 	stw     r0,10232(r6)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d7f8:	7d 00 01 24 	mtmsr   r8                                     
ffc0d7fc:	4e 80 00 20 	blr                                            
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
ffc0d800:	7d 49 50 50 	subf    r10,r9,r10                             
ffc0d804:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d808:	3c e0 00 00 	lis     r7,0                                   
ffc0d80c:	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 );
ffc0d810:	81 6b 00 04 	lwz     r11,4(r11)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d814:	80 e7 27 fc 	lwz     r7,10236(r7)                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0d818:	81 4b 00 00 	lwz     r10,0(r11)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0d81c:	91 64 00 04 	stw     r11,4(r4)                              
ffc0d820:	90 64 00 08 	stw     r3,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0d824:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0d828:	90 8b 00 00 	stw     r4,0(r11)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0d82c:	90 8a 00 04 	stw     r4,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;                                
ffc0d830:	91 44 00 00 	stw     r10,0(r4)                              
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d834:	90 e4 00 14 	stw     r7,20(r4)                              
ffc0d838:	4b ff ff b0 	b       ffc0d7e8 <_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;                  
ffc0d83c:	90 05 27 f0 	stw     r0,10224(r5)                           
       goto restart;                                                  
ffc0d840:	4b ff fe d4 	b       ffc0d714 <_Watchdog_Insert+0x40>       
                                                                      

ffc0d89c <_Watchdog_Remove>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; __asm__ volatile (
ffc0d89c:	7d 20 00 a6 	mfmsr   r9                                     
ffc0d8a0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0d8a4:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0d8a8:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
ffc0d8ac:	80 03 00 08 	lwz     r0,8(r3)                               
  switch ( previous_state ) {                                         
ffc0d8b0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0d8b4:	41 9e 00 98 	beq-    cr7,ffc0d94c <_Watchdog_Remove+0xb0>   
ffc0d8b8:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc0d8bc:	40 9c 00 1c 	bge-    cr7,ffc0d8d8 <_Watchdog_Remove+0x3c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d8c0:	3d 60 00 00 	lis     r11,0                                  
ffc0d8c4:	81 6b 27 fc 	lwz     r11,10236(r11)                         
ffc0d8c8:	91 63 00 18 	stw     r11,24(r3)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d8cc:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d8d0:	7c 03 03 78 	mr      r3,r0                                  
ffc0d8d4:	4e 80 00 20 	blr                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
ffc0d8d8:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc0d8dc:	41 bd ff e4 	bgt-    cr7,ffc0d8c0 <_Watchdog_Remove+0x24>   <== NEVER TAKEN
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0d8e0:	39 60 00 00 	li      r11,0                                  
ffc0d8e4:	91 63 00 08 	stw     r11,8(r3)                              
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d8e8:	81 63 00 00 	lwz     r11,0(r3)                              
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
ffc0d8ec:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d8f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d8f4:	41 9e 00 14 	beq-    cr7,ffc0d908 <_Watchdog_Remove+0x6c>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0d8f8:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0d8fc:	81 43 00 10 	lwz     r10,16(r3)                             
ffc0d900:	7d 48 52 14 	add     r10,r8,r10                             
ffc0d904:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0d908:	3d 40 00 00 	lis     r10,0                                  
ffc0d90c:	81 4a 27 f8 	lwz     r10,10232(r10)                         
ffc0d910:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d914:	41 9e 00 14 	beq-    cr7,ffc0d928 <_Watchdog_Remove+0x8c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0d918:	3d 40 00 00 	lis     r10,0                                  
ffc0d91c:	81 0a 2d c0 	lwz     r8,11712(r10)                          
ffc0d920:	3d 40 00 00 	lis     r10,0                                  
ffc0d924:	91 0a 27 f0 	stw     r8,10224(r10)                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0d928:	81 43 00 04 	lwz     r10,4(r3)                              
  next->previous = previous;                                          
ffc0d92c:	91 4b 00 04 	stw     r10,4(r11)                             
  previous->next = next;                                              
ffc0d930:	91 6a 00 00 	stw     r11,0(r10)                             
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d934:	3d 60 00 00 	lis     r11,0                                  
ffc0d938:	81 6b 27 fc 	lwz     r11,10236(r11)                         
ffc0d93c:	91 63 00 18 	stw     r11,24(r3)                             
ffc0d940:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d944:	7c 03 03 78 	mr      r3,r0                                  
ffc0d948:	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;                        
ffc0d94c:	39 60 00 00 	li      r11,0                                  
ffc0d950:	91 63 00 08 	stw     r11,8(r3)                              
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d954:	3d 60 00 00 	lis     r11,0                                  
ffc0d958:	81 6b 27 fc 	lwz     r11,10236(r11)                         
ffc0d95c:	91 63 00 18 	stw     r11,24(r3)                             
ffc0d960:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d964:	7c 03 03 78 	mr      r3,r0                                  
ffc0d968:	4e 80 00 20 	blr                                            
                                                                      

ffc0ec90 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
ffc0ec90:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ec94:	7c 08 02 a6 	mflr    r0                                     
ffc0ec98:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0ec9c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0eca0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0eca4:	7c 9f 23 78 	mr      r31,r4                                 
ffc0eca8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0ecac:	93 81 00 08 	stw     r28,8(r1)                              
ffc0ecb0:	93 a1 00 0c 	stw     r29,12(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ecb4:	7f a0 00 a6 	mfmsr   r29                                    
ffc0ecb8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0ecbc:	7f a0 00 78 	andc    r0,r29,r0                              
ffc0ecc0:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
ffc0ecc4:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ecc8:	7f e5 fb 78 	mr      r5,r31                                 
ffc0eccc:	38 63 16 4c 	addi    r3,r3,5708                             
ffc0ecd0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ecd4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ecd8:	4b ff 81 31 	bl      ffc06e08 <printk>                      
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0ecdc:	83 9f 00 00 	lwz     r28,0(r31)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0ece0:	3b ff 00 04 	addi    r31,r31,4                              
    if ( !_Chain_Is_empty( header ) ) {                               
ffc0ece4:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0ece8:	41 9e 00 54 	beq-    cr7,ffc0ed3c <_Watchdog_Report_chain+0xac>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
ffc0ecec:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ecf0:	38 60 00 00 	li      r3,0                                   
ffc0ecf4:	48 00 00 5d 	bl      ffc0ed50 <_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 )                                       
ffc0ecf8:	83 9c 00 00 	lwz     r28,0(r28)                             
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
ffc0ecfc:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0ed00:	40 9e ff ec 	bne+    cr7,ffc0ecec <_Watchdog_Report_chain+0x5c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
ffc0ed04:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ed08:	38 63 16 64 	addi    r3,r3,5732                             
ffc0ed0c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ed10:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ed14:	4b ff 80 f5 	bl      ffc06e08 <printk>                      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ed18:	7f a0 01 24 	mtmsr   r29                                    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0ed1c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ed20:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0ed24:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed28:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ed2c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ed30:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ed34:	38 21 00 18 	addi    r1,r1,24                               
ffc0ed38:	4e 80 00 20 	blr                                            
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
ffc0ed3c:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ed40:	38 63 16 74 	addi    r3,r3,5748                             
ffc0ed44:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ed48:	4b ff 80 c1 	bl      ffc06e08 <printk>                      
ffc0ed4c:	4b ff ff cc 	b       ffc0ed18 <_Watchdog_Report_chain+0x88> 
                                                                      

ffc0d96c <_Watchdog_Tickle>: */ void _Watchdog_Tickle( Chain_Control *header ) {
ffc0d96c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d970:	7c 08 02 a6 	mflr    r0                                     
ffc0d974:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d978:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d97c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0d980:	93 81 00 08 	stw     r28,8(r1)                              
ffc0d984:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d988:	93 c1 00 10 	stw     r30,16(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d98c:	7f 80 00 a6 	mfmsr   r28                                    
ffc0d990:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0d994:	7f 80 00 78 	andc    r0,r28,r0                              
ffc0d998:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0d99c:	83 a3 00 00 	lwz     r29,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 );                            
ffc0d9a0:	3b c3 00 04 	addi    r30,r3,4                               
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
ffc0d9a4:	7f 9d f0 00 	cmpw    cr7,r29,r30                            
ffc0d9a8:	41 9e 00 20 	beq-    cr7,ffc0d9c8 <_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) {                            
ffc0d9ac:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc0d9b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d9b4:	41 9e 00 74 	beq-    cr7,ffc0da28 <_Watchdog_Tickle+0xbc>   
    the_watchdog->delta_interval--;                                   
ffc0d9b8:	39 29 ff ff 	addi    r9,r9,-1                               
    if ( the_watchdog->delta_interval != 0 )                          
ffc0d9bc:	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--;                                   
ffc0d9c0:	91 3d 00 10 	stw     r9,16(r29)                             
    if ( the_watchdog->delta_interval != 0 )                          
ffc0d9c4:	41 be 00 64 	beq+    cr7,ffc0da28 <_Watchdog_Tickle+0xbc>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d9c8:	7f 80 01 24 	mtmsr   r28                                    
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
ffc0d9cc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d9d0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d9d4:	7c 08 03 a6 	mtlr    r0                                     
ffc0d9d8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d9dc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d9e0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d9e4:	38 21 00 18 	addi    r1,r1,24                               
ffc0d9e8:	4e 80 00 20 	blr                                            
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
ffc0d9ec:	80 1d 00 1c 	lwz     r0,28(r29)                             
ffc0d9f0:	80 7d 00 20 	lwz     r3,32(r29)                             
ffc0d9f4:	80 9d 00 24 	lwz     r4,36(r29)                             
ffc0d9f8:	7c 09 03 a6 	mtctr   r0                                     
ffc0d9fc:	4e 80 04 21 	bctrl                                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0da00:	7f 80 00 a6 	mfmsr   r28                                    
ffc0da04:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0da08:	7f 80 00 78 	andc    r0,r28,r0                              
ffc0da0c:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0da10:	83 bf 00 00 	lwz     r29,0(r31)                             
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
ffc0da14:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc0da18:	41 be ff b0 	beq-    cr7,ffc0d9c8 <_Watchdog_Tickle+0x5c>   
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
ffc0da1c:	80 1d 00 10 	lwz     r0,16(r29)                             
ffc0da20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0da24:	40 be ff a4 	bne-    cr7,ffc0d9c8 <_Watchdog_Tickle+0x5c>   
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
ffc0da28:	7f a3 eb 78 	mr      r3,r29                                 
ffc0da2c:	4b ff fe 71 	bl      ffc0d89c <_Watchdog_Remove>            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0da30:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
ffc0da34:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc0da38:	40 9e ff c8 	bne+    cr7,ffc0da00 <_Watchdog_Tickle+0x94>   <== NEVER TAKEN
ffc0da3c:	4b ff ff b0 	b       ffc0d9ec <_Watchdog_Tickle+0x80>       
                                                                      

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

ffc1857c <_fat_block_read>: uint32_t start, uint32_t offset, uint32_t count, void *buff ) {
ffc1857c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc18580:	7c 08 02 a6 	mflr    r0                                     
ffc18584:	93 e1 00 34 	stw     r31,52(r1)                             
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc18588:	7c df 33 79 	mr.     r31,r6                                 
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc1858c:	90 01 00 3c 	stw     r0,60(r1)                              
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
ffc18590:	38 00 00 00 	li      r0,0                                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc18594:	93 41 00 20 	stw     r26,32(r1)                             
ffc18598:	7c fa 3b 78 	mr      r26,r7                                 
ffc1859c:	93 61 00 24 	stw     r27,36(r1)                             
ffc185a0:	93 c1 00 30 	stw     r30,48(r1)                             
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    ssize_t                 cmpltd = 0;                               
ffc185a4:	3b c0 00 00 	li      r30,0                                  
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc185a8:	93 21 00 1c 	stw     r25,28(r1)                             
ffc185ac:	93 81 00 28 	stw     r28,40(r1)                             
ffc185b0:	93 a1 00 2c 	stw     r29,44(r1)                             
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc185b4:	83 63 00 34 	lwz     r27,52(r3)                             
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
ffc185b8:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc185bc:	41 82 00 70 	beq-    ffc1862c <_fat_block_read+0xb0>        <== NEVER TAKEN
ffc185c0:	7c bc 2b 78 	mr      r28,r5                                 
ffc185c4:	7c 9d 23 78 	mr      r29,r4                                 
ffc185c8:	48 00 00 3c 	b       ffc18604 <_fat_block_read+0x88>        
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc185cc:	a3 3b 00 00 	lhz     r25,0(r27)                             
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
ffc185d0:	81 21 00 08 	lwz     r9,8(r1)                               
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc185d4:	7f 3c c8 50 	subf    r25,r28,r25                            
ffc185d8:	7f 99 f8 40 	cmplw   cr7,r25,r31                            
ffc185dc:	40 9d 00 08 	ble-    cr7,ffc185e4 <_fat_block_read+0x68>    
ffc185e0:	7f f9 fb 78 	mr      r25,r31                                
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
ffc185e4:	80 89 00 24 	lwz     r4,36(r9)                              
ffc185e8:	7f 25 cb 78 	mr      r5,r25                                 
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
ffc185ec:	7f d9 f2 14 	add     r30,r25,r30                            
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
ffc185f0:	7c 84 e2 14 	add     r4,r4,r28                              
ffc185f4:	48 00 b8 21 	bl      ffc23e14 <memcpy>                      
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc185f8:	7f f9 f8 51 	subf.   r31,r25,r31                            
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        blk++;                                                        
        ofs = 0;                                                      
ffc185fc:	3b 80 00 00 	li      r28,0                                  
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc18600:	41 82 00 2c 	beq-    ffc1862c <_fat_block_read+0xb0>        
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
ffc18604:	7f a4 eb 78 	mr      r4,r29                                 
ffc18608:	38 a0 00 01 	li      r5,1                                   
ffc1860c:	38 c1 00 08 	addi    r6,r1,8                                
ffc18610:	7f 63 db 78 	mr      r3,r27                                 
ffc18614:	4b ff fb 7d 	bl      ffc18190 <fat_buf_access>              
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        blk++;                                                        
ffc18618:	3b bd 00 01 	addi    r29,r29,1                              
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
ffc1861c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
ffc18620:	7c 7a f2 14 	add     r3,r26,r30                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
ffc18624:	41 9e ff a8 	beq+    cr7,ffc185cc <_fat_block_read+0x50>    <== ALWAYS TAKEN
            return -1;                                                
ffc18628:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
        cmpltd += c;                                                  
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc1862c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc18630:	7f c3 f3 78 	mr      r3,r30                                 
ffc18634:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc18638:	7c 08 03 a6 	mtlr    r0                                     
ffc1863c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc18640:	83 61 00 24 	lwz     r27,36(r1)                             
ffc18644:	83 81 00 28 	lwz     r28,40(r1)                             
ffc18648:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1864c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc18650:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc18654:	38 21 00 38 	addi    r1,r1,56                               
ffc18658:	4e 80 00 20 	blr                                            
                                                                      

ffc18780 <_fat_block_release>: int _fat_block_release( rtems_filesystem_mount_table_entry_t *mt_entry) { fat_fs_info_t *fs_info = mt_entry->fs_info; return fat_buf_release(fs_info);
ffc18780:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
ffc18784:	4b ff fc 54 	b       ffc183d8 <fat_buf_release>             <== NOT EXECUTED
                                                                      

ffc1865c <_fat_block_write>: rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start, uint32_t offset, uint32_t count, const void *buff) {
ffc1865c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc18660:	7c 08 02 a6 	mflr    r0                                     
ffc18664:	93 e1 00 34 	stw     r31,52(r1)                             
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc18668:	7c df 33 79 	mr.     r31,r6                                 
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
ffc1866c:	90 01 00 3c 	stw     r0,60(r1)                              
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
ffc18670:	38 00 00 00 	li      r0,0                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
ffc18674:	93 21 00 1c 	stw     r25,28(r1)                             
ffc18678:	7c f9 3b 78 	mr      r25,r7                                 
ffc1867c:	93 61 00 24 	stw     r27,36(r1)                             
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    ssize_t             cmpltd = 0;                                   
ffc18680:	3b 60 00 00 	li      r27,0                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
ffc18684:	93 81 00 28 	stw     r28,40(r1)                             
ffc18688:	93 01 00 18 	stw     r24,24(r1)                             
ffc1868c:	93 41 00 20 	stw     r26,32(r1)                             
ffc18690:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc18694:	93 c1 00 30 	stw     r30,48(r1)                             
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc18698:	83 83 00 34 	lwz     r28,52(r3)                             
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
ffc1869c:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc186a0:	41 82 00 ac 	beq-    ffc1874c <_fat_block_write+0xf0>       <== NEVER TAKEN
ffc186a4:	7c ba 2b 78 	mr      r26,r5                                 
ffc186a8:	7c 9d 23 78 	mr      r29,r4                                 
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc186ac:	3b 00 00 01 	li      r24,1                                  
ffc186b0:	48 00 00 40 	b       ffc186f0 <_fat_block_write+0x94>       
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
ffc186b4:	4b ff fa dd 	bl      ffc18190 <fat_buf_access>              
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        blk++;                                                        
ffc186b8:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
ffc186bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
ffc186c0:	7c 99 da 14 	add     r4,r25,r27                             
ffc186c4:	7f c5 f3 78 	mr      r5,r30                                 
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
ffc186c8:	7f 7e da 14 	add     r27,r30,r27                            
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
ffc186cc:	40 9e 00 7c 	bne-    cr7,ffc18748 <_fat_block_write+0xec>   <== NEVER TAKEN
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
ffc186d0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc186d4:	80 69 00 24 	lwz     r3,36(r9)                              
ffc186d8:	7c 63 d2 14 	add     r3,r3,r26                              
ffc186dc:	48 00 b7 39 	bl      ffc23e14 <memcpy>                      
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc186e0:	7f fe f8 51 	subf.   r31,r30,r31                            
ffc186e4:	9b 1c 00 84 	stb     r24,132(r28)                           
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
ffc186e8:	3b 40 00 00 	li      r26,0                                  
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc186ec:	41 82 00 60 	beq-    ffc1874c <_fat_block_write+0xf0>       
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc186f0:	a0 1c 00 00 	lhz     r0,0(r28)                              
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
ffc186f4:	7f a4 eb 78 	mr      r4,r29                                 
ffc186f8:	38 a0 00 01 	li      r5,1                                   
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc186fc:	7f da 00 50 	subf    r30,r26,r0                             
ffc18700:	7f 9e f8 40 	cmplw   cr7,r30,r31                            
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
ffc18704:	38 c1 00 08 	addi    r6,r1,8                                
ffc18708:	7f 83 e3 78 	mr      r3,r28                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc1870c:	40 9d 00 08 	ble-    cr7,ffc18714 <_fat_block_write+0xb8>   
ffc18710:	7f fe fb 78 	mr      r30,r31                                
                                                                      
        if (c == fs_info->vol.bps)                                    
ffc18714:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc18718:	40 9e ff 9c 	bne+    cr7,ffc186b4 <_fat_block_write+0x58>   
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
ffc1871c:	7f a4 eb 78 	mr      r4,r29                                 
ffc18720:	38 a0 00 02 	li      r5,2                                   
ffc18724:	7f 83 e3 78 	mr      r3,r28                                 
ffc18728:	38 c1 00 08 	addi    r6,r1,8                                
ffc1872c:	4b ff fa 65 	bl      ffc18190 <fat_buf_access>              
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        blk++;                                                        
ffc18730:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
ffc18734:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
ffc18738:	7c 99 da 14 	add     r4,r25,r27                             
ffc1873c:	7f c5 f3 78 	mr      r5,r30                                 
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
ffc18740:	7f 7e da 14 	add     r27,r30,r27                            
                                                                      
        if (c == fs_info->vol.bps)                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
ffc18744:	41 9e ff 8c 	beq+    cr7,ffc186d0 <_fat_block_write+0x74>   <== ALWAYS TAKEN
            return -1;                                                
ffc18748:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
        cmpltd +=c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc1874c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc18750:	7f 63 db 78 	mr      r3,r27                                 
ffc18754:	83 01 00 18 	lwz     r24,24(r1)                             
ffc18758:	7c 08 03 a6 	mtlr    r0                                     
ffc1875c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc18760:	83 41 00 20 	lwz     r26,32(r1)                             
ffc18764:	83 61 00 24 	lwz     r27,36(r1)                             
ffc18768:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1876c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc18770:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc18774:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc18778:	38 21 00 38 	addi    r1,r1,56                               
ffc1877c:	4e 80 00 20 	blr                                            
                                                                      

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

ffc24544 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
ffc24544:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc24548:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
ffc2454c:	7c 83 23 78 	mr      r3,r4                                  
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
ffc24550:	93 61 00 5c 	stw     r27,92(r1)                             
ffc24554:	7c bb 2b 78 	mr      r27,r5                                 
ffc24558:	93 a1 00 64 	stw     r29,100(r1)                            
ffc2455c:	93 c1 00 68 	stw     r30,104(r1)                            
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc24560:	3b c1 00 24 	addi    r30,r1,36                              
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
ffc24564:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc24568:	7c 9f 23 78 	mr      r31,r4                                 
ffc2456c:	90 01 00 74 	stw     r0,116(r1)                             
ffc24570:	93 41 00 58 	stw     r26,88(r1)                             
ffc24574:	93 81 00 60 	stw     r28,96(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
ffc24578:	4b fe 2c f1 	bl      ffc07268 <rtems_filesystem_dirname>    
                                                                      
  if ( old_parent_pathlen == 0 )                                      
ffc2457c:	7c 7d 1b 79 	mr.     r29,r3                                 
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc24580:	7f e3 fb 78 	mr      r3,r31                                 
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
ffc24584:	40 82 00 c4 	bne-    ffc24648 <_rename_r+0x104>             
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc24588:	38 81 00 0c 	addi    r4,r1,12                               
ffc2458c:	7f c5 f3 78 	mr      r5,r30                                 
ffc24590:	4b fe 4b f9 	bl      ffc09188 <rtems_filesystem_get_start_loc>
ffc24594:	3b a0 00 00 	li      r29,0                                  
  rtems_filesystem_location_info_t    old_parent_loc;                 
  rtems_filesystem_location_info_t    new_parent_loc;                 
  int                                 i;                              
  int                                 result;                         
  const char                         *name;                           
  bool                                free_old_parentloc = false;     
ffc24598:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
ffc2459c:	80 01 00 24 	lwz     r0,36(r1)                              
  name = old + old_parent_pathlen;                                    
ffc245a0:	7f ff ea 14 	add     r31,r31,r29                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc245a4:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
ffc245a8:	93 e1 00 08 	stw     r31,8(r1)                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
ffc245ac:	90 01 00 38 	stw     r0,56(r1)                              
ffc245b0:	80 01 00 28 	lwz     r0,40(r1)                              
ffc245b4:	90 01 00 3c 	stw     r0,60(r1)                              
ffc245b8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc245bc:	90 01 00 40 	stw     r0,64(r1)                              
ffc245c0:	80 01 00 30 	lwz     r0,48(r1)                              
ffc245c4:	90 01 00 44 	stw     r0,68(r1)                              
ffc245c8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc245cc:	90 01 00 48 	stw     r0,72(r1)                              
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc245d0:	4b ff 2a 79 	bl      ffc17048 <strlen>                      
ffc245d4:	7c 64 1b 78 	mr      r4,r3                                  
ffc245d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc245dc:	4b fe 2c ed 	bl      ffc072c8 <rtems_filesystem_prefix_separators>
ffc245e0:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc245e4:	7f e3 fb 78 	mr      r3,r31                                 
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc245e8:	93 e1 00 08 	stw     r31,8(r1)                              
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc245ec:	4b ff 2a 5d 	bl      ffc17048 <strlen>                      
ffc245f0:	38 a0 00 00 	li      r5,0                                   
ffc245f4:	7c 64 1b 78 	mr      r4,r3                                  
ffc245f8:	38 c1 00 38 	addi    r6,r1,56                               
ffc245fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc24600:	38 e0 00 00 	li      r7,0                                   
ffc24604:	4b fe 2b 3d 	bl      ffc07140 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
ffc24608:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2460c:	41 9e 00 98 	beq-    cr7,ffc246a4 <_rename_r+0x160>         
    if ( free_old_parentloc )                                         
ffc24610:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
ffc24614:	3b 40 ff ff 	li      r26,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
ffc24618:	40 9e 00 58 	bne-    cr7,ffc24670 <_rename_r+0x12c>         
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
ffc2461c:	80 01 00 74 	lwz     r0,116(r1)                             
ffc24620:	7f 43 d3 78 	mr      r3,r26                                 
ffc24624:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc24628:	7c 08 03 a6 	mtlr    r0                                     
ffc2462c:	83 41 00 58 	lwz     r26,88(r1)                             
ffc24630:	83 81 00 60 	lwz     r28,96(r1)                             
ffc24634:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc24638:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc2463c:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc24640:	38 21 00 70 	addi    r1,r1,112                              
ffc24644:	4e 80 00 20 	blr                                            
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
ffc24648:	7f a4 eb 78 	mr      r4,r29                                 
ffc2464c:	38 a0 00 02 	li      r5,2                                   
ffc24650:	7f c6 f3 78 	mr      r6,r30                                 
ffc24654:	38 e0 00 00 	li      r7,0                                   
ffc24658:	4b fe 2b 95 	bl      ffc071ec <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc2465c:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
ffc24660:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24664:	40 be ff b8 	bne-    cr7,ffc2461c <_rename_r+0xd8>          <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
ffc24668:	3b 80 00 01 	li      r28,1                                  
ffc2466c:	4b ff ff 30 	b       ffc2459c <_rename_r+0x58>              
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc24670:	7f c3 f3 78 	mr      r3,r30                                 
ffc24674:	4b fe 2e 59 	bl      ffc074cc <rtems_filesystem_freenode>   
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
ffc24678:	80 01 00 74 	lwz     r0,116(r1)                             
ffc2467c:	7f 43 d3 78 	mr      r3,r26                                 
ffc24680:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc24684:	7c 08 03 a6 	mtlr    r0                                     
ffc24688:	83 41 00 58 	lwz     r26,88(r1)                             
ffc2468c:	83 81 00 60 	lwz     r28,96(r1)                             
ffc24690:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc24694:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc24698:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc2469c:	38 21 00 70 	addi    r1,r1,112                              
ffc246a0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
ffc246a4:	7f 63 db 78 	mr      r3,r27                                 
ffc246a8:	38 81 00 0c 	addi    r4,r1,12                               
ffc246ac:	38 a1 00 10 	addi    r5,r1,16                               
ffc246b0:	4b fe 4a d9 	bl      ffc09188 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
ffc246b4:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc246b8:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc246bc:	38 81 00 10 	addi    r4,r1,16                               
ffc246c0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc246c4:	38 a1 00 08 	addi    r5,r1,8                                
ffc246c8:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc246cc:	7c 09 03 a6 	mtctr   r0                                     
ffc246d0:	4e 80 04 21 	bctrl                                          
  if ( result != 0 ) {                                                
ffc246d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc246d8:	40 9e 00 c0 	bne-    cr7,ffc24798 <_rename_r+0x254>         
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
ffc246dc:	80 01 00 20 	lwz     r0,32(r1)                              
ffc246e0:	81 21 00 34 	lwz     r9,52(r1)                              
ffc246e4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc246e8:	40 9e 00 78 	bne-    cr7,ffc24760 <_rename_r+0x21c>         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
ffc246ec:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc246f0:	38 81 00 38 	addi    r4,r1,56                               
ffc246f4:	38 a1 00 10 	addi    r5,r1,16                               
ffc246f8:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc246fc:	80 09 00 40 	lwz     r0,64(r9)                              
ffc24700:	7f c3 f3 78 	mr      r3,r30                                 
ffc24704:	7c 09 03 a6 	mtctr   r0                                     
ffc24708:	4e 80 04 21 	bctrl                                          
ffc2470c:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
ffc24710:	38 61 00 10 	addi    r3,r1,16                               
ffc24714:	4b fe 2d b9 	bl      ffc074cc <rtems_filesystem_freenode>   
  if ( free_old_parentloc )                                           
ffc24718:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc2471c:	40 9e 00 38 	bne-    cr7,ffc24754 <_rename_r+0x210>         
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
ffc24720:	38 61 00 38 	addi    r3,r1,56                               
ffc24724:	4b fe 2d a9 	bl      ffc074cc <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc24728:	80 01 00 74 	lwz     r0,116(r1)                             
ffc2472c:	7f 43 d3 78 	mr      r3,r26                                 
ffc24730:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc24734:	7c 08 03 a6 	mtlr    r0                                     
ffc24738:	83 41 00 58 	lwz     r26,88(r1)                             
ffc2473c:	83 81 00 60 	lwz     r28,96(r1)                             
ffc24740:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc24744:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc24748:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc2474c:	38 21 00 70 	addi    r1,r1,112                              
ffc24750:	4e 80 00 20 	blr                                            
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
ffc24754:	7f c3 f3 78 	mr      r3,r30                                 
ffc24758:	4b fe 2d 75 	bl      ffc074cc <rtems_filesystem_freenode>   
ffc2475c:	4b ff ff c4 	b       ffc24720 <_rename_r+0x1dc>             
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc24760:	38 61 00 10 	addi    r3,r1,16                               
ffc24764:	4b fe 2d 69 	bl      ffc074cc <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc24768:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc2476c:	40 9e 00 20 	bne-    cr7,ffc2478c <_rename_r+0x248>         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
ffc24770:	38 61 00 38 	addi    r3,r1,56                               
ffc24774:	4b fe 2d 59 	bl      ffc074cc <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EXDEV );                    
ffc24778:	3b 40 ff ff 	li      r26,-1                                 
ffc2477c:	4b ff 10 81 	bl      ffc157fc <__errno>                     
ffc24780:	38 00 00 12 	li      r0,18                                  
ffc24784:	90 03 00 00 	stw     r0,0(r3)                               
ffc24788:	4b ff fe 94 	b       ffc2461c <_rename_r+0xd8>              
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc2478c:	7f c3 f3 78 	mr      r3,r30                                 
ffc24790:	4b fe 2d 3d 	bl      ffc074cc <rtems_filesystem_freenode>   
ffc24794:	4b ff ff dc 	b       ffc24770 <_rename_r+0x22c>             
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc24798:	38 61 00 10 	addi    r3,r1,16                               
ffc2479c:	4b fe 2d 31 	bl      ffc074cc <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc247a0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc247a4:	41 be 00 0c 	beq+    cr7,ffc247b0 <_rename_r+0x26c>         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc247a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc247ac:	4b fe 2d 21 	bl      ffc074cc <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc247b0:	38 61 00 38 	addi    r3,r1,56                               
ffc247b4:	4b fe 2d 19 	bl      ffc074cc <rtems_filesystem_freenode>   
    return -1;                                                        
ffc247b8:	3b 40 ff ff 	li      r26,-1                                 
ffc247bc:	4b ff fe 60 	b       ffc2461c <_rename_r+0xd8>              
                                                                      

ffc06fa0 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
ffc06fa0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc06fa4:	7c 08 02 a6 	mflr    r0                                     
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc06fa8:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc06fac:	93 e1 00 34 	stw     r31,52(r1)                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc06fb0:	3f e0 00 00 	lis     r31,0                                  
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc06fb4:	93 c1 00 30 	stw     r30,48(r1)                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc06fb8:	83 df 27 1c 	lwz     r30,10012(r31)                         
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc06fbc:	90 01 00 3c 	stw     r0,60(r1)                              
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc06fc0:	38 09 2a f8 	addi    r0,r9,11000                            
ffc06fc4:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc06fc8:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc06fcc:	7c 7d 1b 78 	mr      r29,r3                                 
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc06fd0:	41 9e 00 90 	beq-    cr7,ffc07060 <chroot+0xc0>             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
ffc06fd4:	7f a3 eb 78 	mr      r3,r29                                 
ffc06fd8:	4b ff fe e9 	bl      ffc06ec0 <chdir>                       
  if (result) {                                                       
ffc06fdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06fe0:	40 9e 00 a4 	bne-    cr7,ffc07084 <chroot+0xe4>             
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
ffc06fe4:	3c 60 ff c2 	lis     r3,-62                                 
ffc06fe8:	38 63 54 8c 	addi    r3,r3,21644                            
ffc06fec:	38 80 00 01 	li      r4,1                                   
ffc06ff0:	38 a0 00 00 	li      r5,0                                   
ffc06ff4:	38 c1 00 08 	addi    r6,r1,8                                
ffc06ff8:	38 e0 00 00 	li      r7,0                                   
ffc06ffc:	48 00 01 f1 	bl      ffc071ec <rtems_filesystem_evaluate_path>
ffc07000:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07004:	40 9e 00 80 	bne-    cr7,ffc07084 <chroot+0xe4>             <== NEVER TAKEN
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
ffc07008:	80 7f 27 1c 	lwz     r3,10012(r31)                          
ffc0700c:	38 63 00 18 	addi    r3,r3,24                               
ffc07010:	48 00 04 bd 	bl      ffc074cc <rtems_filesystem_freenode>   
  rtems_filesystem_root = loc;                                        
ffc07014:	81 3f 27 1c 	lwz     r9,10012(r31)                          
ffc07018:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc0701c:	38 60 00 00 	li      r3,0                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
ffc07020:	90 09 00 18 	stw     r0,24(r9)                              
ffc07024:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07028:	90 09 00 1c 	stw     r0,28(r9)                              
ffc0702c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc07030:	90 09 00 20 	stw     r0,32(r9)                              
ffc07034:	80 01 00 14 	lwz     r0,20(r1)                              
ffc07038:	90 09 00 24 	stw     r0,36(r9)                              
ffc0703c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc07040:	90 09 00 28 	stw     r0,40(r9)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc07044:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc07048:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0704c:	7c 08 03 a6 	mtlr    r0                                     
ffc07050:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc07054:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc07058:	38 21 00 38 	addi    r1,r1,56                               
ffc0705c:	4e 80 00 20 	blr                                            
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
ffc07060:	48 00 1b b5 	bl      ffc08c14 <rtems_libio_set_private_env> 
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
ffc07064:	80 1f 27 1c 	lwz     r0,10012(r31)                          
ffc07068:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc0706c:	40 9e ff 68 	bne+    cr7,ffc06fd4 <chroot+0x34>             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc07070:	48 00 e7 8d 	bl      ffc157fc <__errno>                     
ffc07074:	38 00 00 86 	li      r0,134                                 
ffc07078:	90 03 00 00 	stw     r0,0(r3)                               
ffc0707c:	38 60 ff ff 	li      r3,-1                                  
ffc07080:	4b ff ff c4 	b       ffc07044 <chroot+0xa4>                 
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
ffc07084:	48 00 e7 79 	bl      ffc157fc <__errno>                     
ffc07088:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0708c:	48 00 e7 71 	bl      ffc157fc <__errno>                     
ffc07090:	80 03 00 00 	lwz     r0,0(r3)                               
ffc07094:	38 60 ff ff 	li      r3,-1                                  
ffc07098:	90 1f 00 00 	stw     r0,0(r31)                              
ffc0709c:	4b ff ff a8 	b       ffc07044 <chroot+0xa4>                 
                                                                      

ffc04508 <create_disk>: return disktab [major].minor + minor; } static rtems_status_code create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr) {
ffc04508:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0450c:	7c 08 02 a6 	mflr    r0                                     
ffc04510:	93 a1 00 24 	stw     r29,36(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) {                                        
ffc04514:	3f a0 00 00 	lis     r29,0                                  
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc04518:	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) {                                        
ffc0451c:	83 9d 28 70 	lwz     r28,10352(r29)                         
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc04520:	92 e1 00 0c 	stw     r23,12(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) {                                        
ffc04524:	3a fd 28 70 	addi    r23,r29,10352                          
ffc04528:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc0452c:	93 41 00 18 	stw     r26,24(r1)                             
ffc04530:	7c da 33 78 	mr      r26,r6                                 
ffc04534:	93 61 00 1c 	stw     r27,28(r1)                             
ffc04538:	7c bb 2b 78 	mr      r27,r5                                 
ffc0453c:	93 c1 00 28 	stw     r30,40(r1)                             
ffc04540:	7c 9e 23 78 	mr      r30,r4                                 
ffc04544:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc04548:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0454c:	90 01 00 34 	stw     r0,52(r1)                              
ffc04550:	92 c1 00 08 	stw     r22,8(r1)                              
ffc04554:	93 01 00 10 	stw     r24,16(r1)                             
ffc04558:	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) {                                        
ffc0455c:	40 9c 00 d4 	bge-    cr7,ffc04630 <create_disk+0x128>       
ffc04560:	83 37 00 04 	lwz     r25,4(r23)                             
    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) {
ffc04564:	57 e0 18 38 	rlwinm  r0,r31,3,0,28                          
ffc04568:	7f 99 00 2e 	lwzx    r28,r25,r0                             
ffc0456c:	7f 39 02 14 	add     r25,r25,r0                             
ffc04570:	83 19 00 04 	lwz     r24,4(r25)                             
ffc04574:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04578:	41 9e 00 68 	beq-    cr7,ffc045e0 <create_disk+0xd8>        
ffc0457c:	7f 9e c0 40 	cmplw   cr7,r30,r24                            
ffc04580:	40 9c 00 60 	bge-    cr7,ffc045e0 <create_disk+0xd8>        <== NEVER TAKEN
    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;                               
ffc04584:	57 c0 10 3a 	rlwinm  r0,r30,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) {                                             
ffc04588:	7f bc 02 15 	add.    r29,r28,r0                             
    return RTEMS_NO_MEMORY;                                           
ffc0458c:	3a c0 00 1a 	li      r22,26                                 
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
ffc04590:	41 82 00 14 	beq-    ffc045a4 <create_disk+0x9c>            <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc04594:	7c 1c 00 2e 	lwzx    r0,r28,r0                              
    return RTEMS_RESOURCE_IN_USE;                                     
ffc04598:	3a c0 00 0c 	li      r22,12                                 
                                                                      
  if (dd_entry == NULL) {                                             
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc0459c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc045a0:	41 9e 00 f4 	beq-    cr7,ffc04694 <create_disk+0x18c>       
                                                                      
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc045a4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc045a8:	7e c3 b3 78 	mr      r3,r22                                 
ffc045ac:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc045b0:	7c 08 03 a6 	mtlr    r0                                     
ffc045b4:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc045b8:	83 01 00 10 	lwz     r24,16(r1)                             
ffc045bc:	83 21 00 14 	lwz     r25,20(r1)                             
ffc045c0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc045c4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc045c8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc045cc:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc045d0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc045d4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc045d8:	38 21 00 30 	addi    r1,r1,48                               
ffc045dc:	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) {                                              
ffc045e0:	2f 98 00 00 	cmpwi   cr7,r24,0                              
      new_size = DISKTAB_INITIAL_SIZE;                                
ffc045e4:	3b a0 00 08 	li      r29,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) {                                              
ffc045e8:	40 9e 00 9c 	bne-    cr7,ffc04684 <create_disk+0x17c>       <== NEVER TAKEN
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
    }                                                                 
    if (minor >= new_size) {                                          
ffc045ec:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
ffc045f0:	40 9c 00 8c 	bge-    cr7,ffc0467c <create_disk+0x174>       
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc045f4:	7f 83 e3 78 	mr      r3,r28                                 
ffc045f8:	57 a4 10 3a 	rlwinm  r4,r29,2,0,29                          
ffc045fc:	48 00 28 fd 	bl      ffc06ef8 <realloc>                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
    return RTEMS_NO_MEMORY;                                           
ffc04600:	3a c0 00 1a 	li      r22,26                                 
    if (minor >= new_size) {                                          
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
    if (table == NULL) {                                              
ffc04604:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc04608:	41 a2 ff 9c 	beq-    ffc045a4 <create_disk+0x9c>            
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc0460c:	7c b8 e8 50 	subf    r5,r24,r29                             
ffc04610:	57 03 10 3a 	rlwinm  r3,r24,2,0,29                          
ffc04614:	7c 7c 1a 14 	add     r3,r28,r3                              
ffc04618:	38 80 00 00 	li      r4,0                                   
ffc0461c:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc04620:	48 01 39 e1 	bl      ffc18000 <memset>                      
    disktab [major].minor = table;                                    
ffc04624:	93 99 00 00 	stw     r28,0(r25)                             
    disktab [major].size = new_size;                                  
ffc04628:	93 b9 00 04 	stw     r29,4(r25)                             
ffc0462c:	4b ff ff 58 	b       ffc04584 <create_disk+0x7c>            
  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;                
ffc04630:	57 98 08 3c 	rlwinm  r24,r28,1,0,30                         
                                                                      
    if (major >= new_size) {                                          
ffc04634:	7f 83 c0 40 	cmplw   cr7,r3,r24                             
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
    rtems_disk_device_table *table = disktab;                         
ffc04638:	80 77 00 04 	lwz     r3,4(r23)                              
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
                                                                      
    if (major >= new_size) {                                          
ffc0463c:	41 9c 00 08 	blt-    cr7,ffc04644 <create_disk+0x13c>       <== NEVER TAKEN
      new_size = major + 1;                                           
ffc04640:	3b 1f 00 01 	addi    r24,r31,1                              
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc04644:	57 04 18 38 	rlwinm  r4,r24,3,0,28                          
ffc04648:	48 00 28 b1 	bl      ffc06ef8 <realloc>                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
    return RTEMS_NO_MEMORY;                                           
ffc0464c:	3a c0 00 1a 	li      r22,26                                 
    if (major >= new_size) {                                          
      new_size = major + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
    if (table == NULL) {                                              
ffc04650:	7c 79 1b 79 	mr.     r25,r3                                 
ffc04654:	41 a2 ff 50 	beq-    ffc045a4 <create_disk+0x9c>            <== ALWAYS TAKEN
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc04658:	7c bc c0 50 	subf    r5,r28,r24                             <== NOT EXECUTED
ffc0465c:	57 83 18 38 	rlwinm  r3,r28,3,0,28                          <== NOT EXECUTED
ffc04660:	7c 79 1a 14 	add     r3,r25,r3                              <== NOT EXECUTED
ffc04664:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc04668:	54 a5 18 38 	rlwinm  r5,r5,3,0,28                           <== NOT EXECUTED
ffc0466c:	48 01 39 95 	bl      ffc18000 <memset>                      <== NOT EXECUTED
    disktab = table;                                                  
ffc04670:	93 37 00 04 	stw     r25,4(r23)                             <== NOT EXECUTED
    disktab_size = new_size;                                          
ffc04674:	93 1d 28 70 	stw     r24,10352(r29)                         <== NOT EXECUTED
ffc04678:	4b ff fe ec 	b       ffc04564 <create_disk+0x5c>            <== NOT EXECUTED
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
    }                                                                 
    if (minor >= new_size) {                                          
      new_size = minor + 1;                                           
ffc0467c:	3b be 00 01 	addi    r29,r30,1                              
ffc04680:	4b ff ff 74 	b       ffc045f4 <create_disk+0xec>            
    rtems_device_minor_number new_size = 0;                           
                                                                      
    if (old_size == 0) {                                              
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
ffc04684:	57 1d 08 3c 	rlwinm  r29,r24,1,0,30                         <== NOT EXECUTED
    }                                                                 
    if (minor >= new_size) {                                          
ffc04688:	7f 9e e8 40 	cmplw   cr7,r30,r29                            <== NOT EXECUTED
ffc0468c:	41 bc ff 68 	blt-    cr7,ffc045f4 <create_disk+0xec>        <== NOT EXECUTED
ffc04690:	4b ff ff ec 	b       ffc0467c <create_disk+0x174>           <== NOT EXECUTED
                                                                      
  if (*dd_entry != NULL) {                                            
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
ffc04694:	38 60 00 38 	li      r3,56                                  
ffc04698:	48 00 1a a1 	bl      ffc06138 <malloc>                      
  if (dd == NULL) {                                                   
    return RTEMS_NO_MEMORY;                                           
ffc0469c:	3a c0 00 1a 	li      r22,26                                 
  if (*dd_entry != NULL) {                                            
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
  if (dd == NULL) {                                                   
ffc046a0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc046a4:	41 a2 ff 00 	beq-    ffc045a4 <create_disk+0x9c>            <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
ffc046a8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc046ac:	41 9e 00 5c 	beq-    cr7,ffc04708 <create_disk+0x200>       
    alloc_name = strdup(name);                                        
ffc046b0:	7f 63 db 78 	mr      r3,r27                                 
ffc046b4:	48 01 3d 21 	bl      ffc183d4 <strdup>                      
                                                                      
    if (alloc_name == NULL) {                                         
ffc046b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  if (dd == NULL) {                                                   
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
ffc046bc:	7c 7b 1b 78 	mr      r27,r3                                 
ffc046c0:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
    if (alloc_name == NULL) {                                         
ffc046c4:	41 9e 00 64 	beq-    cr7,ffc04728 <create_disk+0x220>       <== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
ffc046c8:	38 80 61 ff 	li      r4,25087                               
ffc046cc:	7f e5 fb 78 	mr      r5,r31                                 
ffc046d0:	7f c6 f3 78 	mr      r6,r30                                 
ffc046d4:	48 00 1b c5 	bl      ffc06298 <mknod>                       
ffc046d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc046dc:	41 9c 00 34 	blt-    cr7,ffc04710 <create_disk+0x208>       <== NEVER TAKEN
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
  dd->uses = 0;                                                       
ffc046e0:	38 00 00 00 	li      r0,0                                   
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
ffc046e4:	93 fc 00 00 	stw     r31,0(r28)                             
  dd->deleted = false;                                                
                                                                      
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc046e8:	3a c0 00 00 	li      r22,0                                  
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
ffc046ec:	93 dc 00 04 	stw     r30,4(r28)                             
  dd->name = alloc_name;                                              
ffc046f0:	93 3c 00 10 	stw     r25,16(r28)                            
  dd->uses = 0;                                                       
ffc046f4:	90 1c 00 14 	stw     r0,20(r28)                             
  dd->deleted = false;                                                
ffc046f8:	98 1c 00 30 	stb     r0,48(r28)                             
                                                                      
  *dd_entry = dd;                                                     
ffc046fc:	93 9d 00 00 	stw     r28,0(r29)                             
  *dd_ptr = dd;                                                       
ffc04700:	93 9a 00 00 	stw     r28,0(r26)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04704:	4b ff fe a0 	b       ffc045a4 <create_disk+0x9c>            
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
ffc04708:	3b 20 00 00 	li      r25,0                                  
ffc0470c:	4b ff ff d4 	b       ffc046e0 <create_disk+0x1d8>           
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
      free(alloc_name);                                               
ffc04710:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc04714:	48 00 16 09 	bl      ffc05d1c <free>                        <== NOT EXECUTED
      free(dd);                                                       
ffc04718:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0471c:	48 00 16 01 	bl      ffc05d1c <free>                        <== NOT EXECUTED
      return RTEMS_UNSATISFIED;                                       
ffc04720:	3a c0 00 0d 	li      r22,13                                 <== NOT EXECUTED
ffc04724:	4b ff fe 80 	b       ffc045a4 <create_disk+0x9c>            <== NOT EXECUTED
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
                                                                      
    if (alloc_name == NULL) {                                         
      free(dd);                                                       
ffc04728:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0472c:	48 00 15 f1 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
      return RTEMS_NO_MEMORY;                                         
ffc04730:	4b ff fe 74 	b       ffc045a4 <create_disk+0x9c>            <== NOT EXECUTED
                                                                      

ffc0db08 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc0db08:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0db0c:	7c 08 02 a6 	mflr    r0                                     
ffc0db10:	90 01 00 2c 	stw     r0,44(r1)                              
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0db14:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
ffc0db18:	93 01 00 08 	stw     r24,8(r1)                              
ffc0db1c:	7c d8 33 78 	mr      r24,r6                                 
ffc0db20:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0db24:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0db28:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0db2c:	7c 9f 23 78 	mr      r31,r4                                 
ffc0db30:	93 21 00 0c 	stw     r25,12(r1)                             
ffc0db34:	93 41 00 10 	stw     r26,16(r1)                             
ffc0db38:	93 61 00 14 	stw     r27,20(r1)                             
ffc0db3c:	93 81 00 18 	stw     r28,24(r1)                             
ffc0db40:	93 a1 00 1c 	stw     r29,28(r1)                             
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0db44:	40 82 01 0c 	bne-    ffc0dc50 <devFS_evaluate_path+0x148>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc0db48:	83 66 00 00 	lwz     r27,0(r6)                              
  if (!device_name_table)                                             
ffc0db4c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0db50:	41 9e 01 14 	beq-    cr7,ffc0dc64 <devFS_evaluate_path+0x15c>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0db54:	3d 20 00 00 	lis     r9,0                                   
ffc0db58:	83 49 27 38 	lwz     r26,10040(r9)                          
ffc0db5c:	38 00 00 00 	li      r0,0                                   
 *  handlers.                                                         
 */                                                                   
                                                                      
extern rtems_filesystem_file_handlers_r  devFS_file_handlers;         
                                                                      
int devFS_evaluate_path(                                              
ffc0db60:	3b a0 00 00 	li      r29,0                                  
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0db64:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0db68:	41 9e 00 4c 	beq-    cr7,ffc0dbb4 <devFS_evaluate_path+0xac><== NEVER TAKEN
    if (!device_name_table[i].device_name)                            
ffc0db6c:	1c 00 00 14 	mulli   r0,r0,20                               
ffc0db70:	7f 9b 00 2e 	lwzx    r28,r27,r0                             
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0db74:	7f c3 f3 78 	mr      r3,r30                                 
ffc0db78:	7f e5 fb 78 	mr      r5,r31                                 
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
ffc0db7c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0db80:	7f 84 e3 78 	mr      r4,r28                                 
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0db84:	3b bd 00 01 	addi    r29,r29,1                              
    if (!device_name_table[i].device_name)                            
ffc0db88:	7f 3b 02 14 	add     r25,r27,r0                             
ffc0db8c:	41 9e 00 1c 	beq-    cr7,ffc0dba8 <devFS_evaluate_path+0xa0>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0db90:	48 00 32 fd 	bl      ffc10e8c <strncmp>                     
ffc0db94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0db98:	40 9e 00 10 	bne-    cr7,ffc0dba8 <devFS_evaluate_path+0xa0>
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
ffc0db9c:	7c 1c f8 ae 	lbzx    r0,r28,r31                             
ffc0dba0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dba4:	41 9e 00 50 	beq-    cr7,ffc0dbf4 <devFS_evaluate_path+0xec><== ALWAYS TAKEN
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0dba8:	7f 9d d0 00 	cmpw    cr7,r29,r26                            
ffc0dbac:	7f a0 eb 78 	mr      r0,r29                                 
ffc0dbb0:	40 9e ff bc 	bne+    cr7,ffc0db6c <devFS_evaluate_path+0x64>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0dbb4:	48 00 20 b5 	bl      ffc0fc68 <__errno>                     
ffc0dbb8:	38 00 00 02 	li      r0,2                                   
ffc0dbbc:	90 03 00 00 	stw     r0,0(r3)                               
ffc0dbc0:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0dbc4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0dbc8:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0dbcc:	7c 08 03 a6 	mtlr    r0                                     
ffc0dbd0:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0dbd4:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0dbd8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0dbdc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0dbe0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0dbe4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0dbe8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0dbec:	38 21 00 28 	addi    r1,r1,40                               
ffc0dbf0:	4e 80 00 20 	blr                                            
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0dbf4:	3d 20 00 00 	lis     r9,0                                   
ffc0dbf8:	81 29 27 74 	lwz     r9,10100(r9)                           
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
ffc0dbfc:	93 38 00 00 	stw     r25,0(r24)                             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0dc00:	80 09 00 28 	lwz     r0,40(r9)                              
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
ffc0dc04:	3d 20 00 00 	lis     r9,0                                   
ffc0dc08:	39 29 21 84 	addi    r9,r9,8580                             
ffc0dc0c:	91 38 00 08 	stw     r9,8(r24)                              
    pathloc->ops = &devFS_ops;                                        
ffc0dc10:	3d 20 00 00 	lis     r9,0                                   
ffc0dc14:	39 29 21 bc 	addi    r9,r9,8636                             
ffc0dc18:	91 38 00 0c 	stw     r9,12(r24)                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0dc1c:	90 18 00 10 	stw     r0,16(r24)                             
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0dc20:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0dc24:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0dc28:	7c 08 03 a6 	mtlr    r0                                     
ffc0dc2c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0dc30:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0dc34:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0dc38:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0dc3c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0dc40:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0dc44:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0dc48:	38 21 00 28 	addi    r1,r1,40                               
ffc0dc4c:	4e 80 00 20 	blr                                            
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0dc50:	48 00 20 19 	bl      ffc0fc68 <__errno>                     <== NOT EXECUTED
ffc0dc54:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0dc58:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0dc5c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0dc60:	4b ff ff c0 	b       ffc0dc20 <devFS_evaluate_path+0x118>   <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc0dc64:	48 00 20 05 	bl      ffc0fc68 <__errno>                     
ffc0dc68:	38 00 00 0e 	li      r0,14                                  
ffc0dc6c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0dc70:	38 60 ff ff 	li      r3,-1                                  
ffc0dc74:	4b ff ff ac 	b       ffc0dc20 <devFS_evaluate_path+0x118>   
                                                                      

ffc047c8 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc047c8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc047cc:	7c 08 02 a6 	mflr    r0                                     
ffc047d0:	93 81 00 18 	stw     r28,24(r1)                             
ffc047d4:	7c dc 33 78 	mr      r28,r6                                 
ffc047d8:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc047dc:	7c bd 2b 78 	mr      r29,r5                                 
ffc047e0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc047e4:	7c 9e 23 78 	mr      r30,r4                                 
ffc047e8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc047ec:	7c 7f 1b 78 	mr      r31,r3                                 
ffc047f0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc047f4:	93 01 00 08 	stw     r24,8(r1)                              
ffc047f8:	93 21 00 0c 	stw     r25,12(r1)                             
ffc047fc:	93 41 00 10 	stw     r26,16(r1)                             
ffc04800:	93 61 00 14 	stw     r27,20(r1)                             
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
ffc04804:	88 03 00 00 	lbz     r0,0(r3)                               
ffc04808:	2f 80 00 64 	cmpwi   cr7,r0,100                             
ffc0480c:	41 9e 01 40 	beq-    cr7,ffc0494c <devFS_mknod+0x184>       
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
ffc04810:	57 c0 04 26 	rlwinm  r0,r30,0,16,19                         
ffc04814:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc04818:	41 9e 00 0c 	beq-    cr7,ffc04824 <devFS_mknod+0x5c>        
ffc0481c:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc04820:	40 9e 01 58 	bne-    cr7,ffc04978 <devFS_mknod+0x1b0>       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc04824:	83 47 00 00 	lwz     r26,0(r7)                              
  if (!device_name_table)                                             
ffc04828:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0482c:	41 9e 01 74 	beq-    cr7,ffc049a0 <devFS_mknod+0x1d8>       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04830:	3d 20 00 00 	lis     r9,0                                   
ffc04834:	83 29 27 38 	lwz     r25,10040(r9)                          
ffc04838:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0483c:	41 9e 01 50 	beq-    cr7,ffc0498c <devFS_mknod+0x1c4>       
ffc04840:	38 00 00 00 	li      r0,0                                   
#include <stdlib.h>                                                   
                                                                      
#include <rtems/seterr.h>                                             
#include "devfs.h"                                                    
                                                                      
int devFS_mknod(                                                      
ffc04844:	3b 00 ff ff 	li      r24,-1                                 
ffc04848:	3b 60 00 00 	li      r27,0                                  
ffc0484c:	48 00 00 20 	b       ffc0486c <devFS_mknod+0xa4>            
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc04850:	48 00 c4 b9 	bl      ffc10d08 <strcmp>                      
ffc04854:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04858:	41 9e 00 b4 	beq-    cr7,ffc0490c <devFS_mknod+0x144>       
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc0485c:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04860:	7f 9b c8 00 	cmpw    cr7,r27,r25                            
ffc04864:	7f 60 db 78 	mr      r0,r27                                 
ffc04868:	41 9e 00 30 	beq-    cr7,ffc04898 <devFS_mknod+0xd0>        
      if (device_name_table[i].device_name == NULL)                   
ffc0486c:	1c 00 00 14 	mulli   r0,r0,20                               
ffc04870:	7c 1a 00 2e 	lwzx    r0,r26,r0                              
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc04874:	7f e3 fb 78 	mr      r3,r31                                 
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
ffc04878:	2f 80 00 00 	cmpwi   cr7,r0,0                               
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc0487c:	7c 04 03 78 	mr      r4,r0                                  
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
ffc04880:	40 9e ff d0 	bne+    cr7,ffc04850 <devFS_mknod+0x88>        
ffc04884:	7f 78 db 78 	mr      r24,r27                                
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04888:	3b 7b 00 01 	addi    r27,r27,1                              
ffc0488c:	7f 9b c8 00 	cmpw    cr7,r27,r25                            
ffc04890:	7f 60 db 78 	mr      r0,r27                                 
ffc04894:	40 9e ff d8 	bne+    cr7,ffc0486c <devFS_mknod+0xa4>        
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
ffc04898:	2f 98 ff ff 	cmpwi   cr7,r24,-1                             
ffc0489c:	41 9e 00 f0 	beq-    cr7,ffc0498c <devFS_mknod+0x1c4>       <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc048a0:	7f 60 00 a6 	mfmsr   r27                                    
ffc048a4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc048a8:	7f 60 00 78 	andc    r0,r27,r0                              
ffc048ac:	7c 00 01 24 	mtmsr   r0                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
ffc048b0:	1f 18 00 14 	mulli   r24,r24,20                             
ffc048b4:	7f fa c1 2e 	stwx    r31,r26,r24                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc048b8:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
ffc048bc:	7f 5a c2 14 	add     r26,r26,r24                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc048c0:	48 00 c5 11 	bl      ffc10dd0 <strlen>                      
  device_name_table[slot].major = major;                              
ffc048c4:	93 ba 00 08 	stw     r29,8(r26)                             
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
ffc048c8:	90 7a 00 04 	stw     r3,4(r26)                              
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
ffc048cc:	93 9a 00 0c 	stw     r28,12(r26)                            
  device_name_table[slot].mode  = mode;                               
ffc048d0:	93 da 00 10 	stw     r30,16(r26)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc048d4:	7f 60 01 24 	mtmsr   r27                                    
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
ffc048d8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc048dc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc048e0:	83 01 00 08 	lwz     r24,8(r1)                              
ffc048e4:	7c 08 03 a6 	mtlr    r0                                     
ffc048e8:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc048ec:	83 41 00 10 	lwz     r26,16(r1)                             
ffc048f0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc048f4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc048f8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc048fc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04900:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc04904:	38 21 00 28 	addi    r1,r1,40                               
ffc04908:	4e 80 00 20 	blr                                            
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
ffc0490c:	48 00 b3 5d 	bl      ffc0fc68 <__errno>                     
ffc04910:	38 00 00 11 	li      r0,17                                  
ffc04914:	90 03 00 00 	stw     r0,0(r3)                               
ffc04918:	38 60 ff ff 	li      r3,-1                                  
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
ffc0491c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc04920:	83 01 00 08 	lwz     r24,8(r1)                              
ffc04924:	7c 08 03 a6 	mtlr    r0                                     
ffc04928:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0492c:	83 41 00 10 	lwz     r26,16(r1)                             
ffc04930:	83 61 00 14 	lwz     r27,20(r1)                             
ffc04934:	83 81 00 18 	lwz     r28,24(r1)                             
ffc04938:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0493c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04940:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc04944:	38 21 00 28 	addi    r1,r1,40                               
ffc04948:	4e 80 00 20 	blr                                            
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
ffc0494c:	88 03 00 01 	lbz     r0,1(r3)                               
ffc04950:	2f 80 00 65 	cmpwi   cr7,r0,101                             
ffc04954:	40 9e fe bc 	bne+    cr7,ffc04810 <devFS_mknod+0x48>        <== NEVER TAKEN
ffc04958:	88 03 00 02 	lbz     r0,2(r3)                               
ffc0495c:	2f 80 00 76 	cmpwi   cr7,r0,118                             
ffc04960:	40 9e fe b0 	bne+    cr7,ffc04810 <devFS_mknod+0x48>        <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
ffc04964:	88 03 00 03 	lbz     r0,3(r3)                               
      return 0;                                                       
ffc04968:	38 60 00 00 	li      r3,0                                   
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
      (path[2] == 'v') && (path[3] == '\0'))                          
ffc0496c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04970:	40 9e fe a0 	bne+    cr7,ffc04810 <devFS_mknod+0x48>        
ffc04974:	4b ff ff 68 	b       ffc048dc <devFS_mknod+0x114>           
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc04978:	48 00 b2 f1 	bl      ffc0fc68 <__errno>                     
ffc0497c:	38 00 00 16 	li      r0,22                                  
ffc04980:	90 03 00 00 	stw     r0,0(r3)                               
ffc04984:	38 60 ff ff 	li      r3,-1                                  
ffc04988:	4b ff ff 54 	b       ffc048dc <devFS_mknod+0x114>           
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
ffc0498c:	48 00 b2 dd 	bl      ffc0fc68 <__errno>                     
ffc04990:	38 00 00 0c 	li      r0,12                                  
ffc04994:	90 03 00 00 	stw     r0,0(r3)                               
ffc04998:	38 60 ff ff 	li      r3,-1                                  
ffc0499c:	4b ff ff 40 	b       ffc048dc <devFS_mknod+0x114>           
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc049a0:	48 00 b2 c9 	bl      ffc0fc68 <__errno>                     
ffc049a4:	38 00 00 0e 	li      r0,14                                  
ffc049a8:	90 03 00 00 	stw     r0,0(r3)                               
ffc049ac:	38 60 ff ff 	li      r3,-1                                  
ffc049b0:	4b ff ff 2c 	b       ffc048dc <devFS_mknod+0x114>           
                                                                      

ffc04458 <disk_lock>: */ static volatile bool diskdevs_protected; static rtems_status_code disk_lock(void) {
ffc04458:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0445c:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc04460:	38 80 00 00 	li      r4,0                                   
 */                                                                   
static volatile bool diskdevs_protected;                              
                                                                      
static rtems_status_code                                              
disk_lock(void)                                                       
{                                                                     
ffc04464:	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);
ffc04468:	38 a0 00 00 	li      r5,0                                   
 */                                                                   
static volatile bool diskdevs_protected;                              
                                                                      
static rtems_status_code                                              
disk_lock(void)                                                       
{                                                                     
ffc0446c:	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);
ffc04470:	3f e0 00 00 	lis     r31,0                                  
ffc04474:	3b ff 28 70 	addi    r31,r31,10352                          
ffc04478:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0447c:	48 00 5d 19 	bl      ffc0a194 <rtems_semaphore_obtain>      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc04480:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    diskdevs_protected = true;                                        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
ffc04484:	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) {                                       
ffc04488:	41 9e 00 18 	beq-    cr7,ffc044a0 <disk_lock+0x48>          <== ALWAYS TAKEN
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
ffc0448c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc04490:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc04494:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc04498:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0449c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc == RTEMS_SUCCESSFUL) {                                       
    diskdevs_protected = true;                                        
ffc044a0:	38 00 00 01 	li      r0,1                                   
ffc044a4:	98 1f 00 0c 	stb     r0,12(r31)                             
                                                                      
    return RTEMS_SUCCESSFUL;                                          
ffc044a8:	38 60 00 00 	li      r3,0                                   
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
ffc044ac:	80 01 00 14 	lwz     r0,20(r1)                              
ffc044b0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc044b4:	38 21 00 10 	addi    r1,r1,16                               
ffc044b8:	7c 08 03 a6 	mtlr    r0                                     
ffc044bc:	4e 80 00 20 	blr                                            
                                                                      

ffc044c0 <disk_unlock>: static void disk_unlock(void) {
ffc044c0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc044c4:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc044c8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
disk_unlock(void)                                                     
{                                                                     
ffc044cc:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc044d0:	39 29 28 70 	addi    r9,r9,10352                            
ffc044d4:	38 00 00 00 	li      r0,0                                   
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
ffc044d8:	80 69 00 08 	lwz     r3,8(r9)                               
static void                                                           
disk_unlock(void)                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc044dc:	98 09 00 0c 	stb     r0,12(r9)                              
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
ffc044e0:	48 00 5e 41 	bl      ffc0a320 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc044e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc044e8:	40 9e 00 14 	bne-    cr7,ffc044fc <disk_unlock+0x3c>        <== NEVER TAKEN
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
  }                                                                   
}                                                                     
ffc044ec:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc044f0:	38 21 00 08 	addi    r1,r1,8                                
ffc044f4:	7c 08 03 a6 	mtlr    r0                                     
ffc044f8:	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);                           
ffc044fc:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc04500:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc04504:	48 00 65 a9 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc06568 <drainOutput.part.0>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty)
ffc06568:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0656c:	7c 08 02 a6 	mflr    r0                                     
ffc06570:	90 01 00 14 	stw     r0,20(r1)                              
ffc06574:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc06578:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0657c:	93 c1 00 08 	stw     r30,8(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06580:	7c 00 00 a6 	mfmsr   r0                                     
ffc06584:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc06588:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0658c:	7d 20 01 24 	mtmsr   r9                                     
  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) {              
ffc06590:	81 63 00 84 	lwz     r11,132(r3)                            
ffc06594:	81 23 00 80 	lwz     r9,128(r3)                             
ffc06598:	7f 8b 48 00 	cmpw    cr7,r11,r9                             
ffc0659c:	41 9e 00 48 	beq-    cr7,ffc065e4 <drainOutput.part.0+0x7c> <== ALWAYS TAKEN
      tty->rawOutBufState = rob_wait;                                 
ffc065a0:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc065a4:	93 df 00 94 	stw     r30,148(r31)                           <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc065a8:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc065ac:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc065b0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc065b4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc065b8:	48 00 2e 21 	bl      ffc093d8 <rtems_semaphore_obtain>      <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc065bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc065c0:	40 9e 00 40 	bne-    cr7,ffc06600 <drainOutput.part.0+0x98> <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc065c4:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc065c8:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc065cc:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc065d0:	7d 20 01 24 	mtmsr   r9                                     <== 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) {              
ffc065d4:	81 7f 00 84 	lwz     r11,132(r31)                           <== NOT EXECUTED
ffc065d8:	81 3f 00 80 	lwz     r9,128(r31)                            <== NOT EXECUTED
ffc065dc:	7f 8b 48 00 	cmpw    cr7,r11,r9                             <== NOT EXECUTED
ffc065e0:	40 9e ff c4 	bne+    cr7,ffc065a4 <drainOutput.part.0+0x3c> <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc065e4:	7c 00 01 24 	mtmsr   r0                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  }                                                                   
}                                                                     
ffc065e8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc065ec:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc065f0:	7c 08 03 a6 	mtlr    r0                                     
ffc065f4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc065f8:	38 21 00 10 	addi    r1,r1,16                               
ffc065fc:	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);                              
ffc06600:	48 00 37 3d 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0743c <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
ffc0743c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc07440:	7c 08 02 a6 	mflr    r0                                     
ffc07444:	90 01 00 24 	stw     r0,36(r1)                              
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc07448:	81 24 00 3c 	lwz     r9,60(r4)                              
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
ffc0744c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc07450:	7c 9f 23 78 	mr      r31,r4                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc07454:	71 20 02 00 	andi.   r0,r9,512                              
ffc07458:	41 82 00 2c 	beq-    ffc07484 <echo+0x48>                   <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc0745c:	3d 20 00 00 	lis     r9,0                                   
ffc07460:	81 29 27 44 	lwz     r9,10052(r9)                           
ffc07464:	7d 29 1a 14 	add     r9,r9,r3                               
ffc07468:	88 09 00 01 	lbz     r0,1(r9)                               
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc0746c:	70 09 00 20 	andi.   r9,r0,32                               
ffc07470:	41 82 00 14 	beq-    ffc07484 <echo+0x48>                   
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc07474:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc07478:	41 9e 00 0c 	beq-    cr7,ffc07484 <echo+0x48>               
ffc0747c:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc07480:	40 9e 00 20 	bne-    cr7,ffc074a0 <echo+0x64>               
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
ffc07484:	7f e4 fb 78 	mr      r4,r31                                 
ffc07488:	4b ff fe 29 	bl      ffc072b0 <oproc>                       
  }                                                                   
}                                                                     
ffc0748c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07490:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07494:	38 21 00 20 	addi    r1,r1,32                               
ffc07498:	7c 08 03 a6 	mtlr    r0                                     
ffc0749c:	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;                                            
ffc074a0:	68 60 00 40 	xori    r0,r3,64                               
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc074a4:	39 20 00 5e 	li      r9,94                                  
    echobuf[1] = c ^ 0x40;                                            
ffc074a8:	98 01 00 09 	stb     r0,9(r1)                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc074ac:	38 61 00 08 	addi    r3,r1,8                                
ffc074b0:	7f e5 fb 78 	mr      r5,r31                                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc074b4:	99 21 00 08 	stb     r9,8(r1)                               
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc074b8:	38 80 00 02 	li      r4,2                                   
ffc074bc:	4b ff fc 45 	bl      ffc07100 <rtems_termios_puts>          
    tty->column += 2;                                                 
ffc074c0:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc074c4:	38 09 00 02 	addi    r0,r9,2                                
ffc074c8:	90 1f 00 28 	stw     r0,40(r31)                             
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
ffc074cc:	80 01 00 24 	lwz     r0,36(r1)                              
ffc074d0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc074d4:	38 21 00 20 	addi    r1,r1,32                               
ffc074d8:	7c 08 03 a6 	mtlr    r0                                     
ffc074dc:	4e 80 00 20 	blr                                            
                                                                      

ffc06158 <endgrent>: void endgrent(void) { if (group_fp != NULL)
ffc06158:	3d 20 00 00 	lis     r9,0                                   
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc0615c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc06160:	7c 08 02 a6 	mflr    r0                                     
  if (group_fp != NULL)                                               
ffc06164:	80 69 2a 1c 	lwz     r3,10780(r9)                           
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc06168:	90 01 00 0c 	stw     r0,12(r1)                              
  if (group_fp != NULL)                                               
ffc0616c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06170:	41 9e 00 08 	beq-    cr7,ffc06178 <endgrent+0x20>           <== NEVER TAKEN
    fclose(group_fp);                                                 
ffc06174:	48 00 d8 ed 	bl      ffc13a60 <fclose>                      
}                                                                     
ffc06178:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0617c:	38 21 00 08 	addi    r1,r1,8                                
ffc06180:	7c 08 03 a6 	mtlr    r0                                     
ffc06184:	4e 80 00 20 	blr                                            
                                                                      

ffc05f8c <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
ffc05f8c:	3d 20 00 00 	lis     r9,0                                   
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc05f90:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05f94:	7c 08 02 a6 	mflr    r0                                     
  if (passwd_fp != NULL)                                              
ffc05f98:	80 69 29 40 	lwz     r3,10560(r9)                           
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc05f9c:	90 01 00 0c 	stw     r0,12(r1)                              
  if (passwd_fp != NULL)                                              
ffc05fa0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05fa4:	41 9e 00 08 	beq-    cr7,ffc05fac <endpwent+0x20>           <== NEVER TAKEN
    fclose(passwd_fp);                                                
ffc05fa8:	48 00 da b9 	bl      ffc13a60 <fclose>                      
}                                                                     
ffc05fac:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05fb0:	38 21 00 08 	addi    r1,r1,8                                
ffc05fb4:	7c 08 03 a6 	mtlr    r0                                     
ffc05fb8:	4e 80 00 20 	blr                                            
                                                                      

ffc074e0 <erase>: * FIXME: Needs support for WERASE and ECHOPRT. * FIXME: Some of the tests should check for IEXTEN, too. */ static void erase (struct rtems_termios_tty *tty, int lineFlag) {
ffc074e0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc074e4:	7c 08 02 a6 	mflr    r0                                     
ffc074e8:	7d 80 00 26 	mfcr    r12                                    
ffc074ec:	90 01 00 2c 	stw     r0,44(r1)                              
  if (tty->ccount == 0)                                               
ffc074f0:	81 23 00 20 	lwz     r9,32(r3)                              
 * 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)                   
{                                                                     
ffc074f4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc074f8:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->ccount == 0)                                               
ffc074fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 * 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)                   
{                                                                     
ffc07500:	93 41 00 10 	stw     r26,16(r1)                             
ffc07504:	93 61 00 14 	stw     r27,20(r1)                             
ffc07508:	93 81 00 18 	stw     r28,24(r1)                             
ffc0750c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc07510:	93 c1 00 20 	stw     r30,32(r1)                             
ffc07514:	91 81 00 0c 	stw     r12,12(r1)                             
  if (tty->ccount == 0)                                               
ffc07518:	41 9e 00 9c 	beq-    cr7,ffc075b4 <erase+0xd4>              
    return;                                                           
  if (lineFlag) {                                                     
ffc0751c:	2e 04 00 00 	cmpwi   cr4,r4,0                               
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc07520:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc07524:	54 0b 07 38 	rlwinm  r11,r0,0,28,28                         
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
ffc07528:	40 92 00 80 	bne-    cr4,ffc075a8 <erase+0xc8>              
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc0752c:	3f 60 ff c2 	lis     r27,-62                                
ffc07530:	3f a0 ff c2 	lis     r29,-62                                
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc07534:	3f 80 00 00 	lis     r28,0                                  
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07538:	3b 7b f4 58 	addi    r27,r27,-2984                          
ffc0753c:	3b bd f4 54 	addi    r29,r29,-2988                          
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc07540:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc07544:	81 5f 00 1c 	lwz     r10,28(r31)                            
ffc07548:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0754c:	91 3f 00 20 	stw     r9,32(r31)                             
ffc07550:	7f ca 48 ae 	lbzx    r30,r10,r9                             
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc07554:	41 9e 00 38 	beq-    cr7,ffc0758c <erase+0xac>              <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc07558:	40 92 00 0c 	bne-    cr4,ffc07564 <erase+0x84>              
ffc0755c:	70 0b 00 10 	andi.   r11,r0,16                              
ffc07560:	41 82 01 e4 	beq-    ffc07744 <erase+0x264>                 <== NEVER TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
ffc07564:	2f 9e 00 09 	cmpwi   cr7,r30,9                              
ffc07568:	41 9e 00 e4 	beq-    cr7,ffc0764c <erase+0x16c>             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc0756c:	81 3c 27 44 	lwz     r9,10052(r28)                          
ffc07570:	3b de 00 01 	addi    r30,r30,1                              
ffc07574:	7f 7a db 78 	mr      r26,r27                                
ffc07578:	7d 29 f0 ae 	lbzx    r9,r9,r30                              
ffc0757c:	71 2b 00 20 	andi.   r11,r9,32                              
ffc07580:	41 82 00 a4 	beq-    ffc07624 <erase+0x144>                 <== ALWAYS TAKEN
ffc07584:	70 09 02 00 	andi.   r9,r0,512                              <== NOT EXECUTED
ffc07588:	40 82 00 5c 	bne-    ffc075e4 <erase+0x104>                 <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc0758c:	41 92 00 28 	beq-    cr4,ffc075b4 <erase+0xd4>              
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc07590:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc07594:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07598:	41 9e 00 1c 	beq-    cr7,ffc075b4 <erase+0xd4>              
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
ffc0759c:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc075a0:	54 0b 07 38 	rlwinm  r11,r0,0,28,28                         
ffc075a4:	4b ff ff 9c 	b       ffc07540 <erase+0x60>                  
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc075a8:	70 0b 00 08 	andi.   r11,r0,8                               
ffc075ac:	40 a2 01 3c 	bne+    ffc076e8 <erase+0x208>                 <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc075b0:	91 63 00 20 	stw     r11,32(r3)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc075b4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc075b8:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc075bc:	7c 08 03 a6 	mtlr    r0                                     
ffc075c0:	83 41 00 10 	lwz     r26,16(r1)                             
ffc075c4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc075c8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc075cc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc075d0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc075d4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc075d8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc075dc:	38 21 00 28 	addi    r1,r1,40                               
ffc075e0:	4e 80 00 20 	blr                                            
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc075e4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc075e8:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc075ec:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc075f0:	4b ff fb 11 	bl      ffc07100 <rtems_termios_puts>          <== NOT EXECUTED
          if (tty->column)                                            
ffc075f4:	81 3f 00 28 	lwz     r9,40(r31)                             <== NOT EXECUTED
ffc075f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc075fc:	41 9e 00 0c 	beq-    cr7,ffc07608 <erase+0x128>             <== NOT EXECUTED
            tty->column--;                                            
ffc07600:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc07604:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
ffc07608:	81 3c 27 44 	lwz     r9,10052(r28)                          <== NOT EXECUTED
ffc0760c:	7c 09 f0 ae 	lbzx    r0,r9,r30                              <== NOT EXECUTED
ffc07610:	70 0b 00 20 	andi.   r11,r0,32                              <== NOT EXECUTED
ffc07614:	41 82 00 10 	beq-    ffc07624 <erase+0x144>                 <== NOT EXECUTED
ffc07618:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
ffc0761c:	70 09 02 00 	andi.   r9,r0,512                              <== NOT EXECUTED
ffc07620:	41 a2 ff 6c 	beq-    ffc0758c <erase+0xac>                  <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07624:	7f 43 d3 78 	mr      r3,r26                                 
ffc07628:	38 80 00 03 	li      r4,3                                   
ffc0762c:	7f e5 fb 78 	mr      r5,r31                                 
ffc07630:	4b ff fa d1 	bl      ffc07100 <rtems_termios_puts>          
          if (tty->column)                                            
ffc07634:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07638:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0763c:	41 be ff 50 	beq-    cr7,ffc0758c <erase+0xac>              <== NEVER TAKEN
            tty->column--;                                            
ffc07640:	39 29 ff ff 	addi    r9,r9,-1                               
ffc07644:	91 3f 00 28 	stw     r9,40(r31)                             
ffc07648:	4b ff ff 44 	b       ffc0758c <erase+0xac>                  
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc0764c:	2f 89 00 00 	cmpwi   cr7,r9,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;                             
ffc07650:	83 df 00 2c 	lwz     r30,44(r31)                            
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07654:	41 9e 00 44 	beq-    cr7,ffc07698 <erase+0x1b8>             
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc07658:	7d 29 03 a6 	mtctr   r9                                     
ffc0765c:	54 0b bf fe 	rlwinm  r11,r0,23,31,31                        
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07660:	81 1c 27 44 	lwz     r8,10052(r28)                          
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc07664:	2f 0b 00 00 	cmpwi   cr6,r11,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;                             
        int i = 0;                                                    
ffc07668:	39 60 00 00 	li      r11,0                                  
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
ffc0766c:	7c 0a 58 ae 	lbzx    r0,r10,r11                             
ffc07670:	39 6b 00 01 	addi    r11,r11,1                              
          if (c == '\t') {                                            
ffc07674:	2f 80 00 09 	cmpwi   cr7,r0,9                               
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07678:	7d 28 02 14 	add     r9,r8,r0                               
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
ffc0767c:	41 9e 00 5c 	beq-    cr7,ffc076d8 <erase+0x1f8>             
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07680:	88 09 00 01 	lbz     r0,1(r9)                               
ffc07684:	70 09 00 20 	andi.   r9,r0,32                               
ffc07688:	41 82 00 44 	beq-    ffc076cc <erase+0x1ec>                 <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc0768c:	41 9a 00 08 	beq-    cr6,ffc07694 <erase+0x1b4>             <== NOT EXECUTED
              col += 2;                                               
ffc07690:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07694:	42 00 ff d8 	bdnz+   ffc0766c <erase+0x18c>                 <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc07698:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0769c:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc076a0:	40 bc fe ec 	bge-    cr7,ffc0758c <erase+0xac>              <== NEVER TAKEN
          rtems_termios_puts ("\b", 1, tty);                          
ffc076a4:	7f a3 eb 78 	mr      r3,r29                                 
ffc076a8:	38 80 00 01 	li      r4,1                                   
ffc076ac:	7f e5 fb 78 	mr      r5,r31                                 
ffc076b0:	4b ff fa 51 	bl      ffc07100 <rtems_termios_puts>          
          tty->column--;                                              
ffc076b4:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc076b8:	38 09 ff ff 	addi    r0,r9,-1                               
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc076bc:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
ffc076c0:	90 1f 00 28 	stw     r0,40(r31)                             
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc076c4:	41 9d ff e0 	bgt+    cr7,ffc076a4 <erase+0x1c4>             
ffc076c8:	4b ff fe c4 	b       ffc0758c <erase+0xac>                  
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
ffc076cc:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc076d0:	42 00 ff 9c 	bdnz+   ffc0766c <erase+0x18c>                 
ffc076d4:	4b ff ff c4 	b       ffc07698 <erase+0x1b8>                 
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
ffc076d8:	63 de 00 07 	ori     r30,r30,7                              
ffc076dc:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc076e0:	42 00 ff 8c 	bdnz+   ffc0766c <erase+0x18c>                 
ffc076e4:	4b ff ff b4 	b       ffc07698 <erase+0x1b8>                 <== NOT EXECUTED
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
ffc076e8:	70 0a 00 10 	andi.   r10,r0,16                              
ffc076ec:	40 82 fe 40 	bne+    ffc0752c <erase+0x4c>                  <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc076f0:	91 43 00 20 	stw     r10,32(r3)                             <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
ffc076f4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc076f8:	88 63 00 44 	lbz     r3,68(r3)                              <== NOT EXECUTED
ffc076fc:	4b ff fd 41 	bl      ffc0743c <echo>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
ffc07700:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
        echo ('\n', tty);                                             
ffc07704:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
ffc07708:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc0770c:	41 82 fe a8 	beq+    ffc075b4 <erase+0xd4>                  <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc07710:	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);                        
ffc07714:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc07718:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc0771c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07720:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc07724:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc07728:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc0772c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc07730:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc07734:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc07738:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc0773c:	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);                        
ffc07740:	4b ff fc fc 	b       ffc0743c <echo>                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc07744:	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);                        
ffc07748:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc0774c:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc07750:	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);                        
ffc07754:	88 7f 00 43 	lbz     r3,67(r31)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc07758:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc0775c:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc07760:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc07764:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc07768:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc0776c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc07770:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc07774:	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);                        
ffc07778:	4b ff fc c4 	b       ffc0743c <echo>                        <== NOT EXECUTED
                                                                      

ffc18190 <fat_buf_access>: #include "fat_fat_operations.h" int fat_buf_access(fat_fs_info_t *fs_info, uint32_t blk, int op_type, rtems_bdbuf_buffer **buf) {
ffc18190:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc18194:	7c 08 02 a6 	mflr    r0                                     
ffc18198:	7d 80 00 26 	mfcr    r12                                    
ffc1819c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc181a0:	7c db 33 78 	mr      r27,r6                                 
ffc181a4:	93 81 00 20 	stw     r28,32(r1)                             
ffc181a8:	7c bc 2b 78 	mr      r28,r5                                 
ffc181ac:	93 a1 00 24 	stw     r29,36(r1)                             
ffc181b0:	7c 9d 23 78 	mr      r29,r4                                 
ffc181b4:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc181b8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc181bc:	90 01 00 34 	stw     r0,52(r1)                              
ffc181c0:	93 c1 00 28 	stw     r30,40(r1)                             
ffc181c4:	91 81 00 18 	stw     r12,24(r1)                             
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc181c8:	88 03 00 85 	lbz     r0,133(r3)                             
ffc181cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc181d0:	41 9e 01 70 	beq-    cr7,ffc18340 <fat_buf_access+0x1b0>    
ffc181d4:	80 03 00 80 	lwz     r0,128(r3)                             
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc181d8:	39 20 00 00 	li      r9,0                                   
ffc181dc:	a1 7f 00 14 	lhz     r11,20(r31)                            
ffc181e0:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc181e4:	40 9d 01 a4 	ble-    cr7,ffc18388 <fat_buf_access+0x1f8>    <== ALWAYS TAKEN
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.blk_num != blk)                                    
ffc181e8:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc181ec:	41 9e 01 1c 	beq-    cr7,ffc18308 <fat_buf_access+0x178>    
    {                                                                 
        if (fs_info->c.modified)                                      
ffc181f0:	8b df 00 84 	lbz     r30,132(r31)                           
ffc181f4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc181f8:	41 9e 00 cc 	beq-    cr7,ffc182c4 <fat_buf_access+0x134>    
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
ffc181fc:	2e 09 00 00 	cmpwi   cr4,r9,0                               
ffc18200:	41 92 00 10 	beq-    cr4,ffc18210 <fat_buf_access+0x80>     <== ALWAYS TAKEN
ffc18204:	88 1f 00 48 	lbz     r0,72(r31)                             <== NOT EXECUTED
ffc18208:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1820c:	41 9e 01 98 	beq-    cr7,ffc183a4 <fat_buf_access+0x214>    <== NOT EXECUTED
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
ffc18210:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc18214:	4b ff e1 d5 	bl      ffc163e8 <rtems_bdbuf_release_modified>
            fs_info->c.state = FAT_CACHE_EMPTY;                       
ffc18218:	38 00 00 00 	li      r0,0                                   
            fs_info->c.modified = 0;                                  
            if (sc != RTEMS_SUCCESSFUL)                               
ffc1821c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            if (sec_of_fat && !fs_info->vol.mirror)                   
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
ffc18220:	98 1f 00 85 	stb     r0,133(r31)                            
            fs_info->c.modified = 0;                                  
ffc18224:	98 1f 00 84 	stb     r0,132(r31)                            
            if (sc != RTEMS_SUCCESSFUL)                               
ffc18228:	40 9e 01 9c 	bne-    cr7,ffc183c4 <fat_buf_access+0x234>    <== NEVER TAKEN
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
ffc1822c:	41 92 00 ac 	beq-    cr4,ffc182d8 <fat_buf_access+0x148>    <== ALWAYS TAKEN
ffc18230:	88 1f 00 48 	lbz     r0,72(r31)                             <== NOT EXECUTED
ffc18234:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc18238:	40 9e 00 a0 	bne-    cr7,ffc182d8 <fat_buf_access+0x148>    <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
ffc1823c:	88 1f 00 09 	lbz     r0,9(r31)                              <== NOT EXECUTED
ffc18240:	2b 80 00 01 	cmplwi  cr7,r0,1                               <== NOT EXECUTED
ffc18244:	40 9d 00 94 	ble-    cr7,ffc182d8 <fat_buf_access+0x148>    <== NOT EXECUTED
ffc18248:	3b c0 00 01 	li      r30,1                                  <== NOT EXECUTED
ffc1824c:	48 00 00 3c 	b       ffc18288 <fat_buf_access+0xf8>         <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc18250:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
ffc18254:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc18258:	80 9f 00 8c 	lwz     r4,140(r31)                            <== NOT EXECUTED
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
ffc1825c:	57 de 06 3e 	clrlwi  r30,r30,24                             <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc18260:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc18264:	80 69 00 24 	lwz     r3,36(r9)                              <== NOT EXECUTED
ffc18268:	48 00 bb ad 	bl      ffc23e14 <memcpy>                      <== NOT EXECUTED
                    sc = rtems_bdbuf_release_modified(b);             
ffc1826c:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc18270:	4b ff e1 79 	bl      ffc163e8 <rtems_bdbuf_release_modified><== NOT EXECUTED
                    if ( sc != RTEMS_SUCCESSFUL)                      
ffc18274:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc18278:	40 9e 00 38 	bne-    cr7,ffc182b0 <fat_buf_access+0x120>    <== NOT EXECUTED
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
ffc1827c:	88 1f 00 09 	lbz     r0,9(r31)                              <== NOT EXECUTED
ffc18280:	7f 80 f0 40 	cmplw   cr7,r0,r30                             <== NOT EXECUTED
ffc18284:	40 9d 00 54 	ble-    cr7,ffc182d8 <fat_buf_access+0x148>    <== NOT EXECUTED
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
ffc18288:	80 bf 00 18 	lwz     r5,24(r31)                             <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
ffc1828c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc18290:	80 1f 00 80 	lwz     r0,128(r31)                            <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
ffc18294:	7c be 29 d6 	mullw   r5,r30,r5                              <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
ffc18298:	80 7f 00 58 	lwz     r3,88(r31)                             <== NOT EXECUTED
ffc1829c:	80 9f 00 5c 	lwz     r4,92(r31)                             <== NOT EXECUTED
ffc182a0:	7c a5 02 14 	add     r5,r5,r0                               <== NOT EXECUTED
ffc182a4:	4b ff db bd 	bl      ffc15e60 <rtems_bdbuf_get>             <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
ffc182a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc182ac:	41 9e ff a4 	beq+    cr7,ffc18250 <fat_buf_access+0xc0>     <== NOT EXECUTED
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
                    sc = rtems_bdbuf_release_modified(b);             
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
ffc182b0:	48 00 ad 31 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc182b4:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc182b8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc182bc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc182c0:	48 00 00 54 	b       ffc18314 <fat_buf_access+0x184>        <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            sc = rtems_bdbuf_release(fs_info->c.buf);                 
ffc182c4:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc182c8:	4b ff e0 19 	bl      ffc162e0 <rtems_bdbuf_release>         
            fs_info->c.state = FAT_CACHE_EMPTY;                       
ffc182cc:	9b df 00 85 	stb     r30,133(r31)                           
            if (sc != RTEMS_SUCCESSFUL)                               
ffc182d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc182d4:	40 9e 00 f0 	bne-    cr7,ffc183c4 <fat_buf_access+0x234>    <== NEVER TAKEN
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
ffc182d8:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc182dc:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc182e0:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc182e4:	7f a5 eb 78 	mr      r5,r29                                 
ffc182e8:	38 df 00 88 	addi    r6,r31,136                             
            fs_info->c.state = FAT_CACHE_EMPTY;                       
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
ffc182ec:	41 9e 00 d0 	beq-    cr7,ffc183bc <fat_buf_access+0x22c>    
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc182f0:	4b ff db 71 	bl      ffc15e60 <rtems_bdbuf_get>             
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc182f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc182f8:	40 9e 00 cc 	bne-    cr7,ffc183c4 <fat_buf_access+0x234>    <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc182fc:	38 00 00 01 	li      r0,1                                   
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
ffc18300:	93 bf 00 80 	stw     r29,128(r31)                           
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc18304:	98 1f 00 85 	stb     r0,133(r31)                            
    }                                                                 
    *buf = fs_info->c.buf;                                            
ffc18308:	80 1f 00 88 	lwz     r0,136(r31)                            
    return RC_OK;                                                     
ffc1830c:	38 60 00 00 	li      r3,0                                   
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
    *buf = fs_info->c.buf;                                            
ffc18310:	90 1b 00 00 	stw     r0,0(r27)                              
    return RC_OK;                                                     
}                                                                     
ffc18314:	80 01 00 34 	lwz     r0,52(r1)                              
ffc18318:	81 81 00 18 	lwz     r12,24(r1)                             
ffc1831c:	7c 08 03 a6 	mtlr    r0                                     
ffc18320:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc18324:	83 81 00 20 	lwz     r28,32(r1)                             
ffc18328:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1832c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc18330:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc18334:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc18338:	38 21 00 30 	addi    r1,r1,48                               
ffc1833c:	4e 80 00 20 	blr                                            
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
ffc18340:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc18344:	80 63 00 58 	lwz     r3,88(r3)                              
ffc18348:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc1834c:	7f a5 eb 78 	mr      r5,r29                                 
ffc18350:	38 df 00 88 	addi    r6,r31,136                             
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
ffc18354:	41 9e 00 48 	beq-    cr7,ffc1839c <fat_buf_access+0x20c>    
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc18358:	4b ff db 09 	bl      ffc15e60 <rtems_bdbuf_get>             
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc1835c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18360:	40 9e 00 64 	bne-    cr7,ffc183c4 <fat_buf_access+0x234>    <== NEVER TAKEN
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc18364:	a1 7f 00 14 	lhz     r11,20(r31)                            
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc18368:	7f a0 eb 78 	mr      r0,r29                                 
ffc1836c:	39 20 00 01 	li      r9,1                                   
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
ffc18370:	93 bf 00 80 	stw     r29,128(r31)                           
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc18374:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc18378:	99 3f 00 85 	stb     r9,133(r31)                            
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc1837c:	39 20 00 00 	li      r9,0                                   
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
ffc18380:	98 7f 00 84 	stb     r3,132(r31)                            
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc18384:	41 bd fe 64 	bgt-    cr7,ffc181e8 <fat_buf_access+0x58>     <== NEVER TAKEN
ffc18388:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1838c:	7d 29 00 10 	subfc   r9,r9,r0                               
ffc18390:	7d 29 49 10 	subfe   r9,r9,r9                               
ffc18394:	7d 29 00 d0 	neg     r9,r9                                  
ffc18398:	4b ff fe 50 	b       ffc181e8 <fat_buf_access+0x58>         
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc1839c:	4b ff db e9 	bl      ffc15f84 <rtems_bdbuf_read>            
ffc183a0:	4b ff ff bc 	b       ffc1835c <fat_buf_access+0x1cc>        
    if (fs_info->c.blk_num != blk)                                    
    {                                                                 
        if (fs_info->c.modified)                                      
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
ffc183a4:	81 3f 00 88 	lwz     r9,136(r31)                            <== NOT EXECUTED
ffc183a8:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc183ac:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc183b0:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc183b4:	48 00 ba 61 	bl      ffc23e14 <memcpy>                      <== NOT EXECUTED
ffc183b8:	4b ff fe 58 	b       ffc18210 <fat_buf_access+0x80>         <== NOT EXECUTED
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc183bc:	4b ff db c9 	bl      ffc15f84 <rtems_bdbuf_read>            
ffc183c0:	4b ff ff 34 	b       ffc182f4 <fat_buf_access+0x164>        
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
ffc183c4:	48 00 ac 1d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc183c8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc183cc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc183d0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc183d4:	4b ff ff 40 	b       ffc18314 <fat_buf_access+0x184>        <== NOT EXECUTED
                                                                      

ffc183d8 <fat_buf_release>: return RC_OK; } int fat_buf_release(fat_fs_info_t *fs_info) {
ffc183d8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc183dc:	7c 08 02 a6 	mflr    r0                                     
ffc183e0:	7d 80 00 26 	mfcr    r12                                    
ffc183e4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc183e8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc183ec:	90 01 00 2c 	stw     r0,44(r1)                              
ffc183f0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc183f4:	91 81 00 1c 	stw     r12,28(r1)                             
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc183f8:	88 03 00 85 	lbz     r0,133(r3)                             
        return RC_OK;                                                 
ffc183fc:	38 60 00 00 	li      r3,0                                   
{                                                                     
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc18400:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18404:	41 9e 00 f0 	beq-    cr7,ffc184f4 <fat_buf_release+0x11c>   
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc18408:	81 3f 00 80 	lwz     r9,128(r31)                            
ffc1840c:	38 00 00 00 	li      r0,0                                   
ffc18410:	a1 7f 00 14 	lhz     r11,20(r31)                            
ffc18414:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc18418:	41 9c 00 14 	blt-    cr7,ffc1842c <fat_buf_release+0x54>    <== NEVER TAKEN
    *buf = fs_info->c.buf;                                            
    return RC_OK;                                                     
}                                                                     
                                                                      
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
ffc1841c:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc18420:	7c 00 48 10 	subfc   r0,r0,r9                               
ffc18424:	7c 00 01 10 	subfe   r0,r0,r0                               
ffc18428:	7c 00 00 d0 	neg     r0,r0                                  
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.modified)                                          
ffc1842c:	89 3f 00 84 	lbz     r9,132(r31)                            
ffc18430:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc18434:	41 9e 00 e0 	beq-    cr7,ffc18514 <fat_buf_release+0x13c>   
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc18438:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc1843c:	41 92 00 10 	beq-    cr4,ffc1844c <fat_buf_release+0x74>    
ffc18440:	88 1f 00 48 	lbz     r0,72(r31)                             
ffc18444:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18448:	41 9e 01 08 	beq-    cr7,ffc18550 <fat_buf_release+0x178>   <== ALWAYS TAKEN
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
ffc1844c:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc18450:	4b ff df 99 	bl      ffc163e8 <rtems_bdbuf_release_modified>
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc18454:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18458:	40 82 01 10 	bne-    ffc18568 <fat_buf_release+0x190>       <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
ffc1845c:	98 7f 00 84 	stb     r3,132(r31)                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc18460:	41 92 00 c4 	beq-    cr4,ffc18524 <fat_buf_release+0x14c>   
ffc18464:	88 1f 00 48 	lbz     r0,72(r31)                             
ffc18468:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1846c:	40 9e 00 b8 	bne-    cr7,ffc18524 <fat_buf_release+0x14c>   <== NEVER TAKEN
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc18470:	88 1f 00 09 	lbz     r0,9(r31)                              
ffc18474:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc18478:	40 9d 00 ac 	ble-    cr7,ffc18524 <fat_buf_release+0x14c>   <== NEVER TAKEN
ffc1847c:	3b c0 00 01 	li      r30,1                                  
ffc18480:	48 00 00 3c 	b       ffc184bc <fat_buf_release+0xe4>        
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc18484:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc18488:	3b de 00 01 	addi    r30,r30,1                              
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc1848c:	80 9f 00 8c 	lwz     r4,140(r31)                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc18490:	57 de 06 3e 	clrlwi  r30,r30,24                             
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc18494:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc18498:	80 69 00 24 	lwz     r3,36(r9)                              
ffc1849c:	48 00 b9 79 	bl      ffc23e14 <memcpy>                      
                sc = rtems_bdbuf_release_modified(b);                 
ffc184a0:	80 61 00 08 	lwz     r3,8(r1)                               
ffc184a4:	4b ff df 45 	bl      ffc163e8 <rtems_bdbuf_release_modified>
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc184a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc184ac:	40 9e 00 38 	bne-    cr7,ffc184e4 <fat_buf_release+0x10c>   <== NEVER TAKEN
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc184b0:	88 1f 00 09 	lbz     r0,9(r31)                              
ffc184b4:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc184b8:	40 9d 00 6c 	ble-    cr7,ffc18524 <fat_buf_release+0x14c>   <== ALWAYS TAKEN
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
ffc184bc:	80 bf 00 18 	lwz     r5,24(r31)                             
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
ffc184c0:	38 c1 00 08 	addi    r6,r1,8                                
ffc184c4:	80 1f 00 80 	lwz     r0,128(r31)                            
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
ffc184c8:	7c be 29 d6 	mullw   r5,r30,r5                              
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
ffc184cc:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc184d0:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc184d4:	7c a5 02 14 	add     r5,r5,r0                               
ffc184d8:	4b ff d9 89 	bl      ffc15e60 <rtems_bdbuf_get>             
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc184dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc184e0:	41 9e ff a4 	beq+    cr7,ffc18484 <fat_buf_release+0xac>    <== ALWAYS TAKEN
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
                sc = rtems_bdbuf_release_modified(b);                 
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
ffc184e4:	48 00 aa fd 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc184e8:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc184ec:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc184f0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
    return RC_OK;                                                     
}                                                                     
ffc184f4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc184f8:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc184fc:	7c 08 03 a6 	mtlr    r0                                     
ffc18500:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc18504:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18508:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1850c:	38 21 00 28 	addi    r1,r1,40                               
ffc18510:	4e 80 00 20 	blr                                            
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
ffc18514:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc18518:	4b ff dd c9 	bl      ffc162e0 <rtems_bdbuf_release>         
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc1851c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18520:	40 9e 00 48 	bne-    cr7,ffc18568 <fat_buf_release+0x190>   <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
ffc18524:	38 00 00 00 	li      r0,0                                   
ffc18528:	98 1f 00 85 	stb     r0,133(r31)                            
    return RC_OK;                                                     
ffc1852c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc18530:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc18534:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc18538:	7c 08 03 a6 	mtlr    r0                                     
ffc1853c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc18540:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18544:	7d 80 81 20 	mtcrf   8,r12                                  
ffc18548:	38 21 00 28 	addi    r1,r1,40                               
ffc1854c:	4e 80 00 20 	blr                                            
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.modified)                                          
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
ffc18550:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc18554:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc18558:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1855c:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc18560:	48 00 b8 b5 	bl      ffc23e14 <memcpy>                      
ffc18564:	4b ff fe e8 	b       ffc1844c <fat_buf_release+0x74>        
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
ffc18568:	48 00 aa 79 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1856c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc18570:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc18574:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc18578:	4b ff ff 7c 	b       ffc184f4 <fat_buf_release+0x11c>       <== NOT EXECUTED
                                                                      

ffc18788 <fat_cluster_read>: uint32_t cln ) { register fat_fs_info_t *fs_info = mt_entry->fs_info; if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc18788:	2c 04 00 00 	cmpwi   r4,0                                   <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    void                                 *buff                        
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc1878c:	81 23 00 34 	lwz     r9,52(r3)                              <== NOT EXECUTED
fat_cluster_read(                                                     
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc18790:	7c a7 2b 78 	mr      r7,r5                                  <== NOT EXECUTED
ffc18794:	40 82 00 10 	bne-    ffc187a4 <fat_cluster_read+0x1c>       <== NOT EXECUTED
ffc18798:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc1879c:	70 0b 00 03 	andi.   r11,r0,3                               <== NOT EXECUTED
ffc187a0:	40 82 00 2c 	bne-    ffc187cc <fat_cluster_read+0x44>       <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc187a4:	89 69 00 05 	lbz     r11,5(r9)                              <== NOT EXECUTED
ffc187a8:	38 84 ff fe 	addi    r4,r4,-2                               <== NOT EXECUTED
ffc187ac:	80 09 00 30 	lwz     r0,48(r9)                              <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
ffc187b0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc187b4:	7c 84 58 30 	slw     r4,r4,r11                              <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc187b8:	88 c9 00 04 	lbz     r6,4(r9)                               <== NOT EXECUTED
ffc187bc:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc187c0:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
ffc187c4:	7c c6 00 30 	slw     r6,r6,r0                               <== NOT EXECUTED
ffc187c8:	4b ff fd b4 	b       ffc1857c <_fat_block_read>             <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc187cc:	88 c9 00 04 	lbz     r6,4(r9)                               <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
ffc187d0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc187d4:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc187d8:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
ffc187dc:	7c c6 00 30 	slw     r6,r6,r0                               <== NOT EXECUTED
ffc187e0:	4b ff fd 9c 	b       ffc1857c <_fat_block_read>             <== NOT EXECUTED
                                                                      

ffc187e4 <fat_cluster_write>: uint32_t cln ) { register fat_fs_info_t *fs_info = mt_entry->fs_info; if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc187e4:	2c 04 00 00 	cmpwi   r4,0                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    const void                           *buff                        
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc187e8:	81 23 00 34 	lwz     r9,52(r3)                              
fat_cluster_write(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    const void                           *buff                        
    )                                                                 
{                                                                     
ffc187ec:	7c a7 2b 78 	mr      r7,r5                                  
ffc187f0:	40 82 00 10 	bne-    ffc18800 <fat_cluster_write+0x1c>      <== ALWAYS TAKEN
ffc187f4:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc187f8:	70 0b 00 03 	andi.   r11,r0,3                               <== NOT EXECUTED
ffc187fc:	40 82 00 2c 	bne-    ffc18828 <fat_cluster_write+0x44>      <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc18800:	89 69 00 05 	lbz     r11,5(r9)                              
ffc18804:	38 84 ff fe 	addi    r4,r4,-2                               
ffc18808:	80 09 00 30 	lwz     r0,48(r9)                              
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_write(mt_entry, fsec, 0,                        
ffc1880c:	38 a0 00 00 	li      r5,0                                   
ffc18810:	7c 84 58 30 	slw     r4,r4,r11                              
                          fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc18814:	88 c9 00 04 	lbz     r6,4(r9)                               
ffc18818:	7c 84 02 14 	add     r4,r4,r0                               
ffc1881c:	88 09 00 02 	lbz     r0,2(r9)                               
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_write(mt_entry, fsec, 0,                        
ffc18820:	7c c6 00 30 	slw     r6,r6,r0                               
ffc18824:	4b ff fe 38 	b       ffc1865c <_fat_block_write>            
                          fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc18828:	88 c9 00 04 	lbz     r6,4(r9)                               <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_write(mt_entry, fsec, 0,                        
ffc1882c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
                          fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc18830:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc18834:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
                                                                      
    return _fat_block_write(mt_entry, fsec, 0,                        
ffc18838:	7c c6 00 30 	slw     r6,r6,r0                               <== NOT EXECUTED
ffc1883c:	4b ff fe 20 	b       ffc1865c <_fat_block_write>            <== NOT EXECUTED
                                                                      

ffc18adc <fat_fat32_update_fsinfo_sector>: fat_fat32_update_fsinfo_sector( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t free_count, uint32_t next_free ) {
ffc18adc:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc18ae0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc18ae4:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
ffc18ae8:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc18aec:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc18af0:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
ffc18af4:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
    ssize_t                 ret1 = 0, ret2 = 0;                       
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc18af8:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   swapped;                                                 
                                                                      
  __asm__ volatile("rlwimi %0,%1,8,24,31;"                            
ffc18afc:	50 80 46 3e 	rlwimi  r0,r4,8,24,31                          <== NOT EXECUTED
ffc18b00:	50 80 c4 2e 	rlwimi  r0,r4,24,16,23                         <== NOT EXECUTED
ffc18b04:	50 80 42 1e 	rlwimi  r0,r4,8,8,15                           <== NOT EXECUTED
ffc18b08:	50 80 c0 0e 	rlwimi  r0,r4,24,0,7                           <== NOT EXECUTED
    uint32_t                le_free_count = 0;                        
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
ffc18b0c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc18b10:	50 a0 46 3e 	rlwimi  r0,r5,8,24,31                          <== NOT EXECUTED
ffc18b14:	50 a0 c4 2e 	rlwimi  r0,r5,24,16,23                         <== NOT EXECUTED
ffc18b18:	50 a0 42 1e 	rlwimi  r0,r5,8,8,15                           <== NOT EXECUTED
ffc18b1c:	50 a0 c0 0e 	rlwimi  r0,r5,24,0,7                           <== NOT EXECUTED
    le_next_free = CT_LE_L(next_free);                                
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
ffc18b20:	a0 9f 00 3c 	lhz     r4,60(r31)                             <== NOT EXECUTED
ffc18b24:	38 a0 01 e8 	li      r5,488                                 <== NOT EXECUTED
ffc18b28:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                le_free_count = 0;                        
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
    le_next_free = CT_LE_L(next_free);                                
ffc18b2c:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
ffc18b30:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc18b34:	4b ff fb 29 	bl      ffc1865c <_fat_block_write>            <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,     
                            4,                                        
                            (char *)(&le_free_count));                
                                                                      
    ret2 = _fat_block_write(mt_entry,                                 
ffc18b38:	a0 9f 00 3c 	lhz     r4,60(r31)                             <== NOT EXECUTED
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
    le_next_free = CT_LE_L(next_free);                                
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
ffc18b3c:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,     
                            4,                                        
                            (char *)(&le_free_count));                
                                                                      
    ret2 = _fat_block_write(mt_entry,                                 
ffc18b40:	38 a0 01 ec 	li      r5,492                                 <== NOT EXECUTED
ffc18b44:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc18b48:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
ffc18b4c:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc18b50:	4b ff fb 0d 	bl      ffc1865c <_fat_block_write>            <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_NEXT_FREE_CLUSTER_OFFSET,      
                            4,                                        
                            (char *)(&le_next_free));                 
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc18b54:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
        return -1;                                                    
ffc18b58:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_NEXT_FREE_CLUSTER_OFFSET,      
                            4,                                        
                            (char *)(&le_next_free));                 
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc18b5c:	41 9c 00 08 	blt-    cr7,ffc18b64 <fat_fat32_update_fsinfo_sector+0x88><== NOT EXECUTED
        return -1;                                                    
ffc18b60:	7c 60 fe 70 	srawi   r0,r3,31                               <== NOT EXECUTED
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc18b64:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc18b68:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc18b6c:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc18b70:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18b74:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc18b78:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc18b7c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc18b80:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17758 <fat_file_close>: int fat_file_close( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc17758:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1775c:	7c 08 02 a6 	mflr    r0                                     
ffc17760:	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)                                        
ffc17764:	81 24 00 08 	lwz     r9,8(r4)                               
int                                                                   
fat_file_close(                                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc17768:	93 a1 00 0c 	stw     r29,12(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)                                        
ffc1776c:	2b 89 00 01 	cmplwi  cr7,r9,1                               
int                                                                   
fat_file_close(                                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc17770:	93 c1 00 10 	stw     r30,16(r1)                             
ffc17774:	7c 7e 1b 78 	mr      r30,r3                                 
ffc17778:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1777c:	7c 9f 23 78 	mr      r31,r4                                 
ffc17780:	93 81 00 08 	stw     r28,8(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc17784:	83 a3 00 34 	lwz     r29,52(r3)                             
                                                                      
    /*                                                                
     * 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)                                        
ffc17788:	40 9d 00 30 	ble-    cr7,ffc177b8 <fat_file_close+0x60>     
    {                                                                 
        fat_fd->links_num--;                                          
ffc1778c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc17790:	91 24 00 08 	stw     r9,8(r4)                               
        return rc;                                                    
ffc17794:	38 60 00 00 	li      r3,0                                   
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc17798:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1779c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc177a0:	7c 08 03 a6 	mtlr    r0                                     
ffc177a4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc177a8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc177ac:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc177b0:	38 21 00 18 	addi    r1,r1,24                               
ffc177b4:	4e 80 00 20 	blr                                            
        return rc;                                                    
    }                                                                 
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
                                                                      
    if (fat_fd->flags & FAT_FILE_REMOVED)                             
ffc177b8:	88 04 00 30 	lbz     r0,48(r4)                              
ffc177bc:	70 1c 00 01 	andi.   r28,r0,1                               
ffc177c0:	41 82 00 3c 	beq-    ffc177fc <fat_file_close+0xa4>         <== ALWAYS TAKEN
    {                                                                 
        rc = fat_file_truncate(mt_entry, fat_fd, 0);                  
ffc177c4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc177c8:	4b ff fe 29 	bl      ffc175f0 <fat_file_truncate>           <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc177cc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc177d0:	40 82 ff c8 	bne+    ffc17798 <fat_file_close+0x40>         <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc177d4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc177d8:	4b ff 6f a5 	bl      ffc0e77c <_Chain_Extract>              <== NOT EXECUTED
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(mt_entry, fat_fd->ino) )               
ffc177dc:	80 9f 00 0c 	lwz     r4,12(r31)                             <== NOT EXECUTED
ffc177e0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc177e4:	48 00 12 e1 	bl      ffc18ac4 <fat_ino_is_unique>           <== NOT EXECUTED
ffc177e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc177ec:	40 9e 00 58 	bne-    cr7,ffc17844 <fat_file_close+0xec>     <== NOT EXECUTED
            fat_fd->links_num = 0;                                    
        }                                                             
        else                                                          
        {                                                             
            _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);   
            free(fat_fd);                                             
ffc177f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc177f4:	4b ff 0c ed 	bl      ffc084e0 <free>                        
ffc177f8:	48 00 00 18 	b       ffc17810 <fat_file_close+0xb8>         
                                                                      
        free(fat_fd);                                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(mt_entry, fat_fd->ino))                 
ffc177fc:	80 84 00 0c 	lwz     r4,12(r4)                              
ffc17800:	48 00 12 c5 	bl      ffc18ac4 <fat_ino_is_unique>           
ffc17804:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17808:	41 9e 00 30 	beq-    cr7,ffc17838 <fat_file_close+0xe0>     <== ALWAYS TAKEN
        {                                                             
            fat_fd->links_num = 0;                                    
ffc1780c:	93 9f 00 08 	stw     r28,8(r31)                             <== NOT EXECUTED
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc17810:	7f a3 eb 78 	mr      r3,r29                                 
ffc17814:	48 00 0b c5 	bl      ffc183d8 <fat_buf_release>             
                                                                      
    return rc;                                                        
}                                                                     
ffc17818:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1781c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc17820:	7c 08 03 a6 	mtlr    r0                                     
ffc17824:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc17828:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1782c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc17830:	38 21 00 18 	addi    r1,r1,24                               
ffc17834:	4e 80 00 20 	blr                                            
ffc17838:	7f e3 fb 78 	mr      r3,r31                                 
ffc1783c:	4b ff 6f 41 	bl      ffc0e77c <_Chain_Extract>              
ffc17840:	4b ff ff b0 	b       ffc177f0 <fat_file_close+0x98>         
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(mt_entry, fat_fd->ino) )               
            fat_free_unique_ino(mt_entry, fat_fd->ino);               
ffc17844:	80 9f 00 0c 	lwz     r4,12(r31)                             <== NOT EXECUTED
ffc17848:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1784c:	48 00 12 49 	bl      ffc18a94 <fat_free_unique_ino>         <== NOT EXECUTED
ffc17850:	4b ff ff a0 	b       ffc177f0 <fat_file_close+0x98>         <== NOT EXECUTED
                                                                      

ffc17f08 <fat_file_datasync>: int fat_file_datasync( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc17f08:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc17f0c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc17f10:	90 01 00 34 	stw     r0,52(r1)                              <== NOT EXECUTED
    uint32_t            cur_cln = fat_fd->cln;                        
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
ffc17f14:	81 24 00 18 	lwz     r9,24(r4)                              <== NOT EXECUTED
    )                                                                 
{                                                                     
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            cur_cln = fat_fd->cln;                        
ffc17f18:	80 04 00 1c 	lwz     r0,28(r4)                              <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
ffc17f1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
int                                                                   
fat_file_datasync(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc17f20:	93 61 00 1c 	stw     r27,28(r1)                             <== NOT EXECUTED
ffc17f24:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            cur_cln = fat_fd->cln;                        
ffc17f28:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
ffc17f2c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
int                                                                   
fat_file_datasync(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc17f30:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
        return RC_OK;                                                 
ffc17f34:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
int                                                                   
fat_file_datasync(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc17f38:	93 c1 00 28 	stw     r30,40(r1)                             <== NOT EXECUTED
ffc17f3c:	93 a1 00 24 	stw     r29,36(r1)                             <== NOT EXECUTED
ffc17f40:	93 e1 00 2c 	stw     r31,44(r1)                             <== NOT EXECUTED
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc17f44:	83 c3 00 34 	lwz     r30,52(r3)                             <== NOT EXECUTED
    uint32_t            cur_cln = fat_fd->cln;                        
    rtems_bdbuf_buffer *block = NULL;                                 
ffc17f48:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
    uint32_t            sec = 0;                                      
    uint32_t            i = 0;                                        
                                                                      
    if (fat_fd->fat_file_size == 0)                                   
ffc17f4c:	40 9e 00 2c 	bne-    cr7,ffc17f78 <fat_file_datasync+0x70>  <== NOT EXECUTED
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
            return rc;                                                
    }                                                                 
    return rc;                                                        
}                                                                     
ffc17f50:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc17f54:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc17f58:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc17f5c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17f60:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc17f64:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc17f68:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc17f6c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc17f70:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc17f74:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
    /*                                                                
     * we can use only one bdbuf :( and we also know that cache is useless
     * for sync operation, so don't use it                            
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc17f78:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc17f7c:	48 00 04 5d 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc17f80:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc17f84:	40 a2 ff cc 	bne-    ffc17f50 <fat_file_datasync+0x48>      <== NOT EXECUTED
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc17f88:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc17f8c:	81 3e 00 0c 	lwz     r9,12(r30)                             <== NOT EXECUTED
ffc17f90:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc17f94:	7c 89 48 38 	and     r9,r4,r9                               <== NOT EXECUTED
ffc17f98:	7f 89 00 40 	cmplw   cr7,r9,r0                              <== NOT EXECUTED
ffc17f9c:	40 bc ff b4 	bge-    cr7,ffc17f50 <fat_file_datasync+0x48>  <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17fa0:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17fa4:	81 3b 00 34 	lwz     r9,52(r27)                             <== NOT EXECUTED
ffc17fa8:	41 9e 00 a0 	beq-    cr7,ffc18048 <fat_file_datasync+0x140> <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc17fac:	89 69 00 05 	lbz     r11,5(r9)                              <== NOT EXECUTED
ffc17fb0:	3b a4 ff fe 	addi    r29,r4,-2                              <== NOT EXECUTED
ffc17fb4:	80 09 00 30 	lwz     r0,48(r9)                              <== NOT EXECUTED
ffc17fb8:	7f bd 58 30 	slw     r29,r29,r11                            <== NOT EXECUTED
ffc17fbc:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc17fc0:	88 1e 00 04 	lbz     r0,4(r30)                              <== NOT EXECUTED
ffc17fc4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc17fc8:	41 9e 00 98 	beq-    cr7,ffc18060 <fat_file_datasync+0x158> <== NOT EXECUTED
ffc17fcc:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc17fd0:	48 00 00 20 	b       ffc17ff0 <fat_file_datasync+0xe8>      <== NOT EXECUTED
            /* ... sync it */                                         
            sc = rtems_bdbuf_read(fs_info->vol.dev, (sec + i), &block);
            if (sc != RTEMS_SUCCESSFUL)                               
                rtems_set_errno_and_return_minus_one( EIO );          
                                                                      
            sc = rtems_bdbuf_sync(block);                             
ffc17fd4:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc17fd8:	4b ff e4 b9 	bl      ffc16490 <rtems_bdbuf_sync>            <== NOT EXECUTED
            if ( sc != RTEMS_SUCCESSFUL )                             
ffc17fdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17fe0:	40 9e 00 30 	bne-    cr7,ffc18010 <fat_file_datasync+0x108> <== NOT EXECUTED
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc17fe4:	88 1e 00 04 	lbz     r0,4(r30)                              <== NOT EXECUTED
ffc17fe8:	7f 80 f8 40 	cmplw   cr7,r0,r31                             <== NOT EXECUTED
ffc17fec:	40 9d 00 70 	ble-    cr7,ffc1805c <fat_file_datasync+0x154> <== NOT EXECUTED
        {                                                             
            /* ... sync it */                                         
            sc = rtems_bdbuf_read(fs_info->vol.dev, (sec + i), &block);
ffc17ff0:	80 7e 00 58 	lwz     r3,88(r30)                             <== NOT EXECUTED
ffc17ff4:	7c bf ea 14 	add     r5,r31,r29                             <== NOT EXECUTED
ffc17ff8:	80 9e 00 5c 	lwz     r4,92(r30)                             <== NOT EXECUTED
ffc17ffc:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc18000:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
        {                                                             
            /* ... sync it */                                         
            sc = rtems_bdbuf_read(fs_info->vol.dev, (sec + i), &block);
ffc18004:	4b ff df 81 	bl      ffc15f84 <rtems_bdbuf_read>            <== NOT EXECUTED
            if (sc != RTEMS_SUCCESSFUL)                               
ffc18008:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1800c:	41 9e ff c8 	beq+    cr7,ffc17fd4 <fat_file_datasync+0xcc>  <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EIO );          
                                                                      
            sc = rtems_bdbuf_sync(block);                             
            if ( sc != RTEMS_SUCCESSFUL )                             
                rtems_set_errno_and_return_minus_one( EIO );          
ffc18010:	48 00 af d1 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc18014:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc18018:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1801c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
            return rc;                                                
    }                                                                 
    return rc;                                                        
}                                                                     
ffc18020:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc18024:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc18028:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc1802c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18030:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc18034:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc18038:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc1803c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc18040:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc18044:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc18048:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc1804c:	70 0b 00 03 	andi.   r11,r0,3                               <== NOT EXECUTED
ffc18050:	41 a2 ff 5c 	beq-    ffc17fac <fat_file_datasync+0xa4>      <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc18054:	83 a9 00 1c 	lwz     r29,28(r9)                             <== NOT EXECUTED
ffc18058:	4b ff ff 68 	b       ffc17fc0 <fat_file_datasync+0xb8>      <== NOT EXECUTED
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc1805c:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
            sc = rtems_bdbuf_sync(block);                             
            if ( sc != RTEMS_SUCCESSFUL )                             
                rtems_set_errno_and_return_minus_one( EIO );          
        }                                                             
                                                                      
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc18060:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc18064:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc18068:	48 00 8f a5 	bl      ffc2100c <fat_get_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc1806c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc18070:	41 82 ff 18 	beq+    ffc17f88 <fat_file_datasync+0x80>      <== NOT EXECUTED
            sc = rtems_bdbuf_sync(block);                             
            if ( sc != RTEMS_SUCCESSFUL )                             
                rtems_set_errno_and_return_minus_one( EIO );          
        }                                                             
                                                                      
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc18074:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc18078:	4b ff fe d8 	b       ffc17f50 <fat_file_datasync+0x48>      <== NOT EXECUTED
                                                                      

ffc17958 <fat_file_extend>: rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t new_length, uint32_t *a_length ) {
ffc17958:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1795c:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
ffc17960:	39 20 00 00 	li      r9,0                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc17964:	90 01 00 44 	stw     r0,68(r1)                              
ffc17968:	93 41 00 28 	stw     r26,40(r1)                             
ffc1796c:	7c da 33 78 	mr      r26,r6                                 
ffc17970:	93 61 00 2c 	stw     r27,44(r1)                             
ffc17974:	93 81 00 30 	stw     r28,48(r1)                             
ffc17978:	7c 7c 1b 78 	mr      r28,r3                                 
ffc1797c:	93 a1 00 34 	stw     r29,52(r1)                             
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
ffc17980:	3b a0 00 00 	li      r29,0                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc17984:	93 c1 00 38 	stw     r30,56(r1)                             
ffc17988:	7c 9e 23 78 	mr      r30,r4                                 
ffc1798c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc17990:	7c bf 2b 78 	mr      r31,r5                                 
ffc17994:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc17998:	93 01 00 20 	stw     r24,32(r1)                             
ffc1799c:	93 21 00 24 	stw     r25,36(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc179a0:	83 63 00 34 	lwz     r27,52(r3)                             
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
ffc179a4:	90 ba 00 00 	stw     r5,0(r26)                              
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc179a8:	80 04 00 18 	lwz     r0,24(r4)                              
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
ffc179ac:	91 21 00 14 	stw     r9,20(r1)                              
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc179b0:	7f 85 00 40 	cmplw   cr7,r5,r0                              
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
    uint32_t       bytes2add = 0;                                     
    uint32_t       cls2add = 0;                                       
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
ffc179b4:	91 21 00 0c 	stw     r9,12(r1)                              
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc179b8:	40 9d 00 e4 	ble-    cr7,ffc17a9c <fat_file_extend+0x144>   
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc179bc:	81 24 00 20 	lwz     r9,32(r4)                              
ffc179c0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc179c4:	41 9e 01 10 	beq-    cr7,ffc17ad4 <fat_file_extend+0x17c>   <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
        rtems_set_errno_and_return_minus_one( ENOSPC );               
                                                                      
    bytes_remain = (fs_info->vol.bpc -                                
ffc179c8:	a1 7b 00 06 	lhz     r11,6(r27)                             
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
ffc179cc:	7e e0 f8 50 	subf    r23,r0,r31                             
     * 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)                                               
        return RC_OK;                                                 
ffc179d0:	3b a0 00 00 	li      r29,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))) &
ffc179d4:	39 2b ff ff 	addi    r9,r11,-1                              
ffc179d8:	7d 39 00 38 	and     r25,r9,r0                              
                                                                      
    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 -                                
ffc179dc:	7f 39 58 50 	subf    r25,r25,r11                            
ffc179e0:	7f 39 48 38 	and     r25,r25,r9                             
                   (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)                                     
ffc179e4:	7f 99 b8 40 	cmplw   cr7,r25,r23                            
ffc179e8:	40 9c 00 b4 	bge-    cr7,ffc17a9c <fat_file_extend+0x144>   
    /*                                                                
     * 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)                                               
ffc179ec:	7e f9 b8 51 	subf.   r23,r25,r23                            
ffc179f0:	41 82 00 ac 	beq-    ffc17a9c <fat_file_extend+0x144>       <== NEVER TAKEN
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc179f4:	88 1b 00 08 	lbz     r0,8(r27)                              
ffc179f8:	3b 17 ff ff 	addi    r24,r23,-1                             
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
ffc179fc:	7f 83 e3 78 	mr      r3,r28                                 
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc17a00:	7f 18 04 30 	srw     r24,r24,r0                             
ffc17a04:	3b 18 00 01 	addi    r24,r24,1                              
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
ffc17a08:	38 81 00 14 	addi    r4,r1,20                               
ffc17a0c:	7f 05 c3 78 	mr      r5,r24                                 
ffc17a10:	38 c1 00 08 	addi    r6,r1,8                                
ffc17a14:	38 e1 00 0c 	addi    r7,r1,12                               
ffc17a18:	48 00 9d 09 	bl      ffc21720 <fat_scan_fat_for_free_clusters>
                                        &cls_added, &last_cl);        
                                                                      
    /* this means that low level I/O error occured */                 
    if (rc != RC_OK)                                                  
ffc17a1c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc17a20:	40 82 00 7c 	bne-    ffc17a9c <fat_file_extend+0x144>       <== NEVER TAKEN
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
ffc17a24:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17a28:	7f 29 03 79 	or.     r9,r25,r0                              
ffc17a2c:	41 82 00 c0 	beq-    ffc17aec <fat_file_extend+0x194>       <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
ffc17a30:	7f 98 00 00 	cmpw    cr7,r24,r0                             
ffc17a34:	41 9e 00 2c 	beq-    cr7,ffc17a60 <fat_file_extend+0x108>   <== ALWAYS TAKEN
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
ffc17a38:	89 7b 00 08 	lbz     r11,8(r27)                             <== NOT EXECUTED
ffc17a3c:	7c 0a 00 f8 	not     r10,r0                                 <== NOT EXECUTED
                    (bytes2add & (fs_info->vol.bpc - 1));             
ffc17a40:	a1 3b 00 06 	lhz     r9,6(r27)                              <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
ffc17a44:	7f 0a c2 14 	add     r24,r10,r24                            <== NOT EXECUTED
ffc17a48:	7f 18 58 30 	slw     r24,r24,r11                            <== NOT EXECUTED
                    (bytes2add & (fs_info->vol.bpc - 1));             
ffc17a4c:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
ffc17a50:	7f 18 f8 50 	subf    r24,r24,r31                            <== NOT EXECUTED
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
                    (bytes2add & (fs_info->vol.bpc - 1));             
ffc17a54:	7e f7 48 38 	and     r23,r23,r9                             <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
ffc17a58:	7e f7 c0 50 	subf    r23,r23,r24                            <== NOT EXECUTED
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
        *a_length = new_length -                                      
ffc17a5c:	92 fa 00 00 	stw     r23,0(r26)                             <== NOT EXECUTED
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
                    (bytes2add & (fs_info->vol.bpc - 1));             
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
ffc17a60:	80 de 00 18 	lwz     r6,24(r30)                             
ffc17a64:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc17a68:	40 9e 00 98 	bne-    cr7,ffc17b00 <fat_file_extend+0x1a8>   
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
ffc17a6c:	81 21 00 14 	lwz     r9,20(r1)                              
        fat_fd->map.file_cln = 0;                                     
ffc17a70:	90 de 00 34 	stw     r6,52(r30)                             
                    (bytes2add & (fs_info->vol.bpc - 1));             
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
ffc17a74:	91 3e 00 1c 	stw     r9,28(r30)                             
ffc17a78:	91 3e 00 38 	stw     r9,56(r30)                             
        }                                                             
        fat_buf_release(fs_info);                                     
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
ffc17a7c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17a80:	41 9e 00 18 	beq-    cr7,ffc17a98 <fat_file_extend+0x140>   <== NEVER TAKEN
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
ffc17a84:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc17a88:	2f 80 00 01 	cmpwi   cr7,r0,1                               
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
ffc17a8c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc17a90:	90 1e 00 3c 	stw     r0,60(r30)                             
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
ffc17a94:	41 9e 00 dc 	beq-    cr7,ffc17b70 <fat_file_extend+0x218>   
                return rc;                                            
            }                                                         
        }                                                             
    }                                                                 
                                                                      
    fat_fd->fat_file_size = new_length;                               
ffc17a98:	93 fe 00 18 	stw     r31,24(r30)                            
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc17a9c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc17aa0:	7f a3 eb 78 	mr      r3,r29                                 
ffc17aa4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc17aa8:	7c 08 03 a6 	mtlr    r0                                     
ffc17aac:	83 01 00 20 	lwz     r24,32(r1)                             
ffc17ab0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc17ab4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc17ab8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc17abc:	83 81 00 30 	lwz     r28,48(r1)                             
ffc17ac0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc17ac4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc17ac8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc17acc:	38 21 00 40 	addi    r1,r1,64                               
ffc17ad0:	4e 80 00 20 	blr                                            
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17ad4:	81 24 00 24 	lwz     r9,36(r4)                              <== NOT EXECUTED
ffc17ad8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc17adc:	40 be fe ec 	bne-    cr7,ffc179c8 <fat_file_extend+0x70>    <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc17ae0:	89 3b 00 0a 	lbz     r9,10(r27)                             <== 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)) &&                               
ffc17ae4:	71 2b 00 03 	andi.   r11,r9,3                               <== NOT EXECUTED
ffc17ae8:	41 82 fe e0 	beq+    ffc179c8 <fat_file_extend+0x70>        <== NOT EXECUTED
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
ffc17aec:	48 00 b4 f5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc17af0:	38 00 00 1c 	li      r0,28                                  <== NOT EXECUTED
ffc17af4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc17af8:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc17afc:	4b ff ff a0 	b       ffc17a9c <fat_file_extend+0x144>       <== NOT EXECUTED
        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)              
ffc17b00:	80 9e 00 3c 	lwz     r4,60(r30)                             
ffc17b04:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc17b08:	41 9e 00 2c 	beq-    cr7,ffc17b34 <fat_file_extend+0x1dc>   <== NEVER TAKEN
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
ffc17b0c:	90 81 00 10 	stw     r4,16(r1)                              
                fat_free_fat_clusters_chain(mt_entry, chain);         
                return rc;                                            
            }                                                         
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, old_last_cl, chain);       
ffc17b10:	80 a1 00 14 	lwz     r5,20(r1)                              
ffc17b14:	7f 83 e3 78 	mr      r3,r28                                 
ffc17b18:	48 00 97 59 	bl      ffc21270 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc17b1c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc17b20:	40 82 00 3c 	bne-    ffc17b5c <fat_file_extend+0x204>       <== NEVER TAKEN
        {                                                             
            fat_free_fat_clusters_chain(mt_entry, chain);             
            return rc;                                                
        }                                                             
        fat_buf_release(fs_info);                                     
ffc17b24:	7f 63 db 78 	mr      r3,r27                                 
ffc17b28:	48 00 08 b1 	bl      ffc183d8 <fat_buf_release>             
ffc17b2c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17b30:	4b ff ff 4c 	b       ffc17a7c <fat_file_extend+0x124>       
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,          
ffc17b34:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc17b38:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc17b3c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc17b40:	38 c6 ff ff 	addi    r6,r6,-1                               <== NOT EXECUTED
ffc17b44:	38 e1 00 10 	addi    r7,r1,16                               <== NOT EXECUTED
ffc17b48:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17b4c:	4b ff fd 09 	bl      ffc17854 <fat_file_ioctl>              <== NOT EXECUTED
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
            {                                                         
                fat_free_fat_clusters_chain(mt_entry, chain);         
                return rc;                                            
ffc17b50:	80 81 00 10 	lwz     r4,16(r1)                              <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,          
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
ffc17b54:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc17b58:	41 82 ff b8 	beq+    ffc17b10 <fat_file_extend+0x1b8>       <== NOT EXECUTED
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, old_last_cl, chain);       
        if ( rc != RC_OK )                                            
        {                                                             
            fat_free_fat_clusters_chain(mt_entry, chain);             
ffc17b5c:	80 81 00 14 	lwz     r4,20(r1)                              <== NOT EXECUTED
ffc17b60:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
            return rc;                                                
ffc17b64:	7f 5d d3 78 	mr      r29,r26                                <== NOT EXECUTED
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, old_last_cl, chain);       
        if ( rc != RC_OK )                                            
        {                                                             
            fat_free_fat_clusters_chain(mt_entry, chain);             
ffc17b68:	48 00 9a 6d 	bl      ffc215d4 <fat_free_fat_clusters_chain> <== NOT EXECUTED
            return rc;                                                
ffc17b6c:	4b ff ff 30 	b       ffc17a9c <fat_file_extend+0x144>       <== NOT EXECUTED
    if (cls_added != 0)                                               
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
        {                                                             
            rc = fat_init_clusters_chain(mt_entry, chain);            
ffc17b70:	80 81 00 14 	lwz     r4,20(r1)                              
ffc17b74:	7f 83 e3 78 	mr      r3,r28                                 
ffc17b78:	48 00 0c c9 	bl      ffc18840 <fat_init_clusters_chain>     
            if ( rc != RC_OK )                                        
ffc17b7c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc17b80:	41 82 ff 18 	beq+    ffc17a98 <fat_file_extend+0x140>       <== ALWAYS TAKEN
            {                                                         
                fat_free_fat_clusters_chain(mt_entry, chain);         
ffc17b84:	80 81 00 14 	lwz     r4,20(r1)                              <== NOT EXECUTED
ffc17b88:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
                return rc;                                            
ffc17b8c:	7f 7d db 78 	mr      r29,r27                                <== NOT EXECUTED
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
        {                                                             
            rc = fat_init_clusters_chain(mt_entry, chain);            
            if ( rc != RC_OK )                                        
            {                                                         
                fat_free_fat_clusters_chain(mt_entry, chain);         
ffc17b90:	48 00 9a 45 	bl      ffc215d4 <fat_free_fat_clusters_chain> <== NOT EXECUTED
                return rc;                                            
ffc17b94:	4b ff ff 08 	b       ffc17a9c <fat_file_extend+0x144>       <== NOT EXECUTED
                                                                      

ffc17854 <fat_file_ioctl>: fat_file_ioctl( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, int cmd, ...) {
ffc17854:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc17858:	7c 08 02 a6 	mflr    r0                                     
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
ffc1785c:	2f 85 00 01 	cmpwi   cr7,r5,1                               
fat_file_ioctl(                                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
ffc17860:	90 01 00 34 	stw     r0,52(r1)                              
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc17864:	7c 29 0b 78 	mr      r9,r1                                  
ffc17868:	38 01 00 38 	addi    r0,r1,56                               
fat_file_ioctl(                                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
ffc1786c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc17870:	90 e1 00 20 	stw     r7,32(r1)                              
ffc17874:	93 c1 00 28 	stw     r30,40(r1)                             
ffc17878:	93 e1 00 2c 	stw     r31,44(r1)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc1787c:	94 09 00 10 	stwu    r0,16(r9)                              
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc17880:	38 00 00 00 	li      r0,0                                   
ffc17884:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc17888:	38 00 00 03 	li      r0,3                                   
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc1788c:	81 63 00 34 	lwz     r11,52(r3)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc17890:	98 01 00 0c 	stb     r0,12(r1)                              
ffc17894:	91 21 00 14 	stw     r9,20(r1)                              
                                                                      
    switch (cmd)                                                      
ffc17898:	41 9e 00 2c 	beq-    cr7,ffc178c4 <fat_file_ioctl+0x70>     <== ALWAYS TAKEN
                                                                      
            *ret = cur_cln;                                           
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc1789c:	48 00 b7 45 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc178a0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc178a4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
            rc = -1;                                                  
ffc178a8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc178ac:	80 01 00 34 	lwz     r0,52(r1)                              
ffc178b0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc178b4:	7c 08 03 a6 	mtlr    r0                                     
ffc178b8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc178bc:	38 21 00 30 	addi    r1,r1,48                               
ffc178c0:	4e 80 00 20 	blr                                            
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
ffc178c4:	80 09 00 0c 	lwz     r0,12(r9)                              
            ret = va_arg(ap, uint32_t *);                             
ffc178c8:	3b c0 00 05 	li      r30,5                                  
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc178cc:	81 44 00 18 	lwz     r10,24(r4)                             
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
ffc178d0:	9b c1 00 0c 	stb     r30,12(r1)                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc178d4:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
ffc178d8:	83 e9 00 10 	lwz     r31,16(r9)                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc178dc:	40 9d 00 6c 	ble-    cr7,ffc17948 <fat_file_ioctl+0xf4>     <== NEVER TAKEN
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
ffc178e0:	81 24 00 20 	lwz     r9,32(r4)                              
ffc178e4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc178e8:	41 9e 00 3c 	beq-    cr7,ffc17924 <fat_file_ioctl+0xd0>     
                *ret  = 0;                                            
                rc = RC_OK;                                           
                break;                                                
            }                                                         
                                                                      
            cl_start = pos >> fs_info->vol.bpc_log2;                  
ffc178ec:	88 ab 00 08 	lbz     r5,8(r11)                              
                                                                      
            rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);
ffc178f0:	38 c1 00 08 	addi    r6,r1,8                                
ffc178f4:	7c 05 2c 30 	srw     r5,r0,r5                               
ffc178f8:	4b ff f6 29 	bl      ffc16f20 <fat_file_lseek>              
            if ( rc != RC_OK )                                        
ffc178fc:	7c 83 23 79 	mr.     r3,r4                                  
ffc17900:	40 a2 ff ac 	bne-    ffc178ac <fat_file_ioctl+0x58>         <== NEVER TAKEN
                break;                                                
                                                                      
            *ret = cur_cln;                                           
ffc17904:	80 01 00 08 	lwz     r0,8(r1)                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc17908:	83 c1 00 28 	lwz     r30,40(r1)                             
                                                                      
            rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);
            if ( rc != RC_OK )                                        
                break;                                                
                                                                      
            *ret = cur_cln;                                           
ffc1790c:	90 1f 00 00 	stw     r0,0(r31)                              
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc17910:	80 01 00 34 	lwz     r0,52(r1)                              
ffc17914:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc17918:	38 21 00 30 	addi    r1,r1,48                               
ffc1791c:	7c 08 03 a6 	mtlr    r0                                     
ffc17920:	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)) &&                       
ffc17924:	81 24 00 24 	lwz     r9,36(r4)                              
ffc17928:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1792c:	40 be ff c0 	bne-    cr7,ffc178ec <fat_file_ioctl+0x98>     <== NEVER TAKEN
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc17930:	89 4b 00 0a 	lbz     r10,10(r11)                            
            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)) &&                       
ffc17934:	71 48 00 03 	andi.   r8,r10,3                               
ffc17938:	41 a2 ff b4 	beq-    ffc178ec <fat_file_ioctl+0x98>         <== NEVER TAKEN
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
            {                                                         
                /* cluster 0 (zero) reserved for root dir */          
                *ret  = 0;                                            
ffc1793c:	91 3f 00 00 	stw     r9,0(r31)                              
                rc = RC_OK;                                           
ffc17940:	38 60 00 00 	li      r3,0                                   
                break;                                                
ffc17944:	4b ff ff 68 	b       ffc178ac <fat_file_ioctl+0x58>         
            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 );          
ffc17948:	48 00 b6 99 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1794c:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc17950:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17954:	4b ff ff 58 	b       ffc178ac <fat_file_ioctl+0x58>         <== NOT EXECUTED
                                                                      

ffc16f20 <fat_file_lseek>: rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t file_cln, uint32_t *disk_cln ) {
ffc16f20:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc16f24:	7c 08 02 a6 	mflr    r0                                     
ffc16f28:	90 01 00 34 	stw     r0,52(r1)                              
ffc16f2c:	93 61 00 1c 	stw     r27,28(r1)                             
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc16f30:	83 64 00 34 	lwz     r27,52(r4)                             
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_file_fd_t                         *fat_fd,                    
    uint32_t                               file_cln,                  
    uint32_t                              *disk_cln                   
    )                                                                 
{                                                                     
ffc16f34:	93 41 00 18 	stw     r26,24(r1)                             
ffc16f38:	7c da 33 78 	mr      r26,r6                                 
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc16f3c:	7f 9b 28 00 	cmpw    cr7,r27,r5                             
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_file_fd_t                         *fat_fd,                    
    uint32_t                               file_cln,                  
    uint32_t                              *disk_cln                   
    )                                                                 
{                                                                     
ffc16f40:	93 a1 00 24 	stw     r29,36(r1)                             
ffc16f44:	7c 9d 23 78 	mr      r29,r4                                 
ffc16f48:	93 c1 00 28 	stw     r30,40(r1)                             
ffc16f4c:	7c be 2b 78 	mr      r30,r5                                 
ffc16f50:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc16f54:	7c 7f 1b 78 	mr      r31,r3                                 
ffc16f58:	93 81 00 20 	stw     r28,32(r1)                             
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc16f5c:	41 9e 00 d8 	beq-    cr7,ffc17034 <fat_file_lseek+0x114>    <== ALWAYS TAKEN
    {                                                                 
        uint32_t   cur_cln;                                           
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
ffc16f60:	7f 9b 28 40 	cmplw   cr7,r27,r5                             <== NOT EXECUTED
ffc16f64:	41 9c 00 7c 	blt-    cr7,ffc16fe0 <fat_file_lseek+0xc0>     <== NOT EXECUTED
            cur_cln = fat_fd->map.disk_cln;                           
            count = file_cln - fat_fd->map.file_cln;                  
        }                                                             
        else                                                          
        {                                                             
            cur_cln = fat_fd->cln;                                    
ffc16f68:	80 84 00 1c 	lwz     r4,28(r4)                              <== NOT EXECUTED
ffc16f6c:	7c bb 2b 78 	mr      r27,r5                                 <== NOT EXECUTED
ffc16f70:	90 81 00 08 	stw     r4,8(r1)                               <== NOT EXECUTED
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc16f74:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc16f78:	41 9e 00 78 	beq-    cr7,ffc16ff0 <fat_file_lseek+0xd0>     <== NOT EXECUTED
ffc16f7c:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc16f80:	48 00 00 0c 	b       ffc16f8c <fat_file_lseek+0x6c>         <== NOT EXECUTED
ffc16f84:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc16f88:	41 9e 00 68 	beq-    cr7,ffc16ff0 <fat_file_lseek+0xd0>     <== NOT EXECUTED
        {                                                             
            rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);    
ffc16f8c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16f90:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc16f94:	48 00 a0 79 	bl      ffc2100c <fat_get_fat_cluster>         <== NOT EXECUTED
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc16f98:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
        {                                                             
            rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);    
            if ( rc != RC_OK )                                        
ffc16f9c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc16fa0:	7f 9c d8 00 	cmpw    cr7,r28,r27                            <== NOT EXECUTED
        {                                                             
            rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);    
            if ( rc != RC_OK )                                        
ffc16fa4:	41 82 ff e0 	beq+    ffc16f84 <fat_file_lseek+0x64>         <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc16fa8:	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(mt_entry, cur_cln, &cur_cln);    
            if ( rc != RC_OK )                                        
                return rc;                                            
ffc16fac:	7c 6b 1b 78 	mr      r11,r3                                 <== NOT EXECUTED
ffc16fb0:	7c 6a fe 70 	srawi   r10,r3,31                              <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc16fb4:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc16fb8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16fbc:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc16fc0:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc16fc4:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc16fc8:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc16fcc:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc16fd0:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc16fd4:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc16fd8:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc16fdc:	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;                           
ffc16fe0:	80 84 00 38 	lwz     r4,56(r4)                              <== NOT EXECUTED
            count = file_cln - fat_fd->map.file_cln;                  
ffc16fe4:	7f 7b 28 50 	subf    r27,r27,r5                             <== NOT EXECUTED
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
ffc16fe8:	90 81 00 08 	stw     r4,8(r1)                               <== NOT EXECUTED
ffc16fec:	4b ff ff 88 	b       ffc16f74 <fat_file_lseek+0x54>         <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc16ff0:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc16ff4:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc16ff8:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
            if ( rc != RC_OK )                                        
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
ffc16ffc:	93 dd 00 34 	stw     r30,52(r29)                            <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17000:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17004:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
ffc17008:	90 9d 00 38 	stw     r4,56(r29)                             <== NOT EXECUTED
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc1700c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
ffc17010:	90 9a 00 00 	stw     r4,0(r26)                              <== NOT EXECUTED
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17014:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc17018:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc1701c:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc17020:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc17024:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc17028:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc1702c:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc17030:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
ffc17034:	80 04 00 38 	lwz     r0,56(r4)                              
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc17038:	39 40 00 00 	li      r10,0                                  
ffc1703c:	39 60 00 00 	li      r11,0                                  
}                                                                     
ffc17040:	83 41 00 18 	lwz     r26,24(r1)                             
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
ffc17044:	90 06 00 00 	stw     r0,0(r6)                               
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17048:	7d 43 53 78 	mr      r3,r10                                 
ffc1704c:	7d 64 5b 78 	mr      r4,r11                                 
ffc17050:	80 01 00 34 	lwz     r0,52(r1)                              
ffc17054:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc17058:	7c 08 03 a6 	mtlr    r0                                     
ffc1705c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc17060:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc17064:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc17068:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1706c:	38 21 00 30 	addi    r1,r1,48                               
ffc17070:	4e 80 00 20 	blr                                            
                                                                      

ffc17e40 <fat_file_mark_removed>: void fat_file_mark_removed( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc17e40:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc17e44:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
ffc17e48:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc17e4c:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc17e50:	81 24 00 20 	lwz     r9,32(r4)                              <== NOT EXECUTED
ffc17e54:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc17e58:	2f 89 00 01 	cmpwi   cr7,r9,1                               <== NOT EXECUTED
ffc17e5c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc17e60:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
ffc17e64:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc17e68:	83 c3 00 34 	lwz     r30,52(r3)                             <== NOT EXECUTED
ffc17e6c:	41 9e 00 28 	beq-    cr7,ffc17e94 <fat_file_mark_removed+0x54><== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17e70:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc17e74:	41 9e 00 80 	beq-    cr7,ffc17ef4 <fat_file_mark_removed+0xb4><== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc17e78:	89 7e 00 05 	lbz     r11,5(r30)                             <== NOT EXECUTED
ffc17e7c:	39 29 ff fe 	addi    r9,r9,-2                               <== NOT EXECUTED
ffc17e80:	80 1e 00 30 	lwz     r0,48(r30)                             <== NOT EXECUTED
ffc17e84:	7d 2b 58 30 	slw     r11,r9,r11                             <== NOT EXECUTED
ffc17e88:	7d 6b 02 14 	add     r11,r11,r0                             <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(mt_entry, cln) <<           
ffc17e8c:	88 1e 00 03 	lbz     r0,3(r30)                              <== NOT EXECUTED
ffc17e90:	7d 6b 00 30 	slw     r11,r11,r0                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc17e94:	80 1f 00 24 	lwz     r0,36(r31)                             <== NOT EXECUTED
ffc17e98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17e9c:	54 1d ba 7e 	rlwinm  r29,r0,23,9,31                         <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc17ea0:	7f ab ea 14 	add     r29,r11,r29                            <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc17ea4:	54 00 df 3e 	rlwinm  r0,r0,27,28,31                         <== NOT EXECUTED
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc17ea8:	57 bd 20 36 	rlwinm  r29,r29,4,0,27                         <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc17eac:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
ffc17eb0:	4b ff 68 cd 	bl      ffc0e77c <_Chain_Extract>              <== NOT EXECUTED
 */                                                                   
static inline void                                                    
_hash_insert(rtems_chain_control *hash, uint32_t   key1, uint32_t   key2,
             fat_file_fd_t *el)                                       
{                                                                     
    rtems_chain_append((hash) + ((key1) % FAT_HASH_MODULE), &(el)->link);
ffc17eb4:	57 a0 07 fe 	clrlwi  r0,r29,31                              <== NOT EXECUTED
ffc17eb8:	80 7e 00 6c 	lwz     r3,108(r30)                            <== NOT EXECUTED
ffc17ebc:	1c 00 00 0c 	mulli   r0,r0,12                               <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc17ec0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc17ec4:	7c 63 02 14 	add     r3,r3,r0                               <== NOT EXECUTED
ffc17ec8:	4b ff 68 85 	bl      ffc0e74c <_Chain_Append>               <== NOT EXECUTED
                                                                      
    _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);           
                                                                      
    _hash_insert(fs_info->rhash, key, fat_fd->ino, fat_fd);           
                                                                      
    fat_fd->flags |= FAT_FILE_REMOVED;                                
ffc17ecc:	88 1f 00 30 	lbz     r0,48(r31)                             <== NOT EXECUTED
ffc17ed0:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc17ed4:	98 1f 00 30 	stb     r0,48(r31)                             <== NOT EXECUTED
}                                                                     
ffc17ed8:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc17edc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc17ee0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17ee4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc17ee8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc17eec:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc17ef0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17ef4:	88 1e 00 0a 	lbz     r0,10(r30)                             <== NOT EXECUTED
ffc17ef8:	70 0b 00 03 	andi.   r11,r0,3                               <== NOT EXECUTED
ffc17efc:	41 a2 ff 7c 	beq-    ffc17e78 <fat_file_mark_removed+0x38>  <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc17f00:	81 7e 00 1c 	lwz     r11,28(r30)                            <== NOT EXECUTED
ffc17f04:	4b ff ff 88 	b       ffc17e8c <fat_file_mark_removed+0x4c>  <== NOT EXECUTED
                                                                      

ffc17074 <fat_file_open>: fat_file_open( rtems_filesystem_mount_table_entry_t *mt_entry, fat_dir_pos_t *dir_pos, fat_file_fd_t **fat_fd ) {
ffc17074:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc17078:	7c 08 02 a6 	mflr    r0                                     
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
ffc1707c:	39 60 00 01 	li      r11,1                                  
ffc17080:	90 01 00 2c 	stw     r0,44(r1)                              
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc17084:	81 24 00 00 	lwz     r9,0(r4)                               
ffc17088:	93 21 00 0c 	stw     r25,12(r1)                             
ffc1708c:	7c 79 1b 78 	mr      r25,r3                                 
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc17090:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc17094:	93 41 00 10 	stw     r26,16(r1)                             
ffc17098:	7c ba 2b 78 	mr      r26,r5                                 
ffc1709c:	93 81 00 18 	stw     r28,24(r1)                             
ffc170a0:	7c 9c 23 78 	mr      r28,r4                                 
ffc170a4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc170a8:	93 01 00 08 	stw     r24,8(r1)                              
ffc170ac:	93 61 00 14 	stw     r27,20(r1)                             
ffc170b0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc170b4:	93 c1 00 20 	stw     r30,32(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc170b8:	83 e3 00 34 	lwz     r31,52(r3)                             
ffc170bc:	41 9e 00 28 	beq-    cr7,ffc170e4 <fat_file_open+0x70>      
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc170c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc170c4:	41 9e 01 a4 	beq-    cr7,ffc17268 <fat_file_open+0x1f4>     
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc170c8:	89 7f 00 05 	lbz     r11,5(r31)                             
ffc170cc:	39 29 ff fe 	addi    r9,r9,-2                               
ffc170d0:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc170d4:	7d 2b 58 30 	slw     r11,r9,r11                             
ffc170d8:	7d 6b 02 14 	add     r11,r11,r0                             
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(mt_entry, cln) <<           
ffc170dc:	88 1f 00 03 	lbz     r0,3(r31)                              
ffc170e0:	7d 6b 00 30 	slw     r11,r11,r0                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc170e4:	80 1c 00 04 	lwz     r0,4(r28)                              
    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);       
ffc170e8:	81 3f 00 68 	lwz     r9,104(r31)                            
ffc170ec:	54 1e ba 7e 	rlwinm  r30,r0,23,9,31                         
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc170f0:	7f cb f2 14 	add     r30,r11,r30                            
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc170f4:	57 de 20 36 	rlwinm  r30,r30,4,0,27                         
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc170f8:	54 00 df 3e 	rlwinm  r0,r0,27,28,31                         
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc170fc:	7f de 02 14 	add     r30,r30,r0                             
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
ffc17100:	57 db 07 fe 	clrlwi  r27,r30,31                             
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
ffc17104:	1f 7b 00 0c 	mulli   r27,r27,12                             
ffc17108:	7d 09 da 14 	add     r8,r9,r27                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc1710c:	7d 29 d8 2e 	lwzx    r9,r9,r27                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc17110:	39 08 00 04 	addi    r8,r8,4                                
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
ffc17114:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc17118:	41 9e 00 64 	beq-    cr7,ffc1717c <fat_file_open+0x108>     
ffc1711c:	81 69 00 20 	lwz     r11,32(r9)                             
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
ffc17120:	39 40 00 01 	li      r10,1                                  
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc17124:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17128:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1712c:	39 6b ff fe 	addi    r11,r11,-2                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc17130:	41 9e 00 20 	beq-    cr7,ffc17150 <fat_file_open+0xdc>      
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17134:	40 9a 00 dc 	bne-    cr6,ffc17210 <fat_file_open+0x19c>     
ffc17138:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc1713c:	70 0a 00 03 	andi.   r10,r0,3                               
ffc17140:	41 82 00 d0 	beq-    ffc17210 <fat_file_open+0x19c>         <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc17144:	81 5f 00 1c 	lwz     r10,28(r31)                            
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(mt_entry, cln) <<           
ffc17148:	88 1f 00 03 	lbz     r0,3(r31)                              
ffc1714c:	7d 4a 00 30 	slw     r10,r10,r0                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc17150:	80 09 00 24 	lwz     r0,36(r9)                              
ffc17154:	54 0b ba 7e 	rlwinm  r11,r0,23,9,31                         
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc17158:	7d 4a 5a 14 	add     r10,r10,r11                            
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc1715c:	55 4a 20 36 	rlwinm  r10,r10,4,0,27                         
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc17160:	54 00 df 3e 	rlwinm  r0,r0,27,28,31                         
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc17164:	7c 0a 02 14 	add     r0,r10,r0                              
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
ffc17168:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc1716c:	41 9e 00 b8 	beq-    cr7,ffc17224 <fat_file_open+0x1b0>     
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
ffc17170:	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) ; )          
ffc17174:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc17178:	40 9e ff a4 	bne+    cr7,ffc1711c <fat_file_open+0xa8>      
    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);       
ffc1717c:	81 3f 00 6c 	lwz     r9,108(r31)                            
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
        {                                                             
            if ( ((key2) == 0) || ((key2) == ffd->ino) )              
ffc17180:	2c 9e 00 00 	cmpwi   cr1,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);       
ffc17184:	7d 09 da 14 	add     r8,r9,r27                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc17188:	7d 29 d8 2e 	lwzx    r9,r9,r27                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc1718c:	39 08 00 04 	addi    r8,r8,4                                
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
ffc17190:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc17194:	40 be 00 4c 	bne+    cr7,ffc171e0 <fat_file_open+0x16c>     <== NEVER TAKEN
ffc17198:	48 00 01 a8 	b       ffc17340 <fat_file_open+0x2cc>         
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1719c:	88 1f 00 0a 	lbz     r0,10(r31)                             <== NOT EXECUTED
ffc171a0:	70 0a 00 03 	andi.   r10,r0,3                               <== NOT EXECUTED
ffc171a4:	41 82 00 58 	beq-    ffc171fc <fat_file_open+0x188>         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc171a8:	81 5f 00 1c 	lwz     r10,28(r31)                            <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(mt_entry, cln) <<           
ffc171ac:	88 1f 00 03 	lbz     r0,3(r31)                              <== NOT EXECUTED
ffc171b0:	7d 4a 00 30 	slw     r10,r10,r0                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc171b4:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
ffc171b8:	54 0b ba 7e 	rlwinm  r11,r0,23,9,31                         <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc171bc:	7d 4a 5a 14 	add     r10,r10,r11                            <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc171c0:	55 4a 20 36 	rlwinm  r10,r10,4,0,27                         <== NOT EXECUTED
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc171c4:	54 00 df 3e 	rlwinm  r0,r0,27,28,31                         <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(mt_entry, pos->cln) + 
ffc171c8:	7c 0a 02 14 	add     r0,r10,r0                              <== NOT EXECUTED
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
ffc171cc:	7f 9e 00 00 	cmpw    cr7,r30,r0                             <== NOT EXECUTED
ffc171d0:	41 9e 00 ac 	beq-    cr7,ffc1727c <fat_file_open+0x208>     <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
ffc171d4:	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) ; )          
ffc171d8:	7f 89 40 00 	cmpw    cr7,r9,r8                              <== NOT EXECUTED
ffc171dc:	41 9e 01 64 	beq-    cr7,ffc17340 <fat_file_open+0x2cc>     <== NOT EXECUTED
ffc171e0:	81 69 00 20 	lwz     r11,32(r9)                             <== NOT EXECUTED
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
        return 1;                                                     
ffc171e4:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc171e8:	2f 8b 00 01 	cmpwi   cr7,r11,1                              <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc171ec:	2f 0b 00 00 	cmpwi   cr6,r11,0                              <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc171f0:	39 6b ff fe 	addi    r11,r11,-2                             <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
                                                                      
    if (cln == 1)                                                     
ffc171f4:	41 be ff c0 	beq-    cr7,ffc171b4 <fat_file_open+0x140>     <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc171f8:	41 ba ff a4 	beq-    cr6,ffc1719c <fat_file_open+0x128>     <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc171fc:	89 5f 00 05 	lbz     r10,5(r31)                             <== NOT EXECUTED
ffc17200:	80 1f 00 30 	lwz     r0,48(r31)                             <== NOT EXECUTED
ffc17204:	7d 6a 50 30 	slw     r10,r11,r10                            <== NOT EXECUTED
ffc17208:	7d 4a 02 14 	add     r10,r10,r0                             <== NOT EXECUTED
ffc1720c:	4b ff ff a0 	b       ffc171ac <fat_file_open+0x138>         <== NOT EXECUTED
ffc17210:	89 5f 00 05 	lbz     r10,5(r31)                             
ffc17214:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc17218:	7d 6a 50 30 	slw     r10,r11,r10                            
ffc1721c:	7d 4a 02 14 	add     r10,r10,r0                             
ffc17220:	4b ff ff 28 	b       ffc17148 <fat_file_open+0xd4>          
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
    if ( rc == RC_OK )                                                
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
        lfat_fd->links_num++;                                         
ffc17224:	81 69 00 08 	lwz     r11,8(r9)                              
        return rc;                                                    
ffc17228:	38 60 00 00 	li      r3,0                                   
    /* access "valid" hash table */                                   
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
    if ( rc == RC_OK )                                                
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
ffc1722c:	91 3a 00 00 	stw     r9,0(r26)                              
        lfat_fd->links_num++;                                         
ffc17230:	38 0b 00 01 	addi    r0,r11,1                               
ffc17234:	90 09 00 08 	stw     r0,8(r9)                               
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc17238:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1723c:	83 01 00 08 	lwz     r24,8(r1)                              
ffc17240:	7c 08 03 a6 	mtlr    r0                                     
ffc17244:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc17248:	83 41 00 10 	lwz     r26,16(r1)                             
ffc1724c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc17250:	83 81 00 18 	lwz     r28,24(r1)                             
ffc17254:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc17258:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1725c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc17260:	38 21 00 28 	addi    r1,r1,40                               
ffc17264:	4e 80 00 20 	blr                                            
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17268:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc1726c:	70 0a 00 03 	andi.   r10,r0,3                               
ffc17270:	41 a2 fe 58 	beq-    ffc170c8 <fat_file_open+0x54>          <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc17274:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc17278:	4b ff fe 64 	b       ffc170dc <fat_file_open+0x68>          
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
        {                                                             
            if ( ((key2) == 0) || ((key2) == ffd->ino) )              
ffc1727c:	41 86 00 10 	beq-    cr1,ffc1728c <fat_file_open+0x218>     <== NOT EXECUTED
ffc17280:	80 09 00 0c 	lwz     r0,12(r9)                              <== NOT EXECUTED
ffc17284:	7f 9e 00 00 	cmpw    cr7,r30,r0                             <== NOT EXECUTED
ffc17288:	40 9e ff 4c 	bne+    cr7,ffc171d4 <fat_file_open+0x160>     <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
ffc1728c:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    /* access "removed-but-still-open" hash table */                  
    rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd);  
                                                                      
    lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
ffc17290:	38 60 00 44 	li      r3,68                                  
ffc17294:	4b ff 1b 59 	bl      ffc08dec <malloc>                      
    if ( lfat_fd == NULL )                                            
ffc17298:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
                                                                      
    /* access "removed-but-still-open" hash table */                  
    rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd);  
                                                                      
    lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
ffc1729c:	90 7a 00 00 	stw     r3,0(r26)                              
ffc172a0:	7c 7d 1b 78 	mr      r29,r3                                 
    if ( lfat_fd == NULL )                                            
ffc172a4:	41 9e 00 c0 	beq-    cr7,ffc17364 <fat_file_open+0x2f0>     
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
ffc172a8:	38 80 00 00 	li      r4,0                                   
ffc172ac:	38 a0 00 44 	li      r5,68                                  
ffc172b0:	48 00 cc 49 	bl      ffc23ef8 <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 )                                                
ffc172b4:	2f 98 00 00 	cmpwi   cr7,r24,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;                              
ffc172b8:	89 1d 00 30 	lbz     r8,48(r29)                             
    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;                                           
ffc172bc:	38 e0 00 01 	li      r7,1                                   
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc172c0:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc172c4:	81 7c 00 04 	lwz     r11,4(r28)                             
        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;                              
ffc172c8:	55 08 00 3c 	rlwinm  r8,r8,0,0,30                           
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc172cc:	81 3c 00 08 	lwz     r9,8(r28)                              
ffc172d0:	80 1c 00 0c 	lwz     r0,12(r28)                             
        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;                              
ffc172d4:	99 1d 00 30 	stb     r8,48(r29)                             
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
ffc172d8:	39 00 ff ff 	li      r8,-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;                                           
ffc172dc:	90 fd 00 08 	stw     r7,8(r29)                              
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
ffc172e0:	91 1d 00 3c 	stw     r8,60(r29)                             
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc172e4:	91 5d 00 20 	stw     r10,32(r29)                            
ffc172e8:	91 7d 00 24 	stw     r11,36(r29)                            
ffc172ec:	91 3d 00 28 	stw     r9,40(r29)                             
ffc172f0:	90 1d 00 2c 	stw     r0,44(r29)                             
                                                                      
    if ( rc != RC_OK )                                                
ffc172f4:	41 9e 00 54 	beq-    cr7,ffc17348 <fat_file_open+0x2d4>     <== NEVER TAKEN
        lfat_fd->ino = key;                                           
ffc172f8:	93 dd 00 0c 	stw     r30,12(r29)                            
 */                                                                   
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);
ffc172fc:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc17300:	7f a4 eb 78 	mr      r4,r29                                 
ffc17304:	7c 63 da 14 	add     r3,r3,r27                              
ffc17308:	4b ff 74 45 	bl      ffc0e74c <_Chain_Append>               
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1730c:	80 01 00 2c 	lwz     r0,44(r1)                              
    /*                                                                
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
ffc17310:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc17314:	83 01 00 08 	lwz     r24,8(r1)                              
ffc17318:	7c 08 03 a6 	mtlr    r0                                     
ffc1731c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc17320:	83 41 00 10 	lwz     r26,16(r1)                             
ffc17324:	83 61 00 14 	lwz     r27,20(r1)                             
ffc17328:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1732c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc17330:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc17334:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc17338:	38 21 00 28 	addi    r1,r1,40                               
ffc1733c:	4e 80 00 20 	blr                                            
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
    }                                                                 
    return -1;                                                        
ffc17340:	3b 00 ff ff 	li      r24,-1                                 
ffc17344:	4b ff ff 4c 	b       ffc17290 <fat_file_open+0x21c>         
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(mt_entry);                  
ffc17348:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1734c:	48 00 16 21 	bl      ffc1896c <fat_get_unique_ino>          <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc17350:	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(mt_entry);                  
ffc17354:	90 7d 00 0c 	stw     r3,12(r29)                             <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc17358:	40 9e ff a4 	bne+    cr7,ffc172fc <fat_file_open+0x288>     <== NOT EXECUTED
        {                                                             
            free((*fat_fd));                                          
ffc1735c:	80 7a 00 00 	lwz     r3,0(r26)                              <== NOT EXECUTED
ffc17360:	4b ff 11 81 	bl      ffc084e0 <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 );           
ffc17364:	48 00 bc 7d 	bl      ffc22fe0 <__errno>                     
ffc17368:	38 00 00 0c 	li      r0,12                                  
ffc1736c:	90 03 00 00 	stw     r0,0(r3)                               
ffc17370:	38 60 ff ff 	li      r3,-1                                  
ffc17374:	4b ff fe c4 	b       ffc17238 <fat_file_open+0x1c4>         
                                                                      

ffc17390 <fat_file_read>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, uint8_t *buf ) {
ffc17390:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc17394:	7c 08 02 a6 	mflr    r0                                     
ffc17398:	93 e1 00 3c 	stw     r31,60(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)                                                   
ffc1739c:	7c df 33 79 	mr.     r31,r6                                 
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc173a0:	90 01 00 44 	stw     r0,68(r1)                              
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc173a4:	38 00 00 00 	li      r0,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc173a8:	93 21 00 24 	stw     r25,36(r1)                             
ffc173ac:	7c f9 3b 78 	mr      r25,r7                                 
ffc173b0:	93 41 00 28 	stw     r26,40(r1)                             
ffc173b4:	7c 9a 23 78 	mr      r26,r4                                 
ffc173b8:	93 81 00 30 	stw     r28,48(r1)                             
ffc173bc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc173c0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc173c4:	93 c1 00 38 	stw     r30,56(r1)                             
ffc173c8:	7c be 2b 78 	mr      r30,r5                                 
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc173cc:	83 83 00 34 	lwz     r28,52(r3)                             
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    /* it couldn't be removed - otherwise cache update will be broken */
    if (count == 0)                                                   
        return cmpltd;                                                
ffc173d0:	38 60 00 00 	li      r3,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc173d4:	92 c1 00 18 	stw     r22,24(r1)                             
ffc173d8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc173dc:	93 01 00 20 	stw     r24,32(r1)                             
ffc173e0:	93 61 00 2c 	stw     r27,44(r1)                             
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc173e4:	90 01 00 08 	stw     r0,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)                                                   
ffc173e8:	41 82 01 48 	beq-    ffc17530 <fat_file_read+0x1a0>         <== NEVER TAKEN
                                                                      
    /*                                                                
     * >= because start is offset and computed from 0 and file_size   
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
ffc173ec:	81 24 00 18 	lwz     r9,24(r4)                              
ffc173f0:	7f 89 28 40 	cmplw   cr7,r9,r5                              
ffc173f4:	40 9d 01 3c 	ble-    cr7,ffc17530 <fat_file_read+0x1a0>     <== NEVER TAKEN
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc173f8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc173fc:	40 9d 01 6c 	ble-    cr7,ffc17568 <fat_file_read+0x1d8>     <== ALWAYS TAKEN
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
ffc17400:	7f fe 48 50 	subf    r31,r30,r9                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17404:	80 1a 00 20 	lwz     r0,32(r26)                             
ffc17408:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1740c:	41 9e 01 6c 	beq-    cr7,ffc17578 <fat_file_read+0x1e8>     
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc17410:	8b 1c 00 08 	lbz     r24,8(r28)                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc17414:	7f a3 eb 78 	mr      r3,r29                                 
ffc17418:	7f 44 d3 78 	mr      r4,r26                                 
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc1741c:	a2 fc 00 06 	lhz     r23,6(r28)                             
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc17420:	7f d8 c4 30 	srw     r24,r30,r24                            
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc17424:	7f 05 c3 78 	mr      r5,r24                                 
ffc17428:	38 c1 00 08 	addi    r6,r1,8                                
ffc1742c:	4b ff fa f5 	bl      ffc16f20 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc17430:	7c 83 23 79 	mr.     r3,r4                                  
ffc17434:	40 82 00 fc 	bne-    ffc17530 <fat_file_read+0x1a0>         <== NEVER TAKEN
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17438:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc1743c:	3a f7 ff ff 	addi    r23,r23,-1                             
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17440:	3a c0 00 00 	li      r22,0                                  
ffc17444:	3b 60 00 00 	li      r27,0                                  
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc17448:	7f d7 b8 38 	and     r23,r30,r23                            
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc1744c:	41 9e 00 c8 	beq-    cr7,ffc17514 <fat_file_read+0x184>     <== NEVER TAKEN
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
ffc17450:	88 1c 00 02 	lbz     r0,2(r28)                              
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17454:	7e e9 bb 78 	mr      r9,r23                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
ffc17458:	a0 bc 00 00 	lhz     r5,0(r28)                              
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc1745c:	3b 60 00 00 	li      r27,0                                  
ffc17460:	48 00 00 74 	b       ffc174d4 <fat_file_read+0x144>         
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17464:	89 4b 00 0a 	lbz     r10,10(r11)                            <== NOT EXECUTED
ffc17468:	71 48 00 03 	andi.   r8,r10,3                               <== NOT EXECUTED
ffc1746c:	41 82 00 90 	beq-    ffc174fc <fat_file_read+0x16c>         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc17470:	80 8b 00 1c 	lwz     r4,28(r11)                             <== NOT EXECUTED
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
ffc17474:	7d 20 04 30 	srw     r0,r9,r0                               
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc17478:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
ffc1747c:	7c a5 48 38 	and     r5,r5,r9                               
ffc17480:	7c f9 da 14 	add     r7,r25,r27                             
ffc17484:	7c 84 02 14 	add     r4,r4,r0                               
ffc17488:	7f c6 f3 78 	mr      r6,r30                                 
ffc1748c:	7f a3 eb 78 	mr      r3,r29                                 
ffc17490:	48 00 10 ed 	bl      ffc1857c <_fat_block_read>             
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
ffc17494:	7f 7b f2 14 	add     r27,r27,r30                            
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
ffc17498:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc1749c:	38 a1 00 08 	addi    r5,r1,8                                
ffc174a0:	7f a3 eb 78 	mr      r3,r29                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
ffc174a4:	41 9c 01 2c 	blt-    cr7,ffc175d0 <fat_file_read+0x240>     <== NEVER TAKEN
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
ffc174a8:	82 c1 00 08 	lwz     r22,8(r1)                              
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc174ac:	7f fe f8 50 	subf    r31,r30,r31                            
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc174b0:	7e c4 b3 78 	mr      r4,r22                                 
ffc174b4:	48 00 9b 59 	bl      ffc2100c <fat_get_fat_cluster>         
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc174b8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
ffc174bc:	2c 03 00 00 	cmpwi   r3,0                                   
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc174c0:	39 20 00 00 	li      r9,0                                   
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
ffc174c4:	40 82 00 6c 	bne-    ffc17530 <fat_file_read+0x1a0>         <== NEVER TAKEN
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc174c8:	41 9e 00 48 	beq-    cr7,ffc17510 <fat_file_read+0x180>     <== ALWAYS TAKEN
ffc174cc:	88 1c 00 02 	lbz     r0,2(r28)                              <== NOT EXECUTED
ffc174d0:	a0 bc 00 00 	lhz     r5,0(r28)                              <== NOT EXECUTED
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc174d4:	a3 dc 00 06 	lhz     r30,6(r28)                             
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc174d8:	80 81 00 08 	lwz     r4,8(r1)                               
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc174dc:	7f c9 f0 50 	subf    r30,r9,r30                             
ffc174e0:	7f 1e f8 40 	cmplw   cr6,r30,r31                            
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc174e4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc174e8:	38 84 ff fe 	addi    r4,r4,-2                               
ffc174ec:	40 99 00 08 	ble-    cr6,ffc174f4 <fat_file_read+0x164>     
ffc174f0:	7f fe fb 78 	mr      r30,r31                                
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc174f4:	81 7d 00 34 	lwz     r11,52(r29)                            
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc174f8:	41 be ff 6c 	beq-    cr7,ffc17464 <fat_file_read+0xd4>      <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc174fc:	89 4b 00 05 	lbz     r10,5(r11)                             
ffc17500:	81 6b 00 30 	lwz     r11,48(r11)                            
ffc17504:	7c 84 50 30 	slw     r4,r4,r10                              
ffc17508:	7c 84 5a 14 	add     r4,r4,r11                              
ffc1750c:	4b ff ff 68 	b       ffc17474 <fat_file_read+0xe4>          
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc17510:	7f 63 db 78 	mr      r3,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);
ffc17514:	88 1c 00 08 	lbz     r0,8(r28)                              
ffc17518:	3a f7 ff ff 	addi    r23,r23,-1                             
ffc1751c:	7f 77 da 14 	add     r27,r23,r27                            
    fat_fd->map.disk_cln = save_cln;                                  
ffc17520:	92 da 00 38 	stw     r22,56(r26)                            
    }                                                                 
                                                                      
    /* 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);
ffc17524:	7f 7b 04 30 	srw     r27,r27,r0                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
ffc17528:	7f 1b c2 14 	add     r24,r27,r24                            
ffc1752c:	93 1a 00 34 	stw     r24,52(r26)                            
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc17530:	80 01 00 44 	lwz     r0,68(r1)                              
ffc17534:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc17538:	7c 08 03 a6 	mtlr    r0                                     
ffc1753c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc17540:	83 01 00 20 	lwz     r24,32(r1)                             
ffc17544:	83 21 00 24 	lwz     r25,36(r1)                             
ffc17548:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1754c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc17550:	83 81 00 30 	lwz     r28,48(r1)                             
ffc17554:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc17558:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1755c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc17560:	38 21 00 40 	addi    r1,r1,64                               
ffc17564:	4e 80 00 20 	blr                                            
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
        (start > fat_fd->fat_file_size - count))                      
ffc17568:	7c 1f 48 50 	subf    r0,r31,r9                              
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc1756c:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc17570:	40 bd fe 94 	ble-    cr7,ffc17404 <fat_file_read+0x74>      <== ALWAYS TAKEN
ffc17574:	4b ff fe 8c 	b       ffc17400 <fat_file_read+0x70>          <== NOT EXECUTED
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17578:	80 1a 00 24 	lwz     r0,36(r26)                             
ffc1757c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17580:	40 be fe 90 	bne-    cr7,ffc17410 <fat_file_read+0x80>      <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc17584:	88 1c 00 0a 	lbz     r0,10(r28)                             
                                                                      
    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)) &&                               
ffc17588:	70 08 00 03 	andi.   r8,r0,3                                
ffc1758c:	41 a2 fe 84 	beq-    ffc17410 <fat_file_read+0x80>          <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
ffc17590:	81 3a 00 1c 	lwz     r9,28(r26)                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17594:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc17598:	40 9e 00 40 	bne-    cr7,ffc175d8 <fat_file_read+0x248>     <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc1759c:	80 9c 00 1c 	lwz     r4,28(r28)                             
        sec += (start >> fs_info->vol.sec_log2);                      
ffc175a0:	88 1c 00 02 	lbz     r0,2(r28)                              
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
ffc175a4:	7f a3 eb 78 	mr      r3,r29                                 
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
        byte = start & (fs_info->vol.bps - 1);                        
ffc175a8:	a0 bc 00 00 	lhz     r5,0(r28)                              
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
ffc175ac:	7f e6 fb 78 	mr      r6,r31                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
ffc175b0:	7f c0 04 30 	srw     r0,r30,r0                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc175b4:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
ffc175b8:	7c 84 02 14 	add     r4,r4,r0                               
ffc175bc:	7f c5 28 38 	and     r5,r30,r5                              
ffc175c0:	7f 27 cb 78 	mr      r7,r25                                 
ffc175c4:	48 00 0f b9 	bl      ffc1857c <_fat_block_read>             
        if ( ret < 0 )                                                
ffc175c8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc175cc:	40 80 ff 64 	bge+    ffc17530 <fat_file_read+0x1a0>         <== ALWAYS TAKEN
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
            return -1;                                                
ffc175d0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc175d4:	4b ff ff 5c 	b       ffc17530 <fat_file_read+0x1a0>         <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc175d8:	89 7c 00 05 	lbz     r11,5(r28)                             <== NOT EXECUTED
ffc175dc:	38 89 ff fe 	addi    r4,r9,-2                               <== NOT EXECUTED
ffc175e0:	80 1c 00 30 	lwz     r0,48(r28)                             <== NOT EXECUTED
ffc175e4:	7c 84 58 30 	slw     r4,r4,r11                              <== NOT EXECUTED
ffc175e8:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc175ec:	4b ff ff b4 	b       ffc175a0 <fat_file_read+0x210>         <== NOT EXECUTED
                                                                      

ffc1807c <fat_file_size>: int fat_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc1807c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc18080:	7c 08 02 a6 	mflr    r0                                     
ffc18084:	90 01 00 2c 	stw     r0,44(r1)                              
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc18088:	80 04 00 20 	lwz     r0,32(r4)                              
int                                                                   
fat_file_size(                                                        
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1808c:	93 a1 00 1c 	stw     r29,28(r1)                             
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc18090:	2f 80 00 01 	cmpwi   cr7,r0,1                               
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
ffc18094:	83 a4 00 1c 	lwz     r29,28(r4)                             
int                                                                   
fat_file_size(                                                        
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc18098:	93 81 00 18 	stw     r28,24(r1)                             
ffc1809c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc180a0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc180a4:	7c 9e 23 78 	mr      r30,r4                                 
ffc180a8:	93 e1 00 24 	stw     r31,36(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
ffc180ac:	93 a1 00 08 	stw     r29,8(r1)                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc180b0:	83 e3 00 34 	lwz     r31,52(r3)                             
    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)) &&                               
ffc180b4:	41 9e 00 b4 	beq-    cr7,ffc18168 <fat_file_size+0xec>      <== NEVER TAKEN
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc180b8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc180bc:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc180c0:	7f a9 48 38 	and     r9,r29,r9                              
ffc180c4:	7f 89 00 40 	cmplw   cr7,r9,r0                              
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
ffc180c8:	38 00 00 00 	li      r0,0                                   
ffc180cc:	90 1e 00 18 	stw     r0,24(r30)                             
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc180d0:	41 bc 00 34 	blt+    cr7,ffc18104 <fat_file_size+0x88>      <== ALWAYS TAKEN
ffc180d4:	48 00 00 68 	b       ffc1813c <fat_file_size+0xc0>          <== NOT EXECUTED
ffc180d8:	81 7f 00 0c 	lwz     r11,12(r31)                            
ffc180dc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc180e0:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc180e4:	7c 0b 58 38 	and     r11,r0,r11                             
ffc180e8:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
ffc180ec:	a1 3f 00 06 	lhz     r9,6(r31)                              
ffc180f0:	81 7e 00 18 	lwz     r11,24(r30)                            
ffc180f4:	7d 2b 4a 14 	add     r9,r11,r9                              
ffc180f8:	91 3e 00 18 	stw     r9,24(r30)                             
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc180fc:	40 9c 00 44 	bge-    cr7,ffc18140 <fat_file_size+0xc4>      <== ALWAYS TAKEN
ffc18100:	7c 1d 03 78 	mr      r29,r0                                 <== NOT EXECUTED
    {                                                                 
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc18104:	7f a4 eb 78 	mr      r4,r29                                 
ffc18108:	7f 83 e3 78 	mr      r3,r28                                 
ffc1810c:	38 a1 00 08 	addi    r5,r1,8                                
ffc18110:	48 00 8e fd 	bl      ffc2100c <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc18114:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18118:	41 82 ff c0 	beq+    ffc180d8 <fat_file_size+0x5c>          <== ALWAYS TAKEN
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
    return rc;                                                        
}                                                                     
ffc1811c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc18120:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc18124:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18128:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc1812c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc18130:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc18134:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc18138:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
ffc1813c:	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;                                                        
}                                                                     
ffc18140:	80 01 00 2c 	lwz     r0,44(r1)                              
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
    return rc;                                                        
ffc18144:	38 60 00 00 	li      r3,0                                   
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
ffc18148:	93 be 00 3c 	stw     r29,60(r30)                            
    return rc;                                                        
}                                                                     
ffc1814c:	7c 08 03 a6 	mtlr    r0                                     
ffc18150:	83 81 00 18 	lwz     r28,24(r1)                             
ffc18154:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc18158:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1815c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18160:	38 21 00 28 	addi    r1,r1,40                               
ffc18164:	4e 80 00 20 	blr                                            
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc18168:	80 04 00 24 	lwz     r0,36(r4)                              <== NOT EXECUTED
ffc1816c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc18170:	40 be ff 48 	bne-    cr7,ffc180b8 <fat_file_size+0x3c>      <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc18174:	88 1f 00 0a 	lbz     r0,10(r31)                             <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc18178:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc1817c:	41 82 ff 3c 	beq+    ffc180b8 <fat_file_size+0x3c>          <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
ffc18180:	80 1f 00 28 	lwz     r0,40(r31)                             <== NOT EXECUTED
        return rc;                                                    
ffc18184:	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;               
ffc18188:	90 04 00 18 	stw     r0,24(r4)                              <== NOT EXECUTED
        return rc;                                                    
ffc1818c:	4b ff ff 90 	b       ffc1811c <fat_file_size+0xa0>          <== NOT EXECUTED
                                                                      

ffc175f0 <fat_file_truncate>: fat_file_truncate( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t new_length ) {
ffc175f0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc175f4:	7c 08 02 a6 	mflr    r0                                     
ffc175f8:	7d 80 00 26 	mfcr    r12                                    
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc175fc:	39 60 00 00 	li      r11,0                                  
fat_file_truncate(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
ffc17600:	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 )                        
ffc17604:	80 04 00 18 	lwz     r0,24(r4)                              
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc17608:	91 61 00 0c 	stw     r11,12(r1)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc1760c:	39 60 ff ff 	li      r11,-1                                 
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc17610:	7f 80 28 40 	cmplw   cr7,r0,r5                              
fat_file_truncate(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
ffc17614:	93 c1 00 20 	stw     r30,32(r1)                             
ffc17618:	7c 9e 23 78 	mr      r30,r4                                 
ffc1761c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc17620:	7c 7f 1b 78 	mr      r31,r3                                 
ffc17624:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc17628:	91 81 00 18 	stw     r12,24(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc1762c:	81 23 00 34 	lwz     r9,52(r3)                              
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc17630:	91 61 00 08 	stw     r11,8(r1)                              
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc17634:	40 9d 00 90 	ble-    cr7,ffc176c4 <fat_file_truncate+0xd4>  <== NEVER TAKEN
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
ffc17638:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1763c:	41 9e 00 fc 	beq-    cr7,ffc17738 <fat_file_truncate+0x148> <== NEVER TAKEN
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
ffc17640:	a3 a9 00 06 	lhz     r29,6(r9)                              
ffc17644:	89 29 00 08 	lbz     r9,8(r9)                               
ffc17648:	3b bd ff ff 	addi    r29,r29,-1                             
ffc1764c:	7f bd 2a 14 	add     r29,r29,r5                             
ffc17650:	7f bd 4c 30 	srw     r29,r29,r9                             
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
ffc17654:	7f a9 48 30 	slw     r9,r29,r9                              
ffc17658:	7f 80 48 40 	cmplw   cr7,r0,r9                              
        return RC_OK;                                                 
ffc1765c:	38 00 00 00 	li      r0,0                                   
                                                                      
    assert(fat_fd->fat_file_size);                                    
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
ffc17660:	40 9d 00 3c 	ble-    cr7,ffc1769c <fat_file_truncate+0xac>  <== NEVER TAKEN
        return RC_OK;                                                 
                                                                      
    if (cl_start != 0)                                                
ffc17664:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc17668:	41 92 00 18 	beq-    cr4,ffc17680 <fat_file_truncate+0x90>  <== ALWAYS TAKEN
    {                                                                 
        rc = fat_file_lseek(mt_entry, fat_fd, cl_start - 1, &new_last_cln);
ffc1766c:	38 bd ff ff 	addi    r5,r29,-1                              <== NOT EXECUTED
ffc17670:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc17674:	4b ff f8 ad 	bl      ffc16f20 <fat_file_lseek>              <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc17678:	7c 80 23 79 	mr.     r0,r4                                  <== NOT EXECUTED
ffc1767c:	40 82 00 20 	bne-    ffc1769c <fat_file_truncate+0xac>      <== NOT EXECUTED
            return rc;                                                
                                                                      
    }                                                                 
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc17680:	7f e3 fb 78 	mr      r3,r31                                 
ffc17684:	7f c4 f3 78 	mr      r4,r30                                 
ffc17688:	7f a5 eb 78 	mr      r5,r29                                 
ffc1768c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc17690:	4b ff f8 91 	bl      ffc16f20 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc17694:	7c 80 23 79 	mr.     r0,r4                                  
ffc17698:	41 82 00 58 	beq-    ffc176f0 <fat_file_truncate+0x100>     <== ALWAYS TAKEN
        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;                                                     
}                                                                     
ffc1769c:	7c 03 03 78 	mr      r3,r0                                  
ffc176a0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc176a4:	81 81 00 18 	lwz     r12,24(r1)                             
ffc176a8:	7c 08 03 a6 	mtlr    r0                                     
ffc176ac:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc176b0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc176b4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc176b8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc176bc:	38 21 00 28 	addi    r1,r1,40                               
ffc176c0:	4e 80 00 20 	blr                                            
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
ffc176c4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
        fat_fd->map.file_cln = cl_start - 1;                          
        fat_fd->map.disk_cln = new_last_cln;                          
        fat_fd->map.last_cln = new_last_cln;                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc176c8:	81 81 00 18 	lwz     r12,24(r1)                             <== NOT EXECUTED
ffc176cc:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc176d0:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc176d4:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc176d8:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc176dc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc176e0:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc176e4:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc176e8:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc176ec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    rc = fat_free_fat_clusters_chain(mt_entry, cur_cln);              
ffc176f0:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc176f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc176f8:	48 00 9e dd 	bl      ffc215d4 <fat_free_fat_clusters_chain> 
    if (rc != RC_OK)                                                  
ffc176fc:	7c 60 1b 79 	mr.     r0,r3                                  
ffc17700:	40 a2 ff 9c 	bne-    ffc1769c <fat_file_truncate+0xac>      <== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
ffc17704:	41 92 ff 98 	beq+    cr4,ffc1769c <fat_file_truncate+0xac>  <== ALWAYS TAKEN
    {                                                                 
        rc = fat_set_fat_cluster(mt_entry, new_last_cln, FAT_GENFAT_EOC);
ffc17708:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1770c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17710:	38 a0 ff ff 	li      r5,-1                                  <== NOT EXECUTED
ffc17714:	48 00 9b 5d 	bl      ffc21270 <fat_set_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc17718:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc1771c:	40 a2 ff 80 	bne-    ffc1769c <fat_file_truncate+0xac>      <== NOT EXECUTED
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
        fat_fd->map.disk_cln = new_last_cln;                          
ffc17720:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
    if (cl_start != 0)                                                
    {                                                                 
        rc = fat_set_fat_cluster(mt_entry, new_last_cln, FAT_GENFAT_EOC);
        if ( rc != RC_OK )                                            
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
ffc17724:	3b bd ff ff 	addi    r29,r29,-1                             <== NOT EXECUTED
ffc17728:	93 be 00 34 	stw     r29,52(r30)                            <== NOT EXECUTED
        fat_fd->map.disk_cln = new_last_cln;                          
ffc1772c:	91 3e 00 38 	stw     r9,56(r30)                             <== NOT EXECUTED
        fat_fd->map.last_cln = new_last_cln;                          
ffc17730:	91 3e 00 3c 	stw     r9,60(r30)                             <== NOT EXECUTED
ffc17734:	4b ff ff 68 	b       ffc1769c <fat_file_truncate+0xac>      <== NOT EXECUTED
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
ffc17738:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1773c:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc17740:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc17744:	38 63 3e b8 	addi    r3,r3,16056                            <== NOT EXECUTED
ffc17748:	38 80 02 6d 	li      r4,621                                 <== NOT EXECUTED
ffc1774c:	38 a5 3e a4 	addi    r5,r5,16036                            <== NOT EXECUTED
ffc17750:	38 c6 3f 00 	addi    r6,r6,16128                            <== NOT EXECUTED
ffc17754:	4b ff 05 3d 	bl      ffc07c90 <__assert_func>               <== NOT EXECUTED
                                                                      

ffc17b98 <fat_file_write>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, const uint8_t *buf ) {
ffc17b98:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc17b9c:	7c 08 02 a6 	mflr    r0                                     
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    if ( count == 0 )                                                 
        return cmpltd;                                                
ffc17ba0:	39 20 00 00 	li      r9,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc17ba4:	93 e1 00 3c 	stw     r31,60(r1)                             
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    if ( count == 0 )                                                 
ffc17ba8:	7c df 33 79 	mr.     r31,r6                                 
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc17bac:	90 01 00 44 	stw     r0,68(r1)                              
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc17bb0:	38 00 00 00 	li      r0,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc17bb4:	93 21 00 24 	stw     r25,36(r1)                             
ffc17bb8:	7c f9 3b 78 	mr      r25,r7                                 
ffc17bbc:	93 61 00 2c 	stw     r27,44(r1)                             
ffc17bc0:	7c 9b 23 78 	mr      r27,r4                                 
ffc17bc4:	93 81 00 30 	stw     r28,48(r1)                             
ffc17bc8:	7c bc 2b 78 	mr      r28,r5                                 
ffc17bcc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc17bd0:	93 c1 00 38 	stw     r30,56(r1)                             
ffc17bd4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc17bd8:	92 c1 00 18 	stw     r22,24(r1)                             
ffc17bdc:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc17be0:	93 01 00 20 	stw     r24,32(r1)                             
ffc17be4:	93 41 00 28 	stw     r26,40(r1)                             
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc17be8:	83 a3 00 34 	lwz     r29,52(r3)                             
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc17bec:	90 01 00 0c 	stw     r0,12(r1)                              
    uint32_t       cl_start = 0;                                      
    uint32_t       ofs = 0;                                           
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
ffc17bf0:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    if ( count == 0 )                                                 
ffc17bf4:	41 82 01 74 	beq-    ffc17d68 <fat_file_write+0x1d0>        <== NEVER TAKEN
        return cmpltd;                                                
                                                                      
    if ( start > fat_fd->fat_file_size )                              
ffc17bf8:	80 04 00 18 	lwz     r0,24(r4)                              
ffc17bfc:	7f 80 28 40 	cmplw   cr7,r0,r5                              
ffc17c00:	41 9c 02 14 	blt-    cr7,ffc17e14 <fat_file_write+0x27c>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    if ((count > fat_fd->size_limit) ||                               
ffc17c04:	80 04 00 14 	lwz     r0,20(r4)                              
ffc17c08:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc17c0c:	41 9d 02 08 	bgt-    cr7,ffc17e14 <fat_file_write+0x27c>    <== NEVER TAKEN
        (start > fat_fd->size_limit - count))                         
ffc17c10:	7c 1f 00 50 	subf    r0,r31,r0                              
        return cmpltd;                                                
                                                                      
    if ( start > fat_fd->fat_file_size )                              
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    if ((count > fat_fd->size_limit) ||                               
ffc17c14:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc17c18:	41 9d 01 fc 	bgt-    cr7,ffc17e14 <fat_file_write+0x27c>    <== NEVER TAKEN
        (start > fat_fd->size_limit - count))                         
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    rc = fat_file_extend(mt_entry, fat_fd, start + count, &c);        
ffc17c1c:	7f 5f 2a 14 	add     r26,r31,r5                             
ffc17c20:	7f 45 d3 78 	mr      r5,r26                                 
ffc17c24:	38 c1 00 08 	addi    r6,r1,8                                
ffc17c28:	4b ff fd 31 	bl      ffc17958 <fat_file_extend>             
    if (rc != RC_OK)                                                  
ffc17c2c:	7c 69 1b 79 	mr.     r9,r3                                  
ffc17c30:	40 82 01 38 	bne-    ffc17d68 <fat_file_write+0x1d0>        <== NEVER TAKEN
                                                                      
    /*                                                                
     * check whether there was enough room on device to locate        
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
ffc17c34:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17c38:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc17c3c:	41 9e 00 08 	beq-    cr7,ffc17c44 <fat_file_write+0xac>     <== ALWAYS TAKEN
        count = c - start;                                            
ffc17c40:	7f fc 00 50 	subf    r31,r28,r0                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17c44:	80 1b 00 20 	lwz     r0,32(r27)                             
ffc17c48:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc17c4c:	41 9e 01 58 	beq-    cr7,ffc17da4 <fat_file_write+0x20c>    
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc17c50:	8b 1d 00 08 	lbz     r24,8(r29)                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc17c54:	7f c3 f3 78 	mr      r3,r30                                 
ffc17c58:	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);                  
ffc17c5c:	a3 5d 00 06 	lhz     r26,6(r29)                             
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc17c60:	7f 98 c4 30 	srw     r24,r28,r24                            
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc17c64:	7f 05 c3 78 	mr      r5,r24                                 
ffc17c68:	38 c1 00 0c 	addi    r6,r1,12                               
ffc17c6c:	4b ff f2 b5 	bl      ffc16f20 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc17c70:	7c 89 23 79 	mr.     r9,r4                                  
ffc17c74:	40 82 00 f4 	bne-    ffc17d68 <fat_file_write+0x1d0>        <== NEVER TAKEN
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17c78:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc17c7c:	3b 5a ff ff 	addi    r26,r26,-1                             
ffc17c80:	7f 9c d0 38 	and     r28,r28,r26                            
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17c84:	3a c0 00 00 	li      r22,0                                  
ffc17c88:	7f 8b e3 78 	mr      r11,r28                                
ffc17c8c:	3b 40 00 00 	li      r26,0                                  
ffc17c90:	40 be 00 78 	bne+    cr7,ffc17d08 <fat_file_write+0x170>    <== ALWAYS TAKEN
ffc17c94:	48 00 00 b8 	b       ffc17d4c <fat_file_write+0x1b4>        <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17c98:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc17c9c:	70 0a 00 03 	andi.   r10,r0,3                               <== NOT EXECUTED
ffc17ca0:	41 82 00 94 	beq-    ffc17d34 <fat_file_write+0x19c>        <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc17ca4:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
ffc17ca8:	88 1d 00 02 	lbz     r0,2(r29)                              
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
ffc17cac:	7c f9 d2 14 	add     r7,r25,r26                             
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc17cb0:	a0 bd 00 00 	lhz     r5,0(r29)                              
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
ffc17cb4:	7f c3 f3 78 	mr      r3,r30                                 
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
ffc17cb8:	7d 60 04 30 	srw     r0,r11,r0                              
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc17cbc:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
ffc17cc0:	7d 65 28 38 	and     r5,r11,r5                              
ffc17cc4:	7c 84 02 14 	add     r4,r4,r0                               
ffc17cc8:	48 00 09 95 	bl      ffc1865c <_fat_block_write>            
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc17ccc:	38 a1 00 0c 	addi    r5,r1,12                               
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
ffc17cd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc17cd4:	7f c3 f3 78 	mr      r3,r30                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
ffc17cd8:	41 9c 01 34 	blt-    cr7,ffc17e0c <fat_file_write+0x274>    <== NEVER TAKEN
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
ffc17cdc:	82 c1 00 0c 	lwz     r22,12(r1)                             
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
ffc17ce0:	82 e1 00 08 	lwz     r23,8(r1)                              
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc17ce4:	7e c4 b3 78 	mr      r4,r22                                 
ffc17ce8:	48 00 93 25 	bl      ffc2100c <fat_get_fat_cluster>         
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17cec:	7f f7 f8 50 	subf    r31,r23,r31                            
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
ffc17cf0:	7c 69 1b 79 	mr.     r9,r3                                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17cf4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
ffc17cf8:	7f 5a ba 14 	add     r26,r26,r23                            
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc17cfc:	39 60 00 00 	li      r11,0                                  
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
        if ( rc != RC_OK )                                            
ffc17d00:	40 82 00 68 	bne-    ffc17d68 <fat_file_write+0x1d0>        <== NEVER TAKEN
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17d04:	41 9e 00 44 	beq-    cr7,ffc17d48 <fat_file_write+0x1b0>    
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc17d08:	a0 dd 00 06 	lhz     r6,6(r29)                              
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc17d0c:	80 81 00 0c 	lwz     r4,12(r1)                              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc17d10:	7c cb 30 50 	subf    r6,r11,r6                              
ffc17d14:	7f 06 f8 40 	cmplw   cr6,r6,r31                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17d18:	2f 84 00 00 	cmpwi   cr7,r4,0                               
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc17d1c:	38 84 ff fe 	addi    r4,r4,-2                               
ffc17d20:	40 99 00 08 	ble-    cr6,ffc17d28 <fat_file_write+0x190>    
ffc17d24:	7f e6 fb 78 	mr      r6,r31                                 
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17d28:	81 3e 00 34 	lwz     r9,52(r30)                             
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc17d2c:	90 c1 00 08 	stw     r6,8(r1)                               
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17d30:	41 be ff 68 	beq-    cr7,ffc17c98 <fat_file_write+0x100>    <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc17d34:	89 49 00 05 	lbz     r10,5(r9)                              
ffc17d38:	80 09 00 30 	lwz     r0,48(r9)                              
ffc17d3c:	7c 84 50 30 	slw     r4,r4,r10                              
ffc17d40:	7c 84 02 14 	add     r4,r4,r0                               
ffc17d44:	4b ff ff 64 	b       ffc17ca8 <fat_file_write+0x110>        
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc17d48:	7f 49 d3 78 	mr      r9,r26                                 
    }                                                                 
                                                                      
    /* 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);
ffc17d4c:	88 1d 00 08 	lbz     r0,8(r29)                              
ffc17d50:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc17d54:	7f 5c d2 14 	add     r26,r28,r26                            
    fat_fd->map.disk_cln = save_cln;                                  
ffc17d58:	92 db 00 38 	stw     r22,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);
ffc17d5c:	7f 5a 04 30 	srw     r26,r26,r0                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
ffc17d60:	7f 1a c2 14 	add     r24,r26,r24                            
ffc17d64:	93 1b 00 34 	stw     r24,52(r27)                            
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc17d68:	80 01 00 44 	lwz     r0,68(r1)                              
ffc17d6c:	7d 23 4b 78 	mr      r3,r9                                  
ffc17d70:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc17d74:	7c 08 03 a6 	mtlr    r0                                     
ffc17d78:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc17d7c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc17d80:	83 21 00 24 	lwz     r25,36(r1)                             
ffc17d84:	83 41 00 28 	lwz     r26,40(r1)                             
ffc17d88:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc17d8c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc17d90:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc17d94:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc17d98:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc17d9c:	38 21 00 40 	addi    r1,r1,64                               
ffc17da0:	4e 80 00 20 	blr                                            
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17da4:	80 1b 00 24 	lwz     r0,36(r27)                             
ffc17da8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dac:	40 be fe a4 	bne-    cr7,ffc17c50 <fat_file_write+0xb8>     <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc17db0:	88 1d 00 0a 	lbz     r0,10(r29)                             
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc17db4:	70 09 00 03 	andi.   r9,r0,3                                
ffc17db8:	41 a2 fe 98 	beq-    ffc17c50 <fat_file_write+0xb8>         <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
ffc17dbc:	81 7b 00 1c 	lwz     r11,28(r27)                            
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc17dc0:	81 3e 00 34 	lwz     r9,52(r30)                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc17dc4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc17dc8:	40 9e 00 60 	bne-    cr7,ffc17e28 <fat_file_write+0x290>    <== NEVER TAKEN
ffc17dcc:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc17dd0:	70 0a 00 03 	andi.   r10,r0,3                               
ffc17dd4:	41 82 00 54 	beq-    ffc17e28 <fat_file_write+0x290>        <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc17dd8:	80 89 00 1c 	lwz     r4,28(r9)                              
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
ffc17ddc:	88 1d 00 02 	lbz     r0,2(r29)                              
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
ffc17de0:	7f c3 f3 78 	mr      r3,r30                                 
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
        byte = start & (fs_info->vol.bps - 1);                        
ffc17de4:	a0 bd 00 00 	lhz     r5,0(r29)                              
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
ffc17de8:	7f e6 fb 78 	mr      r6,r31                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
ffc17dec:	7f 80 04 30 	srw     r0,r28,r0                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc17df0:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
ffc17df4:	7c 84 02 14 	add     r4,r4,r0                               
ffc17df8:	7f 85 28 38 	and     r5,r28,r5                              
ffc17dfc:	7f 27 cb 78 	mr      r7,r25                                 
ffc17e00:	48 00 08 5d 	bl      ffc1865c <_fat_block_write>            
        if ( ret < 0 )                                                
ffc17e04:	7c 69 1b 79 	mr.     r9,r3                                  
ffc17e08:	40 80 ff 60 	bge+    ffc17d68 <fat_file_write+0x1d0>        <== ALWAYS TAKEN
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
ffc17e0c:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc17e10:	4b ff ff 58 	b       ffc17d68 <fat_file_write+0x1d0>        <== NOT EXECUTED
    if ( start > fat_fd->fat_file_size )                              
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    if ((count > fat_fd->size_limit) ||                               
        (start > fat_fd->size_limit - count))                         
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc17e14:	48 00 b1 cd 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc17e18:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc17e1c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc17e20:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc17e24:	4b ff ff 44 	b       ffc17d68 <fat_file_write+0x1d0>        <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc17e28:	89 49 00 05 	lbz     r10,5(r9)                              <== NOT EXECUTED
ffc17e2c:	38 8b ff fe 	addi    r4,r11,-2                              <== NOT EXECUTED
ffc17e30:	80 09 00 30 	lwz     r0,48(r9)                              <== NOT EXECUTED
ffc17e34:	7c 84 50 30 	slw     r4,r4,r10                              <== NOT EXECUTED
ffc17e38:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc17e3c:	4b ff ff a0 	b       ffc17ddc <fat_file_write+0x244>        <== NOT EXECUTED
                                                                      

ffc215d4 <fat_free_fat_clusters_chain>: int fat_free_fat_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t chain ) {
ffc215d4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc215d8:	7c 08 02 a6 	mflr    r0                                     
ffc215dc:	90 01 00 34 	stw     r0,52(r1)                              
ffc215e0:	93 c1 00 28 	stw     r30,40(r1)                             
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc215e4:	83 c3 00 34 	lwz     r30,52(r3)                             
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc215e8:	93 41 00 18 	stw     r26,24(r1)                             
ffc215ec:	7c 9a 23 78 	mr      r26,r4                                 
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc215f0:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc215f4:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc215f8:	7c 89 48 38 	and     r9,r4,r9                               
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc215fc:	93 a1 00 24 	stw     r29,36(r1)                             
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc21600:	7f 89 00 40 	cmplw   cr7,r9,r0                              
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
ffc21604:	38 00 00 00 	li      r0,0                                   
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc21608:	93 61 00 1c 	stw     r27,28(r1)                             
ffc2160c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc21610:	93 81 00 20 	stw     r28,32(r1)                             
ffc21614:	93 e1 00 2c 	stw     r31,44(r1)                             
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
ffc21618:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc2161c:	40 9c 00 ac 	bge-    cr7,ffc216c8 <fat_free_fat_clusters_chain+0xf4><== NEVER TAKEN
ffc21620:	7c 9f 23 78 	mr      r31,r4                                 
ffc21624:	3b 80 00 00 	li      r28,0                                  
ffc21628:	3b 60 00 00 	li      r27,0                                  
ffc2162c:	48 00 00 30 	b       ffc2165c <fat_free_fat_clusters_chain+0x88>
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
ffc21630:	4b ff fc 41 	bl      ffc21270 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
ffc21634:	3b 9c 00 01 	addi    r28,r28,1                              
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
        if ( rc != RC_OK )                                            
ffc21638:	2c 03 00 00 	cmpwi   r3,0                                   
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
ffc2163c:	83 e1 00 08 	lwz     r31,8(r1)                              
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
        if ( rc != RC_OK )                                            
ffc21640:	41 82 00 08 	beq-    ffc21648 <fat_free_fat_clusters_chain+0x74><== ALWAYS TAKEN
ffc21644:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc21648:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc2164c:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc21650:	7f e9 48 38 	and     r9,r31,r9                              
ffc21654:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc21658:	40 9c 00 78 	bge-    cr7,ffc216d0 <fat_free_fat_clusters_chain+0xfc><== ALWAYS TAKEN
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &next_cln);       
ffc2165c:	7f e4 fb 78 	mr      r4,r31                                 
ffc21660:	38 a1 00 08 	addi    r5,r1,8                                
ffc21664:	7f a3 eb 78 	mr      r3,r29                                 
ffc21668:	4b ff f9 a5 	bl      ffc2100c <fat_get_fat_cluster>         
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
ffc2166c:	7f e4 fb 78 	mr      r4,r31                                 
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &next_cln);       
        if ( rc != RC_OK )                                            
ffc21670:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
ffc21674:	38 a0 00 00 	li      r5,0                                   
ffc21678:	7f a3 eb 78 	mr      r3,r29                                 
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &next_cln);       
        if ( rc != RC_OK )                                            
ffc2167c:	41 82 ff b4 	beq+    ffc21630 <fat_free_fat_clusters_chain+0x5c><== ALWAYS TAKEN
        {                                                             
              if(fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)        
ffc21680:	80 1e 00 40 	lwz     r0,64(r30)                             <== NOT EXECUTED
ffc21684:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc21688:	41 9e 00 0c 	beq-    cr7,ffc21694 <fat_free_fat_clusters_chain+0xc0><== NOT EXECUTED
                fs_info->vol.free_cls += freed_cls_cnt;               
ffc2168c:	7c 1c 02 14 	add     r0,r28,r0                              <== NOT EXECUTED
ffc21690:	90 1e 00 40 	stw     r0,64(r30)                             <== NOT EXECUTED
                                                                      
            fat_buf_release(fs_info);                                 
ffc21694:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21698:	4b ff 6d 41 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc2169c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc216a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc216a4:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc216a8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc216ac:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc216b0:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc216b4:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc216b8:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc216bc:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc216c0:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc216c4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
ffc216c8:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
ffc216cc:	3b 60 00 00 	li      r27,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)             
ffc216d0:	80 1e 00 40 	lwz     r0,64(r30)                             
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
ffc216d4:	93 5e 00 44 	stw     r26,68(r30)                            
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc216d8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc216dc:	41 9e 00 0c 	beq-    cr7,ffc216e8 <fat_free_fat_clusters_chain+0x114><== ALWAYS TAKEN
            fs_info->vol.free_cls += freed_cls_cnt;                   
ffc216e0:	7c 1c 02 14 	add     r0,r28,r0                              <== NOT EXECUTED
ffc216e4:	90 1e 00 40 	stw     r0,64(r30)                             <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
ffc216e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc216ec:	4b ff 6c ed 	bl      ffc183d8 <fat_buf_release>             
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc216f0:	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);                                         
ffc216f4:	7f 7f db 78 	mr      r31,r27                                
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc216f8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc216fc:	7c 08 03 a6 	mtlr    r0                                     
ffc21700:	7f e3 fb 78 	mr      r3,r31                                 
ffc21704:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc21708:	83 81 00 20 	lwz     r28,32(r1)                             
ffc2170c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc21710:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc21714:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc21718:	38 21 00 30 	addi    r1,r1,48                               
ffc2171c:	4e 80 00 20 	blr                                            
                                                                      

ffc18a94 <fat_free_unique_ino>: fat_free_unique_ino( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t ino ) { fat_fs_info_t *fs_info = mt_entry->fs_info;
ffc18a94:	81 23 00 34 	lwz     r9,52(r3)                              <== NOT EXECUTED
                                                                      
    FAT_SET_UNIQ_INO_FREE((ino - fs_info->uino_base), fs_info->uino); 
ffc18a98:	39 00 ff fe 	li      r8,-2                                  <== NOT EXECUTED
ffc18a9c:	80 09 00 7c 	lwz     r0,124(r9)                             <== NOT EXECUTED
ffc18aa0:	81 29 00 70 	lwz     r9,112(r9)                             <== NOT EXECUTED
ffc18aa4:	7c 00 20 50 	subf    r0,r0,r4                               <== NOT EXECUTED
ffc18aa8:	54 0b e8 fe 	rlwinm  r11,r0,29,3,31                         <== NOT EXECUTED
ffc18aac:	7d 49 58 ae 	lbzx    r10,r9,r11                             <== NOT EXECUTED
ffc18ab0:	54 00 07 7e 	clrlwi  r0,r0,29                               <== NOT EXECUTED
ffc18ab4:	5d 00 00 3e 	rotlw   r0,r8,r0                               <== NOT EXECUTED
ffc18ab8:	7c 00 50 38 	and     r0,r0,r10                              <== NOT EXECUTED
ffc18abc:	7c 09 59 ae 	stbx    r0,r9,r11                              <== NOT EXECUTED
}                                                                     
ffc18ac0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc2100c <fat_get_fat_cluster>: rtems_bdbuf_buffer *block0 = NULL; uint32_t sec = 0; uint32_t ofs = 0; /* sanity check */ if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )
ffc2100c:	2b 84 00 01 	cmplwi  cr7,r4,1                               
fat_get_fat_cluster(                                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    uint32_t                             *ret_val                     
    )                                                                 
{                                                                     
ffc21010:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc21014:	7c 08 02 a6 	mflr    r0                                     
ffc21018:	93 41 00 20 	stw     r26,32(r1)                             
ffc2101c:	7c ba 2b 78 	mr      r26,r5                                 
ffc21020:	90 01 00 3c 	stw     r0,60(r1)                              
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    rtems_bdbuf_buffer     *block0 = NULL;                            
ffc21024:	38 00 00 00 	li      r0,0                                   
fat_get_fat_cluster(                                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    uint32_t                             *ret_val                     
    )                                                                 
{                                                                     
ffc21028:	93 c1 00 30 	stw     r30,48(r1)                             
ffc2102c:	7c 9e 23 78 	mr      r30,r4                                 
ffc21030:	93 e1 00 34 	stw     r31,52(r1)                             
ffc21034:	93 21 00 1c 	stw     r25,28(r1)                             
ffc21038:	93 61 00 24 	stw     r27,36(r1)                             
ffc2103c:	93 81 00 28 	stw     r28,40(r1)                             
ffc21040:	93 a1 00 2c 	stw     r29,44(r1)                             
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc21044:	83 e3 00 34 	lwz     r31,52(r3)                             
    rtems_bdbuf_buffer     *block0 = NULL;                            
ffc21048:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t                sec = 0;                                  
    uint32_t                ofs = 0;                                  
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
ffc2104c:	40 9d 00 80 	ble-    cr7,ffc210cc <fat_get_fat_cluster+0xc0><== NEVER TAKEN
ffc21050:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc21054:	38 09 00 01 	addi    r0,r9,1                                
ffc21058:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc2105c:	41 9d 00 70 	bgt-    cr7,ffc210cc <fat_get_fat_cluster+0xc0><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc21060:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc21064:	70 09 00 01 	andi.   r9,r0,1                                
ffc21068:	40 82 00 a4 	bne-    ffc2110c <fat_get_fat_cluster+0x100>   <== ALWAYS TAKEN
ffc2106c:	70 09 00 02 	andi.   r9,r0,2                                <== NOT EXECUTED
ffc21070:	8b 7f 00 02 	lbz     r27,2(r31)                             <== NOT EXECUTED
ffc21074:	41 82 00 b4 	beq-    ffc21128 <fat_get_fat_cluster+0x11c>   <== NOT EXECUTED
ffc21078:	54 9d 08 3c 	rlwinm  r29,r4,1,0,30                          <== NOT EXECUTED
ffc2107c:	80 1f 00 4c 	lwz     r0,76(r31)                             <== NOT EXECUTED
ffc21080:	7f bb dc 30 	srw     r27,r29,r27                            <== NOT EXECUTED
ffc21084:	7f 7b 02 14 	add     r27,r27,r0                             <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc21088:	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);
ffc2108c:	a3 3f 00 00 	lhz     r25,0(r31)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc21090:	7f 64 db 78 	mr      r4,r27                                 
ffc21094:	38 a0 00 01 	li      r5,1                                   
ffc21098:	38 c1 00 08 	addi    r6,r1,8                                
ffc2109c:	4b ff 70 f5 	bl      ffc18190 <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc210a0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc210a4:	40 82 00 38 	bne-    ffc210dc <fat_get_fat_cluster+0xd0>    <== NEVER TAKEN
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc210a8:	88 1f 00 0a 	lbz     r0,10(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);
ffc210ac:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc210b0:	7f bd c8 38 	and     r29,r29,r25                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc210b4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc210b8:	41 9e 00 84 	beq-    cr7,ffc2113c <fat_get_fat_cluster+0x130><== NEVER TAKEN
ffc210bc:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc210c0:	41 9e 01 10 	beq-    cr7,ffc211d0 <fat_get_fat_cluster+0x1c4><== NEVER TAKEN
ffc210c4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc210c8:	41 9e 00 c0 	beq-    cr7,ffc21188 <fat_get_fat_cluster+0x17c><== ALWAYS TAKEN
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_L(*ret_val);                             
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc210cc:	48 00 1f 15 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc210d0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc210d4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc210d8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc210dc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc210e0:	7f 83 e3 78 	mr      r3,r28                                 
ffc210e4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc210e8:	7c 08 03 a6 	mtlr    r0                                     
ffc210ec:	83 41 00 20 	lwz     r26,32(r1)                             
ffc210f0:	83 61 00 24 	lwz     r27,36(r1)                             
ffc210f4:	83 81 00 28 	lwz     r28,40(r1)                             
ffc210f8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc210fc:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc21100:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc21104:	38 21 00 38 	addi    r1,r1,56                               
ffc21108:	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) +
ffc2110c:	54 9d f8 7e 	rlwinm  r29,r4,31,1,31                         
ffc21110:	8b 7f 00 02 	lbz     r27,2(r31)                             
ffc21114:	7f bd 22 14 	add     r29,r29,r4                             
ffc21118:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc2111c:	7f bb dc 30 	srw     r27,r29,r27                            
ffc21120:	7f 7b 02 14 	add     r27,r27,r0                             
ffc21124:	4b ff ff 64 	b       ffc21088 <fat_get_fat_cluster+0x7c>    
ffc21128:	54 9d 10 3a 	rlwinm  r29,r4,2,0,29                          <== NOT EXECUTED
ffc2112c:	80 1f 00 4c 	lwz     r0,76(r31)                             <== NOT EXECUTED
ffc21130:	7f bb dc 30 	srw     r27,r29,r27                            <== NOT EXECUTED
ffc21134:	7f 7b 02 14 	add     r27,r27,r0                             <== NOT EXECUTED
ffc21138:	4b ff ff 50 	b       ffc21088 <fat_get_fat_cluster+0x7c>    <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
ffc2113c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc21140:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc21144:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
ffc21148:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc2114c:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
ffc21150:	7c 09 ea 2e 	lhzx    r0,r9,r29                              <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc21154:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
ffc21158:	54 09 c2 3e 	rlwinm  r9,r0,24,8,31                          <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc2115c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
ffc21160:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc21164:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
ffc21168:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc2116c:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
ffc21170:	90 1a 00 00 	stw     r0,0(r26)                              <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc21174:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc21178:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc2117c:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc21180:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21184:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc21188:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc2118c:	38 09 ff ff 	addi    r0,r9,-1                               
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
ffc21190:	81 21 00 08 	lwz     r9,8(r1)                               
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc21194:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
ffc21198:	81 29 00 24 	lwz     r9,36(r9)                              
ffc2119c:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc211a0:	90 1a 00 00 	stw     r0,0(r26)                              
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc211a4:	41 9e 00 88 	beq-    cr7,ffc2122c <fat_get_fat_cluster+0x220><== NEVER TAKEN
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= (*((uint8_t   *)(block0->buffer + ofs + 1)))<<8;
ffc211a8:	7f a9 ea 14 	add     r29,r9,r29                             
ffc211ac:	89 3d 00 01 	lbz     r9,1(r29)                              
ffc211b0:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc211b4:	7d 20 03 78 	or      r0,r9,r0                               
ffc211b8:	90 1a 00 00 	stw     r0,0(r26)                              
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc211bc:	73 c9 00 01 	andi.   r9,r30,1                               
ffc211c0:	41 82 00 60 	beq-    ffc21220 <fat_get_fat_cluster+0x214>   
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
ffc211c4:	54 00 e1 3e 	rlwinm  r0,r0,28,4,31                          
ffc211c8:	90 1a 00 00 	stw     r0,0(r26)                              
ffc211cc:	4b ff ff 10 	b       ffc210dc <fat_get_fat_cluster+0xd0>    
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
ffc211d0:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc211d4:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc211d8:	7d 29 e8 2e 	lwzx    r9,r9,r29                              <== NOT EXECUTED
ffc211dc:	51 20 46 3e 	rlwimi  r0,r9,8,24,31                          <== NOT EXECUTED
ffc211e0:	51 20 c4 2e 	rlwimi  r0,r9,24,16,23                         <== NOT EXECUTED
ffc211e4:	51 20 42 1e 	rlwimi  r0,r9,8,8,15                           <== NOT EXECUTED
ffc211e8:	51 20 c0 0e 	rlwimi  r0,r9,24,0,7                           <== NOT EXECUTED
            *ret_val = CF_LE_L(*ret_val);                             
ffc211ec:	90 1a 00 00 	stw     r0,0(r26)                              <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc211f0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc211f4:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc211f8:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc211fc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21200:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc21204:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc21208:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc2120c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc21210:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc21214:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc21218:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc2121c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
ffc21220:	54 00 05 3e 	clrlwi  r0,r0,20                               
ffc21224:	90 1a 00 00 	stw     r0,0(r26)                              
ffc21228:	4b ff fe b4 	b       ffc210dc <fat_get_fat_cluster+0xd0>    
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
            if ( ofs == (fs_info->vol.bps - 1) )                      
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
ffc2122c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21230:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc21234:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc21238:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc2123c:	4b ff 6f 55 	bl      ffc18190 <fat_buf_access>              <== NOT EXECUTED
                                    &block0);                         
                if (rc != RC_OK)                                      
ffc21240:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21244:	40 82 00 24 	bne-    ffc21268 <fat_get_fat_cluster+0x25c>   <== NOT EXECUTED
                    return rc;                                        
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
ffc21248:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc2124c:	80 1a 00 00 	lwz     r0,0(r26)                              <== NOT EXECUTED
ffc21250:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc21254:	89 29 00 00 	lbz     r9,0(r9)                               <== NOT EXECUTED
ffc21258:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc2125c:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc21260:	90 1a 00 00 	stw     r0,0(r26)                              <== NOT EXECUTED
ffc21264:	4b ff ff 58 	b       ffc211bc <fat_get_fat_cluster+0x1b0>   <== NOT EXECUTED
            *ret_val = (*((uint8_t   *)(block0->buffer + ofs)));      
            if ( ofs == (fs_info->vol.bps - 1) )                      
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                    &block0);                         
                if (rc != RC_OK)                                      
ffc21268:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc2126c:	4b ff fe 70 	b       ffc210dc <fat_get_fat_cluster+0xd0>    <== NOT EXECUTED
                                                                      

ffc1896c <fat_get_unique_ino>: * 0 means FAILED !!! * */ uint32_t fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc1896c:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc18970:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc18974:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc18978:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc1897c:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
 *     0 means FAILED !!!                                             
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
ffc18980:	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))
ffc18984:	3f a0 0f ff 	lis     r29,4095                               <== NOT EXECUTED
ffc18988:	63 bd ff ff 	ori     r29,r29,65535                          <== NOT EXECUTED
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc1898c:	80 df 00 78 	lwz     r6,120(r31)                            <== NOT EXECUTED
 *     0 means FAILED !!!                                             
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
ffc18990:	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)) 
ffc18994:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
ffc18998:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc1899c:	41 9e 00 a0 	beq-    cr7,ffc18a3c <fat_get_unique_ino+0xd0> <== NOT EXECUTED
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc189a0:	81 3f 00 74 	lwz     r9,116(r31)                            <== NOT EXECUTED
ffc189a4:	81 7f 00 70 	lwz     r11,112(r31)                           <== NOT EXECUTED
ffc189a8:	55 20 e8 fe 	rlwinm  r0,r9,29,3,31                          <== NOT EXECUTED
ffc189ac:	7d 4b 00 ae 	lbzx    r10,r11,r0                             <== NOT EXECUTED
ffc189b0:	55 28 07 7e 	clrlwi  r8,r9,29                               <== NOT EXECUTED
ffc189b4:	7c 0b 02 14 	add     r0,r11,r0                              <== NOT EXECUTED
ffc189b8:	7d 47 46 30 	sraw    r7,r10,r8                              <== NOT EXECUTED
ffc189bc:	70 e5 00 01 	andi.   r5,r7,1                                <== NOT EXECUTED
ffc189c0:	41 82 00 40 	beq-    ffc18a00 <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;                                   
ffc189c4:	7c c9 03 a6 	mtctr   r6                                     <== 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++;                                         
ffc189c8:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc189cc:	7f 89 30 40 	cmplw   cr7,r9,r6                              <== 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++;                                         
ffc189d0:	91 3f 00 74 	stw     r9,116(r31)                            <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc189d4:	41 9c 00 08 	blt-    cr7,ffc189dc <fat_get_unique_ino+0x70> <== NOT EXECUTED
                fs_info->index = 0;                                   
ffc189d8:	93 df 00 74 	stw     r30,116(r31)                           <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
ffc189dc:	42 40 00 60 	bdz-    ffc18a3c <fat_get_unique_ino+0xd0>     <== NOT EXECUTED
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc189e0:	81 3f 00 74 	lwz     r9,116(r31)                            <== NOT EXECUTED
ffc189e4:	55 20 e8 fe 	rlwinm  r0,r9,29,3,31                          <== NOT EXECUTED
ffc189e8:	7d 4b 00 ae 	lbzx    r10,r11,r0                             <== NOT EXECUTED
ffc189ec:	55 28 07 7e 	clrlwi  r8,r9,29                               <== NOT EXECUTED
ffc189f0:	7c 0b 02 14 	add     r0,r11,r0                              <== NOT EXECUTED
ffc189f4:	7d 47 46 30 	sraw    r7,r10,r8                              <== NOT EXECUTED
ffc189f8:	70 e5 00 01 	andi.   r5,r7,1                                <== NOT EXECUTED
ffc189fc:	40 82 ff cc 	bne+    ffc189c8 <fat_get_unique_ino+0x5c>     <== NOT EXECUTED
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
ffc18a00:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc18a04:	7d 28 40 30 	slw     r8,r9,r8                               <== NOT EXECUTED
ffc18a08:	7d 0a 53 78 	or      r10,r8,r10                             <== NOT EXECUTED
ffc18a0c:	7c 09 03 78 	mr      r9,r0                                  <== NOT EXECUTED
ffc18a10:	99 49 00 00 	stb     r10,0(r9)                              <== NOT EXECUTED
                return (fs_info->uino_base + fs_info->index);         
ffc18a14:	80 1f 00 7c 	lwz     r0,124(r31)                            <== NOT EXECUTED
ffc18a18:	80 7f 00 74 	lwz     r3,116(r31)                            <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc18a1c:	83 a1 00 0c 	lwz     r29,12(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);         
ffc18a20:	7c 63 02 14 	add     r3,r3,r0                               <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc18a24:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc18a28:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc18a2c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18a30:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc18a34:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc18a38:	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))
ffc18a3c:	80 1f 00 7c 	lwz     r0,124(r31)                            <== NOT EXECUTED
ffc18a40:	54 c4 08 3c 	rlwinm  r4,r6,1,0,30                           <== NOT EXECUTED
ffc18a44:	7c 00 e8 50 	subf    r0,r0,r29                              <== NOT EXECUTED
ffc18a48:	7f 84 00 40 	cmplw   cr7,r4,r0                              <== NOT EXECUTED
ffc18a4c:	41 9c 00 24 	blt-    cr7,ffc18a70 <fat_get_unique_ino+0x104><== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc18a50:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                resrc_unsuff = true;                                  
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
ffc18a54:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc18a58:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc18a5c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18a60:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc18a64:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc18a68:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc18a6c:	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;                            
ffc18a70:	90 9f 00 78 	stw     r4,120(r31)                            <== NOT EXECUTED
            fs_info->uino = realloc(fs_info->uino, fs_info->uino_pool_size);
ffc18a74:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc18a78:	4b ff 14 89 	bl      ffc09f00 <realloc>                     <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc18a7c:	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);
ffc18a80:	90 7f 00 70 	stw     r3,112(r31)                            <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc18a84:	41 9e ff cc 	beq+    cr7,ffc18a50 <fat_get_unique_ino+0xe4> <== NOT EXECUTED
                fs_info->index = fs_info->uino_pool_size;             
ffc18a88:	80 df 00 78 	lwz     r6,120(r31)                            <== NOT EXECUTED
ffc18a8c:	90 df 00 74 	stw     r6,116(r31)                            <== NOT EXECUTED
ffc18a90:	4b ff ff 08 	b       ffc18998 <fat_get_unique_ino+0x2c>     <== NOT EXECUTED
                                                                      

ffc18840 <fat_init_clusters_chain>: int fat_init_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start_cln ) {
ffc18840:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc18844:	7c 08 02 a6 	mflr    r0                                     
ffc18848:	90 01 00 2c 	stw     r0,44(r1)                              
ffc1884c:	93 c1 00 20 	stw     r30,32(r1)                             
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc18850:	83 c3 00 34 	lwz     r30,52(r3)                             
int                                                                   
fat_init_clusters_chain(                                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start_cln                   
    )                                                                 
{                                                                     
ffc18854:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc18858:	7c 7d 1b 78 	mr      r29,r3                                 
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                cur_cln = start_cln;                      
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
ffc1885c:	a0 7e 00 06 	lhz     r3,6(r30)                              
int                                                                   
fat_init_clusters_chain(                                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start_cln                   
    )                                                                 
{                                                                     
ffc18860:	93 e1 00 24 	stw     r31,36(r1)                             
ffc18864:	7c 9f 23 78 	mr      r31,r4                                 
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                cur_cln = start_cln;                      
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
ffc18868:	38 80 00 01 	li      r4,1                                   
int                                                                   
fat_init_clusters_chain(                                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start_cln                   
    )                                                                 
{                                                                     
ffc1886c:	93 81 00 18 	stw     r28,24(r1)                             
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                cur_cln = start_cln;                      
ffc18870:	93 e1 00 08 	stw     r31,8(r1)                              
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
ffc18874:	4b fe f5 bd 	bl      ffc07e30 <calloc>                      
    if ( buf == NULL )                                                
ffc18878:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1887c:	40 a2 00 0c 	bne+    ffc18888 <fat_init_clusters_chain+0x48><== ALWAYS TAKEN
ffc18880:	48 00 00 d8 	b       ffc18958 <fat_init_clusters_chain+0x118><== NOT EXECUTED
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
        if ( rc != RC_OK )                                            
ffc18884:	83 e1 00 08 	lwz     r31,8(r1)                              
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18888:	81 3e 00 0c 	lwz     r9,12(r30)                             
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
ffc1888c:	7f e4 fb 78 	mr      r4,r31                                 
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18890:	80 1e 00 10 	lwz     r0,16(r30)                             
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
ffc18894:	7f 85 e3 78 	mr      r5,r28                                 
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18898:	7f ff 48 38 	and     r31,r31,r9                             
ffc1889c:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
ffc188a0:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc188a4:	40 9c 00 54 	bge-    cr7,ffc188f8 <fat_init_clusters_chain+0xb8>
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
ffc188a8:	4b ff ff 3d 	bl      ffc187e4 <fat_cluster_write>           
        {                                                             
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
ffc188ac:	38 a1 00 08 	addi    r5,r1,8                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
        if ( ret == -1 )                                              
ffc188b0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
        {                                                             
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
ffc188b4:	7f a3 eb 78 	mr      r3,r29                                 
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
        if ( ret == -1 )                                              
ffc188b8:	41 9e 00 70 	beq-    cr7,ffc18928 <fat_init_clusters_chain+0xe8><== NEVER TAKEN
        {                                                             
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
ffc188bc:	80 81 00 08 	lwz     r4,8(r1)                               
ffc188c0:	48 00 87 4d 	bl      ffc2100c <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc188c4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc188c8:	41 82 ff bc 	beq+    ffc18884 <fat_init_clusters_chain+0x44><== ALWAYS TAKEN
        {                                                             
            free(buf);                                                
ffc188cc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc188d0:	4b fe fc 11 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
    return rc;                                                        
}                                                                     
ffc188d4:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc188d8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc188dc:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc188e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc188e4:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc188e8:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc188ec:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc188f0:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc188f4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            free(buf);                                                
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
ffc188f8:	7f 83 e3 78 	mr      r3,r28                                 
ffc188fc:	4b fe fb e5 	bl      ffc084e0 <free>                        
    return rc;                                                        
}                                                                     
ffc18900:	80 01 00 2c 	lwz     r0,44(r1)                              
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
    return rc;                                                        
ffc18904:	3b e0 00 00 	li      r31,0                                  
}                                                                     
ffc18908:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1890c:	7c 08 03 a6 	mtlr    r0                                     
ffc18910:	7f e3 fb 78 	mr      r3,r31                                 
ffc18914:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc18918:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1891c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18920:	38 21 00 28 	addi    r1,r1,40                               
ffc18924:	4e 80 00 20 	blr                                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
        if ( ret == -1 )                                              
        {                                                             
            free(buf);                                                
ffc18928:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1892c:	4b fe fb b5 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
    return rc;                                                        
}                                                                     
ffc18930:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
        if ( ret == -1 )                                              
        {                                                             
            free(buf);                                                
            return -1;                                                
ffc18934:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
    return rc;                                                        
}                                                                     
ffc18938:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc1893c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18940:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc18944:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc18948:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc1894c:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc18950:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc18954:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    uint32_t                cur_cln = start_cln;                      
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc18958:	48 00 a6 89 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1895c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc18960:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc18964:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc18968:	4b ff ff 6c 	b       ffc188d4 <fat_init_clusters_chain+0x94><== NOT EXECUTED
                                                                      

ffc18cb4 <fat_init_volume_info>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc18cb4:	94 21 ff 20 	stwu    r1,-224(r1)                            
ffc18cb8:	7c 08 02 a6 	mflr    r0                                     
ffc18cbc:	90 01 00 e4 	stw     r0,228(r1)                             
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc18cc0:	38 81 00 18 	addi    r4,r1,24                               
    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;                                 
ffc18cc4:	38 00 00 00 	li      r0,0                                   
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry)  
{                                                                     
ffc18cc8:	93 c1 00 d8 	stw     r30,216(r1)                            
ffc18ccc:	7c 7e 1b 78 	mr      r30,r3                                 
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc18cd0:	80 63 00 70 	lwz     r3,112(r3)                             
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_init_volume_info(rtems_filesystem_mount_table_entry_t *mt_entry)  
{                                                                     
ffc18cd4:	93 a1 00 d4 	stw     r29,212(r1)                            
ffc18cd8:	93 e1 00 dc 	stw     r31,220(r1)                            
ffc18cdc:	91 c1 00 98 	stw     r14,152(r1)                            
ffc18ce0:	91 e1 00 9c 	stw     r15,156(r1)                            
ffc18ce4:	92 01 00 a0 	stw     r16,160(r1)                            
ffc18ce8:	92 21 00 a4 	stw     r17,164(r1)                            
ffc18cec:	92 41 00 a8 	stw     r18,168(r1)                            
ffc18cf0:	92 61 00 ac 	stw     r19,172(r1)                            
ffc18cf4:	92 81 00 b0 	stw     r20,176(r1)                            
ffc18cf8:	92 a1 00 b4 	stw     r21,180(r1)                            
ffc18cfc:	92 c1 00 b8 	stw     r22,184(r1)                            
ffc18d00:	92 e1 00 bc 	stw     r23,188(r1)                            
ffc18d04:	93 01 00 c0 	stw     r24,192(r1)                            
ffc18d08:	93 21 00 c4 	stw     r25,196(r1)                            
ffc18d0c:	93 41 00 c8 	stw     r26,200(r1)                            
ffc18d10:	93 61 00 cc 	stw     r27,204(r1)                            
ffc18d14:	93 81 00 d0 	stw     r28,208(r1)                            
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc18d18:	83 fe 00 34 	lwz     r31,52(r30)                            
    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;                                 
ffc18d1c:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc18d20:	4b ff 15 4d 	bl      ffc0a26c <stat>                        
    if (rc == -1)                                                     
ffc18d24:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc18d28:	7c 7d 1b 78 	mr      r29,r3                                 
    if (rc == -1)                                                     
ffc18d2c:	41 9e 03 d8 	beq-    cr7,ffc19104 <fat_init_volume_info+0x450><== NEVER TAKEN
        return rc;                                                    
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
ffc18d30:	80 01 00 24 	lwz     r0,36(r1)                              
ffc18d34:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc18d38:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc18d3c:	40 9e 06 34 	bne-    cr7,ffc19370 <fat_init_volume_info+0x6bc><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOTTY);                 
                                                                      
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
ffc18d40:	80 61 00 30 	lwz     r3,48(r1)                              
ffc18d44:	80 81 00 34 	lwz     r4,52(r1)                              
ffc18d48:	4b fe e2 c9 	bl      ffc07010 <rtems_disk_obtain>           
    if (vol->dd == NULL)                                              
ffc18d4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
        rtems_set_errno_and_return_minus_one(ENOTTY);                 
                                                                      
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
ffc18d50:	90 7f 00 60 	stw     r3,96(r31)                             
    if (vol->dd == NULL)                                              
ffc18d54:	41 9e 06 90 	beq-    cr7,ffc193e4 <fat_init_volume_info+0x730><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
ffc18d58:	80 61 00 30 	lwz     r3,48(r1)                              
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
ffc18d5c:	38 a0 00 00 	li      r5,0                                   
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
    if (vol->dd == NULL)                                              
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
ffc18d60:	80 81 00 34 	lwz     r4,52(r1)                              
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
ffc18d64:	38 c1 00 08 	addi    r6,r1,8                                
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
    if (vol->dd == NULL)                                              
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
ffc18d68:	90 7f 00 58 	stw     r3,88(r31)                             
ffc18d6c:	90 9f 00 5c 	stw     r4,92(r31)                             
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
ffc18d70:	4b ff d2 15 	bl      ffc15f84 <rtems_bdbuf_read>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc18d74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18d78:	40 9e 06 64 	bne-    cr7,ffc193dc <fat_init_volume_info+0x728><== NEVER TAKEN
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EIO);                   
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
ffc18d7c:	80 61 00 08 	lwz     r3,8(r1)                               
ffc18d80:	81 23 00 24 	lwz     r9,36(r3)                              
ffc18d84:	88 09 00 20 	lbz     r0,32(r9)                              
ffc18d88:	89 49 00 21 	lbz     r10,33(r9)                             
ffc18d8c:	89 69 00 22 	lbz     r11,34(r9)                             
ffc18d90:	90 01 00 68 	stw     r0,104(r1)                             
ffc18d94:	91 41 00 6c 	stw     r10,108(r1)                            
ffc18d98:	88 09 00 23 	lbz     r0,35(r9)                              
ffc18d9c:	89 49 00 28 	lbz     r10,40(r9)                             
ffc18da0:	91 61 00 70 	stw     r11,112(r1)                            
ffc18da4:	90 01 00 74 	stw     r0,116(r1)                             
ffc18da8:	89 69 00 2c 	lbz     r11,44(r9)                             
ffc18dac:	88 09 00 2d 	lbz     r0,45(r9)                              
ffc18db0:	91 41 00 78 	stw     r10,120(r1)                            
ffc18db4:	89 49 00 2e 	lbz     r10,46(r9)                             
ffc18db8:	8b 69 00 0b 	lbz     r27,11(r9)                             
ffc18dbc:	8b 49 00 0c 	lbz     r26,12(r9)                             
ffc18dc0:	8b a9 00 0d 	lbz     r29,13(r9)                             
ffc18dc4:	8b 29 00 0e 	lbz     r25,14(r9)                             
ffc18dc8:	8b 09 00 0f 	lbz     r24,15(r9)                             
ffc18dcc:	8b 89 00 10 	lbz     r28,16(r9)                             
ffc18dd0:	8a e9 00 11 	lbz     r23,17(r9)                             
ffc18dd4:	8a c9 00 12 	lbz     r22,18(r9)                             
ffc18dd8:	8a a9 00 13 	lbz     r21,19(r9)                             
ffc18ddc:	8a 89 00 14 	lbz     r20,20(r9)                             
ffc18de0:	8a 69 00 16 	lbz     r19,22(r9)                             
ffc18de4:	8a 49 00 17 	lbz     r18,23(r9)                             
ffc18de8:	89 e9 00 24 	lbz     r15,36(r9)                             
ffc18dec:	89 c9 00 25 	lbz     r14,37(r9)                             
ffc18df0:	8a 29 00 26 	lbz     r17,38(r9)                             
ffc18df4:	8a 09 00 27 	lbz     r16,39(r9)                             
ffc18df8:	91 61 00 88 	stw     r11,136(r1)                            
ffc18dfc:	90 01 00 8c 	stw     r0,140(r1)                             
ffc18e00:	91 41 00 90 	stw     r10,144(r1)                            
ffc18e04:	89 69 00 2f 	lbz     r11,47(r9)                             
ffc18e08:	88 09 00 30 	lbz     r0,48(r9)                              
ffc18e0c:	89 29 00 31 	lbz     r9,49(r9)                              
ffc18e10:	91 61 00 84 	stw     r11,132(r1)                            
ffc18e14:	90 01 00 7c 	stw     r0,124(r1)                             
ffc18e18:	91 21 00 80 	stw     r9,128(r1)                             
                                                                      
    sc = rtems_bdbuf_release( block);                                 
ffc18e1c:	4b ff d4 c5 	bl      ffc162e0 <rtems_bdbuf_release>         
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc18e20:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18e24:	40 82 05 d4 	bne-    ffc193f8 <fat_init_volume_info+0x744>  <== NEVER TAKEN
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
ffc18e28:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         
ffc18e2c:	7f 5b db 78 	or      r27,r26,r27                            
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc18e30:	2f 9b 02 00 	cmpwi   cr7,r27,512                            
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
ffc18e34:	b3 7f 00 00 	sth     r27,0(r31)                             
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc18e38:	41 9e 05 00 	beq-    cr7,ffc19338 <fat_init_volume_info+0x684><== ALWAYS TAKEN
ffc18e3c:	2f 9b 04 00 	cmpwi   cr7,r27,1024                           <== NOT EXECUTED
ffc18e40:	41 9e 00 14 	beq-    cr7,ffc18e54 <fat_init_volume_info+0x1a0><== NOT EXECUTED
         (vol->bps != 1024) &&                                        
ffc18e44:	2f 9b 08 00 	cmpwi   cr7,r27,2048                           <== NOT EXECUTED
ffc18e48:	41 9e 00 0c 	beq-    cr7,ffc18e54 <fat_init_volume_info+0x1a0><== NOT EXECUTED
         (vol->bps != 2048) &&                                        
ffc18e4c:	2f 9b 10 00 	cmpwi   cr7,r27,4096                           <== NOT EXECUTED
ffc18e50:	40 9e 05 3c 	bne-    cr7,ffc1938c <fat_init_volume_info+0x6d8><== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc18e54:	57 60 ba 7e 	rlwinm  r0,r27,23,9,31                         <== NOT EXECUTED
ffc18e58:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc18e5c:	48 00 00 08 	b       ffc18e64 <fat_init_volume_info+0x1b0>  <== NOT EXECUTED
ffc18e60:	7d 69 5b 78 	mr      r9,r11                                 <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
ffc18e64:	7c 00 0e 70 	srawi   r0,r0,1                                <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc18e68:	70 0a 00 01 	andi.   r10,r0,1                               <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
ffc18e6c:	39 69 00 01 	addi    r11,r9,1                               <== NOT EXECUTED
ffc18e70:	55 6b 06 3e 	clrlwi  r11,r11,24                             <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc18e74:	41 82 ff ec 	beq+    ffc18e60 <fat_init_volume_info+0x1ac>  <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc18e78:	73 6b 00 01 	andi.   r11,r27,1                              <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc18e7c:	99 3f 00 03 	stb     r9,3(r31)                              <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc18e80:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc18e84:	98 1f 00 02 	stb     r0,2(r31)                              <== NOT EXECUTED
ffc18e88:	40 82 00 2c 	bne-    ffc18eb4 <fat_init_volume_info+0x200>  <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc18e8c:	7f 60 db 78 	mr      r0,r27                                 
ffc18e90:	39 20 00 01 	li      r9,1                                   
ffc18e94:	48 00 00 08 	b       ffc18e9c <fat_init_volume_info+0x1e8>  
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc18e98:	7d 69 5b 78 	mr      r9,r11                                 
         i >>= 1, vol->sec_log2++);                                   
ffc18e9c:	7c 00 0e 70 	srawi   r0,r0,1                                
        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;               
ffc18ea0:	70 0a 00 01 	andi.   r10,r0,1                               
         i >>= 1, vol->sec_log2++);                                   
ffc18ea4:	39 69 00 01 	addi    r11,r9,1                               
ffc18ea8:	55 6b 06 3e 	clrlwi  r11,r11,24                             
        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;               
ffc18eac:	41 82 ff ec 	beq+    ffc18e98 <fat_init_volume_info+0x1e4>  
ffc18eb0:	99 3f 00 02 	stb     r9,2(r31)                              
    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)                                                
ffc18eb4:	2f 9d 00 00 	cmpwi   cr7,r29,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->spc = FAT_GET_BR_SECTORS_PER_CLUSTER(boot_rec);              
ffc18eb8:	9b bf 00 04 	stb     r29,4(r31)                             
    /*                                                                
     * "sectors per cluster" of zero is invalid                       
     * (and would hang the following loop)                            
     */                                                               
    if (vol->spc == 0)                                                
ffc18ebc:	41 9e 04 d0 	beq-    cr7,ffc1938c <fat_init_volume_info+0x6d8><== NEVER TAKEN
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc18ec0:	73 ab 00 01 	andi.   r11,r29,1                              
ffc18ec4:	38 00 00 00 	li      r0,0                                   
ffc18ec8:	98 1f 00 05 	stb     r0,5(r31)                              
ffc18ecc:	7f a9 eb 78 	mr      r9,r29                                 
ffc18ed0:	39 60 00 00 	li      r11,0                                  
ffc18ed4:	40 82 00 28 	bne-    ffc18efc <fat_init_volume_info+0x248>  <== NEVER TAKEN
ffc18ed8:	39 60 00 01 	li      r11,1                                  
ffc18edc:	48 00 00 08 	b       ffc18ee4 <fat_init_volume_info+0x230>  
ffc18ee0:	7c 0b 03 78 	mr      r11,r0                                 <== NOT EXECUTED
         i >>= 1, vol->spc_log2++);                                   
ffc18ee4:	7d 29 0e 70 	srawi   r9,r9,1                                
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc18ee8:	71 20 00 01 	andi.   r0,r9,1                                
         i >>= 1, vol->spc_log2++);                                   
ffc18eec:	38 0b 00 01 	addi    r0,r11,1                               
ffc18ef0:	54 00 06 3e 	clrlwi  r0,r0,24                               
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc18ef4:	41 82 ff ec 	beq+    ffc18ee0 <fat_init_volume_info+0x22c>  <== NEVER TAKEN
ffc18ef8:	99 7f 00 05 	stb     r11,5(r31)                             
         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)
ffc18efc:	7f 6b 58 30 	slw     r11,r27,r11                            
ffc18f00:	55 60 04 3e 	clrlwi  r0,r11,16                              
ffc18f04:	2b 80 80 00 	cmplwi  cr7,r0,32768                           
ffc18f08:	b0 1f 00 06 	sth     r0,6(r31)                              
ffc18f0c:	41 9d 04 80 	bgt-    cr7,ffc1938c <fat_init_volume_info+0x6d8><== NEVER TAKEN
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc18f10:	70 09 00 01 	andi.   r9,r0,1                                
ffc18f14:	39 20 00 00 	li      r9,0                                   
ffc18f18:	99 3f 00 08 	stb     r9,8(r31)                              
ffc18f1c:	40 82 00 28 	bne-    ffc18f44 <fat_init_volume_info+0x290>  <== NEVER TAKEN
ffc18f20:	39 20 00 01 	li      r9,1                                   
ffc18f24:	48 00 00 08 	b       ffc18f2c <fat_init_volume_info+0x278>  
ffc18f28:	7d 69 5b 78 	mr      r9,r11                                 
         i >>= 1, vol->bpc_log2++);                                   
ffc18f2c:	7c 00 0e 70 	srawi   r0,r0,1                                
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc18f30:	70 0a 00 01 	andi.   r10,r0,1                               
         i >>= 1, vol->bpc_log2++);                                   
ffc18f34:	39 69 00 01 	addi    r11,r9,1                               
ffc18f38:	55 6b 06 3e 	clrlwi  r11,r11,24                             
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc18f3c:	41 82 ff ec 	beq+    ffc18f28 <fat_init_volume_info+0x274>  
ffc18f40:	99 3f 00 08 	stb     r9,8(r31)                              
         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);        
ffc18f44:	56 d6 40 2e 	rlwinm  r22,r22,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);                         
ffc18f48:	9b 9f 00 09 	stb     r28,9(r31)                             
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
ffc18f4c:	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)) /
ffc18f50:	38 1b ff ff 	addi    r0,r27,-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);        
ffc18f54:	b2 ff 00 20 	sth     r23,32(r31)                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
ffc18f58:	56 e9 28 34 	rlwinm  r9,r23,5,0,26                          
ffc18f5c:	7c 09 02 14 	add     r0,r9,r0                               
ffc18f60:	7f 60 db d6 	divw    r27,r0,r27                             
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
ffc18f64:	88 1f 00 02 	lbz     r0,2(r31)                              
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc18f68:	56 52 40 2e 	rlwinm  r18,r18,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)) /
ffc18f6c:	93 7f 00 24 	stw     r27,36(r31)                            
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc18f70:	7e 53 9b 78 	or      r19,r18,r19                            
ffc18f74:	7e 73 07 35 	extsh.  r19,r19                                
                                                                      
    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);         
ffc18f78:	57 18 40 2e 	rlwinm  r24,r24,8,0,23                         
ffc18f7c:	7f 19 cb 78 	or      r25,r24,r25                            
                                                                      
    /* 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;                 
ffc18f80:	7f 60 00 30 	slw     r0,r27,r0                              
                                                                      
    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);         
ffc18f84:	b3 3f 00 14 	sth     r25,20(r31)                            
                                                                      
    /* 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;                 
ffc18f88:	90 1f 00 28 	stw     r0,40(r31)                             
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc18f8c:	41 82 03 8c 	beq-    ffc19318 <fat_init_volume_info+0x664>  <== NEVER TAKEN
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
ffc18f90:	56 73 04 3e 	clrlwi  r19,r19,16                             
ffc18f94:	92 7f 00 18 	stw     r19,24(r31)                            
                     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)             
ffc18f98:	56 94 40 2e 	rlwinm  r20,r20,8,0,23                         
ffc18f9c:	7e 95 ab 78 	or      r21,r20,r21                            
    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 +     
ffc18fa0:	7f 93 e1 d6 	mullw   r28,r19,r28                            
                     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)             
ffc18fa4:	7e b5 07 35 	extsh.  r21,r21                                
    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 +     
ffc18fa8:	7f 9c ca 14 	add     r28,r28,r25                            
ffc18fac:	7f 7c da 14 	add     r27,r28,r27                            
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
ffc18fb0:	93 9f 00 1c 	stw     r28,28(r31)                            
    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 +     
ffc18fb4:	93 7f 00 30 	stw     r27,48(r31)                            
                     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)             
ffc18fb8:	41 82 03 30 	beq-    ffc192e8 <fat_init_volume_info+0x634>  <== NEVER TAKEN
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
ffc18fbc:	56 b5 04 3e 	clrlwi  r21,r21,16                             
ffc18fc0:	92 bf 00 2c 	stw     r21,44(r31)                            
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
ffc18fc4:	7f 7b a8 50 	subf    r27,r27,r21                            
                                                                      
    vol->data_cls = data_secs / vol->spc;                             
ffc18fc8:	7f bb eb 96 	divwu   r29,r27,r29                            
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc18fcc:	2b 9d 0f f4 	cmplwi  cr7,r29,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;                             
ffc18fd0:	93 bf 00 34 	stw     r29,52(r31)                            
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc18fd4:	41 9d 01 8c 	bgt-    cr7,ffc19160 <fat_init_volume_info+0x4ac><== NEVER TAKEN
    {                                                                 
        vol->type = FAT_FAT12;                                        
ffc18fd8:	38 00 00 01 	li      r0,1                                   
ffc18fdc:	98 1f 00 0a 	stb     r0,10(r31)                             
        vol->mask = FAT_FAT12_MASK;                                   
ffc18fe0:	38 00 0f ff 	li      r0,4095                                
ffc18fe4:	90 1f 00 0c 	stw     r0,12(r31)                             
        vol->eoc_val = FAT_FAT12_EOC;                                 
ffc18fe8:	38 00 0f f8 	li      r0,4088                                
ffc18fec:	90 1f 00 10 	stw     r0,16(r31)                             
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
ffc18ff0:	38 00 00 00 	li      r0,0                                   
        vol->mirror = 0;                                              
        vol->afat = 0;                                                
        vol->free_cls = 0xFFFFFFFF;                                   
ffc18ff4:	39 20 ff ff 	li      r9,-1                                  
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
ffc18ff8:	90 1f 00 38 	stw     r0,56(r31)                             
        vol->mirror = 0;                                              
ffc18ffc:	98 1f 00 48 	stb     r0,72(r31)                             
        vol->afat = 0;                                                
ffc19000:	98 1f 00 50 	stb     r0,80(r31)                             
        vol->free_cls = 0xFFFFFFFF;                                   
ffc19004:	91 3f 00 40 	stw     r9,64(r31)                             
        vol->next_cl = 0xFFFFFFFF;                                    
ffc19008:	91 3f 00 44 	stw     r9,68(r31)                             
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
ffc1900c:	80 7e 00 34 	lwz     r3,52(r30)                             
ffc19010:	4b ff f3 c9 	bl      ffc183d8 <fat_buf_release>             
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc19014:	89 7f 00 50 	lbz     r11,80(r31)                            
ffc19018:	80 1f 00 18 	lwz     r0,24(r31)                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc1901c:	38 60 00 02 	li      r3,2                                   
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc19020:	a1 3f 00 14 	lhz     r9,20(r31)                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc19024:	38 80 00 0c 	li      r4,12                                  
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc19028:	7c 0b 01 d6 	mullw   r0,r11,r0                              
ffc1902c:	7c 00 4a 14 	add     r0,r0,r9                               
ffc19030:	90 1f 00 4c 	stw     r0,76(r31)                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc19034:	4b fe ed fd 	bl      ffc07e30 <calloc>                      
    if ( fs_info->vhash == NULL )                                     
ffc19038:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    _fat_block_release(mt_entry);                                     
                                                                      
    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));
ffc1903c:	90 7f 00 68 	stw     r3,104(r31)                            
ffc19040:	7c 69 1b 78 	mr      r9,r3                                  
    if ( fs_info->vhash == NULL )                                     
ffc19044:	41 9e 04 10 	beq-    cr7,ffc19454 <fat_init_volume_info+0x7a0><== 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 );                        
ffc19048:	39 43 00 04 	addi    r10,r3,4                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1904c:	91 29 00 08 	stw     r9,8(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 );                        
ffc19050:	38 03 00 0c 	addi    r0,r3,12                               
ffc19054:	39 63 00 10 	addi    r11,r3,16                              
                                                                      
  head->next = tail;                                                  
ffc19058:	91 49 00 00 	stw     r10,0(r9)                              
  head->previous = NULL;                                              
ffc1905c:	3b c0 00 00 	li      r30,0                                  
ffc19060:	93 c9 00 04 	stw     r30,4(r9)                              
    }                                                                 
                                                                      
    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));
ffc19064:	38 60 00 02 	li      r3,2                                   
ffc19068:	38 80 00 0c 	li      r4,12                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1906c:	91 69 00 0c 	stw     r11,12(r9)                             
  head->previous = NULL;                                              
ffc19070:	93 c9 00 10 	stw     r30,16(r9)                             
  tail->previous = head;                                              
ffc19074:	90 09 00 14 	stw     r0,20(r9)                              
ffc19078:	4b fe ed b9 	bl      ffc07e30 <calloc>                      
    if ( fs_info->rhash == NULL )                                     
ffc1907c:	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));
ffc19080:	90 7f 00 6c 	stw     r3,108(r31)                            
ffc19084:	7c 69 1b 78 	mr      r9,r3                                  
    if ( fs_info->rhash == NULL )                                     
ffc19088:	41 9e 03 bc 	beq-    cr7,ffc19444 <fat_init_volume_info+0x790><== 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 );                        
ffc1908c:	39 43 00 04 	addi    r10,r3,4                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc19090:	93 c3 00 04 	stw     r30,4(r3)                              
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 );                        
ffc19094:	38 03 00 0c 	addi    r0,r3,12                               
ffc19098:	39 63 00 10 	addi    r11,r3,16                              
                                                                      
  head->next = tail;                                                  
ffc1909c:	91 43 00 00 	stw     r10,0(r3)                              
        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));
ffc190a0:	38 80 00 01 	li      r4,1                                   
ffc190a4:	91 69 00 0c 	stw     r11,12(r9)                             
        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;                
ffc190a8:	39 60 01 00 	li      r11,256                                
    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));
ffc190ac:	38 60 01 00 	li      r3,256                                 
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc190b0:	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;                                              
ffc190b4:	93 c9 00 10 	stw     r30,16(r9)                             
  tail->previous = head;                                              
ffc190b8:	90 09 00 14 	stw     r0,20(r9)                              
    }                                                                 
    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;        
ffc190bc:	81 3f 00 2c 	lwz     r9,44(r31)                             
ffc190c0:	88 1f 00 03 	lbz     r0,3(r31)                              
        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;                
ffc190c4:	91 7f 00 78 	stw     r11,120(r31)                           
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
ffc190c8:	7d 20 00 30 	slw     r0,r9,r0                               
ffc190cc:	54 00 20 36 	rlwinm  r0,r0,4,0,27                           
    fs_info->index = 0;                                               
ffc190d0:	93 df 00 74 	stw     r30,116(r31)                           
    }                                                                 
    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;        
ffc190d4:	90 1f 00 7c 	stw     r0,124(r31)                            
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
ffc190d8:	4b fe ed 59 	bl      ffc07e30 <calloc>                      
    if ( fs_info->uino == NULL )                                      
ffc190dc:	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));
ffc190e0:	90 7f 00 70 	stw     r3,112(r31)                            
    if ( fs_info->uino == NULL )                                      
ffc190e4:	41 9e 03 30 	beq-    cr7,ffc19414 <fat_init_volume_info+0x760><== NEVER TAKEN
        rtems_disk_release(vol->dd);                                  
        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));  
ffc190e8:	a0 7f 00 00 	lhz     r3,0(r31)                              
ffc190ec:	38 80 00 01 	li      r4,1                                   
        free(fs_info->rhash);                                         
        free(fs_info->uino);                                          
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
                                                                      
    return RC_OK;                                                     
ffc190f0:	3b a0 00 00 	li      r29,0                                  
        rtems_disk_release(vol->dd);                                  
        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));  
ffc190f4:	4b fe ed 3d 	bl      ffc07e30 <calloc>                      
    if (fs_info->sec_buf == NULL)                                     
ffc190f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        rtems_disk_release(vol->dd);                                  
        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));  
ffc190fc:	90 7f 00 8c 	stw     r3,140(r31)                            
    if (fs_info->sec_buf == NULL)                                     
ffc19100:	41 9e 02 a8 	beq-    cr7,ffc193a8 <fat_init_volume_info+0x6f4><== NEVER TAKEN
        free(fs_info->uino);                                          
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc19104:	80 01 00 e4 	lwz     r0,228(r1)                             
ffc19108:	7f a3 eb 78 	mr      r3,r29                                 
ffc1910c:	81 c1 00 98 	lwz     r14,152(r1)                            
ffc19110:	7c 08 03 a6 	mtlr    r0                                     
ffc19114:	81 e1 00 9c 	lwz     r15,156(r1)                            
ffc19118:	82 01 00 a0 	lwz     r16,160(r1)                            
ffc1911c:	82 21 00 a4 	lwz     r17,164(r1)                            
ffc19120:	82 41 00 a8 	lwz     r18,168(r1)                            
ffc19124:	82 61 00 ac 	lwz     r19,172(r1)                            
ffc19128:	82 81 00 b0 	lwz     r20,176(r1)                            
ffc1912c:	82 a1 00 b4 	lwz     r21,180(r1)                            
ffc19130:	82 c1 00 b8 	lwz     r22,184(r1)                            
ffc19134:	82 e1 00 bc 	lwz     r23,188(r1)                            
ffc19138:	83 01 00 c0 	lwz     r24,192(r1)                            
ffc1913c:	83 21 00 c4 	lwz     r25,196(r1)                            
ffc19140:	83 41 00 c8 	lwz     r26,200(r1)                            
ffc19144:	83 61 00 cc 	lwz     r27,204(r1)                            
ffc19148:	83 81 00 d0 	lwz     r28,208(r1)                            
ffc1914c:	83 a1 00 d4 	lwz     r29,212(r1)                            
ffc19150:	83 c1 00 d8 	lwz     r30,216(r1)                            
ffc19154:	83 e1 00 dc 	lwz     r31,220(r1)                            
ffc19158:	38 21 00 e0 	addi    r1,r1,224                              
ffc1915c:	4e 80 00 20 	blr                                            
        vol->mask = FAT_FAT12_MASK;                                   
        vol->eoc_val = FAT_FAT12_EOC;                                 
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
ffc19160:	2b 9d ff f4 	cmplwi  cr7,r29,65524                          <== NOT EXECUTED
ffc19164:	40 9d 01 e0 	ble-    cr7,ffc19344 <fat_init_volume_info+0x690><== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc19168:	81 41 00 8c 	lwz     r10,140(r1)                            <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc1916c:	81 21 00 78 	lwz     r9,120(r1)                             <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc19170:	55 4b 40 2e 	rlwinm  r11,r10,8,0,23                         <== NOT EXECUTED
ffc19174:	81 41 00 90 	lwz     r10,144(r1)                            <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc19178:	55 20 00 30 	rlwinm  r0,r9,0,0,24                           <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc1917c:	55 49 80 1e 	rlwinm  r9,r10,16,0,15                         <== NOT EXECUTED
ffc19180:	81 41 00 84 	lwz     r10,132(r1)                            <== NOT EXECUTED
ffc19184:	7d 6b 4b 78 	or      r11,r11,r9                             <== NOT EXECUTED
ffc19188:	81 21 00 88 	lwz     r9,136(r1)                             <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc1918c:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc19190:	7d 6b 4b 78 	or      r11,r11,r9                             <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc19194:	98 1f 00 48 	stb     r0,72(r31)                             <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc19198:	55 49 c0 0e 	rlwinm  r9,r10,24,0,7                          <== NOT EXECUTED
ffc1919c:	7d 69 4b 78 	or      r9,r11,r9                              <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
ffc191a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc191a4:	91 3f 00 38 	stw     r9,56(r31)                             <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
ffc191a8:	39 60 00 04 	li      r11,4                                  <== NOT EXECUTED
ffc191ac:	99 7f 00 0a 	stb     r11,10(r31)                            <== NOT EXECUTED
            vol->mask = FAT_FAT32_MASK;                               
ffc191b0:	3d 60 0f ff 	lis     r11,4095                               <== NOT EXECUTED
ffc191b4:	61 6b ff ff 	ori     r11,r11,65535                          <== NOT EXECUTED
ffc191b8:	91 7f 00 0c 	stw     r11,12(r31)                            <== NOT EXECUTED
            vol->eoc_val = FAT_FAT32_EOC;                             
ffc191bc:	3d 60 0f ff 	lis     r11,4095                               <== NOT EXECUTED
ffc191c0:	61 6b ff f8 	ori     r11,r11,65528                          <== NOT EXECUTED
ffc191c4:	91 7f 00 10 	stw     r11,16(r31)                            <== NOT EXECUTED
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
ffc191c8:	41 9e 01 a0 	beq-    cr7,ffc19368 <fat_init_volume_info+0x6b4><== NOT EXECUTED
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
ffc191cc:	81 61 00 78 	lwz     r11,120(r1)                            <== NOT EXECUTED
ffc191d0:	55 60 07 3e 	clrlwi  r0,r11,28                              <== NOT EXECUTED
ffc191d4:	98 1f 00 50 	stb     r0,80(r31)                             <== NOT EXECUTED
        else                                                          
            vol->afat = 0;                                            
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
ffc191d8:	80 01 00 80 	lwz     r0,128(r1)                             <== NOT EXECUTED
ffc191dc:	81 21 00 7c 	lwz     r9,124(r1)                             <== NOT EXECUTED
ffc191e0:	54 04 40 2e 	rlwinm  r4,r0,8,0,23                           <== NOT EXECUTED
ffc191e4:	7c 84 4b 78 	or      r4,r4,r9                               <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
ffc191e8:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
        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);    
ffc191ec:	b0 9f 00 3c 	sth     r4,60(r31)                             <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
ffc191f0:	41 9e 01 9c 	beq-    cr7,ffc1938c <fat_init_volume_info+0x6d8><== NOT EXECUTED
            rtems_disk_release(vol->dd);                              
            rtems_set_errno_and_return_minus_one( EINVAL );           
        }                                                             
        else                                                          
        {                                                             
            ret = _fat_block_read(mt_entry, vol->info_sec , 0,        
ffc191f4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc191f8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc191fc:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
ffc19200:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc19204:	4b ff f3 79 	bl      ffc1857c <_fat_block_read>             <== NOT EXECUTED
                                  FAT_FSI_LEADSIG_SIZE, fs_info_sector);
            if ( ret < 0 )                                            
ffc19208:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1920c:	41 9c 02 28 	blt-    cr7,ffc19434 <fat_init_volume_info+0x780><== NOT EXECUTED
            {                                                         
                rtems_disk_release(vol->dd);                          
                return -1;                                            
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
ffc19210:	89 41 00 0d 	lbz     r10,13(r1)                             <== NOT EXECUTED
ffc19214:	89 21 00 0e 	lbz     r9,14(r1)                              <== NOT EXECUTED
ffc19218:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc1921c:	89 61 00 0c 	lbz     r11,12(r1)                             <== NOT EXECUTED
ffc19220:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc19224:	88 01 00 0f 	lbz     r0,15(r1)                              <== NOT EXECUTED
ffc19228:	7d 49 4b 78 	or      r9,r10,r9                              <== NOT EXECUTED
ffc1922c:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc19230:	7d 29 5b 78 	or      r9,r9,r11                              <== NOT EXECUTED
ffc19234:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc19238:	6d 20 41 61 	xoris   r0,r9,16737                            <== NOT EXECUTED
ffc1923c:	2f 80 52 52 	cmpwi   cr7,r0,21074                           <== NOT EXECUTED
ffc19240:	40 9e 01 44 	bne-    cr7,ffc19384 <fat_init_volume_info+0x6d0><== NOT EXECUTED
                rtems_disk_release(vol->dd);                          
                rtems_set_errno_and_return_minus_one( EINVAL );       
            }                                                         
            else                                                      
            {                                                         
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
ffc19244:	a0 9f 00 3c 	lhz     r4,60(r31)                             <== NOT EXECUTED
ffc19248:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1924c:	38 a0 01 e4 	li      r5,484                                 <== NOT EXECUTED
ffc19250:	38 c0 00 0c 	li      r6,12                                  <== NOT EXECUTED
ffc19254:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc19258:	4b ff f3 25 	bl      ffc1857c <_fat_block_read>             <== NOT EXECUTED
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
ffc1925c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19260:	41 9c 01 cc 	blt-    cr7,ffc1942c <fat_init_volume_info+0x778><== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc19264:	88 a1 00 11 	lbz     r5,17(r1)                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc19268:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc1926c:	89 41 00 12 	lbz     r10,18(r1)                             <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc19270:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc19274:	88 c1 00 15 	lbz     r6,21(r1)                              <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc19278:	54 a5 40 2e 	rlwinm  r5,r5,8,0,23                           <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc1927c:	89 61 00 16 	lbz     r11,22(r1)                             <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc19280:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc19284:	88 e1 00 10 	lbz     r7,16(r1)                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc19288:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc1928c:	89 21 00 13 	lbz     r9,19(r1)                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc19290:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc19294:	89 01 00 14 	lbz     r8,20(r1)                              <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc19298:	7c aa 53 78 	or      r10,r5,r10                             <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc1929c:	88 01 00 17 	lbz     r0,23(r1)                              <== NOT EXECUTED
ffc192a0:	7c cb 5b 78 	or      r11,r6,r11                             <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc192a4:	7d 4a 3b 78 	or      r10,r10,r7                             <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc192a8:	7d 6b 43 78 	or      r11,r11,r8                             <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc192ac:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc192b0:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc192b4:	7d 49 4b 78 	or      r9,r10,r9                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc192b8:	7d 60 03 78 	or      r0,r11,r0                              <== NOT EXECUTED
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc192bc:	91 3f 00 40 	stw     r9,64(r31)                             <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc192c0:	38 a0 ff ff 	li      r5,-1                                  <== NOT EXECUTED
                    rtems_disk_release(vol->dd);                      
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc192c4:	90 1f 00 44 	stw     r0,68(r31)                             <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc192c8:	4b ff f8 15 	bl      ffc18adc <fat_fat32_update_fsinfo_sector><== NOT EXECUTED
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
ffc192cc:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc192d0:	41 82 fd 3c 	beq+    ffc1900c <fat_init_volume_info+0x358>  <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
ffc192d4:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc192d8:	4b ff f1 01 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
                {                                                     
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
ffc192dc:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc192e0:	4b fe dd e5 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
                    return rc;                                        
ffc192e4:	4b ff fe 20 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
ffc192e8:	81 61 00 6c 	lwz     r11,108(r1)                            <== NOT EXECUTED
ffc192ec:	81 21 00 70 	lwz     r9,112(r1)                             <== NOT EXECUTED
ffc192f0:	55 75 40 2e 	rlwinm  r21,r11,8,0,23                         <== NOT EXECUTED
ffc192f4:	81 41 00 68 	lwz     r10,104(r1)                            <== NOT EXECUTED
ffc192f8:	55 20 80 1e 	rlwinm  r0,r9,16,0,15                          <== NOT EXECUTED
ffc192fc:	81 61 00 74 	lwz     r11,116(r1)                            <== NOT EXECUTED
ffc19300:	7e b5 03 78 	or      r21,r21,r0                             <== NOT EXECUTED
ffc19304:	7e b5 53 78 	or      r21,r21,r10                            <== NOT EXECUTED
ffc19308:	55 60 c0 0e 	rlwinm  r0,r11,24,0,7                          <== NOT EXECUTED
ffc1930c:	7e b5 03 78 	or      r21,r21,r0                             <== NOT EXECUTED
ffc19310:	92 bf 00 2c 	stw     r21,44(r31)                            <== NOT EXECUTED
ffc19314:	4b ff fc b0 	b       ffc18fc4 <fat_init_volume_info+0x310>  <== NOT EXECUTED
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
ffc19318:	55 d3 40 2e 	rlwinm  r19,r14,8,0,23                         <== NOT EXECUTED
ffc1931c:	56 31 80 1e 	rlwinm  r17,r17,16,0,15                        <== NOT EXECUTED
ffc19320:	7e 73 8b 78 	or      r19,r19,r17                            <== NOT EXECUTED
ffc19324:	7e 73 7b 78 	or      r19,r19,r15                            <== NOT EXECUTED
ffc19328:	56 10 c0 0e 	rlwinm  r16,r16,24,0,7                         <== NOT EXECUTED
ffc1932c:	7e 73 83 78 	or      r19,r19,r16                            <== NOT EXECUTED
ffc19330:	92 7f 00 18 	stw     r19,24(r31)                            <== NOT EXECUTED
ffc19334:	4b ff fc 64 	b       ffc18f98 <fat_init_volume_info+0x2e4>  <== NOT EXECUTED
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
ffc19338:	98 7f 00 03 	stb     r3,3(r31)                              
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc1933c:	3b 60 02 00 	li      r27,512                                
ffc19340:	4b ff fb 4c 	b       ffc18e8c <fat_init_volume_info+0x1d8>  
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
        {                                                             
            vol->type = FAT_FAT16;                                    
ffc19344:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc19348:	98 1f 00 0a 	stb     r0,10(r31)                             <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
ffc1934c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc19350:	60 00 ff ff 	ori     r0,r0,65535                            <== NOT EXECUTED
ffc19354:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
ffc19358:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1935c:	60 00 ff f8 	ori     r0,r0,65528                            <== NOT EXECUTED
ffc19360:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc19364:	4b ff fc 8c 	b       ffc18ff0 <fat_init_volume_info+0x33c>  <== 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;                                            
ffc19368:	98 1f 00 50 	stb     r0,80(r31)                             <== NOT EXECUTED
ffc1936c:	4b ff fe 6c 	b       ffc191d8 <fat_init_volume_info+0x524>  <== NOT EXECUTED
    if (rc == -1)                                                     
        return rc;                                                    
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
        rtems_set_errno_and_return_minus_one(ENOTTY);                 
ffc19370:	48 00 9c 71 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc19374:	38 00 00 19 	li      r0,25                                  <== NOT EXECUTED
ffc19378:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1937c:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc19380:	4b ff fd 84 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
ffc19384:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc19388:	4b ff f0 51 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
                FAT_FSINFO_LEAD_SIGNATURE_VALUE)                      
            {                                                         
                _fat_block_release(mt_entry);                         
                rtems_disk_release(vol->dd);                          
ffc1938c:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
ffc19390:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
                FAT_FSINFO_LEAD_SIGNATURE_VALUE)                      
            {                                                         
                _fat_block_release(mt_entry);                         
                rtems_disk_release(vol->dd);                          
ffc19394:	4b fe dd 31 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
ffc19398:	48 00 9c 49 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1939c:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc193a0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc193a4:	4b ff fd 60 	b       ffc19104 <fat_init_volume_info+0x450>  <== 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)                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc193a8:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc193ac:	4b fe dd 19 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc193b0:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc193b4:	4b fe f1 2d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc193b8:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc193bc:	4b fe f1 25 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        free(fs_info->uino);                                          
ffc193c0:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc193c4:	4b fe f1 1d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc193c8:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc193cc:	48 00 9c 15 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc193d0:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc193d4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc193d8:	4b ff fd 2c 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dev, 0, &block);                      
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc193dc:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc193e0:	4b fe dc e5 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO);                   
ffc193e4:	48 00 9b fd 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc193e8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc193ec:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc193f0:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc193f4:	4b ff fd 10 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
                                                                      
    sc = rtems_bdbuf_release( block);                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc193f8:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc193fc:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
                                                                      
    sc = rtems_bdbuf_release( block);                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc19400:	4b fe dc c5 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc19404:	48 00 9b dd 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc19408:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1940c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19410:	4b ff fc f4 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
    if ( fs_info->uino == NULL )                                      
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc19414:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc19418:	4b fe dc ad 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc1941c:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc19420:	4b fe f0 c1 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc19424:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc19428:	4b ff ff 9c 	b       ffc193c4 <fat_init_volume_info+0x710>  <== NOT EXECUTED
int                                                                   
_fat_block_release(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry)                   
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    return fat_buf_release(fs_info);                                  
ffc1942c:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc19430:	4b ff ef a9 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
                {                                                     
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
ffc19434:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
                    return -1;                                        
ffc19438:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
                {                                                     
                    _fat_block_release(mt_entry);                     
                    rtems_disk_release(vol->dd);                      
ffc1943c:	4b fe dc 89 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
                    return -1;                                        
ffc19440:	4b ff fc c4 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
        rtems_chain_initialize_empty(fs_info->vhash + i);             
                                                                      
    fs_info->rhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
    if ( fs_info->rhash == NULL )                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc19444:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc19448:	4b fe dc 7d 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc1944c:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc19450:	4b ff ff 74 	b       ffc193c4 <fat_init_volume_info+0x710>  <== NOT EXECUTED
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
    if ( fs_info->vhash == NULL )                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc19454:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc19458:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
    if ( fs_info->vhash == NULL )                                     
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc1945c:	4b fe dc 69 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc19460:	48 00 9b 81 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc19464:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc19468:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1946c:	4b ff fc 98 	b       ffc19104 <fat_init_volume_info+0x450>  <== NOT EXECUTED
                                                                      

ffc21720 <fat_scan_fat_for_free_clusters>: uint32_t *chain, uint32_t count, uint32_t *cls_added, uint32_t *last_cl ) {
ffc21720:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc21724:	7c 08 02 a6 	mflr    r0                                     
ffc21728:	93 c1 00 40 	stw     r30,64(r1)                             
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
ffc2172c:	7c be 2b 79 	mr.     r30,r5                                 
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc21730:	90 01 00 4c 	stw     r0,76(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
ffc21734:	38 00 00 00 	li      r0,0                                   
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc21738:	93 a1 00 3c 	stw     r29,60(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc2173c:	83 a3 00 34 	lwz     r29,52(r3)                             
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc21740:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc21744:	7c f5 3b 78 	mr      r21,r7                                 
ffc21748:	92 e1 00 24 	stw     r23,36(r1)                             
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
        return rc;                                                    
ffc2174c:	3a e0 00 00 	li      r23,0                                  
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc21750:	93 01 00 28 	stw     r24,40(r1)                             
ffc21754:	93 61 00 34 	stw     r27,52(r1)                             
ffc21758:	7c 9b 23 78 	mr      r27,r4                                 
ffc2175c:	93 81 00 38 	stw     r28,56(r1)                             
ffc21760:	7c dc 33 78 	mr      r28,r6                                 
ffc21764:	93 e1 00 44 	stw     r31,68(r1)                             
ffc21768:	7c 7f 1b 78 	mr      r31,r3                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
ffc2176c:	83 1d 00 34 	lwz     r24,52(r29)                            
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc21770:	92 81 00 18 	stw     r20,24(r1)                             
ffc21774:	92 c1 00 20 	stw     r22,32(r1)                             
ffc21778:	93 21 00 2c 	stw     r25,44(r1)                             
ffc2177c:	93 41 00 30 	stw     r26,48(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
ffc21780:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
ffc21784:	90 06 00 00 	stw     r0,0(r6)                               
                                                                      
    if (count == 0)                                                   
ffc21788:	41 82 01 00 	beq-    ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (fs_info->vol.next_cl != FAT_UNDEFINED_VALUE)                  
ffc2178c:	83 5d 00 44 	lwz     r26,68(r29)                            
ffc21790:	2f 9a ff ff 	cmpwi   cr7,r26,-1                             
ffc21794:	41 9e 01 38 	beq-    cr7,ffc218cc <fat_scan_fat_for_free_clusters+0x1ac>
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
ffc21798:	3b 18 00 02 	addi    r24,r24,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)                                          
ffc2179c:	2b 98 00 02 	cmplwi  cr7,r24,2                              
ffc217a0:	40 9d 01 34 	ble-    cr7,ffc218d4 <fat_scan_fat_for_free_clusters+0x1b4><== NEVER TAKEN
ffc217a4:	3b 20 00 02 	li      r25,2                                  
ffc217a8:	3a c0 00 00 	li      r22,0                                  
ffc217ac:	48 00 00 54 	b       ffc21800 <fat_scan_fat_for_free_clusters+0xe0>
             * by separate 'if' statement because otherwise undo function
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
ffc217b0:	93 5b 00 00 	stw     r26,0(r27)                             
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc217b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc217b8:	7f 44 d3 78 	mr      r4,r26                                 
ffc217bc:	38 a0 ff ff 	li      r5,-1                                  
ffc217c0:	4b ff fa b1 	bl      ffc21270 <fat_set_fat_cluster>         
                if ( rc != RC_OK )                                    
ffc217c4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc217c8:	40 82 01 88 	bne-    ffc21950 <fat_scan_fat_for_free_clusters+0x230><== NEVER TAKEN
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc217cc:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc217d0:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc217d4:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc217d8:	90 1c 00 00 	stw     r0,0(r28)                              
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc217dc:	41 9e 01 48 	beq-    cr7,ffc21924 <fat_scan_fat_for_free_clusters+0x204><== ALWAYS TAKEN
ffc217e0:	7f 56 d3 78 	mr      r22,r26                                <== NOT EXECUTED
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
ffc217e4:	3b 5a 00 01 	addi    r26,r26,1                              
        if (cl4find >= data_cls_val)                                  
ffc217e8:	7f 98 d0 40 	cmplw   cr7,r24,r26                            
                *last_cl = save_cln;                                  
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
ffc217ec:	3b 39 00 01 	addi    r25,r25,1                              
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
ffc217f0:	41 9d 00 08 	bgt-    cr7,ffc217f8 <fat_scan_fat_for_free_clusters+0xd8><== ALWAYS TAKEN
            cl4find = 2;                                              
ffc217f4:	3b 40 00 02 	li      r26,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)                                          
ffc217f8:	7f 98 c8 40 	cmplw   cr7,r24,r25                            
ffc217fc:	40 9d 00 dc 	ble-    cr7,ffc218d8 <fat_scan_fat_for_free_clusters+0x1b8><== NEVER TAKEN
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cl4find, &next_cln);       
ffc21800:	7f e3 fb 78 	mr      r3,r31                                 
ffc21804:	7f 44 d3 78 	mr      r4,r26                                 
ffc21808:	38 a1 00 08 	addi    r5,r1,8                                
ffc2180c:	4b ff f8 01 	bl      ffc2100c <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc21810:	7c 77 1b 79 	mr.     r23,r3                                 
ffc21814:	40 82 00 f4 	bne-    ffc21908 <fat_scan_fat_for_free_clusters+0x1e8><== NEVER TAKEN
            if (*cls_added != 0)                                      
                fat_free_fat_clusters_chain(mt_entry, (*chain));      
            return rc;                                                
        }                                                             
                                                                      
        if (next_cln == FAT_GENFAT_FREE)                              
ffc21818:	80 01 00 08 	lwz     r0,8(r1)                               
ffc2181c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc21820:	40 be ff c4 	bne-    cr7,ffc217e4 <fat_scan_fat_for_free_clusters+0xc4>
            /*                                                        
             * 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)                                      
ffc21824:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc21828:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc2182c:	41 be ff 84 	beq-    cr7,ffc217b0 <fat_scan_fat_for_free_clusters+0x90><== ALWAYS TAKEN
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc21830:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21834:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc21838:	38 a0 ff ff 	li      r5,-1                                  <== NOT EXECUTED
ffc2183c:	4b ff fa 35 	bl      ffc21270 <fat_set_fat_cluster>         <== NOT EXECUTED
                if ( rc != RC_OK )                                    
ffc21840:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc21844:	40 82 01 14 	bne-    ffc21958 <fat_scan_fat_for_free_clusters+0x238><== NOT EXECUTED
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
                    return rc;                                        
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(mt_entry, save_cln, cl4find);
ffc21848:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc2184c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21850:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc21854:	4b ff fa 1d 	bl      ffc21270 <fat_set_fat_cluster>         <== NOT EXECUTED
                if ( rc != RC_OK )                                    
ffc21858:	7c 76 1b 79 	mr.     r22,r3                                 <== NOT EXECUTED
ffc2185c:	41 82 ff 70 	beq+    ffc217cc <fat_scan_fat_for_free_clusters+0xac><== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc21860:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc21864:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
                    return rc;                                        
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(mt_entry, save_cln, cl4find);
ffc21868:	7e d7 b3 78 	mr      r23,r22                                <== NOT EXECUTED
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc2186c:	4b ff fd 69 	bl      ffc215d4 <fat_free_fat_clusters_chain> <== NOT EXECUTED
                    /* trying to save last allocated cluster for future use */
                    fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_FREE);
ffc21870:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc21874:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc21878:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2187c:	4b ff f9 f5 	bl      ffc21270 <fat_set_fat_cluster>         <== NOT EXECUTED
                    fat_buf_release(fs_info);                         
ffc21880:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc21884:	4b ff 6b 55 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
                                                                      
    *last_cl = save_cln;                                              
    fat_buf_release(fs_info);                                         
    return RC_OK;                                                     
}                                                                     
ffc21888:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc2188c:	7e e3 bb 78 	mr      r3,r23                                 
ffc21890:	82 81 00 18 	lwz     r20,24(r1)                             
ffc21894:	7c 08 03 a6 	mtlr    r0                                     
ffc21898:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc2189c:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc218a0:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc218a4:	83 01 00 28 	lwz     r24,40(r1)                             
ffc218a8:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc218ac:	83 41 00 30 	lwz     r26,48(r1)                             
ffc218b0:	83 61 00 34 	lwz     r27,52(r1)                             
ffc218b4:	83 81 00 38 	lwz     r28,56(r1)                             
ffc218b8:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc218bc:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc218c0:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc218c4:	38 21 00 48 	addi    r1,r1,72                               
ffc218c8:	4e 80 00 20 	blr                                            
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
ffc218cc:	3b 40 00 02 	li      r26,2                                  
ffc218d0:	4b ff fe c8 	b       ffc21798 <fat_scan_fat_for_free_clusters+0x78>
    /*                                                                
     * 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)                                          
ffc218d4:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
ffc218d8:	80 1d 00 40 	lwz     r0,64(r29)                             <== NOT EXECUTED
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
ffc218dc:	92 dd 00 44 	stw     r22,68(r29)                            <== NOT EXECUTED
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
ffc218e0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc218e4:	41 9e 00 10 	beq-    cr7,ffc218f4 <fat_scan_fat_for_free_clusters+0x1d4><== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
ffc218e8:	81 3c 00 00 	lwz     r9,0(r28)                              <== NOT EXECUTED
ffc218ec:	7c 09 00 50 	subf    r0,r9,r0                               <== NOT EXECUTED
ffc218f0:	90 1d 00 40 	stw     r0,64(r29)                             <== NOT EXECUTED
                                                                      
    *last_cl = save_cln;                                              
ffc218f4:	92 d5 00 00 	stw     r22,0(r21)                             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
ffc218f8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
    return RC_OK;                                                     
ffc218fc:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
            fs_info->vol.free_cls -= (*cls_added);                    
                                                                      
    *last_cl = save_cln;                                              
    fat_buf_release(fs_info);                                         
ffc21900:	4b ff 6a d9 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
    return RC_OK;                                                     
ffc21904:	4b ff ff 84 	b       ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NOT EXECUTED
    while (i < data_cls_val)                                          
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cl4find, &next_cln);       
        if ( rc != RC_OK )                                            
        {                                                             
            if (*cls_added != 0)                                      
ffc21908:	80 1c 00 00 	lwz     r0,0(r28)                              <== NOT EXECUTED
ffc2190c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc21910:	41 9e ff 78 	beq+    cr7,ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NOT EXECUTED
                fat_free_fat_clusters_chain(mt_entry, (*chain));      
ffc21914:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc21918:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2191c:	4b ff fc b9 	bl      ffc215d4 <fat_free_fat_clusters_chain> <== NOT EXECUTED
ffc21920:	4b ff ff 68 	b       ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NOT EXECUTED
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
ffc21924:	80 1d 00 40 	lwz     r0,64(r29)                             
            (*cls_added)++;                                           
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
ffc21928:	93 5d 00 44 	stw     r26,68(r29)                            
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
ffc2192c:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc21930:	41 9e 00 10 	beq-    cr7,ffc21940 <fat_scan_fat_for_free_clusters+0x220><== ALWAYS TAKEN
                        fs_info->vol.free_cls -= (*cls_added);        
ffc21934:	81 3c 00 00 	lwz     r9,0(r28)                              <== NOT EXECUTED
ffc21938:	7c 09 00 50 	subf    r0,r9,r0                               <== NOT EXECUTED
ffc2193c:	90 1d 00 40 	stw     r0,64(r29)                             <== NOT EXECUTED
                *last_cl = save_cln;                                  
ffc21940:	93 55 00 00 	stw     r26,0(r21)                             
                fat_buf_release(fs_info);                             
ffc21944:	7f a3 eb 78 	mr      r3,r29                                 
ffc21948:	4b ff 6a 91 	bl      ffc183d8 <fat_buf_release>             
                return rc;                                            
ffc2194c:	4b ff ff 3c 	b       ffc21888 <fat_scan_fat_for_free_clusters+0x168>
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc21950:	7c 77 1b 78 	mr      r23,r3                                 <== NOT EXECUTED
ffc21954:	4b ff ff 34 	b       ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NOT EXECUTED
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc21958:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc2195c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc21960:	7e 97 a3 78 	mr      r23,r20                                <== NOT EXECUTED
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc21964:	4b ff fc 71 	bl      ffc215d4 <fat_free_fat_clusters_chain> <== NOT EXECUTED
                    return rc;                                        
ffc21968:	4b ff ff 20 	b       ffc21888 <fat_scan_fat_for_free_clusters+0x168><== NOT EXECUTED
                                                                      

ffc21270 <fat_set_fat_cluster>: uint16_t fat16_clv = 0; uint32_t fat32_clv = 0; rtems_bdbuf_buffer *block0 = NULL; /* sanity check */ if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )
ffc21270:	2b 84 00 01 	cmplwi  cr7,r4,1                               
fat_set_fat_cluster(                                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    uint32_t                              in_val                      
    )                                                                 
{                                                                     
ffc21274:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc21278:	7c 08 02 a6 	mflr    r0                                     
ffc2127c:	93 21 00 1c 	stw     r25,28(r1)                             
ffc21280:	7c b9 2b 78 	mr      r25,r5                                 
ffc21284:	90 01 00 3c 	stw     r0,60(r1)                              
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    rtems_bdbuf_buffer *block0 = NULL;                                
ffc21288:	38 00 00 00 	li      r0,0                                   
fat_set_fat_cluster(                                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    uint32_t                              in_val                      
    )                                                                 
{                                                                     
ffc2128c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc21290:	7c 9e 23 78 	mr      r30,r4                                 
ffc21294:	93 e1 00 34 	stw     r31,52(r1)                             
ffc21298:	93 41 00 20 	stw     r26,32(r1)                             
ffc2129c:	93 61 00 24 	stw     r27,36(r1)                             
ffc212a0:	93 81 00 28 	stw     r28,40(r1)                             
ffc212a4:	93 a1 00 2c 	stw     r29,44(r1)                             
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc212a8:	83 e3 00 34 	lwz     r31,52(r3)                             
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    rtems_bdbuf_buffer *block0 = NULL;                                
ffc212ac:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
ffc212b0:	40 9d 00 80 	ble-    cr7,ffc21330 <fat_set_fat_cluster+0xc0><== NEVER TAKEN
ffc212b4:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc212b8:	38 09 00 01 	addi    r0,r9,1                                
ffc212bc:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc212c0:	41 9d 00 70 	bgt-    cr7,ffc21330 <fat_set_fat_cluster+0xc0><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc212c4:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc212c8:	70 09 00 01 	andi.   r9,r0,1                                
ffc212cc:	40 82 00 a0 	bne-    ffc2136c <fat_set_fat_cluster+0xfc>    <== ALWAYS TAKEN
ffc212d0:	70 09 00 02 	andi.   r9,r0,2                                <== NOT EXECUTED
ffc212d4:	8b 7f 00 02 	lbz     r27,2(r31)                             <== NOT EXECUTED
ffc212d8:	41 82 00 b0 	beq-    ffc21388 <fat_set_fat_cluster+0x118>   <== NOT EXECUTED
ffc212dc:	54 9d 08 3c 	rlwinm  r29,r4,1,0,30                          <== NOT EXECUTED
ffc212e0:	80 1f 00 4c 	lwz     r0,76(r31)                             <== NOT EXECUTED
ffc212e4:	7f bb dc 30 	srw     r27,r29,r27                            <== NOT EXECUTED
ffc212e8:	7f 7b 02 14 	add     r27,r27,r0                             <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc212ec:	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);
ffc212f0:	a3 5f 00 00 	lhz     r26,0(r31)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc212f4:	7f 64 db 78 	mr      r4,r27                                 
ffc212f8:	38 a0 00 01 	li      r5,1                                   
ffc212fc:	38 c1 00 08 	addi    r6,r1,8                                
ffc21300:	4b ff 6e 91 	bl      ffc18190 <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc21304:	2c 03 00 00 	cmpwi   r3,0                                   
ffc21308:	40 82 00 38 	bne-    ffc21340 <fat_set_fat_cluster+0xd0>    <== NEVER TAKEN
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc2130c:	8b 9f 00 0a 	lbz     r28,10(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);
ffc21310:	3b 5a ff ff 	addi    r26,r26,-1                             
ffc21314:	7f bd d0 38 	and     r29,r29,r26                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc21318:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc2131c:	41 9e 00 80 	beq-    cr7,ffc2139c <fat_set_fat_cluster+0x12c><== NEVER TAKEN
ffc21320:	2f 9c 00 04 	cmpwi   cr7,r28,4                              
ffc21324:	41 9e 01 64 	beq-    cr7,ffc21488 <fat_set_fat_cluster+0x218><== NEVER TAKEN
ffc21328:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc2132c:	41 9e 00 c0 	beq-    cr7,ffc213ec <fat_set_fat_cluster+0x17c><== ALWAYS TAKEN
                                                                      
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc21330:	48 00 1c b1 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc21334:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc21338:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc2133c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc21340:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc21344:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc21348:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2134c:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc21350:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc21354:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc21358:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc2135c:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc21360:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc21364:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc21368:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc2136c:	54 9d f8 7e 	rlwinm  r29,r4,31,1,31                         
ffc21370:	8b 7f 00 02 	lbz     r27,2(r31)                             
ffc21374:	7f bd 22 14 	add     r29,r29,r4                             
ffc21378:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc2137c:	7f bb dc 30 	srw     r27,r29,r27                            
ffc21380:	7f 7b 02 14 	add     r27,r27,r0                             
ffc21384:	4b ff ff 68 	b       ffc212ec <fat_set_fat_cluster+0x7c>    
ffc21388:	54 9d 10 3a 	rlwinm  r29,r4,2,0,29                          <== NOT EXECUTED
ffc2138c:	80 1f 00 4c 	lwz     r0,76(r31)                             <== NOT EXECUTED
ffc21390:	7f bb dc 30 	srw     r27,r29,r27                            <== NOT EXECUTED
ffc21394:	7f 7b 02 14 	add     r27,r27,r0                             <== NOT EXECUTED
ffc21398:	4b ff ff 54 	b       ffc212ec <fat_set_fat_cluster+0x7c>    <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc2139c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc213a0:	57 39 04 3e 	clrlwi  r25,r25,16                             <== NOT EXECUTED
ffc213a4:	57 20 40 2e 	rlwinm  r0,r25,8,0,23                          <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc213a8:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc213ac:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc213b0:	57 39 c2 3e 	rlwinm  r25,r25,24,8,31                        <== NOT EXECUTED
ffc213b4:	7c 19 cb 78 	or      r25,r0,r25                             <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc213b8:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc213bc:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc213c0:	7f 29 eb 2e 	sthx    r25,r9,r29                             <== NOT EXECUTED
ffc213c4:	98 1f 00 84 	stb     r0,132(r31)                            <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc213c8:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc213cc:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc213d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc213d4:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc213d8:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc213dc:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc213e0:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc213e4:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc213e8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc213ec:	73 c0 00 01 	andi.   r0,r30,1                               
ffc213f0:	41 82 01 0c 	beq-    ffc214fc <fat_set_fat_cluster+0x28c>   
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
ffc213f4:	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;  
ffc213f8:	57 39 24 36 	rlwinm  r25,r25,4,16,27                        
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
ffc213fc:	81 29 00 24 	lwz     r9,36(r9)                              
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
ffc21400:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc21404:	54 00 07 3e 	clrlwi  r0,r0,28                               
ffc21408:	7c 09 e9 ae 	stbx    r0,r9,r29                              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
ffc2140c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc21410:	81 29 00 24 	lwz     r9,36(r9)                              
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
ffc21414:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc21418:	7c 00 cb 78 	or      r0,r0,r25                              
ffc2141c:	7c 09 e9 ae 	stbx    r0,r9,r29                              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc21420:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc21424:	9b 9f 00 84 	stb     r28,132(r31)                           
ffc21428:	38 09 ff ff 	addi    r0,r9,-1                               
ffc2142c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc21430:	41 9e 01 24 	beq-    cr7,ffc21554 <fat_set_fat_cluster+0x2e4><== NEVER TAKEN
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
ffc21434:	81 21 00 08 	lwz     r9,8(r1)                               
ffc21438:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
ffc2143c:	57 39 c2 3e 	rlwinm  r25,r25,24,8,31                        
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
ffc21440:	81 29 00 24 	lwz     r9,36(r9)                              
ffc21444:	7c 69 e9 ae 	stbx    r3,r9,r29                              
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
ffc21448:	81 21 00 08 	lwz     r9,8(r1)                               
ffc2144c:	81 29 00 24 	lwz     r9,36(r9)                              
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
ffc21450:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc21454:	7c 19 cb 78 	or      r25,r0,r25                             
ffc21458:	7f 29 e9 ae 	stbx    r25,r9,r29                             
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc2145c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc21460:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc21464:	7c 08 03 a6 	mtlr    r0                                     
ffc21468:	83 41 00 20 	lwz     r26,32(r1)                             
ffc2146c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc21470:	83 81 00 28 	lwz     r28,40(r1)                             
ffc21474:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc21478:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc2147c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc21480:	38 21 00 38 	addi    r1,r1,56                               
ffc21484:	4e 80 00 20 	blr                                            
                    (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));           
ffc21488:	57 39 01 3e 	clrlwi  r25,r25,4                              <== NOT EXECUTED
ffc2148c:	53 2b 46 3e 	rlwimi  r11,r25,8,24,31                        <== NOT EXECUTED
ffc21490:	53 2b c4 2e 	rlwimi  r11,r25,24,16,23                       <== NOT EXECUTED
ffc21494:	53 2b 42 1e 	rlwimi  r11,r25,8,8,15                         <== NOT EXECUTED
ffc21498:	53 2b c0 0e 	rlwimi  r11,r25,24,0,7                         <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
ffc2149c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc214a0:	3c 00 f0 00 	lis     r0,-4096                               <== NOT EXECUTED
ffc214a4:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc214a8:	50 0a 46 3e 	rlwimi  r10,r0,8,24,31                         <== NOT EXECUTED
ffc214ac:	50 0a c4 2e 	rlwimi  r10,r0,24,16,23                        <== NOT EXECUTED
ffc214b0:	50 0a 42 1e 	rlwimi  r10,r0,8,8,15                          <== NOT EXECUTED
ffc214b4:	50 0a c0 0e 	rlwimi  r10,r0,24,0,7                          <== NOT EXECUTED
ffc214b8:	7c 09 e8 2e 	lwzx    r0,r9,r29                              <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc214bc:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
ffc214c0:	7d 40 00 38 	and     r0,r10,r0                              <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc214c4:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
                   fat32_clv | (*((uint32_t   *)(block0->buffer + ofs)));
ffc214c8:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc214cc:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
ffc214d0:	7c 09 e9 2e 	stwx    r0,r9,r29                              <== NOT EXECUTED
ffc214d4:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc214d8:	98 1f 00 84 	stb     r0,132(r31)                            <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc214dc:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc214e0:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc214e4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc214e8:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc214ec:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc214f0:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc214f4:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc214f8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
ffc214fc:	81 21 00 08 	lwz     r9,8(r1)                               
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
ffc21500:	57 39 05 3e 	clrlwi  r25,r25,20                             
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
ffc21504:	81 29 00 24 	lwz     r9,36(r9)                              
ffc21508:	7c 69 e9 ae 	stbx    r3,r9,r29                              
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
ffc2150c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc21510:	81 29 00 24 	lwz     r9,36(r9)                              
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
ffc21514:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc21518:	7c 00 cb 78 	or      r0,r0,r25                              
ffc2151c:	7c 09 e9 ae 	stbx    r0,r9,r29                              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc21520:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc21524:	9b 9f 00 84 	stb     r28,132(r31)                           
ffc21528:	38 09 ff ff 	addi    r0,r9,-1                               
ffc2152c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc21530:	41 9e 00 6c 	beq-    cr7,ffc2159c <fat_set_fat_cluster+0x32c><== NEVER TAKEN
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
ffc21534:	81 21 00 08 	lwz     r9,8(r1)                               
ffc21538:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
                           (uint8_t  )((fat16_clv & 0xFF00)>>8);      
ffc2153c:	57 39 c2 3e 	rlwinm  r25,r25,24,8,31                        
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
ffc21540:	81 29 00 24 	lwz     r9,36(r9)                              
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
ffc21544:	7c 09 e8 ae 	lbzx    r0,r9,r29                              
ffc21548:	54 00 00 36 	rlwinm  r0,r0,0,0,27                           
ffc2154c:	7c 09 e9 ae 	stbx    r0,r9,r29                              
ffc21550:	4b ff fe f8 	b       ffc21448 <fat_set_fat_cluster+0x1d8>   
                                                                      
                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,
ffc21554:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21558:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc2155c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc21560:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc21564:	4b ff 6c 2d 	bl      ffc18190 <fat_buf_access>              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
ffc21568:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc2156c:	40 a2 fd d4 	bne-    ffc21340 <fat_set_fat_cluster+0xd0>    <== NOT EXECUTED
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
ffc21570:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
ffc21574:	57 39 c2 3e 	rlwinm  r25,r25,24,8,31                        <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
ffc21578:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc2157c:	98 69 00 00 	stb     r3,0(r9)                               <== NOT EXECUTED
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
ffc21580:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc21584:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
ffc21588:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc2158c:	7f 20 03 78 	or      r0,r25,r0                              <== NOT EXECUTED
ffc21590:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
ffc21594:	9b 9f 00 84 	stb     r28,132(r31)                           <== NOT EXECUTED
ffc21598:	4b ff fd a8 	b       ffc21340 <fat_set_fat_cluster+0xd0>    <== 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,
ffc2159c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc215a0:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc215a4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc215a8:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc215ac:	4b ff 6b e5 	bl      ffc18190 <fat_buf_access>              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
ffc215b0:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc215b4:	40 a2 fd 8c 	bne-    ffc21340 <fat_set_fat_cluster+0xd0>    <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
ffc215b8:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
ffc215bc:	57 39 c2 3e 	rlwinm  r25,r25,24,8,31                        <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
ffc215c0:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &block0);                     
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
ffc215c4:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc215c8:	54 00 00 36 	rlwinm  r0,r0,0,0,27                           <== NOT EXECUTED
ffc215cc:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
ffc215d0:	4b ff ff b0 	b       ffc21580 <fat_set_fat_cluster+0x310>   <== NOT EXECUTED
                                                                      

ffc18b84 <fat_shutdown_drive>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_shutdown_drive(rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc18b84:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc18b88:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc18b8c:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc18b90:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
    int            rc = RC_OK;                                        
ffc18b94:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_shutdown_drive(rtems_filesystem_mount_table_entry_t *mt_entry)    
{                                                                     
ffc18b98:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc18b9c:	93 81 00 08 	stw     r28,8(r1)                              <== NOT EXECUTED
ffc18ba0:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc18ba4:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
ffc18ba8:	88 1f 00 0a 	lbz     r0,10(r31)                             <== NOT EXECUTED
ffc18bac:	70 09 00 04 	andi.   r9,r0,4                                <== NOT EXECUTED
ffc18bb0:	40 82 00 e0 	bne-    ffc18c90 <fat_shutdown_drive+0x10c>    <== NOT EXECUTED
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
            rc = -1;                                                  
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
ffc18bb4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc18bb8:	4b ff f8 21 	bl      ffc183d8 <fat_buf_release>             <== NOT EXECUTED
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
ffc18bbc:	80 7f 00 58 	lwz     r3,88(r31)                             <== NOT EXECUTED
ffc18bc0:	80 9f 00 5c 	lwz     r4,92(r31)                             <== NOT EXECUTED
ffc18bc4:	4b ff da 51 	bl      ffc16614 <rtems_bdbuf_syncdev>         <== NOT EXECUTED
ffc18bc8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc18bcc:	40 9e 00 e0 	bne-    cr7,ffc18cac <fat_shutdown_drive+0x128><== NOT EXECUTED
        rc = -1;                                                      
ffc18bd0:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
ffc18bd4:	83 bf 00 68 	lwz     r29,104(r31)                           <== NOT EXECUTED
ffc18bd8:	7f bd e2 14 	add     r29,r29,r28                            <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18bdc:	48 00 00 08 	b       ffc18be4 <fat_shutdown_drive+0x60>     <== NOT EXECUTED
            free(node);                                               
ffc18be0:	4b fe f9 01 	bl      ffc084e0 <free>                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc18be4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc18be8:	4b ff 5b bd 	bl      ffc0e7a4 <_Chain_Get>                  <== NOT EXECUTED
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18bec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc18bf0:	40 9e ff f0 	bne+    cr7,ffc18be0 <fat_shutdown_drive+0x5c> <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
        rc = -1;                                                      
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
ffc18bf4:	2f 9c 00 0c 	cmpwi   cr7,r28,12                             <== NOT EXECUTED
ffc18bf8:	3b 9c 00 0c 	addi    r28,r28,12                             <== NOT EXECUTED
ffc18bfc:	40 be ff d8 	bne-    cr7,ffc18bd4 <fat_shutdown_drive+0x50> <== NOT EXECUTED
ffc18c00:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
ffc18c04:	83 bf 00 6c 	lwz     r29,108(r31)                           <== NOT EXECUTED
ffc18c08:	7f bd e2 14 	add     r29,r29,r28                            <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18c0c:	48 00 00 08 	b       ffc18c14 <fat_shutdown_drive+0x90>     <== NOT EXECUTED
            free(node);                                               
ffc18c10:	4b fe f8 d1 	bl      ffc084e0 <free>                        <== NOT EXECUTED
ffc18c14:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc18c18:	4b ff 5b 8d 	bl      ffc0e7a4 <_Chain_Get>                  <== NOT EXECUTED
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18c1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc18c20:	40 9e ff f0 	bne+    cr7,ffc18c10 <fat_shutdown_drive+0x8c> <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
ffc18c24:	2f 9c 00 0c 	cmpwi   cr7,r28,12                             <== NOT EXECUTED
ffc18c28:	3b 9c 00 0c 	addi    r28,r28,12                             <== NOT EXECUTED
ffc18c2c:	40 be ff d8 	bne-    cr7,ffc18c04 <fat_shutdown_drive+0x80> <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    free(fs_info->vhash);                                             
ffc18c30:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc18c34:	4b fe f8 ad 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    free(fs_info->rhash);                                             
ffc18c38:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc18c3c:	4b fe f8 a5 	bl      ffc084e0 <free>                        <== NOT EXECUTED
                                                                      
    free(fs_info->uino);                                              
ffc18c40:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc18c44:	4b fe f8 9d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    free(fs_info->sec_buf);                                           
ffc18c48:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc18c4c:	4b fe f8 95 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    rtems_disk_release(fs_info->vol.dd);                              
ffc18c50:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc18c54:	4b fe e4 71 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
                                                                      
    if (rc)                                                           
ffc18c58:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc18c5c:	41 be 00 10 	beq+    cr7,ffc18c6c <fat_shutdown_drive+0xe8> <== NOT EXECUTED
        errno = EIO;                                                  
ffc18c60:	48 00 a3 81 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc18c64:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc18c68:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc18c6c:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc18c70:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc18c74:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc18c78:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18c7c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc18c80:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc18c84:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc18c88:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc18c8c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
    {                                                                 
        rc = fat_fat32_update_fsinfo_sector(mt_entry, fs_info->vol.free_cls,
ffc18c90:	80 9f 00 40 	lwz     r4,64(r31)                             <== NOT EXECUTED
ffc18c94:	80 bf 00 44 	lwz     r5,68(r31)                             <== NOT EXECUTED
ffc18c98:	4b ff fe 45 	bl      ffc18adc <fat_fat32_update_fsinfo_sector><== NOT EXECUTED
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
ffc18c9c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc18ca0:	41 a2 ff 14 	beq-    ffc18bb4 <fat_shutdown_drive+0x30>     <== NOT EXECUTED
            rc = -1;                                                  
ffc18ca4:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc18ca8:	4b ff ff 0c 	b       ffc18bb4 <fat_shutdown_drive+0x30>     <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
        rc = -1;                                                      
ffc18cac:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc18cb0:	4b ff ff 20 	b       ffc18bd0 <fat_shutdown_drive+0x4c>     <== NOT EXECUTED
                                                                      

ffc1eabc <fcntl>: int fcntl( int fd, int cmd, ... ) {
ffc1eabc:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1eac0:	7c 08 02 a6 	mflr    r0                                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1eac4:	3d 20 00 00 	lis     r9,0                                   
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc1eac8:	90 01 00 3c 	stw     r0,60(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1eacc:	80 09 26 dc 	lwz     r0,9948(r9)                            
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1ead0:	39 20 00 02 	li      r9,2                                   
ffc1ead4:	99 21 00 08 	stb     r9,8(r1)                               
ffc1ead8:	39 21 00 40 	addi    r9,r1,64                               
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1eadc:	7f 83 00 40 	cmplw   cr7,r3,r0                              
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1eae0:	91 21 00 0c 	stw     r9,12(r1)                              
ffc1eae4:	39 21 00 10 	addi    r9,r1,16                               
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc1eae8:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1eaec:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1eaf0:	90 a1 00 18 	stw     r5,24(r1)                              
ffc1eaf4:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc1eaf8:	90 e1 00 20 	stw     r7,32(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1eafc:	91 21 00 10 	stw     r9,16(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1eb00:	40 9c 02 08 	bge-    cr7,ffc1ed08 <fcntl+0x24c>             
  iop = rtems_libio_iop( fd );                                        
ffc1eb04:	3f e0 00 00 	lis     r31,0                                  
ffc1eb08:	81 7f 27 88 	lwz     r11,10120(r31)                         
ffc1eb0c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1eb10:	7f cb 1a 14 	add     r30,r11,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc1eb14:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc1eb18:	70 69 01 00 	andi.   r9,r3,256                              
ffc1eb1c:	41 82 01 ec 	beq-    ffc1ed08 <fcntl+0x24c>                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc1eb20:	2b 84 00 09 	cmplwi  cr7,r4,9                               
ffc1eb24:	40 9d 00 30 	ble-    cr7,ffc1eb54 <fcntl+0x98>              
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
ffc1eb28:	4b ff 4d 89 	bl      ffc138b0 <__errno>                     
ffc1eb2c:	38 00 00 16 	li      r0,22                                  
ffc1eb30:	90 03 00 00 	stw     r0,0(r3)                               
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
      ret = -1;                                                       
ffc1eb34:	3b e0 ff ff 	li      r31,-1                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc1eb38:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1eb3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eb40:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1eb44:	7c 08 03 a6 	mtlr    r0                                     
ffc1eb48:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1eb4c:	38 21 00 38 	addi    r1,r1,56                               
ffc1eb50:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc1eb54:	3d 20 ff c2 	lis     r9,-62                                 
ffc1eb58:	39 29 1f 84 	addi    r9,r9,8068                             
ffc1eb5c:	54 8a 10 3a 	rlwinm  r10,r4,2,0,29                          
ffc1eb60:	7d 49 50 2e 	lwzx    r10,r9,r10                             
ffc1eb64:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc1eb68:	7d 29 03 a6 	mtctr   r9                                     
ffc1eb6c:	4e 80 04 20 	bctr                                           
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
ffc1eb70:	4b ff 4d 41 	bl      ffc138b0 <__errno>                     
ffc1eb74:	38 00 00 86 	li      r0,134                                 
ffc1eb78:	90 03 00 00 	stw     r0,0(r3)                               
ffc1eb7c:	4b ff ff b8 	b       ffc1eb34 <fcntl+0x78>                  
    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 ) );           
ffc1eb80:	89 21 00 08 	lbz     r9,8(r1)                               
ffc1eb84:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc1eb88:	40 9d 01 68 	ble-    cr7,ffc1ecf0 <fcntl+0x234>             <== ALWAYS TAKEN
ffc1eb8c:	81 61 00 0c 	lwz     r11,12(r1)                             <== NOT EXECUTED
ffc1eb90:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc1eb94:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc1eb98:	80 6b 00 00 	lwz     r3,0(r11)                              
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc1eb9c:	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 ) );           
ffc1eba0:	90 81 00 28 	stw     r4,40(r1)                              
ffc1eba4:	4b fe 6f e5 	bl      ffc05b88 <rtems_libio_fcntl_flags>     
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
ffc1eba8:	39 20 fd fe 	li      r9,-514                                
ffc1ebac:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc1ebb0:	70 63 02 01 	andi.   r3,r3,513                              
ffc1ebb4:	80 81 00 28 	lwz     r4,40(r1)                              
ffc1ebb8:	7d 20 00 38 	and     r0,r9,r0                               
ffc1ebbc:	7c 60 03 78 	or      r0,r3,r0                               
ffc1ebc0:	90 1e 00 18 	stw     r0,24(r30)                             
ffc1ebc4:	48 00 00 1c 	b       ffc1ebe0 <fcntl+0x124>                 
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
ffc1ebc8:	90 81 00 28 	stw     r4,40(r1)                              
ffc1ebcc:	4b fe 70 1d 	bl      ffc05be8 <rtems_libio_to_fcntl_flags>  
ffc1ebd0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ebd4:	80 81 00 28 	lwz     r4,40(r1)                              
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
ffc1ebd8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1ebdc:	41 bc ff 5c 	blt-    cr7,ffc1eb38 <fcntl+0x7c>              <== NEVER TAKEN
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
ffc1ebe0:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc1ebe4:	7c 83 23 78 	mr      r3,r4                                  
ffc1ebe8:	7f c4 f3 78 	mr      r4,r30                                 
ffc1ebec:	80 09 00 30 	lwz     r0,48(r9)                              
ffc1ebf0:	7c 09 03 a6 	mtctr   r0                                     
ffc1ebf4:	4e 80 04 21 	bctrl                                          
    if (err) {                                                        
ffc1ebf8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1ebfc:	41 82 ff 3c 	beq+    ffc1eb38 <fcntl+0x7c>                  <== ALWAYS TAKEN
      errno = err;                                                    
ffc1ec00:	4b ff 4c b1 	bl      ffc138b0 <__errno>                     <== NOT EXECUTED
ffc1ec04:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc1ec08:	4b ff ff 2c 	b       ffc1eb34 <fcntl+0x78>                  <== 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 ) )                                        
ffc1ec0c:	89 21 00 08 	lbz     r9,8(r1)                               
ffc1ec10:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc1ec14:	41 9d 00 cc 	bgt-    cr7,ffc1ece0 <fcntl+0x224>             <== NEVER TAKEN
ffc1ec18:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc1ec1c:	81 61 00 10 	lwz     r11,16(r1)                             
ffc1ec20:	39 29 00 01 	addi    r9,r9,1                                
ffc1ec24:	99 21 00 08 	stb     r9,8(r1)                               
ffc1ec28:	7d 6b 02 14 	add     r11,r11,r0                             
ffc1ec2c:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc1ec30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ec34:	41 9e 00 e8 	beq-    cr7,ffc1ed1c <fcntl+0x260>             
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
ffc1ec38:	60 63 08 00 	ori     r3,r3,2048                             
ffc1ec3c:	90 7e 00 18 	stw     r3,24(r30)                             
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc1ec40:	3b e0 00 00 	li      r31,0                                  
ffc1ec44:	4b ff ff 9c 	b       ffc1ebe0 <fcntl+0x124>                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
ffc1ec48:	54 7f af fe 	rlwinm  r31,r3,21,31,31                        
ffc1ec4c:	4b ff ff 94 	b       ffc1ebe0 <fcntl+0x124>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc1ec50:	89 21 00 08 	lbz     r9,8(r1)                               
ffc1ec54:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc1ec58:	41 9d 00 78 	bgt-    cr7,ffc1ecd0 <fcntl+0x214>             <== NEVER TAKEN
ffc1ec5c:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
ffc1ec60:	81 01 00 10 	lwz     r8,16(r1)                              
ffc1ec64:	39 29 00 01 	addi    r9,r9,1                                
ffc1ec68:	99 21 00 08 	stb     r9,8(r1)                               
ffc1ec6c:	7d 48 52 14 	add     r10,r8,r10                             
ffc1ec70:	81 4a 00 00 	lwz     r10,0(r10)                             
      if ( fd2 )                                                      
ffc1ec74:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1ec78:	41 9e 00 b4 	beq-    cr7,ffc1ed2c <fcntl+0x270>             
        diop = rtems_libio_iop( fd2 );                                
ffc1ec7c:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc1ec80:	3b e0 00 00 	li      r31,0                                  
ffc1ec84:	39 20 00 00 	li      r9,0                                   
ffc1ec88:	40 9d 00 10 	ble-    cr7,ffc1ec98 <fcntl+0x1dc>             <== NEVER TAKEN
ffc1ec8c:	55 49 30 32 	rlwinm  r9,r10,6,0,25                          
ffc1ec90:	7d 2b 4a 14 	add     r9,r11,r9                              
ffc1ec94:	7d 3f 4b 78 	mr      r31,r9                                 
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc1ec98:	80 1e 00 28 	lwz     r0,40(r30)                             
      ret = (int) (diop - rtems_libio_iops);                          
ffc1ec9c:	7f eb f8 50 	subf    r31,r11,r31                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc1eca0:	80 fe 00 1c 	lwz     r7,28(r30)                             
      ret = (int) (diop - rtems_libio_iops);                          
ffc1eca4:	7f ff 36 70 	srawi   r31,r31,6                              
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc1eca8:	81 1e 00 20 	lwz     r8,32(r30)                             
ffc1ecac:	81 5e 00 24 	lwz     r10,36(r30)                            
ffc1ecb0:	90 e9 00 1c 	stw     r7,28(r9)                              
ffc1ecb4:	91 09 00 20 	stw     r8,32(r9)                              
ffc1ecb8:	91 49 00 24 	stw     r10,36(r9)                             
ffc1ecbc:	90 09 00 28 	stw     r0,40(r9)                              
ffc1ecc0:	80 1e 00 2c 	lwz     r0,44(r30)                             
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc1ecc4:	90 69 00 18 	stw     r3,24(r9)                              
      diop->pathinfo   = iop->pathinfo;                               
ffc1ecc8:	90 09 00 2c 	stw     r0,44(r9)                              
ffc1eccc:	4b ff ff 0c 	b       ffc1ebd8 <fcntl+0x11c>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc1ecd0:	81 41 00 0c 	lwz     r10,12(r1)                             <== NOT EXECUTED
ffc1ecd4:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc1ecd8:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc1ecdc:	4b ff ff 94 	b       ffc1ec70 <fcntl+0x1b4>                 <== 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 ) )                                        
ffc1ece0:	81 61 00 0c 	lwz     r11,12(r1)                             <== NOT EXECUTED
ffc1ece4:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc1ece8:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc1ecec:	4b ff ff 40 	b       ffc1ec2c <fcntl+0x170>                 <== 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 ) );           
ffc1ecf0:	81 61 00 10 	lwz     r11,16(r1)                             
ffc1ecf4:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc1ecf8:	39 29 00 01 	addi    r9,r9,1                                
ffc1ecfc:	7d 6b 02 14 	add     r11,r11,r0                             
ffc1ed00:	99 21 00 08 	stb     r9,8(r1)                               
ffc1ed04:	4b ff fe 94 	b       ffc1eb98 <fcntl+0xdc>                  
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc1ed08:	4b ff 4b a9 	bl      ffc138b0 <__errno>                     
ffc1ed0c:	38 00 00 09 	li      r0,9                                   
ffc1ed10:	90 03 00 00 	stw     r0,0(r3)                               
ffc1ed14:	3b e0 ff ff 	li      r31,-1                                 
ffc1ed18:	4b ff fe 20 	b       ffc1eb38 <fcntl+0x7c>                  
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
ffc1ed1c:	54 63 05 66 	rlwinm  r3,r3,0,21,19                          
ffc1ed20:	90 7e 00 18 	stw     r3,24(r30)                             
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc1ed24:	3b e0 00 00 	li      r31,0                                  
ffc1ed28:	4b ff fe b8 	b       ffc1ebe0 <fcntl+0x124>                 
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
ffc1ed2c:	90 81 00 28 	stw     r4,40(r1)                              
ffc1ed30:	4b fe 6f 09 	bl      ffc05c38 <rtems_libio_allocate>        
        if ( diop == 0 ) {                                            
ffc1ed34:	7c 69 1b 79 	mr.     r9,r3                                  
ffc1ed38:	80 81 00 28 	lwz     r4,40(r1)                              
ffc1ed3c:	41 a2 fd f8 	beq-    ffc1eb34 <fcntl+0x78>                  <== NEVER TAKEN
ffc1ed40:	81 7f 27 88 	lwz     r11,10120(r31)                         
ffc1ed44:	7d 3f 4b 78 	mr      r31,r9                                 
ffc1ed48:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc1ed4c:	4b ff ff 4c 	b       ffc1ec98 <fcntl+0x1dc>                 
                                                                      

ffc1154c <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc1154c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc11550:	7c 08 02 a6 	mflr    r0                                     
ffc11554:	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) {                              
ffc11558:	3f e0 00 00 	lis     r31,0                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc1155c:	90 01 00 34 	stw     r0,52(r1)                              
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc11560:	80 1f 29 60 	lwz     r0,10592(r31)                          
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc11564:	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) {                              
ffc11568:	3b 7f 29 60 	addi    r27,r31,10592                          
ffc1156c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc11570:	93 81 00 20 	stw     r28,32(r1)                             
ffc11574:	7c 9c 23 78 	mr      r28,r4                                 
ffc11578:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1157c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc11580:	93 a1 00 24 	stw     r29,36(r1)                             
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc11584:	41 9e 00 c0 	beq-    cr7,ffc11644 <fifo_open+0xf8>          
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc11588:	7c 03 03 78 	mr      r3,r0                                  
ffc1158c:	38 80 00 00 	li      r4,0                                   
ffc11590:	38 a0 00 00 	li      r5,0                                   
ffc11594:	4b ff a2 1d 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc11598:	3b 60 ff f4 	li      r27,-12                                
ffc1159c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc115a0:	40 9e 00 7c 	bne-    cr7,ffc1161c <fifo_open+0xd0>          <== NEVER TAKEN
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
ffc115a4:	83 be 00 00 	lwz     r29,0(r30)                             
  if (pipe == NULL) {                                                 
ffc115a8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc115ac:	41 9e 02 30 	beq-    cr7,ffc117dc <fifo_open+0x290>         
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc115b0:	80 7d 00 28 	lwz     r3,40(r29)                             
ffc115b4:	38 80 00 00 	li      r4,0                                   
ffc115b8:	38 a0 00 00 	li      r5,0                                   
ffc115bc:	4b ff a1 f5 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
    err = -EINTR;                                                     
ffc115c0:	3b 60 ff fc 	li      r27,-4                                 
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc115c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc115c8:	40 9e 00 08 	bne-    cr7,ffc115d0 <fifo_open+0x84>          <== NEVER TAKEN
ffc115cc:	3b 60 00 00 	li      r27,0                                  
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
ffc115d0:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc115d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc115d8:	41 9e 02 d0 	beq-    cr7,ffc118a8 <fifo_open+0x35c>         
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc115dc:	80 7f 29 60 	lwz     r3,10592(r31)                          
ffc115e0:	4b ff a3 5d 	bl      ffc0b93c <rtems_semaphore_release>     
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
ffc115e4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc115e8:	40 9e 00 34 	bne-    cr7,ffc1161c <fifo_open+0xd0>          <== NEVER TAKEN
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc115ec:	80 1c 00 18 	lwz     r0,24(r28)                             
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
ffc115f0:	83 fe 00 00 	lwz     r31,0(r30)                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc115f4:	54 00 07 7c 	rlwinm  r0,r0,0,29,30                          
ffc115f8:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc115fc:	41 9e 00 78 	beq-    cr7,ffc11674 <fifo_open+0x128>         
ffc11600:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc11604:	41 9e 01 88 	beq-    cr7,ffc1178c <fifo_open+0x240>         
ffc11608:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc1160c:	41 9e 00 fc 	beq-    cr7,ffc11708 <fifo_open+0x1bc>         <== ALWAYS TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc11610:	80 7f 00 28 	lwz     r3,40(r31)                             
  return 0;                                                           
ffc11614:	3b 60 00 00 	li      r27,0                                  
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc11618:	4b ff a3 25 	bl      ffc0b93c <rtems_semaphore_release>     
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
ffc1161c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc11620:	7f 63 db 78 	mr      r3,r27                                 
ffc11624:	83 81 00 20 	lwz     r28,32(r1)                             
ffc11628:	7c 08 03 a6 	mtlr    r0                                     
ffc1162c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc11630:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc11634:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc11638:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1163c:	38 21 00 30 	addi    r1,r1,48                               
ffc11640:	4e 80 00 20 	blr                                            
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc11644:	3f a0 00 00 	lis     r29,0                                  
ffc11648:	80 7d 27 90 	lwz     r3,10128(r29)                          
ffc1164c:	38 80 00 00 	li      r4,0                                   
ffc11650:	38 a0 00 00 	li      r5,0                                   
ffc11654:	4b ff a1 5d 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc11658:	80 1f 29 60 	lwz     r0,10592(r31)                          
ffc1165c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11660:	41 9e 02 60 	beq-    cr7,ffc118c0 <fifo_open+0x374>         <== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc11664:	80 7d 27 90 	lwz     r3,10128(r29)                          <== NOT EXECUTED
ffc11668:	4b ff a2 d5 	bl      ffc0b93c <rtems_semaphore_release>     <== NOT EXECUTED
ffc1166c:	80 1f 29 60 	lwz     r0,10592(r31)                          <== NOT EXECUTED
ffc11670:	4b ff ff 18 	b       ffc11588 <fifo_open+0x3c>              <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11674:	81 3f 00 14 	lwz     r9,20(r31)                             
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11678:	81 7f 00 24 	lwz     r11,36(r31)                            
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc1167c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11680:	38 0b 00 01 	addi    r0,r11,1                               
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11684:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11688:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc1168c:	91 3f 00 14 	stw     r9,20(r31)                             
ffc11690:	41 9e 02 8c 	beq-    cr7,ffc1191c <fifo_open+0x3d0>         <== ALWAYS TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
ffc11694:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11698:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1169c:	40 be ff 74 	bne-    cr7,ffc11610 <fifo_open+0xc4>          
ffc116a0:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc116a4:	70 09 00 01 	andi.   r9,r0,1                                
ffc116a8:	40 82 02 b8 	bne-    ffc11960 <fifo_open+0x414>             
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
ffc116ac:	83 bf 00 20 	lwz     r29,32(r31)                            
ffc116b0:	48 00 00 20 	b       ffc116d0 <fifo_open+0x184>             
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc116b4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc116b8:	4b ff a0 f9 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc116bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc116c0:	40 9e 00 34 	bne-    cr7,ffc116f4 <fifo_open+0x1a8>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
ffc116c4:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc116c8:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc116cc:	40 be ff 44 	bne-    cr7,ffc11610 <fifo_open+0xc4>          <== ALWAYS TAKEN
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc116d0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc116d4:	4b ff a2 69 	bl      ffc0b93c <rtems_semaphore_release>     
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc116d8:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc116dc:	38 80 00 00 	li      r4,0                                   
ffc116e0:	48 00 17 ad 	bl      ffc12e8c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc116e4:	38 80 00 00 	li      r4,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc116e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc116ec:	38 a0 00 00 	li      r5,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc116f0:	41 9e ff c4 	beq+    cr7,ffc116b4 <fifo_open+0x168>         <== ALWAYS TAKEN
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
ffc116f4:	3b 60 ff fc 	li      r27,-4                                 <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
ffc116f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc116fc:	7f 84 e3 78 	mr      r4,r28                                 
ffc11700:	4b ff fc f5 	bl      ffc113f4 <pipe_release>                
  return err;                                                         
ffc11704:	4b ff ff 18 	b       ffc1161c <fifo_open+0xd0>              
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc11708:	81 3f 00 10 	lwz     r9,16(r31)                             
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc1170c:	81 7f 00 20 	lwz     r11,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc11710:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc11714:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Readers ++ == 0)                                      
ffc11718:	39 29 00 01 	addi    r9,r9,1                                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc1171c:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc11720:	91 3f 00 10 	stw     r9,16(r31)                             
ffc11724:	41 9e 01 d8 	beq-    cr7,ffc118fc <fifo_open+0x3b0>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
ffc11728:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc1172c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11730:	40 be fe e0 	bne-    cr7,ffc11610 <fifo_open+0xc4>          
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
ffc11734:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc11738:	70 09 00 01 	andi.   r9,r0,1                                
ffc1173c:	40 a2 fe d4 	bne-    ffc11610 <fifo_open+0xc4>              
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
ffc11740:	83 bf 00 24 	lwz     r29,36(r31)                            
ffc11744:	48 00 00 20 	b       ffc11764 <fifo_open+0x218>             
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11748:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1174c:	4b ff a0 65 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc11750:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11754:	40 be ff a0 	bne-    cr7,ffc116f4 <fifo_open+0x1a8>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
ffc11758:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc1175c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc11760:	40 be fe b0 	bne-    cr7,ffc11610 <fifo_open+0xc4>          <== ALWAYS TAKEN
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc11764:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11768:	4b ff a1 d5 	bl      ffc0b93c <rtems_semaphore_release>     
          if (! PIPE_READWAIT(pipe))                                  
ffc1176c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11770:	38 80 00 00 	li      r4,0                                   
ffc11774:	48 00 17 19 	bl      ffc12e8c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11778:	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))                                  
ffc1177c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11780:	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))                                  
ffc11784:	41 9e ff c4 	beq+    cr7,ffc11748 <fifo_open+0x1fc>         <== ALWAYS TAKEN
ffc11788:	4b ff ff 6c 	b       ffc116f4 <fifo_open+0x1a8>             <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc1178c:	81 3f 00 10 	lwz     r9,16(r31)                             
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11790:	81 7f 00 20 	lwz     r11,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc11794:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11798:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Readers ++ == 0)                                      
ffc1179c:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc117a0:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc117a4:	91 3f 00 10 	stw     r9,16(r31)                             
ffc117a8:	41 9e 01 64 	beq-    cr7,ffc1190c <fifo_open+0x3c0>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
ffc117ac:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc117b0:	81 7f 00 24 	lwz     r11,36(r31)                            
      if (pipe->Writers ++ == 0)                                      
ffc117b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc117b8:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Writers ++ == 0)                                      
ffc117bc:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc117c0:	90 1f 00 24 	stw     r0,36(r31)                             
      if (pipe->Writers ++ == 0)                                      
ffc117c4:	91 3f 00 14 	stw     r9,20(r31)                             
ffc117c8:	40 9e fe 48 	bne+    cr7,ffc11610 <fifo_open+0xc4>          <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc117cc:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc117d0:	38 81 00 08 	addi    r4,r1,8                                
ffc117d4:	48 00 16 25 	bl      ffc12df8 <rtems_barrier_release>       
ffc117d8:	4b ff fe 38 	b       ffc11610 <fifo_open+0xc4>              
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc117dc:	38 60 00 34 	li      r3,52                                  
ffc117e0:	4b ff 60 f5 	bl      ffc078d4 <malloc>                      
  if (pipe == NULL)                                                   
ffc117e4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc117e8:	41 82 01 a8 	beq-    ffc11990 <fifo_open+0x444>             
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
ffc117ec:	38 80 00 00 	li      r4,0                                   
ffc117f0:	38 a0 00 34 	li      r5,52                                  
ffc117f4:	48 00 47 b1 	bl      ffc15fa4 <memset>                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
ffc117f8:	38 00 02 00 	li      r0,512                                 
ffc117fc:	90 1d 00 04 	stw     r0,4(r29)                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc11800:	38 60 02 00 	li      r3,512                                 
ffc11804:	4b ff 60 d1 	bl      ffc078d4 <malloc>                      
  if (! pipe->Buffer)                                                 
ffc11808:	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);                                  
ffc1180c:	90 7d 00 00 	stw     r3,0(r29)                              
  if (! pipe->Buffer)                                                 
ffc11810:	41 9e 01 78 	beq-    cr7,ffc11988 <fifo_open+0x43c>         <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
ffc11814:	3f 60 00 00 	lis     r27,0                                  
ffc11818:	88 7b 21 bd 	lbz     r3,8637(r27)                           
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
ffc1181c:	38 80 00 00 	li      r4,0                                   
ffc11820:	38 a0 00 00 	li      r5,0                                   
ffc11824:	64 63 50 49 	oris    r3,r3,20553                            
ffc11828:	60 63 72 00 	ori     r3,r3,29184                            
ffc1182c:	38 dd 00 2c 	addi    r6,r29,44                              
ffc11830:	48 00 13 e9 	bl      ffc12c18 <rtems_barrier_create>        
ffc11834:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11838:	40 9e 01 48 	bne-    cr7,ffc11980 <fifo_open+0x434>         
        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),                          
ffc1183c:	88 7b 21 bd 	lbz     r3,8637(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(                                           
ffc11840:	38 80 00 00 	li      r4,0                                   
ffc11844:	38 a0 00 00 	li      r5,0                                   
ffc11848:	64 63 50 49 	oris    r3,r3,20553                            
ffc1184c:	60 63 77 00 	ori     r3,r3,30464                            
ffc11850:	38 dd 00 30 	addi    r6,r29,48                              
ffc11854:	48 00 13 c5 	bl      ffc12c18 <rtems_barrier_create>        
ffc11858:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1185c:	40 9e 01 1c 	bne-    cr7,ffc11978 <fifo_open+0x42c>         
        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,                       
ffc11860:	88 7b 21 bd 	lbz     r3,8637(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(                                         
ffc11864:	38 80 00 01 	li      r4,1                                   
ffc11868:	38 a0 00 10 	li      r5,16                                  
ffc1186c:	64 63 50 49 	oris    r3,r3,20553                            
ffc11870:	60 63 73 00 	ori     r3,r3,29440                            
ffc11874:	38 c0 00 00 	li      r6,0                                   
ffc11878:	38 fd 00 28 	addi    r7,r29,40                              
ffc1187c:	4b ff 9c 5d 	bl      ffc0b4d8 <rtems_semaphore_create>      
ffc11880:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11884:	40 9e 00 ec 	bne-    cr7,ffc11970 <fifo_open+0x424>         
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
ffc11888:	89 3b 21 bd 	lbz     r9,8637(r27)                           
ffc1188c:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
ffc11890:	39 29 00 01 	addi    r9,r9,1                                
ffc11894:	99 3b 21 bd 	stb     r9,8637(r27)                           
ffc11898:	40 9e fd 18 	bne+    cr7,ffc115b0 <fifo_open+0x64>          
    c = 'a';                                                          
ffc1189c:	38 00 00 61 	li      r0,97                                  
ffc118a0:	98 1b 21 bd 	stb     r0,8637(r27)                           
ffc118a4:	4b ff fd 0c 	b       ffc115b0 <fifo_open+0x64>              
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
ffc118a8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc118ac:	40 9e 00 80 	bne-    cr7,ffc1192c <fifo_open+0x3e0>         <== NEVER TAKEN
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
ffc118b0:	93 be 00 00 	stw     r29,0(r30)                             
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc118b4:	80 7f 29 60 	lwz     r3,10592(r31)                          
ffc118b8:	4b ff a0 85 	bl      ffc0b93c <rtems_semaphore_release>     
ffc118bc:	4b ff fd 30 	b       ffc115ec <fifo_open+0xa0>              
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
ffc118c0:	3c 60 50 49 	lis     r3,20553                               
ffc118c4:	7f 67 db 78 	mr      r7,r27                                 
ffc118c8:	38 80 00 01 	li      r4,1                                   
ffc118cc:	38 a0 00 54 	li      r5,84                                  
ffc118d0:	38 c0 00 00 	li      r6,0                                   
ffc118d4:	60 63 50 45 	ori     r3,r3,20549                            
ffc118d8:	4b ff 9c 01 	bl      ffc0b4d8 <rtems_semaphore_create>      
ffc118dc:	7c 7b 1b 78 	mr      r27,r3                                 
ffc118e0:	80 7d 27 90 	lwz     r3,10128(r29)                          
ffc118e4:	4b ff a0 59 	bl      ffc0b93c <rtems_semaphore_release>     
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc118e8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc118ec:	3b 60 ff f4 	li      r27,-12                                
ffc118f0:	40 9e fd 2c 	bne+    cr7,ffc1161c <fifo_open+0xd0>          
ffc118f4:	80 1f 29 60 	lwz     r0,10592(r31)                          
ffc118f8:	4b ff fc 90 	b       ffc11588 <fifo_open+0x3c>              
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc118fc:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11900:	38 81 00 08 	addi    r4,r1,8                                
ffc11904:	48 00 14 f5 	bl      ffc12df8 <rtems_barrier_release>       
ffc11908:	4b ff fe 20 	b       ffc11728 <fifo_open+0x1dc>             
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc1190c:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11910:	38 81 00 08 	addi    r4,r1,8                                
ffc11914:	48 00 14 e5 	bl      ffc12df8 <rtems_barrier_release>       
ffc11918:	4b ff fe 94 	b       ffc117ac <fifo_open+0x260>             
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
ffc1191c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11920:	38 81 00 08 	addi    r4,r1,8                                
ffc11924:	48 00 14 d5 	bl      ffc12df8 <rtems_barrier_release>       
ffc11928:	4b ff fd 6c 	b       ffc11694 <fifo_open+0x148>             
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc1192c:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc11930:	48 00 13 fd 	bl      ffc12d2c <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11934:	80 7d 00 30 	lwz     r3,48(r29)                             <== NOT EXECUTED
ffc11938:	48 00 13 f5 	bl      ffc12d2c <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc1193c:	80 7d 00 28 	lwz     r3,40(r29)                             <== NOT EXECUTED
ffc11940:	4b ff 9d 95 	bl      ffc0b6d4 <rtems_semaphore_delete>      <== NOT EXECUTED
  free(pipe->Buffer);                                                 
ffc11944:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc11948:	4b ff 55 d9 	bl      ffc06f20 <free>                        <== NOT EXECUTED
  free(pipe);                                                         
ffc1194c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc11950:	4b ff 55 d1 	bl      ffc06f20 <free>                        <== NOT EXECUTED
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc11954:	80 7f 29 60 	lwz     r3,10592(r31)                          
ffc11958:	4b ff 9f e5 	bl      ffc0b93c <rtems_semaphore_release>     
ffc1195c:	4b ff fc c0 	b       ffc1161c <fifo_open+0xd0>              
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11960:	80 7f 00 28 	lwz     r3,40(r31)                             
        err = -ENXIO;                                                 
ffc11964:	3b 60 ff fa 	li      r27,-6                                 
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11968:	4b ff 9f d5 	bl      ffc0b93c <rtems_semaphore_release>     
        err = -ENXIO;                                                 
        goto out_error;                                               
ffc1196c:	4b ff fd 8c 	b       ffc116f8 <fifo_open+0x1ac>             
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11970:	80 7d 00 30 	lwz     r3,48(r29)                             
ffc11974:	48 00 13 b9 	bl      ffc12d2c <rtems_barrier_delete>        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
ffc11978:	80 7d 00 2c 	lwz     r3,44(r29)                             
ffc1197c:	48 00 13 b1 	bl      ffc12d2c <rtems_barrier_delete>        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
ffc11980:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc11984:	4b ff 55 9d 	bl      ffc06f20 <free>                        
err_buf:                                                              
  free(pipe);                                                         
ffc11988:	7f a3 eb 78 	mr      r3,r29                                 
ffc1198c:	4b ff 55 95 	bl      ffc06f20 <free>                        
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc11990:	3b 60 ff f4 	li      r27,-12                                
ffc11994:	4b ff ff c0 	b       ffc11954 <fifo_open+0x408>             
                                                                      

ffc05b10 <fpathconf>: long fpathconf( int fd, int name ) {
ffc05b10:	7c 08 02 a6 	mflr    r0                                     
ffc05b14:	94 21 ff f8 	stwu    r1,-8(r1)                              
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
ffc05b18:	3d 20 00 00 	lis     r9,0                                   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc05b1c:	90 01 00 0c 	stw     r0,12(r1)                              
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
ffc05b20:	80 09 26 dc 	lwz     r0,9948(r9)                            
ffc05b24:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc05b28:	40 9c 00 c8 	bge-    cr7,ffc05bf0 <fpathconf+0xe0>          
  iop = rtems_libio_iop(fd);                                          
ffc05b2c:	3d 20 00 00 	lis     r9,0                                   
ffc05b30:	80 09 27 88 	lwz     r0,10120(r9)                           
ffc05b34:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc05b38:	7c 60 1a 14 	add     r3,r0,r3                               
  rtems_libio_check_is_open(iop);                                     
ffc05b3c:	80 03 00 18 	lwz     r0,24(r3)                              
ffc05b40:	70 09 01 00 	andi.   r9,r0,256                              
ffc05b44:	41 82 00 ac 	beq-    ffc05bf0 <fpathconf+0xe0>              <== NEVER TAKEN
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc05b48:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
ffc05b4c:	81 23 00 2c 	lwz     r9,44(r3)                              
                                                                      
  switch ( name ) {                                                   
ffc05b50:	40 9d 00 24 	ble-    cr7,ffc05b74 <fpathconf+0x64>          
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc05b54:	48 00 dd f1 	bl      ffc13944 <__errno>                     
ffc05b58:	38 00 00 16 	li      r0,22                                  
ffc05b5c:	90 03 00 00 	stw     r0,0(r3)                               
ffc05b60:	38 60 ff ff 	li      r3,-1                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
ffc05b64:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05b68:	38 21 00 08 	addi    r1,r1,8                                
ffc05b6c:	7c 08 03 a6 	mtlr    r0                                     
ffc05b70:	4e 80 00 20 	blr                                            
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc05b74:	3d 60 ff c2 	lis     r11,-62                                
ffc05b78:	39 6b b3 98 	addi    r11,r11,-19560                         
ffc05b7c:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc05b80:	7c 0b 20 2e 	lwzx    r0,r11,r4                              
ffc05b84:	7d 60 5a 14 	add     r11,r0,r11                             
ffc05b88:	7d 69 03 a6 	mtctr   r11                                    
ffc05b8c:	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;                       
ffc05b90:	80 69 00 5c 	lwz     r3,92(r9)                              
      break;                                                          
ffc05b94:	4b ff ff d0 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
ffc05b98:	80 69 00 50 	lwz     r3,80(r9)                              
      break;                                                          
ffc05b9c:	4b ff ff c8 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
ffc05ba0:	80 69 00 64 	lwz     r3,100(r9)                             
      break;                                                          
ffc05ba4:	4b ff ff c0 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
ffc05ba8:	80 69 00 58 	lwz     r3,88(r9)                              
      break;                                                          
ffc05bac:	4b ff ff b8 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
ffc05bb0:	80 69 00 54 	lwz     r3,84(r9)                              
      break;                                                          
ffc05bb4:	4b ff ff b0 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
ffc05bb8:	80 69 00 4c 	lwz     r3,76(r9)                              
      break;                                                          
ffc05bbc:	4b ff ff a8 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
ffc05bc0:	80 69 00 48 	lwz     r3,72(r9)                              
      break;                                                          
ffc05bc4:	4b ff ff a0 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
ffc05bc8:	80 69 00 44 	lwz     r3,68(r9)                              
      break;                                                          
ffc05bcc:	4b ff ff 98 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
ffc05bd0:	80 69 00 40 	lwz     r3,64(r9)                              
      break;                                                          
ffc05bd4:	4b ff ff 90 	b       ffc05b64 <fpathconf+0x54>              
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
ffc05bd8:	80 69 00 3c 	lwz     r3,60(r9)                              
      break;                                                          
ffc05bdc:	4b ff ff 88 	b       ffc05b64 <fpathconf+0x54>              
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
ffc05be0:	80 69 00 38 	lwz     r3,56(r9)                              
      break;                                                          
ffc05be4:	4b ff ff 80 	b       ffc05b64 <fpathconf+0x54>              
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
ffc05be8:	80 69 00 60 	lwz     r3,96(r9)                              
      break;                                                          
ffc05bec:	4b ff ff 78 	b       ffc05b64 <fpathconf+0x54>              
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
ffc05bf0:	48 00 dd 55 	bl      ffc13944 <__errno>                     
ffc05bf4:	38 00 00 09 	li      r0,9                                   
ffc05bf8:	90 03 00 00 	stw     r0,0(r3)                               
ffc05bfc:	38 60 ff ff 	li      r3,-1                                  
ffc05c00:	4b ff ff 64 	b       ffc05b64 <fpathconf+0x54>              
                                                                      

ffc0519c <free>: #include <stdlib.h> void free( void *ptr ) {
ffc0519c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc051a0:	7c 08 02 a6 	mflr    r0                                     
  MSBUMP(free_calls, 1);                                              
ffc051a4:	3d 20 00 00 	lis     r9,0                                   
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc051a8:	90 01 00 14 	stw     r0,20(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc051ac:	39 29 2a e8 	addi    r9,r9,10984                            
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc051b0:	93 e1 00 0c 	stw     r31,12(r1)                             
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
ffc051b4:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
ffc051b8:	81 69 00 0c 	lwz     r11,12(r9)                             
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc051bc:	93 c1 00 08 	stw     r30,8(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc051c0:	38 0b 00 01 	addi    r0,r11,1                               
ffc051c4:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  if ( !ptr )                                                         
ffc051c8:	41 82 00 6c 	beq-    ffc05234 <free+0x98>                   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc051cc:	3d 20 00 00 	lis     r9,0                                   
ffc051d0:	80 09 28 04 	lwz     r0,10244(r9)                           
ffc051d4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc051d8:	41 9e 00 74 	beq-    cr7,ffc0524c <free+0xb0>               <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc051dc:	3d 20 00 00 	lis     r9,0                                   
ffc051e0:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc051e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc051e8:	41 9e 00 14 	beq-    cr7,ffc051fc <free+0x60>               
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
ffc051ec:	80 09 00 08 	lwz     r0,8(r9)                               
ffc051f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc051f4:	7c 09 03 a6 	mtctr   r0                                     
ffc051f8:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
ffc051fc:	3f c0 00 00 	lis     r30,0                                  
ffc05200:	80 7e 26 ec 	lwz     r3,9964(r30)                           
ffc05204:	7f e4 fb 78 	mr      r4,r31                                 
ffc05208:	48 00 65 49 	bl      ffc0b750 <_Protected_heap_Free>        
ffc0520c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05210:	40 be 00 24 	bne+    cr7,ffc05234 <free+0x98>               
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
ffc05214:	81 3e 26 ec 	lwz     r9,9964(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",
ffc05218:	3c 60 ff c2 	lis     r3,-62                                 
ffc0521c:	38 63 f3 d8 	addi    r3,r3,-3112                            
ffc05220:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc05224:	7f e4 fb 78 	mr      r4,r31                                 
ffc05228:	80 c9 00 1c 	lwz     r6,28(r9)                              
ffc0522c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05230:	48 00 11 7d 	bl      ffc063ac <printk>                      
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc05234:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05238:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0523c:	7c 08 03 a6 	mtlr    r0                                     
ffc05240:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05244:	38 21 00 10 	addi    r1,r1,16                               
ffc05248:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  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() ) {                               
ffc0524c:	48 00 01 99 	bl      ffc053e4 <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()) &&                    
ffc05250:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05254:	40 9e ff 88 	bne+    cr7,ffc051dc <free+0x40>               
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
ffc05258:	7f e3 fb 78 	mr      r3,r31                                 
ffc0525c:	48 00 02 15 	bl      ffc05470 <malloc_deferred_free>        
      return;                                                         
ffc05260:	4b ff ff d4 	b       ffc05234 <free+0x98>                   
                                                                      

ffc08bc4 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
ffc08bc4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08bc8:	7c 08 02 a6 	mflr    r0                                     
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc08bcc:	3d 20 00 00 	lis     r9,0                                   
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc08bd0:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc08bd4:	38 09 2a f8 	addi    r0,r9,11000                            
ffc08bd8:	7f 83 00 00 	cmpw    cr7,r3,r0                              
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc08bdc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc08be0:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc08be4:	41 9e 00 1c 	beq-    cr7,ffc08c00 <free_user_env+0x3c>      <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
ffc08be8:	38 63 00 04 	addi    r3,r3,4                                
ffc08bec:	4b ff e8 e1 	bl      ffc074cc <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &env->root_directory);                 
ffc08bf0:	38 7f 00 18 	addi    r3,r31,24                              
ffc08bf4:	4b ff e8 d9 	bl      ffc074cc <rtems_filesystem_freenode>   
    free(env);                                                        
ffc08bf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc08bfc:	4b ff e8 fd 	bl      ffc074f8 <free>                        
  }                                                                   
}                                                                     
ffc08c00:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08c04:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08c08:	38 21 00 10 	addi    r1,r1,16                               
ffc08c0c:	7c 08 03 a6 	mtlr    r0                                     
ffc08c10:	4e 80 00 20 	blr                                            
                                                                      

ffc04360 <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) {
ffc04360:	3d 20 00 00 	lis     r9,0                                   
ffc04364:	80 09 28 70 	lwz     r0,10352(r9)                           
                                                                      
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
ffc04368:	39 60 00 00 	li      r11,0                                  
  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) {                      
ffc0436c:	39 29 28 70 	addi    r9,r9,10352                            
ffc04370:	7f 80 18 40 	cmplw   cr7,r0,r3                              
ffc04374:	40 9d 00 60 	ble-    cr7,ffc043d4 <get_disk_entry+0x74>     <== NEVER TAKEN
ffc04378:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0437c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04380:	41 9e 00 54 	beq-    cr7,ffc043d4 <get_disk_entry+0x74>     <== NEVER TAKEN
    rtems_disk_device_table *dtab = disktab + major;                  
ffc04384:	54 63 18 38 	rlwinm  r3,r3,3,0,28                           
ffc04388:	7d 49 1a 14 	add     r10,r9,r3                              
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
ffc0438c:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc04390:	7f 80 20 40 	cmplw   cr7,r0,r4                              
ffc04394:	40 9d 00 40 	ble-    cr7,ffc043d4 <get_disk_entry+0x74>     <== NEVER TAKEN
ffc04398:	7d 29 18 2e 	lwzx    r9,r9,r3                               
ffc0439c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc043a0:	41 9e 00 34 	beq-    cr7,ffc043d4 <get_disk_entry+0x74>     <== NEVER TAKEN
      rtems_disk_device *dd = dtab->minor [minor];                    
ffc043a4:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc043a8:	7d 69 20 2e 	lwzx    r11,r9,r4                              
                                                                      
      if (dd != NULL && !lookup_only) {                               
ffc043ac:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc043b0:	41 9e 00 24 	beq-    cr7,ffc043d4 <get_disk_entry+0x74>     
ffc043b4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc043b8:	40 9e 00 1c 	bne-    cr7,ffc043d4 <get_disk_entry+0x74>     
        if (!dd->deleted) {                                           
ffc043bc:	88 0b 00 30 	lbz     r0,48(r11)                             
ffc043c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc043c4:	40 9e 00 18 	bne-    cr7,ffc043dc <get_disk_entry+0x7c>     
          ++dd->uses;                                                 
ffc043c8:	81 2b 00 14 	lwz     r9,20(r11)                             
ffc043cc:	38 09 00 01 	addi    r0,r9,1                                
ffc043d0:	90 0b 00 14 	stw     r0,20(r11)                             
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
ffc043d4:	7d 63 5b 78 	mr      r3,r11                                 
ffc043d8:	4e 80 00 20 	blr                                            
                                                                      
      if (dd != NULL && !lookup_only) {                               
        if (!dd->deleted) {                                           
          ++dd->uses;                                                 
        } else {                                                      
          dd = NULL;                                                  
ffc043dc:	39 60 00 00 	li      r11,0                                  
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
ffc043e0:	7d 63 5b 78 	mr      r3,r11                                 
ffc043e4:	4e 80 00 20 	blr                                            
                                                                      

ffc1ee44 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
ffc1ee44:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1ee48:	7c 08 02 a6 	mflr    r0                                     
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc1ee4c:	3d 20 00 00 	lis     r9,0                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1ee50:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc1ee54:	80 09 26 dc 	lwz     r0,9948(r9)                            
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1ee58:	93 a1 00 2c 	stw     r29,44(r1)                             
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc1ee5c:	3b a0 00 00 	li      r29,0                                  
ffc1ee60:	7f 83 00 40 	cmplw   cr7,r3,r0                              
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1ee64:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1ee68:	7c 9e 23 78 	mr      r30,r4                                 
ffc1ee6c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1ee70:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc1ee74:	40 9c 00 14 	bge-    cr7,ffc1ee88 <getdents+0x44>           <== NEVER TAKEN
ffc1ee78:	3d 20 00 00 	lis     r9,0                                   
ffc1ee7c:	83 a9 27 88 	lwz     r29,10120(r9)                          
ffc1ee80:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1ee84:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1ee88:	81 3d 00 28 	lwz     r9,40(r29)                             
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1ee8c:	38 61 00 08 	addi    r3,r1,8                                
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1ee90:	80 1d 00 2c 	lwz     r0,44(r29)                             
ffc1ee94:	81 1d 00 1c 	lwz     r8,28(r29)                             
ffc1ee98:	81 5d 00 20 	lwz     r10,32(r29)                            
ffc1ee9c:	81 7d 00 24 	lwz     r11,36(r29)                            
ffc1eea0:	90 01 00 18 	stw     r0,24(r1)                              
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1eea4:	80 09 00 10 	lwz     r0,16(r9)                              
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1eea8:	91 01 00 08 	stw     r8,8(r1)                               
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1eeac:	7c 09 03 a6 	mtctr   r0                                     
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1eeb0:	91 41 00 0c 	stw     r10,12(r1)                             
ffc1eeb4:	91 61 00 10 	stw     r11,16(r1)                             
ffc1eeb8:	91 21 00 14 	stw     r9,20(r1)                              
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1eebc:	4e 80 04 21 	bctrl                                          
ffc1eec0:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc1eec4:	40 9e 00 3c 	bne-    cr7,ffc1ef00 <getdents+0xbc>           
                                                                      
  /*                                                                  
   *  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  );   
ffc1eec8:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc1eecc:	7f a3 eb 78 	mr      r3,r29                                 
ffc1eed0:	7f c4 f3 78 	mr      r4,r30                                 
ffc1eed4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1eed8:	7f e5 fb 78 	mr      r5,r31                                 
ffc1eedc:	7c 09 03 a6 	mtctr   r0                                     
ffc1eee0:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc1eee4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1eee8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1eeec:	7c 08 03 a6 	mtlr    r0                                     
ffc1eef0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1eef4:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1eef8:	38 21 00 38 	addi    r1,r1,56                               
ffc1eefc:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc1ef00:	4b ff 49 b1 	bl      ffc138b0 <__errno>                     
ffc1ef04:	38 00 00 14 	li      r0,20                                  
ffc1ef08:	90 03 00 00 	stw     r0,0(r3)                               
ffc1ef0c:	38 60 ff ff 	li      r3,-1                                  
ffc1ef10:	4b ff ff d4 	b       ffc1eee4 <getdents+0xa0>               
                                                                      

ffc05264 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
ffc05264:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05268:	7c 08 02 a6 	mflr    r0                                     
ffc0526c:	93 e1 00 1c 	stw     r31,28(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc05270:	7c 7f 1b 79 	mr.     r31,r3                                 
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
ffc05274:	90 01 00 24 	stw     r0,36(r1)                              
ffc05278:	93 c1 00 18 	stw     r30,24(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc0527c:	41 82 00 64 	beq-    ffc052e0 <gettimeofday+0x7c>           <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc05280:	7f c0 00 a6 	mfmsr   r30                                    
ffc05284:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc05288:	7f c0 00 78 	andc    r0,r30,r0                              
ffc0528c:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
ffc05290:	38 61 00 08 	addi    r3,r1,8                                
ffc05294:	48 00 54 d1 	bl      ffc0a764 <_TOD_Get>                    
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc05298:	7f c0 01 24 	mtmsr   r30                                    
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
ffc0529c:	3d 20 10 62 	lis     r9,4194                                
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
ffc052a0:	80 01 00 0c 	lwz     r0,12(r1)                              
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
ffc052a4:	61 29 4d d3 	ori     r9,r9,19923                            
ffc052a8:	7d 20 48 96 	mulhw   r9,r0,r9                               
ffc052ac:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc052b0:	7d 29 36 70 	srawi   r9,r9,6                                
ffc052b4:	7c 00 48 50 	subf    r0,r0,r9                               
                                                                      
  time->tv_sec  = now.tv_sec;                                         
ffc052b8:	81 21 00 08 	lwz     r9,8(r1)                               
  time->tv_usec = useconds;                                           
ffc052bc:	90 1f 00 04 	stw     r0,4(r31)                              
   *  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;                                                           
ffc052c0:	38 60 00 00 	li      r3,0                                   
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
ffc052c4:	91 3f 00 00 	stw     r9,0(r31)                              
}                                                                     
ffc052c8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc052cc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc052d0:	7c 08 03 a6 	mtlr    r0                                     
ffc052d4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc052d8:	38 21 00 20 	addi    r1,r1,32                               
ffc052dc:	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 );                   
ffc052e0:	48 00 d8 7d 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc052e4:	38 00 00 0e 	li      r0,14                                  <== NOT EXECUTED
ffc052e8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc052ec:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc052f0:	4b ff ff d8 	b       ffc052c8 <gettimeofday+0x64>           <== NOT EXECUTED
                                                                      

ffc11fa4 <imfs_dir_open>: IMFS_jnode_t *the_jnode; /* Is the node a directory ? */ the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access; if ( the_jnode->type != IMFS_DIRECTORY )
ffc11fa4:	81 23 00 1c 	lwz     r9,28(r3)                              
     return -1;      /* It wasn't a directory --> return error */     
ffc11fa8:	38 00 ff ff 	li      r0,-1                                  
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
ffc11fac:	81 29 00 4c 	lwz     r9,76(r9)                              
ffc11fb0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc11fb4:	40 9e 00 18 	bne-    cr7,ffc11fcc <imfs_dir_open+0x28>      <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
ffc11fb8:	39 40 00 00 	li      r10,0                                  
ffc11fbc:	39 60 00 00 	li      r11,0                                  
ffc11fc0:	91 43 00 10 	stw     r10,16(r3)                             
  return 0;                                                           
ffc11fc4:	38 00 00 00 	li      r0,0                                   
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
ffc11fc8:	91 63 00 14 	stw     r11,20(r3)                             
  return 0;                                                           
}                                                                     
ffc11fcc:	7c 03 03 78 	mr      r3,r0                                  
ffc11fd0:	4e 80 00 20 	blr                                            
                                                                      

ffc11fd4 <imfs_dir_read>: ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, size_t count ) {
ffc11fd4:	94 21 fe b0 	stwu    r1,-336(r1)                            
ffc11fd8:	7c 08 02 a6 	mflr    r0                                     
ffc11fdc:	90 01 01 54 	stw     r0,340(r1)                             
ffc11fe0:	93 81 01 40 	stw     r28,320(r1)                            
   int                  current_entry;                                
   int                  first_entry;                                  
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
ffc11fe4:	83 83 00 1c 	lwz     r28,28(r3)                             
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc11fe8:	93 c1 01 48 	stw     r30,328(r1)                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc11fec:	83 dc 00 50 	lwz     r30,80(r28)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc11ff0:	3b 9c 00 54 	addi    r28,r28,84                             
ffc11ff4:	93 01 01 30 	stw     r24,304(r1)                            
ffc11ff8:	7c 98 23 78 	mr      r24,r4                                 
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
ffc11ffc:	7f 9e e0 00 	cmpw    cr7,r30,r28                            
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc12000:	93 21 01 34 	stw     r25,308(r1)                            
ffc12004:	7c 79 1b 78 	mr      r25,r3                                 
ffc12008:	93 41 01 38 	stw     r26,312(r1)                            
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
      return 0;                                                       
ffc1200c:	3b 40 00 00 	li      r26,0                                  
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc12010:	92 c1 01 28 	stw     r22,296(r1)                            
ffc12014:	92 e1 01 2c 	stw     r23,300(r1)                            
ffc12018:	93 61 01 3c 	stw     r27,316(r1)                            
ffc1201c:	93 a1 01 44 	stw     r29,324(r1)                            
ffc12020:	93 e1 01 4c 	stw     r31,332(r1)                            
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
ffc12024:	41 9e 00 c8 	beq-    cr7,ffc120ec <imfs_dir_read+0x118>     
                                                                      
   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);
ffc12028:	3f 60 0e a0 	lis     r27,3744                               
                                                                      
   /* Move to the first of the desired directory entries */           
   the_node = rtems_chain_first( the_chain );                         
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
ffc1202c:	83 a3 00 14 	lwz     r29,20(r3)                             
   /* 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);
ffc12030:	54 a5 e8 fe 	rlwinm  r5,r5,29,3,31                          
ffc12034:	63 7b ea 0f 	ori     r27,r27,59919                          
ffc12038:	7f 65 d8 16 	mulhwu  r27,r5,r27                             
ffc1203c:	57 7b f8 7e 	rlwinm  r27,r27,31,1,31                        
ffc12040:	1f 7b 01 18 	mulli   r27,r27,280                            
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc12044:	7f 7b ea 15 	add.    r27,r27,r29                            
ffc12048:	40 81 00 a4 	ble-    ffc120ec <imfs_dir_read+0x118>         <== NEVER TAKEN
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc1204c:	3b e0 00 00 	li      r31,0                                  
      }                                                               
                                                                      
      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 );               
ffc12050:	3a e0 01 18 	li      r23,280                                
ffc12054:	48 00 00 1c 	b       ffc12070 <imfs_dir_read+0x9c>          
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc12058:	3b ff 01 18 	addi    r31,r31,280                            
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
ffc1205c:	83 de 00 00 	lwz     r30,0(r30)                             
   /* 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);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc12060:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc12064:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
   /* 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);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc12068:	40 9d 00 84 	ble-    cr7,ffc120ec <imfs_dir_read+0x118>     <== NEVER TAKEN
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc1206c:	41 9a 00 80 	beq-    cr6,ffc120ec <imfs_dir_read+0x118>     
         /* entry in the read */                                      
         return bytes_transferred;  /* Indicate that there are no more */
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
ffc12070:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc12074:	41 9d ff e4 	bgt+    cr7,ffc12058 <imfs_dir_read+0x84>      
         /* 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;                        
ffc12078:	80 1e 00 38 	lwz     r0,56(r30)                             
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc1207c:	3a de 00 0c 	addi    r22,r30,12                             
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
ffc12080:	7f e9 fe 70 	srawi   r9,r31,31                              
ffc12084:	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 );             
ffc12088:	7e c3 b3 78 	mr      r3,r22                                 
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
ffc1208c:	91 21 00 10 	stw     r9,16(r1)                              
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc12090:	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;                        
ffc12094:	90 01 00 08 	stw     r0,8(r1)                               
      }                                                               
                                                                      
      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 );               
ffc12098:	b2 e1 00 18 	sth     r23,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 );             
ffc1209c:	48 00 23 ed 	bl      ffc14488 <strlen>                      
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc120a0:	7e c4 b3 78 	mr      r4,r22                                 
         /* 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 );             
ffc120a4:	b0 61 00 1a 	sth     r3,26(r1)                              
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc120a8:	38 61 00 1c 	addi    r3,r1,28                               
ffc120ac:	48 00 1e c9 	bl      ffc13f74 <strcpy>                      
         memcpy(                                                      
ffc120b0:	7c 78 d2 14 	add     r3,r24,r26                             
ffc120b4:	38 81 00 08 	addi    r4,r1,8                                
ffc120b8:	38 a0 01 18 	li      r5,280                                 
ffc120bc:	48 00 17 dd 	bl      ffc13898 <memcpy>                      
   /* 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);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc120c0:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc120c4:	81 59 00 10 	lwz     r10,16(r25)                            
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
ffc120c8:	3b 5a 01 18 	addi    r26,r26,280                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc120cc:	81 79 00 14 	lwz     r11,20(r25)                            
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
ffc120d0:	83 de 00 00 	lwz     r30,0(r30)                             
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc120d4:	31 6b 01 18 	addic   r11,r11,280                            
ffc120d8:	7d 4a 01 94 	addze   r10,r10                                
ffc120dc:	91 59 00 10 	stw     r10,16(r25)                            
   for (                                                              
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc120e0:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc120e4:	91 79 00 14 	stw     r11,20(r25)                            
   /* 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);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc120e8:	41 9d ff 84 	bgt+    cr7,ffc1206c <imfs_dir_read+0x98>      <== NEVER TAKEN
      the_node = the_node->next;                                      
   }                                                                  
                                                                      
   /* Success */                                                      
   return bytes_transferred;                                          
}                                                                     
ffc120ec:	80 01 01 54 	lwz     r0,340(r1)                             
ffc120f0:	7f 43 d3 78 	mr      r3,r26                                 
ffc120f4:	82 c1 01 28 	lwz     r22,296(r1)                            
ffc120f8:	7c 08 03 a6 	mtlr    r0                                     
ffc120fc:	82 e1 01 2c 	lwz     r23,300(r1)                            
ffc12100:	83 01 01 30 	lwz     r24,304(r1)                            
ffc12104:	83 21 01 34 	lwz     r25,308(r1)                            
ffc12108:	83 41 01 38 	lwz     r26,312(r1)                            
ffc1210c:	83 61 01 3c 	lwz     r27,316(r1)                            
ffc12110:	83 81 01 40 	lwz     r28,320(r1)                            
ffc12114:	83 a1 01 44 	lwz     r29,324(r1)                            
ffc12118:	83 c1 01 48 	lwz     r30,328(r1)                            
ffc1211c:	83 e1 01 4c 	lwz     r31,332(r1)                            
ffc12120:	38 21 01 50 	addi    r1,r1,336                              
ffc12124:	4e 80 00 20 	blr                                            
                                                                      

ffc12294 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
ffc12294:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12298:	7c 08 02 a6 	mflr    r0                                     
ffc1229c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc122a0:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
ffc122a4:	83 e4 00 00 	lwz     r31,0(r4)                              
                                                                      
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
ffc122a8:	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 );                            
ffc122ac:	38 1f 00 54 	addi    r0,r31,84                              
ffc122b0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc122b4:	40 9e 00 6c 	bne-    cr7,ffc12320 <imfs_dir_rmnod+0x8c>     
                                                                      
static inline bool rtems_filesystem_is_root_location(                 
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  return loc->mt_entry->mt_fs_root.node_access == loc->node_access;   
ffc122b8:	81 24 00 10 	lwz     r9,16(r4)                              
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_is_root_location(pathloc) )                   
ffc122bc:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc122c0:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc122c4:	41 9e 00 38 	beq-    cr7,ffc122fc <imfs_dir_rmnod+0x68>     
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
ffc122c8:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc122cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc122d0:	40 9e 00 2c 	bne-    cr7,ffc122fc <imfs_dir_rmnod+0x68>     <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
ffc122d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc122d8:	4b ff cb a9 	bl      ffc0ee80 <IMFS_create_orphan>          
  IMFS_check_node_remove( the_jnode );                                
ffc122dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc122e0:	4b ff cc 01 	bl      ffc0eee0 <IMFS_check_node_remove>      
                                                                      
  return 0;                                                           
ffc122e4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc122e8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc122ec:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc122f0:	38 21 00 10 	addi    r1,r1,16                               
ffc122f4:	7c 08 03 a6 	mtlr    r0                                     
ffc122f8:	4e 80 00 20 	blr                                            
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
ffc122fc:	48 00 08 61 	bl      ffc12b5c <__errno>                     
ffc12300:	38 00 00 10 	li      r0,16                                  
ffc12304:	90 03 00 00 	stw     r0,0(r3)                               
ffc12308:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
ffc1230c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc12310:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12314:	38 21 00 10 	addi    r1,r1,16                               
ffc12318:	7c 08 03 a6 	mtlr    r0                                     
ffc1231c:	4e 80 00 20 	blr                                            
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
ffc12320:	48 00 08 3d 	bl      ffc12b5c <__errno>                     
ffc12324:	38 00 00 5a 	li      r0,90                                  
ffc12328:	90 03 00 00 	stw     r0,0(r3)                               
ffc1232c:	38 60 ff ff 	li      r3,-1                                  
ffc12330:	4b ff ff b8 	b       ffc122e8 <imfs_dir_rmnod+0x54>         
                                                                      

ffc05a20 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
ffc05a20:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05a24:	7c 08 02 a6 	mflr    r0                                     
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05a28:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc05a2c:	90 01 00 14 	stw     r0,20(r1)                              
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05a30:	88 09 28 58 	lbz     r0,10328(r9)                           
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc05a34:	93 c1 00 08 	stw     r30,8(r1)                              
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05a38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc05a3c:	93 e1 00 0c 	stw     r31,12(r1)                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05a40:	41 9e 00 1c 	beq-    cr7,ffc05a5c <init_etc_passwd_group+0x3c>
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
ffc05a44:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05a48:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05a4c:	7c 08 03 a6 	mtlr    r0                                     
ffc05a50:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05a54:	38 21 00 10 	addi    r1,r1,16                               
ffc05a58:	4e 80 00 20 	blr                                            
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc05a5c:	3c 60 ff c2 	lis     r3,-62                                 
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc05a60:	3f c0 ff c2 	lis     r30,-62                                
ffc05a64:	3f e0 ff c2 	lis     r31,-62                                
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc05a68:	38 00 00 01 	li      r0,1                                   
  mkdir("/etc", 0777);                                                
ffc05a6c:	38 80 01 ff 	li      r4,511                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc05a70:	98 09 28 58 	stb     r0,10328(r9)                           
  mkdir("/etc", 0777);                                                
ffc05a74:	38 63 b3 94 	addi    r3,r3,-19564                           
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc05a78:	3b de b3 9c 	addi    r30,r30,-19556                         
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc05a7c:	48 00 0b ad 	bl      ffc06628 <mkdir>                       
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc05a80:	3b ff b3 a8 	addi    r31,r31,-19544                         
ffc05a84:	7f c3 f3 78 	mr      r3,r30                                 
ffc05a88:	7f e4 fb 78 	mr      r4,r31                                 
ffc05a8c:	48 00 e9 7d 	bl      ffc14408 <fopen>                       
ffc05a90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05a94:	41 9e 00 7c 	beq-    cr7,ffc05b10 <init_etc_passwd_group+0xf0>
  }                                                                   
  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);                                                       
ffc05a98:	48 00 df c9 	bl      ffc13a60 <fclose>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
ffc05a9c:	3f c0 ff c2 	lis     r30,-62                                
ffc05aa0:	3b de b4 18 	addi    r30,r30,-19432                         
ffc05aa4:	7f c3 f3 78 	mr      r3,r30                                 
ffc05aa8:	7f e4 fb 78 	mr      r4,r31                                 
ffc05aac:	48 00 e9 5d 	bl      ffc14408 <fopen>                       
ffc05ab0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05ab4:	41 9e 00 20 	beq-    cr7,ffc05ad4 <init_etc_passwd_group+0xb4>
  }                                                                   
  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);                                                       
ffc05ab8:	48 00 df a9 	bl      ffc13a60 <fclose>                      
  }                                                                   
}                                                                     
ffc05abc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05ac0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05ac4:	7c 08 03 a6 	mtlr    r0                                     
ffc05ac8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05acc:	38 21 00 10 	addi    r1,r1,16                               
ffc05ad0:	4e 80 00 20 	blr                                            
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
ffc05ad4:	3c 80 ff c2 	lis     r4,-62                                 
ffc05ad8:	7f c3 f3 78 	mr      r3,r30                                 
ffc05adc:	38 84 b3 ac 	addi    r4,r4,-19540                           
ffc05ae0:	48 00 e9 29 	bl      ffc14408 <fopen>                       
ffc05ae4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc05ae8:	41 a2 ff 5c 	beq-    ffc05a44 <init_etc_passwd_group+0x24>  <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
ffc05aec:	3c 60 ff c2 	lis     r3,-62                                 
ffc05af0:	38 80 00 01 	li      r4,1                                   
ffc05af4:	38 a0 00 2a 	li      r5,42                                  
ffc05af8:	7f e6 fb 78 	mr      r6,r31                                 
ffc05afc:	38 63 b4 24 	addi    r3,r3,-19420                           
ffc05b00:	48 00 f1 c5 	bl      ffc14cc4 <fwrite>                      
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc05b04:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b08:	48 00 df 59 	bl      ffc13a60 <fclose>                      
ffc05b0c:	4b ff ff b0 	b       ffc05abc <init_etc_passwd_group+0x9c>  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
ffc05b10:	3c 80 ff c2 	lis     r4,-62                                 
ffc05b14:	7f c3 f3 78 	mr      r3,r30                                 
ffc05b18:	38 84 b3 ac 	addi    r4,r4,-19540                           
ffc05b1c:	48 00 e8 ed 	bl      ffc14408 <fopen>                       
ffc05b20:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05b24:	41 a2 ff 78 	beq-    ffc05a9c <init_etc_passwd_group+0x7c>  <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
ffc05b28:	3c 60 ff c2 	lis     r3,-62                                 
ffc05b2c:	38 63 b3 b0 	addi    r3,r3,-19536                           
ffc05b30:	38 80 00 01 	li      r4,1                                   
ffc05b34:	38 a0 00 66 	li      r5,102                                 
ffc05b38:	7f c6 f3 78 	mr      r6,r30                                 
ffc05b3c:	48 00 f1 89 	bl      ffc14cc4 <fwrite>                      
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc05b40:	7f c3 f3 78 	mr      r3,r30                                 
ffc05b44:	4b ff ff 54 	b       ffc05a98 <init_etc_passwd_group+0x78>  
                                                                      

ffc0777c <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc0777c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc07780:	7c 08 02 a6 	mflr    r0                                     
ffc07784:	90 01 00 14 	stw     r0,20(r1)                              
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc07788:	80 04 00 30 	lwz     r0,48(r4)                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc0778c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc07790:	7c 9e 23 78 	mr      r30,r4                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc07794:	70 09 00 20 	andi.   r9,r0,32                               
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc07798:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0779c:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc077a0:	41 82 00 08 	beq-    ffc077a8 <iproc+0x2c>                  <== ALWAYS TAKEN
    c &= 0x7f;                                                        
ffc077a4:	54 7f 06 7e 	clrlwi  r31,r3,25                              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
ffc077a8:	70 0b 02 00 	andi.   r11,r0,512                             
ffc077ac:	41 82 00 28 	beq-    ffc077d4 <iproc+0x58>                  
    c = tolower (c);                                                  
ffc077b0:	3d 20 00 00 	lis     r9,0                                   
ffc077b4:	81 69 27 44 	lwz     r11,10052(r9)                          
ffc077b8:	7f e9 fb 78 	mr      r9,r31                                 
ffc077bc:	7f eb fa 14 	add     r31,r11,r31                            
ffc077c0:	89 7f 00 01 	lbz     r11,1(r31)                             
ffc077c4:	55 6b 07 be 	clrlwi  r11,r11,30                             
ffc077c8:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc077cc:	41 9e 01 14 	beq-    cr7,ffc078e0 <iproc+0x164>             
ffc077d0:	55 3f 06 3e 	clrlwi  r31,r9,24                              
                                                                      
  if (c == '\r') {                                                    
ffc077d4:	2f 9f 00 0d 	cmpwi   cr7,r31,13                             
ffc077d8:	41 9e 00 68 	beq-    cr7,ffc07840 <iproc+0xc4>              
    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)) {         
ffc077dc:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc077e0:	41 9e 00 f0 	beq-    cr7,ffc078d0 <iproc+0x154>             
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc077e4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc077e8:	40 9e 00 70 	bne-    cr7,ffc07858 <iproc+0xdc>              <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc077ec:	3d 20 00 00 	lis     r9,0                                   
ffc077f0:	81 69 21 b8 	lwz     r11,8632(r9)                           
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
ffc077f4:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc077f8:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc077fc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc07800:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07804:	40 9c 00 24 	bge-    cr7,ffc07828 <iproc+0xac>              <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
ffc07808:	80 1e 00 3c 	lwz     r0,60(r30)                             
ffc0780c:	70 0b 00 08 	andi.   r11,r0,8                               
ffc07810:	40 82 00 d8 	bne-    ffc078e8 <iproc+0x16c>                 <== ALWAYS TAKEN
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
ffc07814:	81 7e 00 1c 	lwz     r11,28(r30)                            
ffc07818:	38 09 00 01 	addi    r0,r9,1                                
  }                                                                   
  return 0;                                                           
ffc0781c:	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;                                     
ffc07820:	7f eb 49 ae 	stbx    r31,r11,r9                             
ffc07824:	90 1e 00 20 	stw     r0,32(r30)                             
  }                                                                   
  return 0;                                                           
}                                                                     
ffc07828:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0782c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc07830:	7c 08 03 a6 	mtlr    r0                                     
ffc07834:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc07838:	38 21 00 10 	addi    r1,r1,16                               
ffc0783c:	4e 80 00 20 	blr                                            
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
ffc07840:	70 09 00 80 	andi.   r9,r0,128                              
      return 0;                                                       
ffc07844:	38 60 00 00 	li      r3,0                                   
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
ffc07848:	40 a2 ff e0 	bne-    ffc07828 <iproc+0xac>                  <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
ffc0784c:	70 0b 01 00 	andi.   r11,r0,256                             
ffc07850:	41 82 00 08 	beq-    ffc07858 <iproc+0xdc>                  <== NEVER TAKEN
      c = '\n';                                                       
ffc07854:	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)) {               
ffc07858:	80 1e 00 3c 	lwz     r0,60(r30)                             
ffc0785c:	70 0b 00 02 	andi.   r11,r0,2                               
ffc07860:	41 a2 ff 8c 	beq-    ffc077ec <iproc+0x70>                  
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc07864:	89 3e 00 43 	lbz     r9,67(r30)                             
ffc07868:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0786c:	41 9e 00 e8 	beq-    cr7,ffc07954 <iproc+0x1d8>             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
ffc07870:	89 3e 00 44 	lbz     r9,68(r30)                             
ffc07874:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc07878:	41 9e 00 94 	beq-    cr7,ffc0790c <iproc+0x190>             
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc0787c:	89 3e 00 45 	lbz     r9,69(r30)                             
      return 1;                                                       
ffc07880:	38 60 00 01 	li      r3,1                                   
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc07884:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc07888:	41 be ff a0 	beq-    cr7,ffc07828 <iproc+0xac>              <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
ffc0788c:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc07890:	41 9e 00 90 	beq-    cr7,ffc07920 <iproc+0x1a4>             
      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]) ||                      
ffc07894:	89 3e 00 4c 	lbz     r9,76(r30)                             
ffc07898:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0789c:	41 9e 00 10 	beq-    cr7,ffc078ac <iproc+0x130>             <== NEVER TAKEN
ffc078a0:	89 3e 00 51 	lbz     r9,81(r30)                             
ffc078a4:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc078a8:	40 9e ff 44 	bne+    cr7,ffc077ec <iproc+0x70>              <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
ffc078ac:	70 0b 00 08 	andi.   r11,r0,8                               <== NOT EXECUTED
ffc078b0:	40 82 00 4c 	bne-    ffc078fc <iproc+0x180>                 <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc078b4:	81 3e 00 20 	lwz     r9,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc078b8:	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;                                   
ffc078bc:	81 7e 00 1c 	lwz     r11,28(r30)                            <== NOT EXECUTED
ffc078c0:	38 09 00 01 	addi    r0,r9,1                                <== NOT EXECUTED
ffc078c4:	7f eb 49 ae 	stbx    r31,r11,r9                             <== NOT EXECUTED
ffc078c8:	90 1e 00 20 	stw     r0,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc078cc:	4b ff ff 5c 	b       ffc07828 <iproc+0xac>                  <== 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)) {         
ffc078d0:	70 09 00 40 	andi.   r9,r0,64                               
ffc078d4:	41 a2 ff 84 	beq-    ffc07858 <iproc+0xdc>                  <== ALWAYS TAKEN
    c = '\r';                                                         
ffc078d8:	3b e0 00 0d 	li      r31,13                                 <== NOT EXECUTED
ffc078dc:	4b ff ff 7c 	b       ffc07858 <iproc+0xdc>                  <== NOT EXECUTED
{                                                                     
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
ffc078e0:	39 29 00 20 	addi    r9,r9,32                               
ffc078e4:	4b ff fe ec 	b       ffc077d0 <iproc+0x54>                  
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
ffc078e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc078ec:	7f c4 f3 78 	mr      r4,r30                                 
ffc078f0:	4b ff fb 4d 	bl      ffc0743c <echo>                        
ffc078f4:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc078f8:	4b ff ff 1c 	b       ffc07814 <iproc+0x98>                  
      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);                                                
ffc078fc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc07900:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc07904:	4b ff fb 39 	bl      ffc0743c <echo>                        <== NOT EXECUTED
ffc07908:	4b ff ff ac 	b       ffc078b4 <iproc+0x138>                 <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
ffc0790c:	7f c3 f3 78 	mr      r3,r30                                 
ffc07910:	38 80 00 01 	li      r4,1                                   
ffc07914:	4b ff fb cd 	bl      ffc074e0 <erase>                       
      return 0;                                                       
ffc07918:	38 60 00 00 	li      r3,0                                   
ffc0791c:	4b ff ff 0c 	b       ffc07828 <iproc+0xac>                  
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
ffc07920:	70 09 00 48 	andi.   r9,r0,72                               
ffc07924:	41 a2 00 10 	beq+    ffc07934 <iproc+0x1b8>                 <== NEVER TAKEN
        echo (c, tty);                                                
ffc07928:	38 60 00 0a 	li      r3,10                                  
ffc0792c:	7f c4 f3 78 	mr      r4,r30                                 
ffc07930:	4b ff fb 0d 	bl      ffc0743c <echo>                        
      tty->cbuf[tty->ccount++] = c;                                   
ffc07934:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc07938:	39 40 00 0a 	li      r10,10                                 
ffc0793c:	81 7e 00 1c 	lwz     r11,28(r30)                            
      return 1;                                                       
ffc07940:	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;                                   
ffc07944:	38 09 00 01 	addi    r0,r9,1                                
ffc07948:	7d 4b 49 ae 	stbx    r10,r11,r9                             
ffc0794c:	90 1e 00 20 	stw     r0,32(r30)                             
      return 1;                                                       
ffc07950:	4b ff fe d8 	b       ffc07828 <iproc+0xac>                  
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
ffc07954:	7f c3 f3 78 	mr      r3,r30                                 
ffc07958:	38 80 00 00 	li      r4,0                                   
ffc0795c:	4b ff fb 85 	bl      ffc074e0 <erase>                       
      return 0;                                                       
ffc07960:	38 60 00 00 	li      r3,0                                   
ffc07964:	4b ff fe c4 	b       ffc07828 <iproc+0xac>                  
                                                                      

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

ffc05c70 <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
ffc05c70:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05c74:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc05c78:	3d 20 00 00 	lis     r9,0                                   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc05c7c:	90 01 00 14 	stw     r0,20(r1)                              
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc05c80:	80 09 28 04 	lwz     r0,10244(r9)                           
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc05c84:	93 c1 00 08 	stw     r30,8(r1)                              
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc05c88:	2f 80 00 03 	cmpwi   cr7,r0,3                               
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc05c8c:	93 e1 00 0c 	stw     r31,12(r1)                             
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc05c90:	41 9e 00 1c 	beq-    cr7,ffc05cac <libc_wrapup+0x3c>        <== ALWAYS TAKEN
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
}                                                                     
ffc05c94:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc05c98:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc05c9c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05ca0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc05ca4:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc05ca8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
ffc05cac:	3f e0 00 00 	lis     r31,0                                  
ffc05cb0:	3d 20 00 00 	lis     r9,0                                   
ffc05cb4:	80 1f 27 4c 	lwz     r0,10060(r31)                          
ffc05cb8:	83 c9 27 48 	lwz     r30,10056(r9)                          
ffc05cbc:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc05cc0:	41 9e 00 10 	beq-    cr7,ffc05cd0 <libc_wrapup+0x60>        
      _wrapup_reent(_global_impure_ptr);                              
ffc05cc4:	7f c3 f3 78 	mr      r3,r30                                 
ffc05cc8:	48 00 df a9 	bl      ffc13c70 <_wrapup_reent>               
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
ffc05ccc:	93 df 27 4c 	stw     r30,10060(r31)                         
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
ffc05cd0:	80 7e 00 04 	lwz     r3,4(r30)                              
ffc05cd4:	48 00 d0 15 	bl      ffc12ce8 <fclose>                      
  fclose (stdout);                                                    
ffc05cd8:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc05cdc:	80 69 00 08 	lwz     r3,8(r9)                               
ffc05ce0:	48 00 d0 09 	bl      ffc12ce8 <fclose>                      
  fclose (stderr);                                                    
ffc05ce4:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc05ce8:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc05cec:	48 00 cf fd 	bl      ffc12ce8 <fclose>                      
}                                                                     
ffc05cf0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05cf4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05cf8:	7c 08 03 a6 	mtlr    r0                                     
ffc05cfc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05d00:	38 21 00 10 	addi    r1,r1,16                               
ffc05d04:	4e 80 00 20 	blr                                            
                                                                      

ffc055b8 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
ffc055b8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc055bc:	7c 08 02 a6 	mflr    r0                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc055c0:	3d 20 00 00 	lis     r9,0                                   
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc055c4:	90 01 00 14 	stw     r0,20(r1)                              
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc055c8:	39 29 2a e8 	addi    r9,r9,10984                            
ffc055cc:	81 69 00 04 	lwz     r11,4(r9)                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc055d0:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
ffc055d4:	3b c0 00 00 	li      r30,0                                  
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc055d8:	39 6b 00 01 	addi    r11,r11,1                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc055dc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc055e0:	7c 7f 1b 78 	mr      r31,r3                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc055e4:	91 69 00 04 	stw     r11,4(r9)                              
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc055e8:	4b ff fe 45 	bl      ffc0542c <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
ffc055ec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc055f0:	41 9e 00 74 	beq-    cr7,ffc05664 <malloc+0xac>             
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc055f4:	3d 20 00 00 	lis     r9,0                                   
ffc055f8:	80 09 28 04 	lwz     r0,10244(r9)                           
ffc055fc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc05600:	41 9e 00 80 	beq-    cr7,ffc05680 <malloc+0xc8>             
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
ffc05604:	3d 20 00 00 	lis     r9,0                                   
ffc05608:	80 69 26 ec 	lwz     r3,9964(r9)                            
ffc0560c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05610:	38 a0 00 00 	li      r5,0                                   
ffc05614:	38 c0 00 00 	li      r6,0                                   
ffc05618:	48 00 60 cd 	bl      ffc0b6e4 <_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 ) {                                               
ffc0561c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05620:	41 82 00 8c 	beq-    ffc056ac <malloc+0xf4>                 <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
ffc05624:	3d 20 00 00 	lis     r9,0                                   
ffc05628:	80 09 27 60 	lwz     r0,10080(r9)                           
ffc0562c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05630:	41 9e 00 14 	beq-    cr7,ffc05644 <malloc+0x8c>             
    (*rtems_malloc_dirty_helper)( return_this, size );                
ffc05634:	7f c3 f3 78 	mr      r3,r30                                 
ffc05638:	7c 09 03 a6 	mtctr   r0                                     
ffc0563c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05640:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc05644:	3d 20 00 00 	lis     r9,0                                   
ffc05648:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc0564c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05650:	41 9e 00 14 	beq-    cr7,ffc05664 <malloc+0xac>             
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
ffc05654:	80 09 00 04 	lwz     r0,4(r9)                               
ffc05658:	7f c3 f3 78 	mr      r3,r30                                 
ffc0565c:	7c 09 03 a6 	mtctr   r0                                     
ffc05660:	4e 80 04 21 	bctrl                                          
                                                                      
  return return_this;                                                 
}                                                                     
ffc05664:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05668:	7f c3 f3 78 	mr      r3,r30                                 
ffc0566c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05670:	7c 08 03 a6 	mtlr    r0                                     
ffc05674:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05678:	38 21 00 10 	addi    r1,r1,16                               
ffc0567c:	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() )                                 
ffc05680:	4b ff fd 65 	bl      ffc053e4 <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()) &&                    
ffc05684:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05688:	41 be ff dc 	beq-    cr7,ffc05664 <malloc+0xac>             <== NEVER TAKEN
ffc0568c:	3d 20 00 00 	lis     r9,0                                   
ffc05690:	80 69 26 ec 	lwz     r3,9964(r9)                            
ffc05694:	7f e4 fb 78 	mr      r4,r31                                 
ffc05698:	38 a0 00 00 	li      r5,0                                   
ffc0569c:	38 c0 00 00 	li      r6,0                                   
ffc056a0:	48 00 60 45 	bl      ffc0b6e4 <_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 ) {                                               
ffc056a4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc056a8:	40 82 ff 7c 	bne+    ffc05624 <malloc+0x6c>                 
    if (rtems_malloc_sbrk_helpers)                                    
ffc056ac:	3d 20 00 00 	lis     r9,0                                   
ffc056b0:	81 29 27 64 	lwz     r9,10084(r9)                           
ffc056b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc056b8:	41 9e 00 24 	beq-    cr7,ffc056dc <malloc+0x124>            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
ffc056bc:	80 09 00 04 	lwz     r0,4(r9)                               
ffc056c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc056c4:	7c 09 03 a6 	mtctr   r0                                     
ffc056c8:	4e 80 04 21 	bctrl                                          
    if ( !return_this ) {                                             
ffc056cc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc056d0:	41 82 00 0c 	beq-    ffc056dc <malloc+0x124>                <== ALWAYS TAKEN
ffc056d4:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc056d8:	4b ff ff 4c 	b       ffc05624 <malloc+0x6c>                 <== NOT EXECUTED
      errno = ENOMEM;                                                 
ffc056dc:	48 00 d4 81 	bl      ffc12b5c <__errno>                     
ffc056e0:	38 00 00 0c 	li      r0,12                                  
ffc056e4:	90 03 00 00 	stw     r0,0(r3)                               
      return (void *) 0;                                              
ffc056e8:	4b ff ff 7c 	b       ffc05664 <malloc+0xac>                 
                                                                      

ffc0530c <malloc_sbrk_extend_and_allocate>: * Round to the "requested sbrk amount" so hopefully we won't have * to grow again for a while. This effectively does sbrk() calls * in "page" amounts. */ sbrk_amount = RTEMS_Malloc_Sbrk_amount;
ffc0530c:	3d 20 00 00 	lis     r9,0                                   
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05310:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05314:	7c 08 02 a6 	mflr    r0                                     
   *  Round to the "requested sbrk amount" so hopefully we won't have 
   *  to grow again for a while.  This effectively does sbrk() calls  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
ffc05318:	81 29 27 9c 	lwz     r9,10140(r9)                           
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc0531c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05320:	7c 7d 1b 78 	mr      r29,r3                                 
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc05324:	2f 89 00 00 	cmpwi   cr7,r9,0                               
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05328:	93 c1 00 10 	stw     r30,16(r1)                             
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
ffc0532c:	3b c0 00 00 	li      r30,0                                  
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05330:	90 01 00 1c 	stw     r0,28(r1)                              
ffc05334:	93 81 00 08 	stw     r28,8(r1)                              
ffc05338:	93 e1 00 14 	stw     r31,20(r1)                             
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc0533c:	41 9e 00 64 	beq-    cr7,ffc053a0 <malloc_sbrk_extend_and_allocate+0x94><== NEVER TAKEN
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
ffc05340:	7f e3 4a 14 	add     r31,r3,r9                              
ffc05344:	7f ff 4b 96 	divwu   r31,r31,r9                             
ffc05348:	7f ff 49 d6 	mullw   r31,r31,r9                             
                                                                      
  starting_address = (void *) sbrk(the_size);                         
ffc0534c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05350:	4b ff b0 a5 	bl      ffc003f4 <sbrk>                        
  if ( starting_address == (void*) -1 )                               
ffc05354:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
                                                                      
  starting_address = (void *) sbrk(the_size);                         
ffc05358:	7c 64 1b 78 	mr      r4,r3                                  
  if ( starting_address == (void*) -1 )                               
ffc0535c:	41 9e 00 44 	beq-    cr7,ffc053a0 <malloc_sbrk_extend_and_allocate+0x94>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
ffc05360:	3f 80 00 00 	lis     r28,0                                  
ffc05364:	80 7c 26 cc 	lwz     r3,9932(r28)                           
ffc05368:	7f e5 fb 78 	mr      r5,r31                                 
ffc0536c:	48 00 60 35 	bl      ffc0b3a0 <_Protected_heap_Extend>      
ffc05370:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05374:	41 9e 00 50 	beq-    cr7,ffc053c4 <malloc_sbrk_extend_and_allocate+0xb8>
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
ffc05378:	3d 20 00 00 	lis     r9,0                                   
ffc0537c:	80 7c 26 cc 	lwz     r3,9932(r28)                           
ffc05380:	80 09 2c 28 	lwz     r0,11304(r9)                           
ffc05384:	7f a4 eb 78 	mr      r4,r29                                 
ffc05388:	38 a0 00 00 	li      r5,0                                   
ffc0538c:	7c 1f 02 14 	add     r0,r31,r0                              
ffc05390:	38 c0 00 00 	li      r6,0                                   
ffc05394:	90 09 2c 28 	stw     r0,11304(r9)                           
ffc05398:	48 00 5f 9d 	bl      ffc0b334 <_Protected_heap_Allocate_aligned_with_boundary>
ffc0539c:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
ffc053a0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc053a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc053a8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc053ac:	7c 08 03 a6 	mtlr    r0                                     
ffc053b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc053b4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc053b8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc053bc:	38 21 00 18 	addi    r1,r1,24                               
ffc053c0:	4e 80 00 20 	blr                                            
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
ffc053c4:	7c 7f 00 d0 	neg     r3,r31                                 
ffc053c8:	4b ff b0 2d 	bl      ffc003f4 <sbrk>                        
    errno = ENOMEM;                                                   
ffc053cc:	48 00 d6 e1 	bl      ffc12aac <__errno>                     
ffc053d0:	38 00 00 0c 	li      r0,12                                  
ffc053d4:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc053d8:	4b ff ff c8 	b       ffc053a0 <malloc_sbrk_extend_and_allocate+0x94>
                                                                      

ffc053dc <malloc_sbrk_initialize>: * If the starting address is 0 then we are to attempt to * get length worth of memory using sbrk. Make sure we * align the address that we get back. */ if (!starting_address) {
ffc053dc:	2c 03 00 00 	cmpwi   r3,0                                   
                                                                      
void *malloc_sbrk_initialize(                                         
  void  *starting_address,                                            
  size_t length                                                       
)                                                                     
{                                                                     
ffc053e0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc053e4:	7c 08 02 a6 	mflr    r0                                     
  uintptr_t     old_address;                                          
  uintptr_t     uaddress;                                             
                                                                      
  RTEMS_Malloc_Sbrk_amount = length;                                  
ffc053e8:	3d 20 00 00 	lis     r9,0                                   
ffc053ec:	90 89 27 9c 	stw     r4,10140(r9)                           
                                                                      
void *malloc_sbrk_initialize(                                         
  void  *starting_address,                                            
  size_t length                                                       
)                                                                     
{                                                                     
ffc053f0:	90 01 00 0c 	stw     r0,12(r1)                              
   * If the starting address is 0 then we are to attempt to           
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
ffc053f4:	41 82 00 14 	beq-    ffc05408 <malloc_sbrk_initialize+0x2c> 
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
  }                                                                   
  return starting_address;                                            
}                                                                     
ffc053f8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc053fc:	38 21 00 08 	addi    r1,r1,8                                
ffc05400:	7c 08 03 a6 	mtlr    r0                                     
ffc05404:	4e 80 00 20 	blr                                            
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
    uaddress = (uintptr_t)sbrk(length);                               
ffc05408:	7c 83 23 78 	mr      r3,r4                                  
ffc0540c:	4b ff af e9 	bl      ffc003f4 <sbrk>                        
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
ffc05410:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc05414:	41 9e 00 18 	beq-    cr7,ffc0542c <malloc_sbrk_initialize+0x50><== ALWAYS TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
      /* DOES NOT RETURN!!! */                                        
    }                                                                 
                                                                      
    if (uaddress & (CPU_HEAP_ALIGNMENT-1)) {                          
ffc05418:	70 60 00 07 	andi.   r0,r3,7                                <== NOT EXECUTED
ffc0541c:	41 a2 ff dc 	beq-    ffc053f8 <malloc_sbrk_initialize+0x1c> <== NOT EXECUTED
      old_address = uaddress;                                         
      uaddress = (uaddress + CPU_HEAP_ALIGNMENT) & ~(CPU_HEAP_ALIGNMENT-1);
ffc05420:	38 63 00 08 	addi    r3,r3,8                                <== NOT EXECUTED
ffc05424:	54 63 00 38 	rlwinm  r3,r3,0,0,28                           <== NOT EXECUTED
ffc05428:	4b ff ff d0 	b       ffc053f8 <malloc_sbrk_initialize+0x1c> <== NOT EXECUTED
                                                                      
  if (!starting_address) {                                            
    uaddress = (uintptr_t)sbrk(length);                               
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
ffc0542c:	38 60 00 1a 	li      r3,26                                  
ffc05430:	48 00 45 5d 	bl      ffc0998c <rtems_fatal_error_occurred>  
                                                                      

ffc112cc <memfile_free_blocks_in_table>: */ void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
ffc112cc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc112d0:	7c 08 02 a6 	mflr    r0                                     
ffc112d4:	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++ ) {                                     
ffc112d8:	7c 9d 23 79 	mr.     r29,r4                                 
 */                                                                   
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
ffc112dc:	90 01 00 24 	stw     r0,36(r1)                              
ffc112e0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc112e4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc112e8:	93 81 00 10 	stw     r28,16(r1)                             
ffc112ec:	93 c1 00 18 	stw     r30,24(r1)                             
ffc112f0:	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;                                                   
ffc112f4:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc112f8:	40 81 00 34 	ble-    ffc1132c <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.                          
 */                                                                   
void memfile_free_blocks_in_table(                                    
ffc112fc:	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++ ) {                                     
ffc11300:	3b e0 00 00 	li      r31,0                                  
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
ffc11304:	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] ) {                                                     
ffc11308:	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++ ) {                                     
ffc1130c:	3b ff 00 01 	addi    r31,r31,1                              
    if ( b[i] ) {                                                     
ffc11310:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11314:	41 9e 00 0c 	beq-    cr7,ffc11320 <memfile_free_blocks_in_table+0x54>
      memfile_free_block( b[i] );                                     
ffc11318:	4b ff ff 85 	bl      ffc1129c <memfile_free_block>          
      b[i] = 0;                                                       
ffc1131c:	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++ ) {                                     
ffc11320:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc11324:	40 9e ff e4 	bne+    cr7,ffc11308 <memfile_free_blocks_in_table+0x3c>
ffc11328:	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 );                                 
ffc1132c:	4b ff ff 71 	bl      ffc1129c <memfile_free_block>          
  *block_table = 0;                                                   
ffc11330:	38 00 00 00 	li      r0,0                                   
ffc11334:	90 1b 00 00 	stw     r0,0(r27)                              
}                                                                     
ffc11338:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1133c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc11340:	7c 08 03 a6 	mtlr    r0                                     
ffc11344:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11348:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1134c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc11350:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11354:	38 21 00 20 	addi    r1,r1,32                               
ffc11358:	4e 80 00 20 	blr                                            
                                                                      

ffc11ad4 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
ffc11ad4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11ad8:	7c 08 02 a6 	mflr    r0                                     
ffc11adc:	7c 69 1b 78 	mr      r9,r3                                  
ffc11ae0:	90 01 00 24 	stw     r0,36(r1)                              
ffc11ae4:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11ae8:	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 )                           
ffc11aec:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc11af0:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc11af4:	41 9c 00 50 	blt-    cr7,ffc11b44 <memfile_ftruncate+0x70>  <== NEVER TAKEN
ffc11af8:	41 9e 00 40 	beq-    cr7,ffc11b38 <memfile_ftruncate+0x64>  
  /*                                                                  
   *  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;                                 
ffc11afc:	90 bf 00 50 	stw     r5,80(r31)                             
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11b00:	38 61 00 08 	addi    r3,r1,8                                
ffc11b04:	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;                                 
ffc11b08:	90 df 00 54 	stw     r6,84(r31)                             
  iop->size = the_jnode->info.file.size;                              
ffc11b0c:	90 a9 00 08 	stw     r5,8(r9)                               
ffc11b10:	90 c9 00 0c 	stw     r6,12(r9)                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11b14:	4b ff 37 51 	bl      ffc05264 <gettimeofday>                
ffc11b18:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc11b1c:	38 60 00 00 	li      r3,0                                   
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11b20:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc11b24:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11b28:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11b2c:	38 21 00 20 	addi    r1,r1,32                               
ffc11b30:	7c 08 03 a6 	mtlr    r0                                     
ffc11b34:	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 )                           
ffc11b38:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc11b3c:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc11b40:	40 9c ff bc 	bge+    cr7,ffc11afc <memfile_ftruncate+0x28>  
    return IMFS_memfile_extend( the_jnode, length );                  
ffc11b44:	7f e3 fb 78 	mr      r3,r31                                 
ffc11b48:	4b ff f9 fd 	bl      ffc11544 <IMFS_memfile_extend>         
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
ffc11b4c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11b50:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11b54:	38 21 00 20 	addi    r1,r1,32                               
ffc11b58:	7c 08 03 a6 	mtlr    r0                                     
ffc11b5c:	4e 80 00 20 	blr                                            
                                                                      

ffc11b60 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc11b60:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11b64:	7c 08 02 a6 	mflr    r0                                     
ffc11b68:	90 01 00 14 	stw     r0,20(r1)                              
ffc11b6c:	93 c1 00 08 	stw     r30,8(r1)                              
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11b70:	83 c3 00 1c 	lwz     r30,28(r3)                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
ffc11b74:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11b78:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc11b7c:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc11b80:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc11b84:	41 9e 00 54 	beq-    cr7,ffc11bd8 <memfile_lseek+0x78>      
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
ffc11b88:	80 a3 00 10 	lwz     r5,16(r3)                              
ffc11b8c:	80 c3 00 14 	lwz     r6,20(r3)                              
ffc11b90:	7f c3 f3 78 	mr      r3,r30                                 
ffc11b94:	4b ff f9 b1 	bl      ffc11544 <IMFS_memfile_extend>         
ffc11b98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11b9c:	40 9e 00 90 	bne-    cr7,ffc11c2c <memfile_lseek+0xcc>      
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
ffc11ba0:	81 1e 00 50 	lwz     r8,80(r30)                             
ffc11ba4:	81 3e 00 54 	lwz     r9,84(r30)                             
ffc11ba8:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc11bac:	81 7f 00 14 	lwz     r11,20(r31)                            
ffc11bb0:	91 1f 00 08 	stw     r8,8(r31)                              
ffc11bb4:	91 3f 00 0c 	stw     r9,12(r31)                             
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11bb8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11bbc:	7d 43 53 78 	mr      r3,r10                                 
ffc11bc0:	7d 64 5b 78 	mr      r4,r11                                 
ffc11bc4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11bc8:	7c 08 03 a6 	mtlr    r0                                     
ffc11bcc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11bd0:	38 21 00 10 	addi    r1,r1,16                               
ffc11bd4:	4e 80 00 20 	blr                                            
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
ffc11bd8:	81 43 00 10 	lwz     r10,16(r3)                             
ffc11bdc:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc11be0:	81 63 00 14 	lwz     r11,20(r3)                             
ffc11be4:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc11be8:	81 3e 00 54 	lwz     r9,84(r30)                             
ffc11bec:	41 9d 00 10 	bgt-    cr7,ffc11bfc <memfile_lseek+0x9c>      <== NEVER TAKEN
ffc11bf0:	40 be ff c8 	bne-    cr7,ffc11bb8 <memfile_lseek+0x58>      <== NEVER TAKEN
ffc11bf4:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc11bf8:	40 bd ff c0 	ble-    cr7,ffc11bb8 <memfile_lseek+0x58>      <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
ffc11bfc:	7c 0a 03 78 	mr      r10,r0                                 <== NOT EXECUTED
ffc11c00:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc11c04:	7d 2b 4b 78 	mr      r11,r9                                 <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11c08:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11c0c:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
ffc11c10:	91 3f 00 14 	stw     r9,20(r31)                             <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11c14:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc11c18:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11c1c:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc11c20:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11c24:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11c28:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc11c2c:	48 00 0f 31 	bl      ffc12b5c <__errno>                     
ffc11c30:	38 00 00 1c 	li      r0,28                                  
ffc11c34:	90 03 00 00 	stw     r0,0(r3)                               
ffc11c38:	39 40 ff ff 	li      r10,-1                                 
ffc11c3c:	39 60 ff ff 	li      r11,-1                                 
ffc11c40:	4b ff ff 78 	b       ffc11bb8 <memfile_lseek+0x58>          
                                                                      

ffc119f4 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
ffc119f4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc119f8:	7c 08 02 a6 	mflr    r0                                     
ffc119fc:	90 01 00 14 	stw     r0,20(r1)                              
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc11a00:	80 03 00 18 	lwz     r0,24(r3)                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc11a04:	93 c1 00 08 	stw     r30,8(r1)                              
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc11a08:	70 09 02 04 	andi.   r9,r0,516                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc11a0c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11a10:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11a14:	83 c3 00 1c 	lwz     r30,28(r3)                             
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc11a18:	41 82 00 10 	beq-    ffc11a28 <memfile_open+0x34>           
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
ffc11a1c:	81 3e 00 4c 	lwz     r9,76(r30)                             
ffc11a20:	2f 89 00 06 	cmpwi   cr7,r9,6                               
ffc11a24:	41 9e 00 4c 	beq-    cr7,ffc11a70 <memfile_open+0x7c>       <== NEVER TAKEN
    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))      
ffc11a28:	81 5e 00 50 	lwz     r10,80(r30)                            
ffc11a2c:	81 7e 00 54 	lwz     r11,84(r30)                            
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
ffc11a30:	70 09 02 00 	andi.   r9,r0,512                              
ffc11a34:	40 82 00 28 	bne-    ffc11a5c <memfile_open+0x68>           
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc11a38:	91 5f 00 08 	stw     r10,8(r31)                             
  return 0;                                                           
ffc11a3c:	38 60 00 00 	li      r3,0                                   
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc11a40:	91 7f 00 0c 	stw     r11,12(r31)                            
  return 0;                                                           
}                                                                     
ffc11a44:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11a48:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11a4c:	7c 08 03 a6 	mtlr    r0                                     
ffc11a50:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11a54:	38 21 00 10 	addi    r1,r1,16                               
ffc11a58:	4e 80 00 20 	blr                                            
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
ffc11a5c:	91 5f 00 10 	stw     r10,16(r31)                            
ffc11a60:	91 7f 00 14 	stw     r11,20(r31)                            
ffc11a64:	81 5e 00 50 	lwz     r10,80(r30)                            
ffc11a68:	81 7e 00 54 	lwz     r11,84(r30)                            
ffc11a6c:	4b ff ff cc 	b       ffc11a38 <memfile_open+0x44>           
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
ffc11a70:	81 1e 00 54 	lwz     r8,84(r30)                             <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
ffc11a74:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
ffc11a78:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
ffc11a7c:	80 fe 00 58 	lwz     r7,88(r30)                             <== NOT EXECUTED
    the_jnode->type = IMFS_MEMORY_FILE;                               
    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)                                                  
ffc11a80:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
ffc11a84:	91 3e 00 4c 	stw     r9,76(r30)                             <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
ffc11a88:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc11a8c:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc11a90:	91 5e 00 50 	stw     r10,80(r30)                            <== NOT EXECUTED
ffc11a94:	91 7e 00 54 	stw     r11,84(r30)                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
ffc11a98:	90 1e 00 58 	stw     r0,88(r30)                             <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
ffc11a9c:	90 1e 00 5c 	stw     r0,92(r30)                             <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
ffc11aa0:	90 1e 00 60 	stw     r0,96(r30)                             <== NOT EXECUTED
    if ((count != 0)                                                  
ffc11aa4:	40 9e 00 0c 	bne-    cr7,ffc11ab0 <memfile_open+0xbc>       <== NOT EXECUTED
ffc11aa8:	80 03 00 18 	lwz     r0,24(r3)                              <== NOT EXECUTED
ffc11aac:	4b ff ff 84 	b       ffc11a30 <memfile_open+0x3c>           <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc11ab0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11ab4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc11ab8:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc11abc:	4b ff fc 85 	bl      ffc11740 <IMFS_memfile_write>          <== NOT EXECUTED
ffc11ac0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
        return -1;                                                    
ffc11ac4:	38 60 ff ff 	li      r3,-1                                  <== 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))      
ffc11ac8:	41 be ff 7c 	beq-    cr7,ffc11a44 <memfile_open+0x50>       <== NOT EXECUTED
ffc11acc:	80 1f 00 18 	lwz     r0,24(r31)                             <== NOT EXECUTED
ffc11ad0:	4b ff ff 58 	b       ffc11a28 <memfile_open+0x34>           <== NOT EXECUTED
                                                                      

ffc05718 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
ffc05718:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0571c:	7c 08 02 a6 	mflr    r0                                     
ffc05720:	90 01 00 3c 	stw     r0,60(r1)                              
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
ffc05724:	54 80 04 26 	rlwinm  r0,r4,0,16,19                          
ffc05728:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
ffc0572c:	93 81 00 28 	stw     r28,40(r1)                             
ffc05730:	7c bc 2b 78 	mr      r28,r5                                 
ffc05734:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc05738:	7c dd 33 78 	mr      r29,r6                                 
ffc0573c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc05740:	7c 9e 23 78 	mr      r30,r4                                 
ffc05744:	93 e1 00 34 	stw     r31,52(r1)                             
ffc05748:	7c 7f 1b 78 	mr      r31,r3                                 
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
ffc0574c:	41 9e 00 44 	beq-    cr7,ffc05790 <mknod+0x78>              
ffc05750:	2b 80 40 00 	cmplwi  cr7,r0,16384                           
ffc05754:	40 9d 00 2c 	ble-    cr7,ffc05780 <mknod+0x68>              
ffc05758:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc0575c:	41 9e 00 34 	beq-    cr7,ffc05790 <mknod+0x78>              
ffc05760:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc05764:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
ffc05768:	41 9e 00 28 	beq-    cr7,ffc05790 <mknod+0x78>              <== ALWAYS TAKEN
    case S_IFBLK:                                                     
    case S_IFREG:                                                     
    case S_IFIFO:                                                     
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc0576c:	48 00 d3 f1 	bl      ffc12b5c <__errno>                     
ffc05770:	38 00 00 16 	li      r0,22                                  
ffc05774:	90 03 00 00 	stw     r0,0(r3)                               
ffc05778:	3b e0 ff ff 	li      r31,-1                                 
ffc0577c:	48 00 00 80 	b       ffc057fc <mknod+0xe4>                  
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
ffc05780:	2f 80 10 00 	cmpwi   cr7,r0,4096                            
ffc05784:	41 9e 00 0c 	beq-    cr7,ffc05790 <mknod+0x78>              
ffc05788:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc0578c:	40 9e ff e0 	bne+    cr7,ffc0576c <mknod+0x54>              
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
ffc05790:	7f e3 fb 78 	mr      r3,r31                                 
ffc05794:	38 81 00 0c 	addi    r4,r1,12                               
ffc05798:	38 a1 00 10 	addi    r5,r1,16                               
ffc0579c:	48 00 0c 95 	bl      ffc06430 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
ffc057a0:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc057a4:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc057a8:	38 81 00 10 	addi    r4,r1,16                               
ffc057ac:	80 09 00 04 	lwz     r0,4(r9)                               
ffc057b0:	38 a1 00 08 	addi    r5,r1,8                                
ffc057b4:	7c 7f 1a 14 	add     r3,r31,r3                              
ffc057b8:	7c 09 03 a6 	mtctr   r0                                     
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
ffc057bc:	3b e0 ff ff 	li      r31,-1                                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
ffc057c0:	4e 80 04 21 	bctrl                                          
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
ffc057c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057c8:	40 9e 00 34 	bne-    cr7,ffc057fc <mknod+0xe4>              
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
ffc057cc:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc057d0:	7f c4 f3 78 	mr      r4,r30                                 
ffc057d4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc057d8:	7f 85 e3 78 	mr      r5,r28                                 
ffc057dc:	80 09 00 14 	lwz     r0,20(r9)                              
ffc057e0:	7f a6 eb 78 	mr      r6,r29                                 
ffc057e4:	38 e1 00 10 	addi    r7,r1,16                               
ffc057e8:	7c 09 03 a6 	mtctr   r0                                     
ffc057ec:	4e 80 04 21 	bctrl                                          
ffc057f0:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
ffc057f4:	38 61 00 10 	addi    r3,r1,16                               
ffc057f8:	4b ff f9 79 	bl      ffc05170 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc057fc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc05800:	7f e3 fb 78 	mr      r3,r31                                 
ffc05804:	83 81 00 28 	lwz     r28,40(r1)                             
ffc05808:	7c 08 03 a6 	mtlr    r0                                     
ffc0580c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc05810:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc05814:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc05818:	38 21 00 38 	addi    r1,r1,56                               
ffc0581c:	4e 80 00 20 	blr                                            
                                                                      

ffc058ec <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc058ec:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc058f0:	2b 86 00 01 	cmplwi  cr7,r6,1                               
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
ffc058f4:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc058f8:	7c 08 02 a6 	mflr    r0                                     
ffc058fc:	93 01 00 40 	stw     r24,64(r1)                             
ffc05900:	7c b8 2b 78 	mr      r24,r5                                 
ffc05904:	93 41 00 48 	stw     r26,72(r1)                             
ffc05908:	7c da 33 78 	mr      r26,r6                                 
ffc0590c:	93 61 00 4c 	stw     r27,76(r1)                             
ffc05910:	7c 7b 1b 78 	mr      r27,r3                                 
ffc05914:	93 81 00 50 	stw     r28,80(r1)                             
ffc05918:	7c 9c 23 78 	mr      r28,r4                                 
ffc0591c:	93 c1 00 58 	stw     r30,88(r1)                             
ffc05920:	7c fe 3b 78 	mr      r30,r7                                 
ffc05924:	90 01 00 64 	stw     r0,100(r1)                             
ffc05928:	92 61 00 2c 	stw     r19,44(r1)                             
ffc0592c:	92 81 00 30 	stw     r20,48(r1)                             
ffc05930:	92 a1 00 34 	stw     r21,52(r1)                             
ffc05934:	92 c1 00 38 	stw     r22,56(r1)                             
ffc05938:	92 e1 00 3c 	stw     r23,60(r1)                             
ffc0593c:	93 21 00 44 	stw     r25,68(r1)                             
ffc05940:	93 a1 00 54 	stw     r29,84(r1)                             
ffc05944:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc05948:	91 81 00 28 	stw     r12,40(r1)                             
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc0594c:	41 9d 02 38 	bgt-    cr7,ffc05b84 <mount+0x298>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
ffc05950:	7c a3 2b 78 	mr      r3,r5                                  
ffc05954:	48 00 9f 35 	bl      ffc0f888 <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
ffc05958:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0595c:	41 82 02 28 	beq-    ffc05b84 <mount+0x298>                 
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  bool has_target = target != NULL;                                   
ffc05960:	7f 80 00 34 	cntlzw  r0,r28                                 
ffc05964:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc05968:	68 00 00 01 	xori    r0,r0,1                                
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc0596c:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc05970:	41 92 02 00 	beq-    cr4,ffc05b70 <mount+0x284>             
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
ffc05974:	7f 83 e3 78 	mr      r3,r28                                 
ffc05978:	48 00 eb 11 	bl      ffc14488 <strlen>                      
ffc0597c:	7f 93 e3 78 	mr      r19,r28                                
ffc05980:	7c 74 1b 78 	mr      r20,r3                                 
ffc05984:	3a c3 00 01 	addi    r22,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;          
ffc05988:	7f 03 c3 78 	mr      r3,r24                                 
ffc0598c:	48 00 ea fd 	bl      ffc14488 <strlen>                      
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05990:	2f 9b 00 00 	cmpwi   cr7,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;          
ffc05994:	7c 75 1b 78 	mr      r21,r3                                 
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05998:	3b 20 00 00 	li      r25,0                                  
ffc0599c:	41 9e 00 10 	beq-    cr7,ffc059ac <mount+0xc0>              
ffc059a0:	7f 63 db 78 	mr      r3,r27                                 
ffc059a4:	48 00 ea e5 	bl      ffc14488 <strlen>                      
ffc059a8:	3b 23 00 01 	addi    r25,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;                
ffc059ac:	7c 95 b2 14 	add     r4,r21,r22                             
ffc059b0:	38 84 00 75 	addi    r4,r4,117                              
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
ffc059b4:	38 60 00 01 	li      r3,1                                   
ffc059b8:	7c 84 ca 14 	add     r4,r4,r25                              
ffc059bc:	4b ff f1 dd 	bl      ffc04b98 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc059c0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc059c4:	41 82 01 98 	beq-    ffc05b5c <mount+0x270>                 <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
ffc059c8:	3a ff 00 74 	addi    r23,r31,116                            
  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;          
ffc059cc:	3a b5 00 01 	addi    r21,r21,1                              
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
ffc059d0:	7f 04 c3 78 	mr      r4,r24                                 
ffc059d4:	7e a5 ab 78 	mr      r5,r21                                 
ffc059d8:	7e e3 bb 78 	mr      r3,r23                                 
ffc059dc:	48 00 de bd 	bl      ffc13898 <memcpy>                      
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
ffc059e0:	7f 17 aa 14 	add     r24,r23,r21                            
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
ffc059e4:	92 ff 00 6c 	stw     r23,108(r31)                           
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
ffc059e8:	7f 25 cb 78 	mr      r5,r25                                 
ffc059ec:	7f 64 db 78 	mr      r4,r27                                 
ffc059f0:	7f 03 c3 78 	mr      r3,r24                                 
ffc059f4:	48 00 de a5 	bl      ffc13898 <memcpy>                      
    mt_entry->dev = str;                                              
    str += source_size;                                               
ffc059f8:	7f 38 ca 14 	add     r25,r24,r25                            
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
ffc059fc:	93 1f 00 70 	stw     r24,112(r31)                           
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
ffc05a00:	7e 64 9b 78 	mr      r4,r19                                 
ffc05a04:	7e c5 b3 78 	mr      r5,r22                                 
ffc05a08:	7f 23 cb 78 	mr      r3,r25                                 
ffc05a0c:	48 00 de 8d 	bl      ffc13898 <memcpy>                      
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05a10:	3c 80 ff c2 	lis     r4,-62                                 
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
ffc05a14:	93 3f 00 68 	stw     r25,104(r31)                           
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05a18:	38 7f 00 38 	addi    r3,r31,56                              
ffc05a1c:	38 84 f4 10 	addi    r4,r4,-3056                            
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
ffc05a20:	93 ff 00 2c 	stw     r31,44(r31)                            
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05a24:	38 a0 00 30 	li      r5,48                                  
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
ffc05a28:	93 5f 00 30 	stw     r26,48(r31)                            
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05a2c:	48 00 de 6d 	bl      ffc13898 <memcpy>                      
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
ffc05a30:	40 92 00 80 	bne-    cr4,ffc05ab0 <mount+0x1c4>             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc05a34:	3d 20 00 00 	lis     r9,0                                   
ffc05a38:	39 69 21 a4 	addi    r11,r9,8612                            
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc05a3c:	81 29 21 a4 	lwz     r9,8612(r9)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc05a40:	38 0b 00 04 	addi    r0,r11,4                               
ffc05a44:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc05a48:	41 9e 00 c0 	beq-    cr7,ffc05b08 <mount+0x21c>             <== ALWAYS TAKEN
      errno = EINVAL;                                                 
ffc05a4c:	48 00 d1 11 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc05a50:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc05a54:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc05a58:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc05a5c:	4b ff f7 41 	bl      ffc0519c <free>                        <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc05a60:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
}                                                                     
ffc05a64:	80 01 00 64 	lwz     r0,100(r1)                             
ffc05a68:	81 81 00 28 	lwz     r12,40(r1)                             
ffc05a6c:	7c 08 03 a6 	mtlr    r0                                     
ffc05a70:	82 61 00 2c 	lwz     r19,44(r1)                             
ffc05a74:	82 81 00 30 	lwz     r20,48(r1)                             
ffc05a78:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05a7c:	82 a1 00 34 	lwz     r21,52(r1)                             
ffc05a80:	82 c1 00 38 	lwz     r22,56(r1)                             
ffc05a84:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc05a88:	83 01 00 40 	lwz     r24,64(r1)                             
ffc05a8c:	83 21 00 44 	lwz     r25,68(r1)                             
ffc05a90:	83 41 00 48 	lwz     r26,72(r1)                             
ffc05a94:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc05a98:	83 81 00 50 	lwz     r28,80(r1)                             
ffc05a9c:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc05aa0:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc05aa4:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc05aa8:	38 21 00 60 	addi    r1,r1,96                               
ffc05aac:	4e 80 00 20 	blr                                            
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
ffc05ab0:	7f 83 e3 78 	mr      r3,r28                                 
ffc05ab4:	7e 84 a3 78 	mr      r4,r20                                 
ffc05ab8:	38 a0 00 07 	li      r5,7                                   
ffc05abc:	38 c1 00 08 	addi    r6,r1,8                                
ffc05ac0:	38 e0 00 01 	li      r7,1                                   
ffc05ac4:	4b ff f5 51 	bl      ffc05014 <rtems_filesystem_evaluate_path>
ffc05ac8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc05acc:	41 be ff 8c 	beq-    cr7,ffc05a58 <mount+0x16c>             <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc05ad0:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05ad4:	38 61 00 08 	addi    r3,r1,8                                
ffc05ad8:	80 09 00 10 	lwz     r0,16(r9)                              
ffc05adc:	7c 09 03 a6 	mtctr   r0                                     
ffc05ae0:	4e 80 04 21 	bctrl                                          
ffc05ae4:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc05ae8:	41 9e 01 20 	beq-    cr7,ffc05c08 <mount+0x31c>             
      errno = ENOTDIR;                                                
ffc05aec:	48 00 d0 71 	bl      ffc12b5c <__errno>                     
ffc05af0:	38 00 00 14 	li      r0,20                                  
ffc05af4:	90 03 00 00 	stw     r0,0(r3)                               
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc05af8:	7f e3 fb 78 	mr      r3,r31                                 
ffc05afc:	4b ff f6 a1 	bl      ffc0519c <free>                        
ffc05b00:	3b 81 00 08 	addi    r28,r1,8                               
ffc05b04:	48 00 00 48 	b       ffc05b4c <mount+0x260>                 
)                                                                     
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
ffc05b08:	3b 80 00 00 	li      r28,0                                  
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
ffc05b0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b10:	7f a9 03 a6 	mtctr   r29                                    
ffc05b14:	7f c4 f3 78 	mr      r4,r30                                 
ffc05b18:	4e 80 04 21 	bctrl                                          
ffc05b1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05b20:	41 9e 00 78 	beq-    cr7,ffc05b98 <mount+0x2ac>             
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
ffc05b24:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05b28:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b2c:	80 09 00 28 	lwz     r0,40(r9)                              
ffc05b30:	7c 09 03 a6 	mtctr   r0                                     
ffc05b34:	4e 80 04 21 	bctrl                                          
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc05b38:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b3c:	4b ff f6 61 	bl      ffc0519c <free>                        
                                                                      
  if ( loc_to_free )                                                  
ffc05b40:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc05b44:	38 60 ff ff 	li      r3,-1                                  
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
ffc05b48:	41 be ff 1c 	beq-    cr7,ffc05a64 <mount+0x178>             <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
ffc05b4c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05b50:	4b ff f6 21 	bl      ffc05170 <rtems_filesystem_freenode>   
                                                                      
  return -1;                                                          
ffc05b54:	38 60 ff ff 	li      r3,-1                                  
ffc05b58:	4b ff ff 0c 	b       ffc05a64 <mount+0x178>                 
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
ffc05b5c:	48 00 d0 01 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc05b60:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc05b64:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc05b68:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc05b6c:	4b ff fe f8 	b       ffc05a64 <mount+0x178>                 <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc05b70:	3e 60 ff c2 	lis     r19,-62                                
ffc05b74:	3a c0 00 02 	li      r22,2                                  
ffc05b78:	3a 80 00 01 	li      r20,1                                  
ffc05b7c:	3a 73 ef 20 	addi    r19,r19,-4320                          
ffc05b80:	4b ff fe 08 	b       ffc05988 <mount+0x9c>                  
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc05b84:	48 00 cf d9 	bl      ffc12b5c <__errno>                     
ffc05b88:	38 00 00 16 	li      r0,22                                  
ffc05b8c:	90 03 00 00 	stw     r0,0(r3)                               
ffc05b90:	38 60 ff ff 	li      r3,-1                                  
ffc05b94:	4b ff fe d0 	b       ffc05a64 <mount+0x178>                 
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc05b98:	3f c0 00 00 	lis     r30,0                                  
ffc05b9c:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc05ba0:	38 80 00 00 	li      r4,0                                   
ffc05ba4:	38 a0 00 00 	li      r5,0                                   
ffc05ba8:	48 00 38 31 	bl      ffc093d8 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
ffc05bac:	3c 60 00 00 	lis     r3,0                                   
ffc05bb0:	38 63 21 a4 	addi    r3,r3,8612                             
ffc05bb4:	7f e4 fb 78 	mr      r4,r31                                 
ffc05bb8:	48 00 45 d9 	bl      ffc0a190 <_Chain_Append>               
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc05bbc:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc05bc0:	48 00 39 a5 	bl      ffc09564 <rtems_semaphore_release>     
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
ffc05bc4:	40 92 00 3c 	bne-    cr4,ffc05c00 <mount+0x314>             
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc05bc8:	3d 20 00 00 	lis     r9,0                                   
ffc05bcc:	80 ff 00 1c 	lwz     r7,28(r31)                             
ffc05bd0:	81 29 27 3c 	lwz     r9,10044(r9)                           
                                                                      
  return 0;                                                           
ffc05bd4:	38 60 00 00 	li      r3,0                                   
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc05bd8:	81 1f 00 20 	lwz     r8,32(r31)                             
ffc05bdc:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc05be0:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc05be4:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc05be8:	90 e9 00 18 	stw     r7,24(r9)                              
ffc05bec:	91 09 00 1c 	stw     r8,28(r9)                              
ffc05bf0:	91 49 00 20 	stw     r10,32(r9)                             
ffc05bf4:	91 69 00 24 	stw     r11,36(r9)                             
ffc05bf8:	90 09 00 28 	stw     r0,40(r9)                              
ffc05bfc:	4b ff fe 68 	b       ffc05a64 <mount+0x178>                 
                                                                      
  return 0;                                                           
ffc05c00:	38 60 00 00 	li      r3,0                                   
ffc05c04:	4b ff fe 60 	b       ffc05a64 <mount+0x178>                 
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
ffc05c08:	80 81 00 08 	lwz     r4,8(r1)                               
ffc05c0c:	3c 60 ff c0 	lis     r3,-64                                 
ffc05c10:	38 63 58 20 	addi    r3,r3,22560                            
ffc05c14:	4b ff fc 21 	bl      ffc05834 <rtems_filesystem_mount_iterate>
ffc05c18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05c1c:	41 9e 00 14 	beq-    cr7,ffc05c30 <mount+0x344>             
      errno = EBUSY;                                                  
ffc05c20:	48 00 cf 3d 	bl      ffc12b5c <__errno>                     
ffc05c24:	38 00 00 10 	li      r0,16                                  
ffc05c28:	90 03 00 00 	stw     r0,0(r3)                               
      goto cleanup_and_bail;                                          
ffc05c2c:	4b ff fe cc 	b       ffc05af8 <mount+0x20c>                 
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
ffc05c30:	80 01 00 08 	lwz     r0,8(r1)                               
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
ffc05c34:	7f e3 fb 78 	mr      r3,r31                                 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc05c38:	81 21 00 14 	lwz     r9,20(r1)                              
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
           target, target_length, RTEMS_LIBIO_PERMS_RWX, &loc, true ) == -1 )
      goto cleanup_and_bail;                                          
                                                                      
    loc_to_free = &loc;                                               
ffc05c3c:	3b 81 00 08 	addi    r28,r1,8                               
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
ffc05c40:	90 1f 00 08 	stw     r0,8(r31)                              
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc05c44:	80 01 00 10 	lwz     r0,16(r1)                              
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc05c48:	91 3f 00 14 	stw     r9,20(r31)                             
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc05c4c:	90 1f 00 10 	stw     r0,16(r31)                             
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
ffc05c50:	80 01 00 18 	lwz     r0,24(r1)                              
ffc05c54:	90 1f 00 18 	stw     r0,24(r31)                             
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
ffc05c58:	80 09 00 20 	lwz     r0,32(r9)                              
ffc05c5c:	7c 09 03 a6 	mtctr   r0                                     
ffc05c60:	4e 80 04 21 	bctrl                                          
ffc05c64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05c68:	41 be fe a4 	beq-    cr7,ffc05b0c <mount+0x220>             <== ALWAYS TAKEN
ffc05c6c:	4b ff fe 8c 	b       ffc05af8 <mount+0x20c>                 <== NOT EXECUTED
                                                                      

ffc05758 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc05758:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0575c:	7c 08 02 a6 	mflr    r0                                     
ffc05760:	93 e1 00 1c 	stw     r31,28(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc05764:	7c 9f 23 79 	mr.     r31,r4                                 
  const char *target,                                                 
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
ffc05768:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0576c:	7c bb 2b 78 	mr      r27,r5                                 
ffc05770:	93 81 00 10 	stw     r28,16(r1)                             
ffc05774:	7c dc 33 78 	mr      r28,r6                                 
ffc05778:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0577c:	7c fd 3b 78 	mr      r29,r7                                 
ffc05780:	93 c1 00 18 	stw     r30,24(r1)                             
ffc05784:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05788:	90 01 00 24 	stw     r0,36(r1)                              
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc0578c:	41 82 00 78 	beq-    ffc05804 <mount_and_make_target_path+0xac>
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
ffc05790:	7f e3 fb 78 	mr      r3,r31                                 
ffc05794:	38 80 01 ff 	li      r4,511                                 
ffc05798:	48 00 0b d9 	bl      ffc06370 <rtems_mkdir>                 
    if (rv == 0) {                                                    
ffc0579c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc057a0:	41 82 00 28 	beq-    ffc057c8 <mount_and_make_target_path+0x70><== ALWAYS TAKEN
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc057a4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc057a8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc057ac:	7c 08 03 a6 	mtlr    r0                                     
ffc057b0:	83 81 00 10 	lwz     r28,16(r1)                             
ffc057b4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc057b8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc057bc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc057c0:	38 21 00 20 	addi    r1,r1,32                               
ffc057c4:	4e 80 00 20 	blr                                            
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc057c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc057cc:	7f e4 fb 78 	mr      r4,r31                                 
ffc057d0:	7f 65 db 78 	mr      r5,r27                                 
ffc057d4:	7f 86 e3 78 	mr      r6,r28                                 
ffc057d8:	7f a7 eb 78 	mr      r7,r29                                 
ffc057dc:	48 00 01 09 	bl      ffc058e4 <mount>                       
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc057e0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc057e4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc057e8:	7c 08 03 a6 	mtlr    r0                                     
ffc057ec:	83 81 00 10 	lwz     r28,16(r1)                             
ffc057f0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc057f4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc057f8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc057fc:	38 21 00 20 	addi    r1,r1,32                               
ffc05800:	4e 80 00 20 	blr                                            
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc05804:	48 00 ce f1 	bl      ffc126f4 <__errno>                     
ffc05808:	38 00 00 16 	li      r0,22                                  
ffc0580c:	90 03 00 00 	stw     r0,0(r3)                               
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
ffc05810:	38 60 ff ff 	li      r3,-1                                  
ffc05814:	4b ff ff 90 	b       ffc057a4 <mount_and_make_target_path+0x4c>
                                                                      

ffc1d8a8 <msdos_creat_node>: msdos_node_type_t type, const char *name, int name_len, mode_t mode, const fat_file_fd_t *link_fd) {
ffc1d8a8:	94 21 ff 28 	stwu    r1,-216(r1)                            
ffc1d8ac:	7c 08 02 a6 	mflr    r0                                     
ffc1d8b0:	7d 80 00 26 	mfcr    r12                                    
ffc1d8b4:	90 01 00 dc 	stw     r0,220(r1)                             
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1d8b8:	38 00 ff ff 	li      r0,-1                                  
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
ffc1d8bc:	81 23 00 10 	lwz     r9,16(r3)                              
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc1d8c0:	93 21 00 bc 	stw     r25,188(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;                                  
ffc1d8c4:	3b 20 00 00 	li      r25,0                                  
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc1d8c8:	93 41 00 c0 	stw     r26,192(r1)                            
ffc1d8cc:	7c ba 2b 78 	mr      r26,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);     
ffc1d8d0:	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)          
{                                                                     
ffc1d8d4:	93 61 00 c4 	stw     r27,196(r1)                            
ffc1d8d8:	7c db 33 78 	mr      r27,r6                                 
ffc1d8dc:	93 c1 00 d0 	stw     r30,208(r1)                            
ffc1d8e0:	7c 9e 23 78 	mr      r30,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);     
ffc1d8e4:	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)          
{                                                                     
ffc1d8e8:	93 e1 00 d4 	stw     r31,212(r1)                            
ffc1d8ec:	7c 7f 1b 78 	mr      r31,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);     
ffc1d8f0:	38 61 00 60 	addi    r3,r1,96                               
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc1d8f4:	91 81 00 ac 	stw     r12,172(r1)                            
ffc1d8f8:	90 01 00 18 	stw     r0,24(r1)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1d8fc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1d900:	92 c1 00 b0 	stw     r22,176(r1)                            
    *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;                                                    
ffc1d904:	3a c0 ff ff 	li      r22,-1                                 
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc1d908:	92 e1 00 b4 	stw     r23,180(r1)                            
ffc1d90c:	7d 17 43 78 	mr      r23,r8                                 
ffc1d910:	93 01 00 b8 	stw     r24,184(r1)                            
ffc1d914:	93 81 00 c8 	stw     r28,200(r1)                            
ffc1d918:	93 a1 00 cc 	stw     r29,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;        
ffc1d91c:	83 9f 00 00 	lwz     r28,0(r31)                             
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
ffc1d920:	83 a9 00 34 	lwz     r29,52(r9)                             
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
    fat_file_fd_t    *fat_fd = NULL;                                  
ffc1d924:	93 21 00 0c 	stw     r25,12(r1)                             
    time_t            time_ret = 0;                                   
    uint16_t          time_val = 0;                                   
ffc1d928:	b3 21 00 0a 	sth     r25,10(r1)                             
    uint16_t          date = 0;                                       
ffc1d92c:	b3 21 00 08 	sth     r25,8(r1)                              
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1d930:	93 21 00 10 	stw     r25,16(r1)                             
  dir_pos->sname.ofs = 0;                                             
ffc1d934:	93 21 00 14 	stw     r25,20(r1)                             
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
ffc1d938:	93 21 00 40 	stw     r25,64(r1)                             
ffc1d93c:	93 21 00 44 	stw     r25,68(r1)                             
ffc1d940:	93 21 00 48 	stw     r25,72(r1)                             
ffc1d944:	93 21 00 4c 	stw     r25,76(r1)                             
ffc1d948:	93 21 00 50 	stw     r25,80(r1)                             
ffc1d94c:	93 21 00 54 	stw     r25,84(r1)                             
ffc1d950:	93 21 00 58 	stw     r25,88(r1)                             
ffc1d954:	93 21 00 5c 	stw     r25,92(r1)                             
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc1d958:	48 00 65 a1 	bl      ffc23ef8 <memset>                      
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
ffc1d95c:	7f 64 db 78 	mr      r4,r27                                 
ffc1d960:	38 a1 00 40 	addi    r5,r1,64                               
ffc1d964:	38 c0 00 0b 	li      r6,11                                  
ffc1d968:	7f 43 d3 78 	mr      r3,r26                                 
ffc1d96c:	48 00 13 e5 	bl      ffc1ed50 <msdos_long_to_short>         
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
ffc1d970:	38 00 00 00 	li      r0,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);     
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
ffc1d974:	7c 78 1b 78 	mr      r24,r3                                 
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
ffc1d978:	98 01 00 4c 	stb     r0,76(r1)                              
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
ffc1d97c:	38 60 00 00 	li      r3,0                                   
ffc1d980:	48 00 9e 21 	bl      ffc277a0 <time>                        
    if ( time_ret == -1 )                                             
ffc1d984:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc1d988:	41 9e 00 90 	beq-    cr7,ffc1da18 <msdos_creat_node+0x170>  <== NEVER TAKEN
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
ffc1d98c:	38 81 00 08 	addi    r4,r1,8                                
ffc1d990:	38 a1 00 0a 	addi    r5,r1,10                               
    *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) {                                    
ffc1d994:	2e 1e 00 01 	cmpwi   cr4,r30,1                              
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
ffc1d998:	48 00 47 5d 	bl      ffc220f4 <msdos_date_unix2dos>         
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
ffc1d99c:	a0 01 00 0a 	lhz     r0,10(r1)                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1d9a0:	a1 61 00 08 	lhz     r11,8(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);              
ffc1d9a4:	54 0a c2 3e 	rlwinm  r10,r0,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;           
ffc1d9a8:	93 21 00 5c 	stw     r25,92(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);              
ffc1d9ac:	54 09 44 2e 	rlwinm  r9,r0,8,16,23                          
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1d9b0:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc1d9b4:	55 60 44 2e 	rlwinm  r0,r11,8,16,23                         
ffc1d9b8:	7c 00 43 78 	or      r0,r0,r8                               
    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);              
ffc1d9bc:	7d 29 53 78 	or      r9,r9,r10                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1d9c0:	b0 01 00 50 	sth     r0,80(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);              
ffc1d9c4:	b1 21 00 4e 	sth     r9,78(r1)                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
ffc1d9c8:	b1 21 00 56 	sth     r9,86(r1)                              
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
ffc1d9cc:	b0 01 00 58 	sth     r0,88(r1)                              
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
ffc1d9d0:	b0 01 00 52 	sth     r0,82(r1)                              
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
ffc1d9d4:	41 92 00 88 	beq-    cr4,ffc1da5c <msdos_creat_node+0x1b4>  
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
ffc1d9d8:	2f 9e 00 03 	cmpwi   cr7,r30,3                              
ffc1d9dc:	41 9e 00 90 	beq-    cr7,ffc1da6c <msdos_creat_node+0x1c4>  <== 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;            
ffc1d9e0:	88 01 00 4b 	lbz     r0,75(r1)                              
ffc1d9e4:	60 00 00 20 	ori     r0,r0,32                               
ffc1d9e8:	98 01 00 4b 	stb     r0,75(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,        
ffc1d9ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d9f0:	38 80 00 01 	li      r4,1                                   
ffc1d9f4:	7f 45 d3 78 	mr      r5,r26                                 
ffc1d9f8:	7f 66 db 78 	mr      r6,r27                                 
ffc1d9fc:	7f 07 c3 78 	mr      r7,r24                                 
ffc1da00:	39 01 00 10 	addi    r8,r1,16                               
ffc1da04:	39 21 00 40 	addi    r9,r1,64                               
ffc1da08:	48 00 2d 79 	bl      ffc20780 <msdos_get_name_node>         
                             name_type, &dir_pos, short_node);        
    if ( rc != RC_OK )                                                
ffc1da0c:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1da10:	40 82 00 08 	bne-    ffc1da18 <msdos_creat_node+0x170>      <== NEVER TAKEN
                                                                      
    /*                                                                
     * if we create a new file we are done, if directory there are more steps
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
ffc1da14:	41 92 01 00 	beq-    cr4,ffc1db14 <msdos_creat_node+0x26c>  
                                                                      
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;                                                        
}                                                                     
ffc1da18:	80 01 00 dc 	lwz     r0,220(r1)                             
ffc1da1c:	7e c3 b3 78 	mr      r3,r22                                 
ffc1da20:	81 81 00 ac 	lwz     r12,172(r1)                            
ffc1da24:	7c 08 03 a6 	mtlr    r0                                     
ffc1da28:	82 c1 00 b0 	lwz     r22,176(r1)                            
ffc1da2c:	82 e1 00 b4 	lwz     r23,180(r1)                            
ffc1da30:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1da34:	83 01 00 b8 	lwz     r24,184(r1)                            
ffc1da38:	83 21 00 bc 	lwz     r25,188(r1)                            
ffc1da3c:	83 41 00 c0 	lwz     r26,192(r1)                            
ffc1da40:	83 61 00 c4 	lwz     r27,196(r1)                            
ffc1da44:	83 81 00 c8 	lwz     r28,200(r1)                            
ffc1da48:	83 a1 00 cc 	lwz     r29,204(r1)                            
ffc1da4c:	83 c1 00 d0 	lwz     r30,208(r1)                            
ffc1da50:	83 e1 00 d4 	lwz     r31,212(r1)                            
ffc1da54:	38 21 00 d8 	addi    r1,r1,216                              
ffc1da58:	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;            
ffc1da5c:	88 01 00 4b 	lbz     r0,75(r1)                              
ffc1da60:	60 00 00 10 	ori     r0,r0,16                               
ffc1da64:	98 01 00 4b 	stb     r0,75(r1)                              
ffc1da68:	4b ff ff 84 	b       ffc1d9ec <msdos_creat_node+0x144>      
       * node to the newly created                                    
       */                                                             
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
ffc1da6c:	81 77 00 20 	lwz     r11,32(r23)                            <== NOT EXECUTED
ffc1da70:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1da74:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== 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);
    return rc;                                                        
}                                                                     
ffc1da78:	81 23 00 34 	lwz     r9,52(r3)                              <== NOT EXECUTED
ffc1da7c:	40 9e 00 10 	bne-    cr7,ffc1da8c <msdos_creat_node+0x1e4>  <== NOT EXECUTED
ffc1da80:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc1da84:	70 0a 00 03 	andi.   r10,r0,3                               <== NOT EXECUTED
ffc1da88:	40 82 02 4c 	bne-    ffc1dcd4 <msdos_creat_node+0x42c>      <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1da8c:	89 49 00 05 	lbz     r10,5(r9)                              <== NOT EXECUTED
ffc1da90:	38 8b ff fe 	addi    r4,r11,-2                              <== NOT EXECUTED
ffc1da94:	80 09 00 30 	lwz     r0,48(r9)                              <== NOT EXECUTED
ffc1da98:	7c 84 50 30 	slw     r4,r4,r10                              <== NOT EXECUTED
ffc1da9c:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
ffc1daa0:	80 17 00 24 	lwz     r0,36(r23)                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
ffc1daa4:	38 c0 00 20 	li      r6,32                                  <== NOT EXECUTED
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
ffc1daa8:	89 3d 00 02 	lbz     r9,2(r29)                              <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
ffc1daac:	38 e1 00 20 	addi    r7,r1,32                               <== NOT EXECUTED
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
ffc1dab0:	a0 bd 00 00 	lhz     r5,0(r29)                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
          return -1;                                                  
ffc1dab4:	3a c0 ff ff 	li      r22,-1                                 <== NOT EXECUTED
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
ffc1dab8:	7c 09 4c 30 	srw     r9,r0,r9                               <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
ffc1dabc:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
ffc1dac0:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc1dac4:	7c a5 00 38 	and     r5,r5,r0                               <== NOT EXECUTED
ffc1dac8:	4b ff aa b5 	bl      ffc1857c <_fat_block_read>             <== NOT EXECUTED
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
ffc1dacc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1dad0:	41 bc ff 48 	blt-    cr7,ffc1da18 <msdos_creat_node+0x170>  <== NOT EXECUTED
          return -1;                                                  
      }                                                               
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
ffc1dad4:	88 01 00 2b 	lbz     r0,43(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
ffc1dad8:	88 c1 00 2d 	lbz     r6,45(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
ffc1dadc:	a0 e1 00 2e 	lhz     r7,46(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;              
ffc1dae0:	60 00 00 20 	ori     r0,r0,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);
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
ffc1dae4:	a1 01 00 30 	lhz     r8,48(r1)                              <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
ffc1dae8:	81 41 00 3c 	lwz     r10,60(r1)                             <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
ffc1daec:	a1 61 00 3a 	lhz     r11,58(r1)                             <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
ffc1daf0:	a1 21 00 34 	lhz     r9,52(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);
ffc1daf4:	98 c1 00 4d 	stb     r6,77(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
ffc1daf8:	b0 e1 00 4e 	sth     r7,78(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
ffc1dafc:	b1 01 00 50 	sth     r8,80(r1)                              <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
ffc1db00:	91 41 00 5c 	stw     r10,92(r1)                             <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
ffc1db04:	b1 61 00 5a 	sth     r11,90(r1)                             <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
ffc1db08:	b1 21 00 54 	sth     r9,84(r1)                              <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_HI(link_node);                    
      /*                                                              
       * set "archive bit" due to changes                             
       */                                                             
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;              
ffc1db0c:	98 01 00 4b 	stb     r0,75(r1)                              <== NOT EXECUTED
ffc1db10:	4b ff fe dc 	b       ffc1d9ec <msdos_creat_node+0x144>      <== NOT EXECUTED
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
    {                                                                 
        /* open new directory as fat-file */                          
        rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);  
ffc1db14:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1db18:	38 81 00 10 	addi    r4,r1,16                               
ffc1db1c:	38 a1 00 0c 	addi    r5,r1,12                               
ffc1db20:	4b ff 95 55 	bl      ffc17074 <fat_file_open>               
        if (rc != RC_OK)                                              
ffc1db24:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1db28:	40 82 01 98 	bne-    ffc1dcc0 <msdos_creat_node+0x418>      <== NEVER TAKEN
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc1db2c:	80 81 00 0c 	lwz     r4,12(r1)                              
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc1db30:	3c 00 00 20 	lis     r0,32                                  
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc1db34:	92 c4 00 18 	stw     r22,24(r4)                             
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
ffc1db38:	93 c4 00 10 	stw     r30,16(r4)                             
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc1db3c:	90 04 00 14 	stw     r0,20(r4)                              
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc1db40:	81 21 00 58 	lwz     r9,88(r1)                              
ffc1db44:	81 01 00 4c 	lwz     r8,76(r1)                              
ffc1db48:	81 41 00 50 	lwz     r10,80(r1)                             
ffc1db4c:	81 61 00 54 	lwz     r11,84(r1)                             
ffc1db50:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc1db54:	80 a1 00 40 	lwz     r5,64(r1)                              
ffc1db58:	80 c1 00 44 	lwz     r6,68(r1)                              
ffc1db5c:	80 e1 00 48 	lwz     r7,72(r1)                              
ffc1db60:	91 21 00 78 	stw     r9,120(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc1db64:	91 21 00 98 	stw     r9,152(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
ffc1db68:	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,                    
ffc1db6c:	91 01 00 6c 	stw     r8,108(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc1db70:	91 01 00 8c 	stw     r8,140(r1)                             
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc1db74:	90 a1 00 60 	stw     r5,96(r1)                              
ffc1db78:	90 c1 00 64 	stw     r6,100(r1)                             
ffc1db7c:	90 e1 00 68 	stw     r7,104(r1)                             
ffc1db80:	91 41 00 70 	stw     r10,112(r1)                            
ffc1db84:	91 61 00 74 	stw     r11,116(r1)                            
ffc1db88:	90 01 00 7c 	stw     r0,124(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc1db8c:	90 a1 00 80 	stw     r5,128(r1)                             
ffc1db90:	90 c1 00 84 	stw     r6,132(r1)                             
ffc1db94:	90 e1 00 88 	stw     r7,136(r1)                             
ffc1db98:	91 41 00 90 	stw     r10,144(r1)                            
ffc1db9c:	91 61 00 94 	stw     r11,148(r1)                            
ffc1dba0:	90 01 00 9c 	stw     r0,156(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
ffc1dba4:	81 29 27 a8 	lwz     r9,10152(r9)                           
ffc1dba8:	81 49 00 04 	lwz     r10,4(r9)                              
ffc1dbac:	a1 69 00 08 	lhz     r11,8(r9)                              
ffc1dbb0:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc1dbb4:	81 29 00 00 	lwz     r9,0(r9)                               
ffc1dbb8:	91 21 00 60 	stw     r9,96(r1)                              
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
ffc1dbbc:	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,
ffc1dbc0:	91 41 00 64 	stw     r10,100(r1)                            
ffc1dbc4:	b1 61 00 68 	sth     r11,104(r1)                            
ffc1dbc8:	98 01 00 6a 	stb     r0,106(r1)                             
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
ffc1dbcc:	81 29 27 a4 	lwz     r9,10148(r9)                           
ffc1dbd0:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc1dbd4:	81 09 00 00 	lwz     r8,0(r9)                               
ffc1dbd8:	81 49 00 04 	lwz     r10,4(r9)                              
ffc1dbdc:	a1 69 00 08 	lhz     r11,8(r9)                              
ffc1dbe0:	91 01 00 80 	stw     r8,128(r1)                             
ffc1dbe4:	91 41 00 84 	stw     r10,132(r1)                            
ffc1dbe8:	b1 61 00 88 	sth     r11,136(r1)                            
ffc1dbec:	98 01 00 8a 	stb     r0,138(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)) &&                    
ffc1dbf0:	80 1c 00 20 	lwz     r0,32(r28)                             
ffc1dbf4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1dbf8:	41 9e 00 e4 	beq-    cr7,ffc1dcdc <msdos_creat_node+0x434>  
            *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));
ffc1dbfc:	80 1c 00 1c 	lwz     r0,28(r28)                             
ffc1dc00:	54 09 04 3e 	clrlwi  r9,r0,16                               
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc1dc04:	54 00 84 3e 	rlwinm  r0,r0,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));
ffc1dc08:	55 2a 40 2e 	rlwinm  r10,r9,8,0,23                          
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc1dc0c:	54 0b 40 2e 	rlwinm  r11,r0,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)) = 
ffc1dc10:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1dc14:	54 00 c2 3e 	rlwinm  r0,r0,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)) = 
ffc1dc18:	7d 49 4b 78 	or      r9,r10,r9                              
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1dc1c:	7d 60 03 78 	or      r0,r11,r0                              
            *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)) = 
ffc1dc20:	b1 21 00 9a 	sth     r9,154(r1)                             
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1dc24:	b0 01 00 94 	sth     r0,148(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(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc28:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1dc2c:	38 a0 00 00 	li      r5,0                                   
ffc1dc30:	38 c0 00 40 	li      r6,64                                  
ffc1dc34:	38 e1 00 60 	addi    r7,r1,96                               
ffc1dc38:	4b ff 9f 61 	bl      ffc17b98 <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
ffc1dc3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dc40:	41 9c 00 c0 	blt-    cr7,ffc1dd00 <msdos_creat_node+0x458>  <== NEVER TAKEN
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1dc44:	80 81 00 0c 	lwz     r4,12(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(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc48:	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;                
ffc1dc4c:	a1 3d 00 06 	lhz     r9,6(r29)                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc50:	38 c0 00 20 	li      r6,32                                  
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1dc54:	81 64 00 18 	lwz     r11,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(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc58:	38 e1 00 60 	addi    r7,r1,96                               
        /* 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));    
ffc1dc5c:	80 04 00 1c 	lwz     r0,28(r4)                              
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1dc60:	7d 6b 4a 14 	add     r11,r11,r9                             
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc64:	80 7f 00 10 	lwz     r3,16(r31)                             
        /* 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));    
ffc1dc68:	54 09 04 3e 	clrlwi  r9,r0,16                               
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1dc6c:	91 64 00 18 	stw     r11,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));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
ffc1dc70:	54 00 84 3e 	rlwinm  r0,r0,16,16,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)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
ffc1dc74:	55 2a 40 2e 	rlwinm  r10,r9,8,0,23                          
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
ffc1dc78:	54 0b 40 2e 	rlwinm  r11,r0,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)) =        
ffc1dc7c:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1dc80:	54 00 c2 3e 	rlwinm  r0,r0,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)) =        
ffc1dc84:	7d 49 4b 78 	or      r9,r10,r9                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1dc88:	7d 60 03 78 	or      r0,r11,r0                              
                                                                      
        /* 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)) =        
ffc1dc8c:	b1 21 00 7a 	sth     r9,122(r1)                             
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1dc90:	b0 01 00 74 	sth     r0,116(r1)                             
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
ffc1dc94:	4b ff 9f 05 	bl      ffc17b98 <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
ffc1dc98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dc9c:	41 9c 00 64 	blt-    cr7,ffc1dd00 <msdos_creat_node+0x458>  <== 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);
ffc1dca0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1dca4:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc1dca8:	48 00 15 a1 	bl      ffc1f248 <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc1dcac:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1dcb0:	41 82 00 58 	beq-    ffc1dd08 <msdos_creat_node+0x460>      <== ALWAYS TAKEN
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
    }                                                                 
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(parent_loc->mt_entry, fat_fd);                     
ffc1dcb4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1dcb8:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc1dcbc:	4b ff 9a 9d 	bl      ffc17758 <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);
ffc1dcc0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1dcc4:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc1dcc8:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc1dccc:	48 00 17 35 	bl      ffc1f400 <msdos_set_first_char4file_name><== NOT EXECUTED
    return rc;                                                        
ffc1dcd0:	4b ff fd 48 	b       ffc1da18 <msdos_creat_node+0x170>      <== NOT EXECUTED
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc1dcd4:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc1dcd8:	4b ff fd c8 	b       ffc1daa0 <msdos_creat_node+0x1f8>      <== 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)) &&                    
ffc1dcdc:	80 1c 00 24 	lwz     r0,36(r28)                             
ffc1dce0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1dce4:	40 be ff 18 	bne-    cr7,ffc1dbfc <msdos_creat_node+0x354>  <== NEVER TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
ffc1dce8:	89 3d 00 0a 	lbz     r9,10(r29)                             
        /*                                                            
         * 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)) &&                    
ffc1dcec:	71 2b 00 04 	andi.   r11,r9,4                               
ffc1dcf0:	41 a2 ff 0c 	beq-    ffc1dbfc <msdos_creat_node+0x354>      <== ALWAYS TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
ffc1dcf4:	b0 01 00 9a 	sth     r0,154(r1)                             <== NOT EXECUTED
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
ffc1dcf8:	b0 01 00 94 	sth     r0,148(r1)                             <== NOT EXECUTED
ffc1dcfc:	4b ff ff 2c 	b       ffc1dc28 <msdos_creat_node+0x380>      <== NOT EXECUTED
        ret = fat_file_write(parent_loc->mt_entry, fat_fd, 0,         
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
        {                                                             
            rc = -1;                                                  
ffc1dd00:	3a c0 ff ff 	li      r22,-1                                 <== NOT EXECUTED
ffc1dd04:	4b ff ff b0 	b       ffc1dcb4 <msdos_creat_node+0x40c>      <== NOT EXECUTED
        /* write first cluster num of a new directory to disk */      
        rc = msdos_set_first_cluster_num(parent_loc->mt_entry, fat_fd);
        if (rc != RC_OK)                                              
            goto error;                                               
                                                                      
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
ffc1dd08:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1dd0c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc1dd10:	4b ff 9a 49 	bl      ffc17758 <fat_file_close>              
ffc1dd14:	4b ff fd 04 	b       ffc1da18 <msdos_creat_node+0x170>      
                                                                      

ffc2226c <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) {
ffc2226c:	3d 20 00 00 	lis     r9,0                                   
ffc22270:	39 29 2a 84 	addi    r9,r9,10884                            
ffc22274:	a0 09 00 0c 	lhz     r0,12(r9)                              
	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;   
ffc22278:	54 8b ae fe 	rlwinm  r11,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  
ffc2227c:	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) {                                             
ffc22280:	7f 80 18 00 	cmpw    cr7,r0,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;   
ffc22284:	1d 6b 07 08 	mulli   r11,r11,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  
ffc22288:	1c 0a 00 1e 	mulli   r0,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)
ffc2228c:	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;   
ffc22290:	7c 0b 02 14 	add     r0,r11,r0                              
ffc22294:	7c 80 22 14 	add     r4,r0,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)
ffc22298:	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) {                                             
ffc2229c:	41 9e 00 bc 	beq-    cr7,ffc22358 <msdos_date_dos2unix+0xec>
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc222a0:	54 68 be 7f 	rlwinm. r8,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;                                                   
ffc222a4:	b0 69 00 0c 	sth     r3,12(r9)                              
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc222a8:	38 00 00 00 	li      r0,0                                   
ffc222ac:	41 82 00 b8 	beq-    ffc22364 <msdos_date_dos2unix+0xf8>    <== NEVER TAKEN
ffc222b0:	39 60 00 00 	li      r11,0                                  
ffc222b4:	7d 09 03 a6 	mtctr   r8                                     
ffc222b8:	39 40 01 6e 	li      r10,366                                
ffc222bc:	48 00 00 10 	b       ffc222cc <msdos_date_dos2unix+0x60>    
			days += y & 0x03 ? 365 : 366;                                      
ffc222c0:	7d 40 00 26 	mfcr    r10                                    
ffc222c4:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc222c8:	39 4a 01 6d 	addi    r10,r10,365                            
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc222cc:	39 6b 00 01 	addi    r11,r11,1                              
			days += y & 0x03 ? 365 : 366;                                      
ffc222d0:	7c 00 52 14 	add     r0,r0,r10                              
ffc222d4:	71 6a 00 03 	andi.   r10,r11,3                              
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc222d8:	42 00 ff e8 	bdnz+   ffc222c0 <msdos_date_dos2unix+0x54>    
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
ffc222dc:	3d 60 00 00 	lis     r11,0                                  
ffc222e0:	39 6b 22 68 	addi    r11,r11,8808                           
ffc222e4:	41 82 00 64 	beq-    ffc22348 <msdos_date_dos2unix+0xdc>    <== 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) {                                                   
ffc222e8:	54 6a df 3f 	rlwinm. r10,r3,27,28,31                        <== NOT EXECUTED
ffc222ec:	41 82 00 20 	beq-    ffc2230c <msdos_date_dos2unix+0xa0>    <== NOT EXECUTED
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc222f0:	35 4a ff ff 	addic.  r10,r10,-1                             
ffc222f4:	41 82 00 18 	beq-    ffc2230c <msdos_date_dos2unix+0xa0>    <== ALWAYS TAKEN
ffc222f8:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
 * 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)                 
ffc222fc:	39 6b ff fe 	addi    r11,r11,-2                             <== 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];                                                 
ffc22300:	a5 4b 00 02 	lhzu    r10,2(r11)                             <== NOT EXECUTED
ffc22304:	7c 00 52 14 	add     r0,r0,r10                              <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc22308:	42 00 ff f8 	bdnz+   ffc22300 <msdos_date_dos2unix+0x94>    <== NOT EXECUTED
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
ffc2230c:	54 63 06 fe 	clrlwi  r3,r3,27                               
ffc22310:	38 63 ff ff 	addi    r3,r3,-1                               
ffc22314:	7c 03 02 14 	add     r0,r3,r0                               
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
ffc22318:	54 0b 38 30 	rlwinm  r11,r0,7,0,24                          
ffc2231c:	54 00 48 2c 	rlwinm  r0,r0,9,0,22                           
ffc22320:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc22324:	54 0b 20 36 	rlwinm  r11,r0,4,0,27                          
ffc22328:	7c 00 58 50 	subf    r0,r0,r11                              
ffc2232c:	54 0b 20 36 	rlwinm  r11,r0,4,0,27                          
ffc22330:	7d 60 58 50 	subf    r11,r0,r11                             
ffc22334:	3d 6b 12 cf 	addis   r11,r11,4815                           
ffc22338:	38 0b a6 00 	addi    r0,r11,-23040                          
ffc2233c:	90 09 00 10 	stw     r0,16(r9)                              
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
ffc22340:	7c 60 22 14 	add     r3,r0,r4                               
ffc22344:	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) {                                                   
ffc22348:	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;                          
ffc2234c:	39 6b 00 18 	addi    r11,r11,24                             
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
ffc22350:	41 a2 ff bc 	beq-    ffc2230c <msdos_date_dos2unix+0xa0>    <== NEVER TAKEN
ffc22354:	4b ff ff 9c 	b       ffc222f0 <msdos_date_dos2unix+0x84>    
	    + ((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) {                                             
ffc22358:	80 09 00 10 	lwz     r0,16(r9)                              
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
ffc2235c:	7c 60 22 14 	add     r3,r0,r4                               
ffc22360:	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;                          
ffc22364:	3d 60 00 00 	lis     r11,0                                  <== NOT EXECUTED
ffc22368:	39 6b 22 68 	addi    r11,r11,8808                           <== NOT EXECUTED
ffc2236c:	39 6b 00 18 	addi    r11,r11,24                             <== NOT EXECUTED
ffc22370:	4b ff ff 78 	b       ffc222e8 <msdos_date_dos2unix+0x7c>    <== NOT EXECUTED
                                                                      

ffc220f4 <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) {
ffc220f4:	3d 20 00 00 	lis     r9,0                                   
ffc220f8:	80 09 2a 84 	lwz     r0,10884(r9)                           
ffc220fc:	38 e9 2a 84 	addi    r7,r9,10884                            
ffc22100:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc22104:	41 9e 01 44 	beq-    cr7,ffc22248 <msdos_date_unix2dos+0x154>
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc22108:	3c 00 88 88 	lis     r0,-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;                                                       
ffc2210c:	90 69 2a 84 	stw     r3,10884(r9)                           
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22110:	3d 60 91 a2 	lis     r11,-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)                   
ffc22114:	60 00 88 89 	ori     r0,r0,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) {                                              
ffc22118:	81 07 00 08 	lwz     r8,8(r7)                               
	 */                                                                  
	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);                  
ffc2211c:	61 6b b3 c5 	ori     r11,r11,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)                   
ffc22120:	7d 43 00 16 	mulhwu  r10,r3,r0                              
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22124:	7d 63 58 16 	mulhwu  r11,r3,r11                             
ffc22128:	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)                   
ffc2212c:	55 49 d9 7e 	rlwinm  r9,r10,27,5,31                         
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22130:	55 6b aa fe 	rlwinm  r11,r11,21,11,31                       
ffc22134:	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)                   
ffc22138:	7c c9 00 16 	mulhwu  r6,r9,r0                               
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc2213c:	7d 8b 60 16 	mulhwu  r12,r11,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);                                         
ffc22140:	3c 00 c2 2e 	lis     r0,-15826                              
ffc22144:	60 00 45 07 	ori     r0,r0,17671                            
ffc22148:	7c 03 00 16 	mulhwu  r0,r3,r0                               
	 * 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)                   
ffc2214c:	54 c6 d9 7e 	rlwinm  r6,r6,27,5,31                          
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22150:	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)                   
ffc22154:	1c c6 00 3c 	mulli   r6,r6,60                               
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22158:	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)            
ffc2215c:	1d 49 00 3c 	mulli   r10,r9,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);                                         
ffc22160:	54 00 84 3e 	rlwinm  r0,r0,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)                   
ffc22164:	7c c6 48 50 	subf    r6,r6,r9                               
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc22168:	7d 6c 58 50 	subf    r11,r12,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) {                                              
ffc2216c:	7f 80 40 00 	cmpw    cr7,r0,r8                              
	 * 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)            
ffc22170:	54 c6 28 34 	rlwinm  r6,r6,5,0,26                           
ffc22174:	55 6b 58 28 	rlwinm  r11,r11,11,0,20                        
ffc22178:	7c 6a 18 50 	subf    r3,r10,r3                              
ffc2217c:	7c c6 5a 14 	add     r6,r6,r11                              
ffc22180:	54 63 f8 7e 	rlwinm  r3,r3,31,1,31                          
ffc22184:	7c c6 1a 14 	add     r6,r6,r3                               
ffc22188:	54 c6 04 3e 	clrlwi  r6,r6,16                               
ffc2218c:	b0 c7 00 04 	sth     r6,4(r7)                               
		 * 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) {                                              
ffc22190:	41 9e 00 cc 	beq-    cr7,ffc2225c <msdos_date_unix2dos+0x168><== NEVER TAKEN
			lastday = days;                                                    
ffc22194:	90 07 00 08 	stw     r0,8(r7)                               
			for (year = 1970;; year++) {                                       
ffc22198:	39 20 07 b2 	li      r9,1970                                
ffc2219c:	48 00 00 0c 	b       ffc221a8 <msdos_date_unix2dos+0xb4>    
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
ffc221a0:	7c 0b 00 50 	subf    r0,r11,r0                              
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
		if (days != lastday) {                                              
			lastday = days;                                                    
			for (year = 1970;; year++) {                                       
ffc221a4:	39 29 00 01 	addi    r9,r9,1                                
				inc = year & 0x03 ? 365 : 366;                                    
ffc221a8:	71 2b 00 03 	andi.   r11,r9,3                               
ffc221ac:	7d 60 00 26 	mfcr    r11                                    
ffc221b0:	55 6b 1f fe 	rlwinm  r11,r11,3,31,31                        
ffc221b4:	39 6b 01 6d 	addi    r11,r11,365                            
				if (days < inc)                                                   
ffc221b8:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc221bc:	40 9c ff e4 	bge+    cr7,ffc221a0 <msdos_date_unix2dos+0xac>
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
ffc221c0:	3d 40 00 00 	lis     r10,0                                  
ffc221c4:	39 4a 22 68 	addi    r10,r10,8808                           
ffc221c8:	41 82 00 68 	beq-    ffc22230 <msdos_date_unix2dos+0x13c>   <== ALWAYS TAKEN
			for (month = 0; month < 12; month++) {                             
ffc221cc:	39 60 00 0c 	li      r11,12                                 
ffc221d0:	7d 69 03 a6 	mtctr   r11                                    
/*                                                                    
 * 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,                    
ffc221d4:	39 4a ff fe 	addi    r10,r10,-2                             
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
ffc221d8:	39 00 00 00 	li      r8,0                                   
				if (days < months[month])                                         
ffc221dc:	a5 6a 00 02 	lhzu    r11,2(r10)                             
ffc221e0:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc221e4:	41 9d 00 54 	bgt-    cr7,ffc22238 <msdos_date_unix2dos+0x144><== ALWAYS TAKEN
					break;                                                           
				days -= months[month];                                            
ffc221e8:	7c 0b 00 50 	subf    r0,r11,r0                              <== NOT EXECUTED
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
ffc221ec:	39 08 00 01 	addi    r8,r8,1                                <== NOT EXECUTED
ffc221f0:	42 00 ff ec 	bdnz+   ffc221dc <msdos_date_unix2dos+0xe8>    <== NOT EXECUTED
ffc221f4:	39 60 01 a0 	li      r11,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)                                                   
ffc221f8:	2b 89 07 bc 	cmplwi  cr7,r9,1980                            
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
					break;                                                           
				days -= months[month];                                            
			}                                                                  
			lastddate = ((days + 1) << MSDOS_DD_DAY_SHIFT)                     
ffc221fc:	39 6b 00 01 	addi    r11,r11,1                              
ffc22200:	7c 0b 02 14 	add     r0,r11,r0                              
ffc22204:	54 00 04 3e 	clrlwi  r0,r0,16                               
ffc22208:	b0 07 00 06 	sth     r0,6(r7)                               
			 * 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)                                                   
ffc2220c:	40 9d 00 18 	ble-    cr7,ffc22224 <msdos_date_unix2dos+0x130><== NEVER TAKEN
				lastddate += (year - 1980) <<                                     
ffc22210:	39 29 f8 44 	addi    r9,r9,-1980                            
ffc22214:	55 29 48 2c 	rlwinm  r9,r9,9,0,22                           
ffc22218:	7c 00 4a 14 	add     r0,r0,r9                               
ffc2221c:	54 00 04 3e 	clrlwi  r0,r0,16                               
ffc22220:	b0 07 00 06 	sth     r0,6(r7)                               
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc22224:	b0 c5 00 00 	sth     r6,0(r5)                               
	*ddp = lastddate;                                                    
ffc22228:	b0 04 00 00 	sth     r0,0(r4)                               
}                                                                     
ffc2222c:	4e 80 00 20 	blr                                            
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
ffc22230:	39 4a 00 18 	addi    r10,r10,24                             
ffc22234:	4b ff ff 98 	b       ffc221cc <msdos_date_unix2dos+0xd8>    
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
ffc22238:	55 0b 04 3e 	clrlwi  r11,r8,16                              
ffc2223c:	39 6b 00 01 	addi    r11,r11,1                              
ffc22240:	55 6b 2c 34 	rlwinm  r11,r11,5,16,26                        
ffc22244:	4b ff ff b4 	b       ffc221f8 <msdos_date_unix2dos+0x104>   
                                                                      
	/*                                                                   
	 * If the time from the last conversion is the same as now, then     
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
ffc22248:	a0 c7 00 04 	lhz     r6,4(r7)                               
ffc2224c:	a0 07 00 06 	lhz     r0,6(r7)                               
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc22250:	b0 c5 00 00 	sth     r6,0(r5)                               
	*ddp = lastddate;                                                    
ffc22254:	b0 04 00 00 	sth     r0,0(r4)                               
}                                                                     
ffc22258:	4e 80 00 20 	blr                                            
		 * 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) {                                              
ffc2225c:	a0 07 00 06 	lhz     r0,6(r7)                               <== NOT EXECUTED
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc22260:	b0 c5 00 00 	sth     r6,0(r5)                               <== NOT EXECUTED
	*ddp = lastddate;                                                    
ffc22264:	b0 04 00 00 	sth     r0,0(r4)                               <== NOT EXECUTED
}                                                                     
ffc22268:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc22e08 <msdos_dir_chmod>: int msdos_dir_chmod(rtems_filesystem_location_info_t *pathloc, mode_t mode) { return RC_OK; }
ffc22e08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22e0c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc225ec <msdos_dir_close>: * RC_OK, if directory closed successfully, or -1 if error occured (errno * set apropriately. */ int msdos_dir_close(rtems_libio_t *iop) {
ffc225ec:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc225f0:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc225f4:	38 80 00 00 	li      r4,0                                   
 *     RC_OK, if directory closed successfully, or -1 if error occured (errno
 *     set apropriately.                                              
 */                                                                   
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
ffc225f8:	90 01 00 1c 	stw     r0,28(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;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc225fc:	38 a0 00 00 	li      r5,0                                   
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22600:	81 23 00 2c 	lwz     r9,44(r3)                              
 *     RC_OK, if directory closed successfully, or -1 if error occured (errno
 *     set apropriately.                                              
 */                                                                   
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
ffc22604:	93 c1 00 10 	stw     r30,16(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22608:	83 c9 00 34 	lwz     r30,52(r9)                             
 *     RC_OK, if directory closed successfully, or -1 if error occured (errno
 *     set apropriately.                                              
 */                                                                   
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
ffc2260c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc22610:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22614:	80 7e 00 98 	lwz     r3,152(r30)                            
 *     RC_OK, if directory closed successfully, or -1 if error occured (errno
 *     set apropriately.                                              
 */                                                                   
int                                                                   
msdos_dir_close(rtems_libio_t *iop)                                   
{                                                                     
ffc22618:	93 a1 00 0c 	stw     r29,12(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;            
ffc2261c:	83 bf 00 1c 	lwz     r29,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22620:	4b fe b1 6d 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22624:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22628:	40 9e 00 3c 	bne-    cr7,ffc22664 <msdos_dir_close+0x78>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
ffc2262c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc22630:	7f a4 eb 78 	mr      r4,r29                                 
ffc22634:	4b ff 51 25 	bl      ffc17758 <fat_file_close>              
    if (rc != RC_OK)                                                  
ffc22638:	7c 7f 1b 79 	mr.     r31,r3                                 
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc2263c:	80 7e 00 98 	lwz     r3,152(r30)                            
        return rc;                                                    
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc22640:	4b fe b2 d9 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc22644:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc22648:	7f e3 fb 78 	mr      r3,r31                                 
ffc2264c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc22650:	7c 08 03 a6 	mtlr    r0                                     
ffc22654:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc22658:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2265c:	38 21 00 18 	addi    r1,r1,24                               
ffc22660:	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 );                  
ffc22664:	48 00 09 7d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22668:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc2266c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22670:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc22674:	4b ff ff d0 	b       ffc22644 <msdos_dir_close+0x58>        <== NOT EXECUTED
                                                                      

ffc1f5ec <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 ) {
ffc1f5ec:	94 21 ff c8 	stwu    r1,-56(r1)                             <== NOT EXECUTED
ffc1f5f0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f5f4:	90 01 00 3c 	stw     r0,60(r1)                              <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
ffc1f5f8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1f5fc:	93 e1 00 34 	stw     r31,52(r1)                             <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1f600:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1f604:	92 81 00 08 	stw     r20,8(r1)                              <== NOT EXECUTED
ffc1f608:	93 01 00 18 	stw     r24,24(r1)                             <== NOT EXECUTED
ffc1f60c:	93 21 00 1c 	stw     r25,28(r1)                             <== NOT EXECUTED
ffc1f610:	7c 99 23 78 	mr      r25,r4                                 <== NOT EXECUTED
ffc1f614:	93 41 00 20 	stw     r26,32(r1)                             <== NOT EXECUTED
ffc1f618:	7c ba 2b 78 	mr      r26,r5                                 <== NOT EXECUTED
ffc1f61c:	93 61 00 24 	stw     r27,36(r1)                             <== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1f620:	3f 60 ff c3 	lis     r27,-61                                <== NOT EXECUTED
ffc1f624:	3b 7b 41 e4 	addi    r27,r27,16868                          <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1f628:	93 81 00 28 	stw     r28,40(r1)                             <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
ffc1f62c:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1f630:	93 a1 00 2c 	stw     r29,44(r1)                             <== NOT EXECUTED
ffc1f634:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc1f638:	93 c1 00 30 	stw     r30,48(r1)                             <== NOT EXECUTED
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
ffc1f63c:	3f c0 ff c3 	lis     r30,-61                                <== NOT EXECUTED
ffc1f640:	3b de 41 d8 	addi    r30,r30,16856                          <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1f644:	92 a1 00 0c 	stw     r21,12(r1)                             <== NOT EXECUTED
ffc1f648:	92 c1 00 10 	stw     r22,16(r1)                             <== NOT EXECUTED
ffc1f64c:	92 e1 00 14 	stw     r23,20(r1)                             <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
ffc1f650:	a2 9f 00 00 	lhz     r20,0(r31)                             <== NOT EXECUTED
ffc1f654:	98 05 00 00 	stb     r0,0(r5)                               <== NOT EXECUTED
ffc1f658:	83 1f 00 9c 	lwz     r24,156(r31)                           <== NOT EXECUTED
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * fs_info->fat.vol.bps,
ffc1f65c:	7c b4 e1 d6 	mullw   r5,r20,r28                             <== NOT EXECUTED
ffc1f660:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f664:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1f668:	7e 86 a3 78 	mr      r6,r20                                 <== NOT EXECUTED
ffc1f66c:	7f 07 c3 78 	mr      r7,r24                                 <== NOT EXECUTED
ffc1f670:	4b ff 7d 21 	bl      ffc17390 <fat_file_read>               <== NOT EXECUTED
ffc1f674:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1f678:	41 82 00 ec 	beq-    ffc1f764 <msdos_dir_is_empty+0x178>    <== NOT EXECUTED
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1f67c:	2f 83 00 1f 	cmpwi   cr7,r3,31                              <== NOT EXECUTED
ffc1f680:	40 9d 00 f4 	ble-    cr7,ffc1f774 <msdos_dir_is_empty+0x188><== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1f684:	a2 9f 00 00 	lhz     r20,0(r31)                             <== NOT EXECUTED
ffc1f688:	7f 94 18 00 	cmpw    cr7,r20,r3                             <== NOT EXECUTED
ffc1f68c:	40 9e 00 f0 	bne-    cr7,ffc1f77c <msdos_dir_is_empty+0x190><== NOT EXECUTED
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1f690:	41 82 00 c8 	beq-    ffc1f758 <msdos_dir_is_empty+0x16c>    <== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1f694:	83 1f 00 9c 	lwz     r24,156(r31)                           <== NOT EXECUTED
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1f698:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1f69c:	7f 17 c3 78 	mr      r23,r24                                <== NOT EXECUTED
             * then consider it as empty.                             
             *                                                        
             * Just ignore long file name entries. They must have a short entry to
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
ffc1f6a0:	8a b7 00 00 	lbz     r21,0(r23)                             <== NOT EXECUTED
ffc1f6a4:	2f 95 00 e5 	cmpwi   cr7,r21,229                            <== NOT EXECUTED
ffc1f6a8:	41 9e 00 98 	beq-    cr7,ffc1f740 <msdos_dir_is_empty+0x154><== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
ffc1f6ac:	88 17 00 0b 	lbz     r0,11(r23)                             <== NOT EXECUTED
ffc1f6b0:	54 00 06 be 	clrlwi  r0,r0,26                               <== NOT EXECUTED
             *                                                        
             * Just ignore long file name entries. They must have a short entry to
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
ffc1f6b4:	2f 80 00 0f 	cmpwi   cr7,r0,15                              <== NOT EXECUTED
ffc1f6b8:	41 9e 00 88 	beq-    cr7,ffc1f740 <msdos_dir_is_empty+0x154><== NOT EXECUTED
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
ffc1f6bc:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1f6c0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1f6c4:	38 a0 00 0b 	li      r5,11                                  <== NOT EXECUTED
ffc1f6c8:	48 00 55 51 	bl      ffc24c18 <strncmp>                     <== NOT EXECUTED
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
ffc1f6cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f6d0:	41 9e 00 70 	beq-    cr7,ffc1f740 <msdos_dir_is_empty+0x154><== NOT EXECUTED
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1f6d4:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1f6d8:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1f6dc:	38 a0 00 0b 	li      r5,11                                  <== NOT EXECUTED
ffc1f6e0:	48 00 55 39 	bl      ffc24c18 <strncmp>                     <== NOT EXECUTED
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
ffc1f6e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f6e8:	41 9e 00 58 	beq-    cr7,ffc1f740 <msdos_dir_is_empty+0x154><== NOT EXECUTED
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1f6ec:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
            }                                                         
                                                                      
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
ffc1f6f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1f6f4:	40 9e 00 0c 	bne-    cr7,ffc1f700 <msdos_dir_is_empty+0x114><== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                *ret_val = true;                                      
ffc1f6f8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1f6fc:	98 1a 00 00 	stb     r0,0(r26)                              <== NOT EXECUTED
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
    return RC_OK;                                                     
}                                                                     
ffc1f700:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc1f704:	82 81 00 08 	lwz     r20,8(r1)                              <== NOT EXECUTED
ffc1f708:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f70c:	82 a1 00 0c 	lwz     r21,12(r1)                             <== NOT EXECUTED
ffc1f710:	82 c1 00 10 	lwz     r22,16(r1)                             <== NOT EXECUTED
ffc1f714:	82 e1 00 14 	lwz     r23,20(r1)                             <== NOT EXECUTED
ffc1f718:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc1f71c:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc1f720:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc1f724:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc1f728:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc1f72c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc1f730:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc1f734:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc1f738:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc1f73c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
             i < fs_info->fat.vol.bps;                                
             i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1f740:	3a d6 00 20 	addi    r22,r22,32                             <== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1f744:	7f 96 a0 40 	cmplw   cr7,r22,r20                            <== NOT EXECUTED
             i < fs_info->fat.vol.bps;                                
             i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1f748:	3a f7 00 20 	addi    r23,r23,32                             <== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1f74c:	41 9c ff 54 	blt+    cr7,ffc1f6a0 <msdos_dir_is_empty+0xb4> <== NOT EXECUTED
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
ffc1f750:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
ffc1f754:	4b ff ff 08 	b       ffc1f65c <msdos_dir_is_empty+0x70>     <== NOT EXECUTED
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                *ret_val = true;                                      
                return RC_OK;                                         
ffc1f758:	83 1f 00 9c 	lwz     r24,156(r31)                           <== NOT EXECUTED
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
ffc1f75c:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
ffc1f760:	4b ff fe fc 	b       ffc1f65c <msdos_dir_is_empty+0x70>     <== NOT EXECUTED
    }                                                                 
    *ret_val = true;                                                  
ffc1f764:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1f768:	98 1a 00 00 	stb     r0,0(r26)                              <== NOT EXECUTED
    return RC_OK;                                                     
ffc1f76c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f770:	4b ff ff 90 	b       ffc1f700 <msdos_dir_is_empty+0x114>    <== NOT EXECUTED
    while ((ret = fat_file_read(mt_entry, 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;                                                
ffc1f774:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1f778:	4b ff ff 88 	b       ffc1f700 <msdos_dir_is_empty+0x114>    <== NOT EXECUTED
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1f77c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f780:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1f784:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1f788:	38 63 41 70 	addi    r3,r3,16752                            <== NOT EXECUTED
ffc1f78c:	38 80 03 b5 	li      r4,949                                 <== NOT EXECUTED
ffc1f790:	38 a5 40 f8 	addi    r5,r5,16632                            <== NOT EXECUTED
ffc1f794:	38 c6 41 bc 	addi    r6,r6,16828                            <== NOT EXECUTED
ffc1f798:	4b fe 84 f9 	bl      ffc07c90 <__assert_func>               <== NOT EXECUTED
                                                                      

ffc22c68 <msdos_dir_lseek>: * set apropriately). */ rtems_off64_t msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) { switch (whence)
ffc22c68:	2b 87 00 01 	cmplwi  cr7,r7,1                               <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno                
 *     set apropriately).                                             
 */                                                                   
rtems_off64_t                                                         
msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) 
{                                                                     
ffc22c6c:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc22c70:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
        case SEEK_END:                                                
        default:                                                      
            rtems_set_errno_and_return_minus_one( EINVAL );           
            break;                                                    
    }                                                                 
    return RC_OK;                                                     
ffc22c74:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22c78:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno                
 *     set apropriately).                                             
 */                                                                   
rtems_off64_t                                                         
msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) 
{                                                                     
ffc22c7c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    switch (whence)                                                   
ffc22c80:	40 9d 00 18 	ble-    cr7,ffc22c98 <msdos_dir_lseek+0x30>    <== NOT EXECUTED
         * Movement past the end of the directory via lseek is not a  
         * permitted operation                                        
         */                                                           
        case SEEK_END:                                                
        default:                                                      
            rtems_set_errno_and_return_minus_one( EINVAL );           
ffc22c84:	48 00 03 5d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22c88:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc22c8c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22c90:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
ffc22c94:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc22c98:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc22c9c:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc22ca0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22ca4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc22550 <msdos_dir_open>: * set apropriately) */ int msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
ffc22550:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc22554:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22558:	38 80 00 00 	li      r4,0                                   
 *     set apropriately)                                              
 */                                                                   
int                                                                   
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
ffc2255c:	90 01 00 1c 	stw     r0,28(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;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22560:	38 a0 00 00 	li      r5,0                                   
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22564:	81 23 00 2c 	lwz     r9,44(r3)                              
 *     set apropriately)                                              
 */                                                                   
int                                                                   
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
ffc22568:	93 c1 00 10 	stw     r30,16(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc2256c:	83 c9 00 34 	lwz     r30,52(r9)                             
 *     set apropriately)                                              
 */                                                                   
int                                                                   
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
ffc22570:	93 e1 00 14 	stw     r31,20(r1)                             
ffc22574:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22578:	80 7e 00 98 	lwz     r3,152(r30)                            
 *     set apropriately)                                              
 */                                                                   
int                                                                   
msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
               uint32_t   mode)                                       
{                                                                     
ffc2257c:	93 a1 00 0c 	stw     r29,12(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;            
ffc22580:	83 bf 00 1c 	lwz     r29,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22584:	4b fe b2 09 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22588:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2258c:	40 9e 00 4c 	bne-    cr7,ffc225d8 <msdos_dir_open+0x88>     <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc22590:	7f a3 eb 78 	mr      r3,r29                                 
ffc22594:	4b ff 4d e5 	bl      ffc17378 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc22598:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc2259c:	40 82 00 14 	bne-    ffc225b0 <msdos_dir_open+0x60>         <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    iop->offset = 0;                                                  
ffc225a0:	39 40 00 00 	li      r10,0                                  
ffc225a4:	39 60 00 00 	li      r11,0                                  
ffc225a8:	91 5f 00 10 	stw     r10,16(r31)                            
ffc225ac:	91 7f 00 14 	stw     r11,20(r31)                            
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc225b0:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc225b4:	4b fe b3 65 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc225b8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc225bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc225c0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc225c4:	7c 08 03 a6 	mtlr    r0                                     
ffc225c8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc225cc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc225d0:	38 21 00 18 	addi    r1,r1,24                               
ffc225d4:	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 );                  
ffc225d8:	48 00 0a 09 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc225dc:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc225e0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc225e4:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc225e8:	4b ff ff d0 	b       ffc225b8 <msdos_dir_open+0x68>         <== NOT EXECUTED
                                                                      

ffc22678 <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) {
ffc22678:	94 21 fe 70 	stwu    r1,-400(r1)                            <== NOT EXECUTED
ffc2267c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc22680:	7d 80 00 26 	mfcr    r12                                    <== NOT EXECUTED
ffc22684:	90 01 01 94 	stw     r0,404(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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
ffc22688:	38 00 00 00 	li      r0,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)        
{                                                                     
ffc2268c:	92 81 01 60 	stw     r20,352(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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc22690:	82 83 00 1c 	lwz     r20,28(r3)                             <== NOT EXECUTED
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22694:	81 23 00 2c 	lwz     r9,44(r3)                              <== 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                              :     
ffc22698:	81 74 00 20 	lwz     r11,32(r20)                            <== 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)        
{                                                                     
ffc2269c:	92 41 01 58 	stw     r18,344(r1)                            <== NOT EXECUTED
ffc226a0:	7c 92 23 78 	mr      r18,r4                                 <== 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                              :     
ffc226a4:	2f 8b 00 01 	cmpwi   cr7,r11,1                              <== 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)        
{                                                                     
ffc226a8:	93 61 01 7c 	stw     r27,380(r1)                            <== NOT EXECUTED
ffc226ac:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
ffc226b0:	93 81 01 80 	stw     r28,384(r1)                            <== NOT EXECUTED
ffc226b4:	93 a1 01 84 	stw     r29,388(r1)                            <== NOT EXECUTED
ffc226b8:	93 c1 01 88 	stw     r30,392(r1)                            <== NOT EXECUTED
ffc226bc:	93 e1 01 8c 	stw     r31,396(r1)                            <== NOT EXECUTED
ffc226c0:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
ffc226c4:	91 c1 01 48 	stw     r14,328(r1)                            <== NOT EXECUTED
ffc226c8:	91 e1 01 4c 	stw     r15,332(r1)                            <== NOT EXECUTED
ffc226cc:	92 01 01 50 	stw     r16,336(r1)                            <== NOT EXECUTED
ffc226d0:	92 21 01 54 	stw     r17,340(r1)                            <== NOT EXECUTED
ffc226d4:	92 61 01 5c 	stw     r19,348(r1)                            <== NOT EXECUTED
ffc226d8:	92 a1 01 64 	stw     r21,356(r1)                            <== NOT EXECUTED
ffc226dc:	92 c1 01 68 	stw     r22,360(r1)                            <== NOT EXECUTED
ffc226e0:	92 e1 01 6c 	stw     r23,364(r1)                            <== NOT EXECUTED
ffc226e4:	93 01 01 70 	stw     r24,368(r1)                            <== NOT EXECUTED
ffc226e8:	93 21 01 74 	stw     r25,372(r1)                            <== NOT EXECUTED
ffc226ec:	93 41 01 78 	stw     r26,376(r1)                            <== NOT EXECUTED
ffc226f0:	91 81 01 44 	stw     r12,324(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;     
ffc226f4:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
ffc226f8:	90 01 00 0c 	stw     r0,12(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;                                   
ffc226fc:	90 01 00 08 	stw     r0,8(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);                      
ffc22700:	83 83 00 10 	lwz     r28,16(r3)                             <== NOT EXECUTED
ffc22704:	83 a3 00 14 	lwz     r29,20(r3)                             <== 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                              :     
ffc22708:	41 9e 04 34 	beq-    cr7,ffc22b3c <msdos_dir_read+0x4c4>    <== NOT EXECUTED
ffc2270c:	a2 1e 00 06 	lhz     r16,6(r30)                             <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22710:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc22714:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc22718:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc2271c:	4b fe b0 71 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22720:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22724:	40 9e 04 b4 	bne-    cr7,ffc22bd8 <msdos_dir_read+0x560>    <== 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);  
ffc22728:	3c 00 0e a0 	lis     r0,3744                                <== NOT EXECUTED
ffc2272c:	60 00 ea 0f 	ori     r0,r0,59919                            <== NOT EXECUTED
ffc22730:	57 ff e8 fe 	rlwinm  r31,r31,29,3,31                        <== NOT EXECUTED
ffc22734:	7f 1f 00 16 	mulhwu  r24,r31,r0                             <== 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)                                                 
ffc22738:	38 00 00 00 	li      r0,0                                   <== 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);  
ffc2273c:	57 18 f8 7e 	rlwinm  r24,r24,31,1,31                        <== NOT EXECUTED
ffc22740:	1f 18 01 18 	mulli   r24,r24,280                            <== 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)                                                 
ffc22744:	2e 18 00 00 	cmpwi   cr4,r24,0                              <== NOT EXECUTED
ffc22748:	41 92 00 e8 	beq-    cr4,ffc22830 <msdos_dir_read+0x1b8>    <== 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);                      
ffc2274c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22750:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc22754:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc22758:	38 c0 01 18 	li      r6,280                                 <== NOT EXECUTED
ffc2275c:	48 00 e3 19 	bl      ffc30a74 <__divdi3>                    <== NOT EXECUTED
ffc22760:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
ffc22764:	7c 9c 23 78 	mr      r28,r4                                 <== NOT EXECUTED
ffc22768:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc2276c:	3a 20 00 00 	li      r17,0                                  <== NOT EXECUTED
ffc22770:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc22774:	3b 20 00 00 	li      r25,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;                  
ffc22778:	3a a0 ff ff 	li      r21,-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);          
ffc2277c:	3a 60 01 18 	li      r19,280                                <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc22780:	39 c0 00 2e 	li      r14,46                                 <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc22784:	3d e0 00 00 	lis     r15,0                                  <== NOT EXECUTED
         * fat-file is already opened by open call, so read it        
         * Always read directory fat-file from the beggining because of MSDOS
         * directories feature :( - we should count elements currently
         * present in the directory because there may be holes :)     
         */                                                           
        ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
ffc22788:	80 7b 00 2c 	lwz     r3,44(r27)                             <== NOT EXECUTED
ffc2278c:	7e 84 a3 78 	mr      r4,r20                                 <== NOT EXECUTED
ffc22790:	80 fe 00 9c 	lwz     r7,156(r30)                            <== NOT EXECUTED
ffc22794:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc22798:	7e 06 83 78 	mr      r6,r16                                 <== NOT EXECUTED
ffc2279c:	4b ff 4b f5 	bl      ffc17390 <fat_file_read>               <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc227a0:	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(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
ffc227a4:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc227a8:	40 9d 04 28 	ble-    cr7,ffc22bd0 <msdos_dir_read+0x558>    <== 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;                
ffc227ac:	81 3e 00 9c 	lwz     r9,156(r30)                            <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc227b0:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc227b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc227b8:	41 9e 03 14 	beq-    cr7,ffc22acc <msdos_dir_read+0x454>    <== NOT EXECUTED
ffc227bc:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc227c0:	48 00 00 28 	b       ffc227e8 <msdos_dir_read+0x170>        <== 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) &&  
ffc227c4:	41 9e 00 80 	beq-    cr7,ffc22844 <msdos_dir_read+0x1cc>    <== 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)  
ffc227c8:	3b ff 00 20 	addi    r31,r31,32                             <== NOT EXECUTED
ffc227cc:	7f 9f e8 40 	cmplw   cr7,r31,r29                            <== NOT EXECUTED
ffc227d0:	40 9c 00 54 	bge-    cr7,ffc22824 <msdos_dir_read+0x1ac>    <== NOT EXECUTED
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc227d4:	81 3e 00 9c 	lwz     r9,156(r30)                            <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc227d8:	7c 09 f8 ae 	lbzx    r0,r9,r31                              <== 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;                
ffc227dc:	7d 29 fa 14 	add     r9,r9,r31                              <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc227e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc227e4:	41 9e 02 e8 	beq-    cr7,ffc22acc <msdos_dir_read+0x454>    <== 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)
ffc227e8:	2f 80 00 e5 	cmpwi   cr7,r0,229                             <== NOT EXECUTED
ffc227ec:	41 be ff dc 	beq-    cr7,ffc227c8 <msdos_dir_read+0x150>    <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
ffc227f0:	89 69 00 0b 	lbz     r11,11(r9)                             <== NOT EXECUTED
ffc227f4:	71 6a 00 08 	andi.   r10,r11,8                              <== NOT EXECUTED
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) != MSDOS_ATTR_LFN))
ffc227f8:	55 6b 06 be 	clrlwi  r11,r11,26                             <== 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) &&  
ffc227fc:	2f 8b 00 0f 	cmpwi   cr7,r11,15                             <== NOT EXECUTED
ffc22800:	40 a2 ff c4 	bne-    ffc227c4 <msdos_dir_read+0x14c>        <== 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) ==     
ffc22804:	41 9e 00 40 	beq-    cr7,ffc22844 <msdos_dir_read+0x1cc>    <== NOT EXECUTED
                fat_dir_pos_t dir_pos;                                
                                                                      
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
ffc22808:	2f 9c 00 00 	cmpwi   cr7,r28,0                              <== NOT EXECUTED
ffc2280c:	41 9e 00 d4 	beq-    cr7,ffc228e0 <msdos_dir_read+0x268>    <== 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)  
ffc22810:	3b ff 00 20 	addi    r31,r31,32                             <== NOT EXECUTED
ffc22814:	7f 9f e8 40 	cmplw   cr7,r31,r29                            <== NOT EXECUTED
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
                    start--;                                          
ffc22818:	3b 9c ff ff 	addi    r28,r28,-1                             <== NOT EXECUTED
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
ffc2281c:	3b 40 ff ff 	li      r26,-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)  
ffc22820:	41 9c ff b4 	blt+    cr7,ffc227d4 <msdos_dir_read+0x15c>    <== NOT EXECUTED
ffc22824:	7e d6 82 14 	add     r22,r22,r16                            <== 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)                                                 
ffc22828:	40 92 ff 60 	bne+    cr4,ffc22788 <msdos_dir_read+0x110>    <== NOT EXECUTED
ffc2282c:	7f 20 cb 78 	mr      r0,r25                                 <== NOT EXECUTED
                break;                                                
        }                                                             
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc22830:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc22834:	90 01 01 38 	stw     r0,312(r1)                             <== NOT EXECUTED
ffc22838:	4b fe b0 e1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
ffc2283c:	80 01 01 38 	lwz     r0,312(r1)                             <== NOT EXECUTED
    return cmpltd;                                                    
ffc22840:	48 00 02 98 	b       ffc22ad8 <msdos_dir_read+0x460>        <== NOT EXECUTED
                int   q;                                              
                                                                      
                /*                                                    
                 * Is this is the first entry of a LFN ?              
                 */                                                   
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
ffc22844:	2f 9a ff ff 	cmpwi   cr7,r26,-1                             <== NOT EXECUTED
ffc22848:	41 9e 02 38 	beq-    cr7,ffc22a80 <msdos_dir_read+0x408>    <== 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) &   
ffc2284c:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc22850:	54 00 06 be 	clrlwi  r0,r0,26                               <== NOT EXECUTED
ffc22854:	7f 80 b8 00 	cmpw    cr7,r0,r23                             <== NOT EXECUTED
ffc22858:	41 9e 00 0c 	beq-    cr7,ffc22864 <msdos_dir_read+0x1ec>    <== NOT EXECUTED
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
ffc2285c:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc22860:	4b ff ff 68 	b       ffc227c8 <msdos_dir_read+0x150>        <== 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))) 
ffc22864:	88 c9 00 0d 	lbz     r6,13(r9)                              <== 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)) ||  
ffc22868:	7f 86 88 00 	cmpw    cr7,r6,r17                             <== NOT EXECUTED
ffc2286c:	40 9e ff f0 	bne+    cr7,ffc2285c <msdos_dir_read+0x1e4>    <== 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--;                                        
ffc22870:	3a f7 ff ff 	addi    r23,r23,-1                             <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc22874:	1c f7 00 0d 	mulli   r7,r23,13                              <== NOT EXECUTED
ffc22878:	2b 87 00 ff 	cmplwi  cr7,r7,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)        
ffc2287c:	20 07 01 00 	subfic  r0,r7,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;                                        
ffc22880:	39 29 00 01 	addi    r9,r9,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)        
ffc22884:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc22888:	7c eb 3b 78 	mr      r11,r7                                 <== NOT EXECUTED
ffc2288c:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc22890:	41 9d 03 cc 	bgt-    cr7,ffc22c5c <msdos_dir_read+0x5e4>    <== 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)        
ffc22894:	38 01 00 20 	addi    r0,r1,32                               <== NOT EXECUTED
ffc22898:	7d 00 5a 14 	add     r8,r0,r11                              <== NOT EXECUTED
ffc2289c:	7c 07 58 50 	subf    r0,r7,r11                              <== 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++)         
ffc228a0:	2c 0a 00 0d 	cmpwi   r10,13                                 <== NOT EXECUTED
                    tmp_dirent.d_name[o++] = *p;                      
                                                                      
                    if (*p == '\0')                                   
                        break;                                        
                                                                      
                    switch (q)                                        
ffc228a4:	2f 80 00 04 	cmpwi   cr7,r0,4                               <== NOT EXECUTED
ffc228a8:	2c 80 00 0a 	cmpwi   cr1,r0,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;                      
ffc228ac:	39 6b 00 01 	addi    r11,r11,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))         
ffc228b0:	42 40 02 c4 	bdz-    ffc22b74 <msdos_dir_read+0x4fc>        <== NOT EXECUTED
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
ffc228b4:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc228b8:	98 08 00 14 	stb     r0,20(r8)                              <== NOT EXECUTED
                                                                      
                    if (*p == '\0')                                   
ffc228bc:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc228c0:	2f 00 00 00 	cmpwi   cr6,r0,0                               <== NOT EXECUTED
ffc228c4:	41 9a 02 b0 	beq-    cr6,ffc22b74 <msdos_dir_read+0x4fc>    <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
ffc228c8:	41 9e 02 a0 	beq-    cr7,ffc22b68 <msdos_dir_read+0x4f0>    <== NOT EXECUTED
ffc228cc:	41 86 02 90 	beq-    cr1,ffc22b5c <msdos_dir_read+0x4e4>    <== 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++)         
ffc228d0:	41 82 02 a4 	beq-    ffc22b74 <msdos_dir_read+0x4fc>        <== NOT EXECUTED
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
                            break;                                    
                        default:                                      
                            p += 2;                                   
ffc228d4:	39 29 00 02 	addi    r9,r9,2                                <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc228d8:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
ffc228dc:	4b ff ff b8 	b       ffc22894 <msdos_dir_read+0x21c>        <== NOT EXECUTED
                 * unfortunately there is no method to extract ino except to
                 * open fat-file descriptor :( ... so, open it        
                 */                                                   
                                                                      
                /* get number of cluster we are working with */       
                rc = fat_file_ioctl(iop->pathinfo.mt_entry, fat_fd, F_CLU_NUM,
ffc228e0:	80 7b 00 2c 	lwz     r3,44(r27)                             <== NOT EXECUTED
ffc228e4:	7e 84 a3 78 	mr      r4,r20                                 <== NOT EXECUTED
ffc228e8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc228ec:	91 21 01 38 	stw     r9,312(r1)                             <== NOT EXECUTED
ffc228f0:	7e c6 b3 78 	mr      r6,r22                                 <== NOT EXECUTED
ffc228f4:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc228f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc228fc:	4b ff 4f 59 	bl      ffc17854 <fat_file_ioctl>              <== NOT EXECUTED
                                    j * bts2rd, &cur_cln);            
                if (rc != RC_OK)                                      
ffc22900:	81 21 01 38 	lwz     r9,312(r1)                             <== NOT EXECUTED
ffc22904:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc22908:	40 a2 ff 28 	bne-    ffc22830 <msdos_dir_read+0x1b8>        <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
ffc2290c:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
ffc22910:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc22914:	80 7b 00 2c 	lwz     r3,44(r27)                             <== NOT EXECUTED
ffc22918:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
ffc2291c:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
ffc22920:	91 21 01 38 	stw     r9,312(r1)                             <== 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;                           
ffc22924:	92 a1 00 18 	stw     r21,24(r1)                             <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc22928:	92 a1 00 1c 	stw     r21,28(r1)                             <== NOT EXECUTED
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
                dir_pos.sname.ofs = i;                                
ffc2292c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
ffc22930:	4b ff 47 45 	bl      ffc17074 <fat_file_open>               <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc22934:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc22938:	81 21 01 38 	lwz     r9,312(r1)                             <== NOT EXECUTED
ffc2293c:	40 a2 fe f4 	bne-    ffc22830 <msdos_dir_read+0x1b8>        <== 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)                 
ffc22940:	2f 9a ff ff 	cmpwi   cr7,r26,-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;                   
ffc22944:	81 61 00 0c 	lwz     r11,12(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;                    
ffc22948:	93 21 00 2c 	stw     r25,44(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc2294c:	80 0b 00 0c 	lwz     r0,12(r11)                             <== 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;                    
ffc22950:	93 81 00 28 	stw     r28,40(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
ffc22954:	b2 61 00 30 	sth     r19,48(r1)                             <== NOT EXECUTED
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc22958:	90 01 00 20 	stw     r0,32(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)                 
ffc2295c:	41 9e 00 70 	beq-    cr7,ffc229cc <msdos_dir_read+0x354>    <== 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;  
ffc22960:	39 00 00 0b 	li      r8,11                                  <== NOT EXECUTED
ffc22964:	7d 09 03 a6 	mtctr   r8                                     <== 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)                 
ffc22968:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc2296c:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc22970:	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;  
ffc22974:	7d 09 58 ae 	lbzx    r8,r9,r11                              <== NOT EXECUTED
ffc22978:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          <== NOT EXECUTED
ffc2297c:	7c 0a 02 14 	add     r0,r10,r0                              <== NOT EXECUTED
ffc22980:	7c 00 42 14 	add     r0,r0,r8                               <== NOT EXECUTED
ffc22984:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
ffc22988:	70 0a 00 01 	andi.   r10,r0,1                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc2298c:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
ffc22990:	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++)                     
ffc22994:	42 40 00 30 	bdz-    ffc229c4 <msdos_dir_read+0x34c>        <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
ffc22998:	41 a2 ff dc 	beq-    ffc22974 <msdos_dir_read+0x2fc>        <== NOT EXECUTED
ffc2299c:	39 40 00 80 	li      r10,128                                <== NOT EXECUTED
ffc229a0:	7d 09 58 ae 	lbzx    r8,r9,r11                              <== NOT EXECUTED
ffc229a4:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          <== NOT EXECUTED
ffc229a8:	7c 0a 02 14 	add     r0,r10,r0                              <== NOT EXECUTED
ffc229ac:	7c 00 42 14 	add     r0,r0,r8                               <== NOT EXECUTED
ffc229b0:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
ffc229b4:	70 0a 00 01 	andi.   r10,r0,1                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc229b8:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
ffc229bc:	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++)                     
ffc229c0:	42 00 ff d8 	bdnz+   ffc22998 <msdos_dir_read+0x320>        <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
ffc229c4:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
ffc229c8:	41 9e 00 ec 	beq-    cr7,ffc22ab4 <msdos_dir_read+0x43c>    <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc229cc:	38 e0 00 08 	li      r7,8                                   <== NOT EXECUTED
ffc229d0:	7c e9 03 a6 	mtctr   r7                                     <== NOT EXECUTED
	src_tmp = src + MSDOS_SHORT_BASE_LEN-1);                             
ffc229d4:	38 c9 00 07 	addi    r6,r9,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)        
ffc229d8:	39 69 00 08 	addi    r11,r9,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) &&                                                    
ffc229dc:	8c 0b ff ff 	lbzu    r0,-1(r11)                             <== NOT EXECUTED
ffc229e0:	2f 80 00 20 	cmpwi   cr7,r0,32                              <== NOT EXECUTED
ffc229e4:	40 9e 01 9c 	bne-    cr7,ffc22b80 <msdos_dir_read+0x508>    <== NOT EXECUTED
	(*src_tmp == ' '));                                                  
       i--,src_tmp--)                                                 
ffc229e8:	38 e7 ff ff 	addi    r7,r7,-1                               <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc229ec:	42 00 ff f0 	bdnz+   ffc229dc <msdos_dir_read+0x364>        <== 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(
ffc229f0:	39 41 00 34 	addi    r10,r1,52                              <== 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) &&                                                    
ffc229f4:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc229f8:	2f 80 00 20 	cmpwi   cr7,r0,32                              <== NOT EXECUTED
ffc229fc:	40 9e 02 58 	bne-    cr7,ffc22c54 <msdos_dir_read+0x5dc>    <== NOT EXECUTED
ffc22a00:	88 09 00 09 	lbz     r0,9(r9)                               <== NOT EXECUTED
ffc22a04:	2f 80 00 20 	cmpwi   cr7,r0,32                              <== NOT EXECUTED
ffc22a08:	40 9e 01 e4 	bne-    cr7,ffc22bec <msdos_dir_read+0x574>    <== NOT EXECUTED
ffc22a0c:	88 09 00 08 	lbz     r0,8(r9)                               <== NOT EXECUTED
ffc22a10:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc22a14:	2f 80 00 20 	cmpwi   cr7,r0,32                              <== NOT EXECUTED
ffc22a18:	40 9e 01 d8 	bne-    cr7,ffc22bf0 <msdos_dir_read+0x578>    <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
ffc22a1c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc22a20:	98 0a 00 00 	stb     r0,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(
ffc22a24:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc22a28:	b0 e1 00 32 	sth     r7,50(r1)                              <== NOT EXECUTED
                else                                                  
                {                                                     
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
ffc22a2c:	38 81 00 20 	addi    r4,r1,32                               <== NOT EXECUTED
ffc22a30:	38 a0 01 18 	li      r5,280                                 <== NOT EXECUTED
ffc22a34:	7c 72 ca 14 	add     r3,r18,r25                             <== NOT EXECUTED
ffc22a38:	48 00 13 dd 	bl      ffc23e14 <memcpy>                      <== NOT EXECUTED
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
ffc22a3c:	81 5b 00 10 	lwz     r10,16(r27)                            <== NOT EXECUTED
ffc22a40:	81 7b 00 14 	lwz     r11,20(r27)                            <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
ffc22a44:	80 7b 00 2c 	lwz     r3,44(r27)                             <== 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);    
ffc22a48:	31 6b 01 18 	addic   r11,r11,280                            <== NOT EXECUTED
ffc22a4c:	7d 4a 01 94 	addze   r10,r10                                <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
ffc22a50:	80 81 00 0c 	lwz     r4,12(r1)                              <== 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);    
ffc22a54:	91 5b 00 10 	stw     r10,16(r27)                            <== NOT EXECUTED
ffc22a58:	91 7b 00 14 	stw     r11,20(r27)                            <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
ffc22a5c:	4b ff 4c fd 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc22a60:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc22a64:	40 a2 fd cc 	bne-    ffc22830 <msdos_dir_read+0x1b8>        <== NOT EXECUTED
ffc22a68:	3b 18 fe e8 	addi    r24,r24,-280                           <== NOT EXECUTED
ffc22a6c:	2e 18 00 00 	cmpwi   cr4,r24,0                              <== NOT EXECUTED
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
                cmpltd += (sizeof(struct dirent));                    
ffc22a70:	3b 39 01 18 	addi    r25,r25,280                            <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
ffc22a74:	40 92 fd 54 	bne+    cr4,ffc227c8 <msdos_dir_read+0x150>    <== 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)                                                 
ffc22a78:	7f 20 cb 78 	mr      r0,r25                                 <== NOT EXECUTED
ffc22a7c:	4b ff fd b4 	b       ffc22830 <msdos_dir_read+0x1b8>        <== 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) &               
ffc22a80:	70 0b 00 40 	andi.   r11,r0,64                              <== NOT EXECUTED
ffc22a84:	41 82 fd 44 	beq+    ffc227c8 <msdos_dir_read+0x150>        <== NOT EXECUTED
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
                      ((j * bts2rd) + i) / MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;
ffc22a88:	7f 56 fa 14 	add     r26,r22,r31                            <== 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);    
ffc22a8c:	8a 29 00 0d 	lbz     r17,13(r9)                             <== NOT EXECUTED
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
ffc22a90:	38 61 00 34 	addi    r3,r1,52                               <== NOT EXECUTED
ffc22a94:	91 21 01 38 	stw     r9,312(r1)                             <== NOT EXECUTED
ffc22a98:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc22a9c:	38 a0 01 00 	li      r5,256                                 <== 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) &     
ffc22aa0:	54 17 06 be 	clrlwi  r23,r0,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));
ffc22aa4:	48 00 14 55 	bl      ffc23ef8 <memset>                      <== NOT EXECUTED
                        continue;                                     
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
ffc22aa8:	57 5a d9 7e 	rlwinm  r26,r26,27,5,31                        <== 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));
ffc22aac:	81 21 01 38 	lwz     r9,312(r1)                             <== NOT EXECUTED
ffc22ab0:	4b ff fd 9c 	b       ffc2284c <msdos_dir_read+0x1d4>        <== NOT EXECUTED
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
ffc22ab4:	7f 80 88 00 	cmpw    cr7,r0,r17                             <== NOT EXECUTED
ffc22ab8:	40 9e ff 14 	bne+    cr7,ffc229cc <msdos_dir_read+0x354>    <== 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);  
ffc22abc:	38 61 00 34 	addi    r3,r1,52                               <== NOT EXECUTED
ffc22ac0:	48 00 20 9d 	bl      ffc24b5c <strlen>                      <== NOT EXECUTED
ffc22ac4:	b0 61 00 32 	sth     r3,50(r1)                              <== NOT EXECUTED
ffc22ac8:	4b ff ff 64 	b       ffc22a2c <msdos_dir_read+0x3b4>        <== 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);           
ffc22acc:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc22ad0:	4b fe ae 49 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
                return cmpltd;                                        
ffc22ad4:	7f 20 cb 78 	mr      r0,r25                                 <== NOT EXECUTED
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return cmpltd;                                                    
}                                                                     
ffc22ad8:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc22adc:	80 01 01 94 	lwz     r0,404(r1)                             <== NOT EXECUTED
ffc22ae0:	81 81 01 44 	lwz     r12,324(r1)                            <== NOT EXECUTED
ffc22ae4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22ae8:	81 c1 01 48 	lwz     r14,328(r1)                            <== NOT EXECUTED
ffc22aec:	81 e1 01 4c 	lwz     r15,332(r1)                            <== NOT EXECUTED
ffc22af0:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc22af4:	82 01 01 50 	lwz     r16,336(r1)                            <== NOT EXECUTED
ffc22af8:	82 21 01 54 	lwz     r17,340(r1)                            <== NOT EXECUTED
ffc22afc:	82 41 01 58 	lwz     r18,344(r1)                            <== NOT EXECUTED
ffc22b00:	82 61 01 5c 	lwz     r19,348(r1)                            <== NOT EXECUTED
ffc22b04:	82 81 01 60 	lwz     r20,352(r1)                            <== NOT EXECUTED
ffc22b08:	82 a1 01 64 	lwz     r21,356(r1)                            <== NOT EXECUTED
ffc22b0c:	82 c1 01 68 	lwz     r22,360(r1)                            <== NOT EXECUTED
ffc22b10:	82 e1 01 6c 	lwz     r23,364(r1)                            <== NOT EXECUTED
ffc22b14:	83 01 01 70 	lwz     r24,368(r1)                            <== NOT EXECUTED
ffc22b18:	83 21 01 74 	lwz     r25,372(r1)                            <== NOT EXECUTED
ffc22b1c:	83 41 01 78 	lwz     r26,376(r1)                            <== NOT EXECUTED
ffc22b20:	83 61 01 7c 	lwz     r27,380(r1)                            <== NOT EXECUTED
ffc22b24:	83 81 01 80 	lwz     r28,384(r1)                            <== NOT EXECUTED
ffc22b28:	83 a1 01 84 	lwz     r29,388(r1)                            <== NOT EXECUTED
ffc22b2c:	83 c1 01 88 	lwz     r30,392(r1)                            <== NOT EXECUTED
ffc22b30:	83 e1 01 8c 	lwz     r31,396(r1)                            <== NOT EXECUTED
ffc22b34:	38 21 01 90 	addi    r1,r1,400                              <== NOT EXECUTED
ffc22b38:	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) &&                           
ffc22b3c:	80 14 00 24 	lwz     r0,36(r20)                             <== NOT EXECUTED
ffc22b40:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc22b44:	40 be fb c8 	bne-    cr7,ffc2270c <msdos_dir_read+0x94>     <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
ffc22b48:	88 1e 00 0a 	lbz     r0,10(r30)                             <== 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) &&                           
ffc22b4c:	70 08 00 03 	andi.   r8,r0,3                                <== NOT EXECUTED
ffc22b50:	41 a2 fb bc 	beq-    ffc2270c <msdos_dir_read+0x94>         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
ffc22b54:	82 14 00 18 	lwz     r16,24(r20)                            <== NOT EXECUTED
ffc22b58:	4b ff fb b8 	b       ffc22710 <msdos_dir_read+0x98>         <== NOT EXECUTED
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
ffc22b5c:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc22b60:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
ffc22b64:	4b ff fd 30 	b       ffc22894 <msdos_dir_read+0x21c>        <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
ffc22b68:	39 29 00 05 	addi    r9,r9,5                                <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc22b6c:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
ffc22b70:	4b ff fd 24 	b       ffc22894 <msdos_dir_read+0x21c>        <== NOT EXECUTED
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
ffc22b74:	7c d1 33 78 	mr      r17,r6                                 <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
ffc22b78:	40 92 fc 50 	bne+    cr4,ffc227c8 <msdos_dir_read+0x150>    <== NOT EXECUTED
ffc22b7c:	4b ff fe fc 	b       ffc22a78 <msdos_dir_read+0x400>        <== 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) &&                                                    
ffc22b80:	80 af 27 ac 	lwz     r5,10156(r15)                          <== 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)        
ffc22b84:	39 49 ff ff 	addi    r10,r9,-1                              <== 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) &&                                                    
ffc22b88:	39 61 00 33 	addi    r11,r1,51                              <== 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)        
ffc22b8c:	7c e9 03 a6 	mtctr   r7                                     <== NOT EXECUTED
ffc22b90:	48 00 00 0c 	b       ffc22b9c <msdos_dir_read+0x524>        <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc22b94:	9c 0b 00 01 	stbu    r0,1(r11)                              <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
ffc22b98:	42 40 00 28 	bdz-    ffc22bc0 <msdos_dir_read+0x548>        <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc22b9c:	8c 0a 00 01 	lbzu    r0,1(r10)                              <== NOT EXECUTED
ffc22ba0:	7d 05 02 14 	add     r8,r5,r0                               <== NOT EXECUTED
ffc22ba4:	89 08 00 01 	lbz     r8,1(r8)                               <== NOT EXECUTED
ffc22ba8:	55 08 07 be 	clrlwi  r8,r8,30                               <== NOT EXECUTED
ffc22bac:	2f 88 00 01 	cmpwi   cr7,r8,1                               <== NOT EXECUTED
ffc22bb0:	40 9e ff e4 	bne+    cr7,ffc22b94 <msdos_dir_read+0x51c>    <== NOT EXECUTED
ffc22bb4:	30 00 00 20 	addic   r0,r0,32                               <== NOT EXECUTED
ffc22bb8:	9c 0b 00 01 	stbu    r0,1(r11)                              <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
ffc22bbc:	42 00 ff e0 	bdnz+   ffc22b9c <msdos_dir_read+0x524>        <== NOT EXECUTED
ffc22bc0:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc22bc4:	7d 4b 3a 14 	add     r10,r11,r7                             <== NOT EXECUTED
ffc22bc8:	39 4a 00 14 	addi    r10,r10,20                             <== NOT EXECUTED
ffc22bcc:	4b ff fe 28 	b       ffc229f4 <msdos_dir_read+0x37c>        <== NOT EXECUTED
         */                                                           
        ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc22bd0:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc22bd4:	4b fe ad 45 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
ffc22bd8:	48 00 04 09 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22bdc:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc22be0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22be4:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc22be8:	4b ff fe f0 	b       ffc22ad8 <msdos_dir_read+0x460>        <== 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--)                                                 
ffc22bec:	38 a0 00 02 	li      r5,2                                   <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
ffc22bf0:	38 05 00 01 	addi    r0,r5,1                                <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc22bf4:	99 ca 00 00 	stb     r14,0(r10)                             <== NOT EXECUTED
ffc22bf8:	38 6a 00 01 	addi    r3,r10,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)        
ffc22bfc:	7c a9 03 a6 	mtctr   r5                                     <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
ffc22c00:	7c e7 02 14 	add     r7,r7,r0                               <== NOT EXECUTED
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc22c04:	81 0f 27 ac 	lwz     r8,10156(r15)                          <== NOT EXECUTED
ffc22c08:	38 85 ff ff 	addi    r4,r5,-1                               <== NOT EXECUTED
ffc22c0c:	7c cb 33 78 	mr      r11,r6                                 <== NOT EXECUTED
ffc22c10:	7d 49 53 78 	mr      r9,r10                                 <== NOT EXECUTED
ffc22c14:	48 00 00 0c 	b       ffc22c20 <msdos_dir_read+0x5a8>        <== NOT EXECUTED
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc22c18:	9c 09 00 01 	stbu    r0,1(r9)                               <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc22c1c:	42 40 00 28 	bdz-    ffc22c44 <msdos_dir_read+0x5cc>        <== NOT EXECUTED
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc22c20:	8c 0b 00 01 	lbzu    r0,1(r11)                              <== NOT EXECUTED
ffc22c24:	7d 48 02 14 	add     r10,r8,r0                              <== NOT EXECUTED
ffc22c28:	89 4a 00 01 	lbz     r10,1(r10)                             <== NOT EXECUTED
ffc22c2c:	55 4a 07 be 	clrlwi  r10,r10,30                             <== NOT EXECUTED
ffc22c30:	2f 8a 00 01 	cmpwi   cr7,r10,1                              <== NOT EXECUTED
ffc22c34:	40 9e ff e4 	bne+    cr7,ffc22c18 <msdos_dir_read+0x5a0>    <== NOT EXECUTED
ffc22c38:	30 00 00 20 	addic   r0,r0,32                               <== NOT EXECUTED
ffc22c3c:	9c 09 00 01 	stbu    r0,1(r9)                               <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc22c40:	42 00 ff e0 	bdnz+   ffc22c20 <msdos_dir_read+0x5a8>        <== 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)        
ffc22c44:	38 e7 00 01 	addi    r7,r7,1                                <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc22c48:	7d 43 2a 14 	add     r10,r3,r5                              <== 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)        
ffc22c4c:	7c e7 22 14 	add     r7,r7,r4                               <== NOT EXECUTED
ffc22c50:	4b ff fd cc 	b       ffc22a1c <msdos_dir_read+0x3a4>        <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
  }                                                                   
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
ffc22c54:	38 a0 00 03 	li      r5,3                                   <== NOT EXECUTED
ffc22c58:	4b ff ff 98 	b       ffc22bf0 <msdos_dir_read+0x578>        <== NOT EXECUTED
ffc22c5c:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc22c60:	7d 09 03 a6 	mtctr   r8                                     <== NOT EXECUTED
ffc22c64:	4b ff fc 30 	b       ffc22894 <msdos_dir_read+0x21c>        <== NOT EXECUTED
                                                                      

ffc22e10 <msdos_dir_rmnod>: * RC_OK on success, or -1 if error occured (errno set apropriately). */ int msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc, rtems_filesystem_location_info_t *pathloc) {
ffc22e10:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc22e14:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
    bool               is_empty = false;                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22e18:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
ffc22e1c:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
    bool               is_empty = false;                              
ffc22e20:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc22e24:	81 24 00 10 	lwz     r9,16(r4)                              <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
ffc22e28:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc22e2c:	83 a9 00 34 	lwz     r29,52(r9)                             <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
ffc22e30:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
ffc22e34:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
    bool               is_empty = false;                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22e38:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc22e3c:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_rmnod(rtems_filesystem_location_info_t *parent_pathloc,     
                rtems_filesystem_location_info_t *pathloc)            
{                                                                     
ffc22e40:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc22e44:	93 81 00 18 	stw     r28,24(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
ffc22e48:	83 df 00 00 	lwz     r30,0(r31)                             <== NOT EXECUTED
    bool               is_empty = false;                              
ffc22e4c:	98 01 00 08 	stb     r0,8(r1)                               <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22e50:	4b fe a9 3d 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22e54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22e58:	40 9e 00 d0 	bne-    cr7,ffc22f28 <msdos_dir_rmnod+0x118>   <== NOT EXECUTED
                                                                      
    /*                                                                
     * We deny attempts to delete open directory (if directory is current
     * directory we assume it is open one)                            
     */                                                               
    if (fat_fd->links_num > 1)                                        
ffc22e5c:	80 1e 00 08 	lwz     r0,8(r30)                              <== NOT EXECUTED
ffc22e60:	2b 80 00 01 	cmplwi  cr7,r0,1                               <== NOT EXECUTED
ffc22e64:	41 9d 00 88 	bgt-    cr7,ffc22eec <msdos_dir_rmnod+0xdc>    <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove a node that still has children               
     */                                                               
    rc = msdos_dir_is_empty(pathloc->mt_entry, fat_fd, &is_empty);    
ffc22e68:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc22e6c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22e70:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc22e74:	4b ff c7 79 	bl      ffc1f5ec <msdos_dir_is_empty>          <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc22e78:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc22e7c:	40 82 00 44 	bne-    ffc22ec0 <msdos_dir_rmnod+0xb0>        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (!is_empty)                                                    
ffc22e80:	88 01 00 08 	lbz     r0,8(r1)                               <== NOT EXECUTED
ffc22e84:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc22e88:	41 9e 00 b4 	beq-    cr7,ffc22f3c <msdos_dir_rmnod+0x12c>   <== NOT EXECUTED
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
ffc22e8c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove the file system root node.                   
     */                                                               
    if (rtems_filesystem_is_root_location(pathloc))                   
ffc22e90:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
ffc22e94:	80 03 00 1c 	lwz     r0,28(r3)                              <== NOT EXECUTED
ffc22e98:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc22e9c:	41 9e 00 50 	beq-    cr7,ffc22eec <msdos_dir_rmnod+0xdc>    <== NOT EXECUTED
     * You cannot remove a mountpoint.                                
     * not used - mount() not implemenetd yet.                        
     */                                                               
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry, &fat_fd->dir_pos,
ffc22ea0:	38 9e 00 20 	addi    r4,r30,32                              <== NOT EXECUTED
ffc22ea4:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc22ea8:	4b ff c5 59 	bl      ffc1f400 <msdos_set_first_char4file_name><== NOT EXECUTED
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
ffc22eac:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc22eb0:	40 82 00 10 	bne-    ffc22ec0 <msdos_dir_rmnod+0xb0>        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
ffc22eb4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc22eb8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22ebc:	4b ff 4f 85 	bl      ffc17e40 <fat_file_mark_removed>       <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc22ec0:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc22ec4:	4b fe aa 55 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc22ec8:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc22ecc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22ed0:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc22ed4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22ed8:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc22edc:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc22ee0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc22ee4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc22ee8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    /*                                                                
     * You cannot remove the file system root node.                   
     */                                                               
    if (rtems_filesystem_is_root_location(pathloc))                   
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc22eec:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EBUSY);                  
ffc22ef0:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
    /*                                                                
     * You cannot remove the file system root node.                   
     */                                                               
    if (rtems_filesystem_is_root_location(pathloc))                   
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc22ef4:	4b fe aa 25 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EBUSY);                  
ffc22ef8:	48 00 00 e9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22efc:	38 00 00 10 	li      r0,16                                  <== NOT EXECUTED
ffc22f00:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
ffc22f04:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22f08:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc22f0c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc22f10:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22f14:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc22f18:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc22f1c:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc22f20:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc22f24:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    bool               is_empty = false;                              
                                                                      
    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);                    
ffc22f28:	48 00 00 b9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22f2c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc22f30:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22f34:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc22f38:	4b ff ff 90 	b       ffc22ec8 <msdos_dir_rmnod+0xb8>        <== NOT EXECUTED
        return rc;                                                    
    }                                                                 
                                                                      
    if (!is_empty)                                                    
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc22f3c:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOTEMPTY);              
ffc22f40:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
        return rc;                                                    
    }                                                                 
                                                                      
    if (!is_empty)                                                    
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc22f44:	4b fe a9 d5 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOTEMPTY);              
ffc22f48:	48 00 00 99 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22f4c:	38 00 00 5a 	li      r0,90                                  <== NOT EXECUTED
ffc22f50:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22f54:	4b ff ff 74 	b       ffc22ec8 <msdos_dir_rmnod+0xb8>        <== NOT EXECUTED
                                                                      

ffc22ca8 <msdos_dir_stat>: int msdos_dir_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc22ca8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc22cac:	7c 08 02 a6 	mflr    r0                                     
ffc22cb0:	7c 69 1b 78 	mr      r9,r3                                  
ffc22cb4:	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,        
ffc22cb8:	38 a0 00 00 	li      r5,0                                   
    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;              
ffc22cbc:	81 63 00 10 	lwz     r11,16(r3)                             
int                                                                   
msdos_dir_stat(                                                       
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc22cc0:	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;              
ffc22cc4:	83 cb 00 34 	lwz     r30,52(r11)                            
int                                                                   
msdos_dir_stat(                                                       
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc22cc8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc22ccc:	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,        
ffc22cd0:	38 80 00 00 	li      r4,0                                   
ffc22cd4:	80 7e 00 98 	lwz     r3,152(r30)                            
int                                                                   
msdos_dir_stat(                                                       
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc22cd8:	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;                     
ffc22cdc:	83 a9 00 00 	lwz     r29,0(r9)                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22ce0:	4b fe aa ad 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22ce4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc22ce8:	40 82 00 80 	bne-    ffc22d68 <msdos_dir_stat+0xc0>         <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
ffc22cec:	81 7e 00 5c 	lwz     r11,92(r30)                            
    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;                             
ffc22cf0:	80 1d 00 18 	lwz     r0,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 = fs_info->fat.vol.dev;                               
ffc22cf4:	81 5e 00 58 	lwz     r10,88(r30)                            
    buf->st_ino = fat_fd->ino;                                        
ffc22cf8:	80 dd 00 0c 	lwz     r6,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;     
ffc22cfc:	54 07 ba 7e 	rlwinm  r7,r0,23,9,31                          
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc22d00:	a1 1e 00 00 	lhz     r8,0(r30)                              
    buf->st_mtime = fat_fd->mtime;                                    
ffc22d04:	81 3d 00 40 	lwz     r9,64(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 = fs_info->fat.vol.dev;                               
ffc22d08:	91 7f 00 04 	stw     r11,4(r31)                             
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc22d0c:	39 60 41 ff 	li      r11,16895                              
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
ffc22d10:	91 5f 00 00 	stw     r10,0(r31)                             
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc22d14:	39 40 00 00 	li      r10,0                                  
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc22d18:	91 7f 00 0c 	stw     r11,12(r31)                            
    buf->st_rdev = 0ll;                                               
ffc22d1c:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc22d20:	90 7f 00 20 	stw     r3,32(r31)                             
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
ffc22d24:	90 df 00 08 	stw     r6,8(r31)                              
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc22d28:	91 5f 00 18 	stw     r10,24(r31)                            
ffc22d2c:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
ffc22d30:	90 1f 00 24 	stw     r0,36(r31)                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
ffc22d34:	90 ff 00 44 	stw     r7,68(r31)                             
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc22d38:	91 1f 00 40 	stw     r8,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc22d3c:	91 3f 00 30 	stw     r9,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc22d40:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc22d44:	4b fe ab d5 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc22d48:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc22d4c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc22d50:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc22d54:	7c 08 03 a6 	mtlr    r0                                     
ffc22d58:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc22d5c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc22d60:	38 21 00 18 	addi    r1,r1,24                               
ffc22d64:	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);                    
ffc22d68:	48 00 02 79 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22d6c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc22d70:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22d74:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc22d78:	4b ff ff d4 	b       ffc22d4c <msdos_dir_stat+0xa4>         <== NOT EXECUTED
                                                                      

ffc22d7c <msdos_dir_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set apropriately). */ int msdos_dir_sync(rtems_libio_t *iop) {
ffc22d7c:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc22d80:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22d84:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
ffc22d88:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22d8c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22d90:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
ffc22d94:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc22d98:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
ffc22d9c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc22da0:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22da4:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 */                                                                   
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
ffc22da8:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc22dac:	83 bf 00 1c 	lwz     r29,28(r31)                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc22db0:	4b fe a9 dd 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc22db4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22db8:	40 9e 00 3c 	bne-    cr7,ffc22df4 <msdos_dir_sync+0x78>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc22dbc:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc22dc0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc22dc4:	4b ff 51 45 	bl      ffc17f08 <fat_file_datasync>           <== NOT EXECUTED
ffc22dc8:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc22dcc:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc22dd0:	4b fe ab 49 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc22dd4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc22dd8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22ddc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc22de0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22de4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc22de8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc22dec:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc22df0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc22df4:	48 00 01 ed 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc22df8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc22dfc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc22e00:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc22e04:	4b ff ff d0 	b       ffc22dd4 <msdos_dir_sync+0x58>         <== NOT EXECUTED
                                                                      

ffc1dfdc <msdos_eval4make>: msdos_eval4make( const char *path, rtems_filesystem_location_info_t *pathloc, const char **name ) {
ffc1dfdc:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc1dfe0:	7c 08 02 a6 	mflr    r0                                     
ffc1dfe4:	90 01 00 54 	stw     r0,84(r1)                              
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc1dfe8:	81 24 00 10 	lwz     r9,16(r4)                              
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc1dfec:	93 a1 00 44 	stw     r29,68(r1)                             
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc1dff0:	83 a9 00 34 	lwz     r29,52(r9)                             
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc1dff4:	93 61 00 3c 	stw     r27,60(r1)                             
ffc1dff8:	7c 7b 1b 78 	mr      r27,r3                                 
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1dffc:	80 7d 00 98 	lwz     r3,152(r29)                            
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc1e000:	93 41 00 38 	stw     r26,56(r1)                             
ffc1e004:	7c ba 2b 78 	mr      r26,r5                                 
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e008:	38 a0 00 00 	li      r5,0                                   
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc1e00c:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc1e010:	7c 9f 23 78 	mr      r31,r4                                 
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e014:	38 80 00 00 	li      r4,0                                   
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc1e018:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc1e01c:	93 01 00 30 	stw     r24,48(r1)                             
ffc1e020:	93 21 00 34 	stw     r25,52(r1)                             
ffc1e024:	93 81 00 40 	stw     r28,64(r1)                             
ffc1e028:	93 c1 00 48 	stw     r30,72(r1)                             
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e02c:	4b fe f7 61 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e030:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e034:	40 9e 02 88 	bne-    cr7,ffc1e2bc <msdos_eval4make+0x2e0>   <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if (!pathloc->node_access)                                        
ffc1e038:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1e03c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e040:	41 9e 01 a8 	beq-    cr7,ffc1e1e8 <msdos_eval4make+0x20c>   <== NEVER TAKEN
        goto err;                                                     
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc1e044:	4b ff 93 35 	bl      ffc17378 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc1e048:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e04c:	40 82 00 70 	bne-    ffc1e0bc <msdos_eval4make+0xe0>        <== NEVER TAKEN
ffc1e050:	3b c0 00 00 	li      r30,0                                  
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
ffc1e054:	3f 20 00 00 	lis     r25,0                                  
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
ffc1e058:	7f 1b f2 14 	add     r24,r27,r30                            
ffc1e05c:	7f 03 c3 78 	mr      r3,r24                                 
ffc1e060:	48 00 6a fd 	bl      ffc24b5c <strlen>                      
ffc1e064:	38 a1 00 08 	addi    r5,r1,8                                
ffc1e068:	7c 64 1b 78 	mr      r4,r3                                  
ffc1e06c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1e070:	7f 03 c3 78 	mr      r3,r24                                 
ffc1e074:	48 00 0f 35 	bl      ffc1efa8 <msdos_get_token>             
        i += token_len;                                               
ffc1e078:	80 a1 00 0c 	lwz     r5,12(r1)                              
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1e07c:	2f 83 00 02 	cmpwi   cr7,r3,2                               
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
        i += token_len;                                               
        fat_fd = pathloc->node_access;                                
ffc1e080:	82 ff 00 00 	lwz     r23,0(r31)                             
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
ffc1e084:	7c 78 1b 78 	mr      r24,r3                                 
        i += token_len;                                               
ffc1e088:	7f de 2a 14 	add     r30,r30,r5                             
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1e08c:	41 9e 01 10 	beq-    cr7,ffc1e19c <msdos_eval4make+0x1c0>   
ffc1e090:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc1e094:	41 9d 00 68 	bgt-    cr7,ffc1e0fc <msdos_eval4make+0x120>   
ffc1e098:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e09c:	40 be ff bc 	bne-    cr7,ffc1e058 <msdos_eval4make+0x7c>    
                        done = true;                                  
                }                                                     
                break;                                                
                                                                      
            case MSDOS_NO_MORE_PATH:                                  
                errno = EEXIST;                                       
ffc1e0a0:	48 00 4f 41 	bl      ffc22fe0 <__errno>                     
ffc1e0a4:	38 00 00 11 	li      r0,17                                  
ffc1e0a8:	90 03 00 00 	stw     r0,0(r3)                               
                rc = -1;                                              
ffc1e0ac:	3b 80 ff ff 	li      r28,-1                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
ffc1e0b0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1e0b4:	7e e4 bb 78 	mr      r4,r23                                 
ffc1e0b8:	4b ff 96 a1 	bl      ffc17758 <fat_file_close>              
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e0bc:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc1e0c0:	4b fe f8 59 	bl      ffc0d918 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1e0c4:	80 01 00 54 	lwz     r0,84(r1)                              
ffc1e0c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e0cc:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc1e0d0:	7c 08 03 a6 	mtlr    r0                                     
ffc1e0d4:	83 01 00 30 	lwz     r24,48(r1)                             
ffc1e0d8:	83 21 00 34 	lwz     r25,52(r1)                             
ffc1e0dc:	83 41 00 38 	lwz     r26,56(r1)                             
ffc1e0e0:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc1e0e4:	83 81 00 40 	lwz     r28,64(r1)                             
ffc1e0e8:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc1e0ec:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc1e0f0:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc1e0f4:	38 21 00 50 	addi    r1,r1,80                               
ffc1e0f8:	4e 80 00 20 	blr                                            
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
        i += token_len;                                               
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1e0fc:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc1e100:	41 9e 00 20 	beq-    cr7,ffc1e120 <msdos_eval4make+0x144>   <== ALWAYS TAKEN
ffc1e104:	2f 83 00 04 	cmpwi   cr7,r3,4                               <== NOT EXECUTED
ffc1e108:	40 9e ff 50 	bne+    cr7,ffc1e058 <msdos_eval4make+0x7c>    <== NOT EXECUTED
                                                                      
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
ffc1e10c:	48 00 4e d5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e110:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc1e114:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                rc = -1;                                              
ffc1e118:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
                goto error;                                           
ffc1e11c:	4b ff ff 94 	b       ffc1e0b0 <msdos_eval4make+0xd4>        <== NOT EXECUTED
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc1e120:	80 17 00 10 	lwz     r0,16(r23)                             
ffc1e124:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1e128:	40 9e 01 a8 	bne-    cr7,ffc1e2d0 <msdos_eval4make+0x2f4>   
                                                                      
                /*                                                    
                 * Otherwise find the token name in the present location and
                 * set the node access to the point we have found.    
                 */                                                   
                rc = msdos_find_name(pathloc, token, token_len);      
ffc1e12c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1e130:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e134:	48 00 27 99 	bl      ffc208cc <msdos_find_name>             
                if (rc)                                               
ffc1e138:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1e13c:	41 a2 ff 1c 	beq-    ffc1e058 <msdos_eval4make+0x7c>        
                {                                                     
                    if (rc != MSDOS_NAME_NOT_FOUND_ERR)               
ffc1e140:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           
ffc1e144:	40 9e 00 44 	bne-    cr7,ffc1e188 <msdos_eval4make+0x1ac>   <== NEVER TAKEN
                break;                                                
                                                                      
        }                                                             
    }                                                                 
                                                                      
    *name = &path[i - token_len];                                     
ffc1e148:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
    /*                                                                
     * We have evaluated the path as far as we can.                   
     * Verify there is not any invalid stuff at the end of the name.  
     */                                                               
    for( ; path[i] != '\0'; i++)                                      
ffc1e14c:	7d 3b f2 14 	add     r9,r27,r30                             
                break;                                                
                                                                      
        }                                                             
    }                                                                 
                                                                      
    *name = &path[i - token_len];                                     
ffc1e150:	7c 00 f0 50 	subf    r0,r0,r30                              
ffc1e154:	7c 1b 02 14 	add     r0,r27,r0                              
ffc1e158:	90 1a 00 00 	stw     r0,0(r26)                              
                                                                      
    /*                                                                
     * We have evaluated the path as far as we can.                   
     * Verify there is not any invalid stuff at the end of the name.  
     */                                                               
    for( ; path[i] != '\0'; i++)                                      
ffc1e15c:	7c 7b f0 ae 	lbzx    r3,r27,r30                             
ffc1e160:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e164:	41 9e 01 2c 	beq-    cr7,ffc1e290 <msdos_eval4make+0x2b4>   
ffc1e168:	7d 3e 4b 78 	mr      r30,r9                                 
ffc1e16c:	48 00 00 10 	b       ffc1e17c <msdos_eval4make+0x1a0>       
ffc1e170:	8c 7e 00 01 	lbzu    r3,1(r30)                              
ffc1e174:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e178:	41 9e 01 18 	beq-    cr7,ffc1e290 <msdos_eval4make+0x2b4>   
    {                                                                 
        if (!msdos_is_separator(path[i]))                             
ffc1e17c:	4b fe c2 69 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
ffc1e180:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e184:	40 9e ff ec 	bne+    cr7,ffc1e170 <msdos_eval4make+0x194>   
        {                                                             
            errno = ENOENT;                                           
ffc1e188:	48 00 4e 59 	bl      ffc22fe0 <__errno>                     
ffc1e18c:	38 00 00 02 	li      r0,2                                   
ffc1e190:	90 03 00 00 	stw     r0,0(r3)                               
            rc = -1;                                                  
ffc1e194:	3b 80 ff ff 	li      r28,-1                                 
            goto error;                                               
ffc1e198:	4b ff ff 18 	b       ffc1e0b0 <msdos_eval4make+0xd4>        
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc1e19c:	80 17 00 10 	lwz     r0,16(r23)                             
ffc1e1a0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1e1a4:	40 9e 01 2c 	bne-    cr7,ffc1e2d0 <msdos_eval4make+0x2f4>   <== NEVER TAKEN
    fat_file_close(pathloc->mt_entry, fat_fd);                        
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
ffc1e1a8:	81 3f 00 10 	lwz     r9,16(r31)                             
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
ffc1e1ac:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1e1b0:	7f 97 00 00 	cmpw    cr7,r23,r0                             
ffc1e1b4:	41 9e 00 48 	beq-    cr7,ffc1e1fc <msdos_eval4make+0x220>   <== ALWAYS TAKEN
                                                              pathloc, name);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                    rc = msdos_find_name(pathloc, token, token_len);  
ffc1e1b8:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1e1bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e1c0:	48 00 27 0d 	bl      ffc208cc <msdos_find_name>             <== NOT EXECUTED
                    if (rc != RC_OK)                                  
ffc1e1c4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1e1c8:	41 82 fe 90 	beq+    ffc1e058 <msdos_eval4make+0x7c>        <== NOT EXECUTED
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
ffc1e1cc:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           <== NOT EXECUTED
ffc1e1d0:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc1e1d4:	40 9e fe dc 	bne+    cr7,ffc1e0b0 <msdos_eval4make+0xd4>    <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
ffc1e1d8:	48 00 4e 09 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
                            rc = -1;                                  
ffc1e1dc:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
                    rc = msdos_find_name(pathloc, token, token_len);  
                    if (rc != RC_OK)                                  
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
                        {                                             
                            errno = ENOENT;                           
ffc1e1e0:	93 03 00 00 	stw     r24,0(r3)                              <== NOT EXECUTED
ffc1e1e4:	4b ff fe cc 	b       ffc1e0b0 <msdos_eval4make+0xd4>        <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if (!pathloc->node_access)                                        
    {                                                                 
        errno = ENOENT;                                               
ffc1e1e8:	48 00 4d f9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e1ec:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc1e1f0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
        rc = -1;                                                      
ffc1e1f4:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
        goto err;                                                     
ffc1e1f8:	4b ff fe c4 	b       ffc1e0bc <msdos_eval4make+0xe0>        <== NOT EXECUTED
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
ffc1e1fc:	81 79 27 9c 	lwz     r11,10140(r25)                         
                {                                                     
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
ffc1e200:	80 0b 00 18 	lwz     r0,24(r11)                             
ffc1e204:	7f 97 00 00 	cmpw    cr7,r23,r0                             
ffc1e208:	41 9e fe 50 	beq+    cr7,ffc1e058 <msdos_eval4make+0x7c>    <== ALWAYS TAKEN
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1e20c:	80 09 00 18 	lwz     r0,24(r9)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1e210:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1e214:	81 09 00 08 	lwz     r8,8(r9)                               <== NOT EXECUTED
ffc1e218:	81 49 00 0c 	lwz     r10,12(r9)                             <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1e21c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1e220:	81 69 00 10 	lwz     r11,16(r9)                             <== NOT EXECUTED
ffc1e224:	81 29 00 14 	lwz     r9,20(r9)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
ffc1e228:	91 1f 00 00 	stw     r8,0(r31)                              <== NOT EXECUTED
ffc1e22c:	91 5f 00 04 	stw     r10,4(r31)                             <== NOT EXECUTED
ffc1e230:	91 7f 00 08 	stw     r11,8(r31)                             <== NOT EXECUTED
ffc1e234:	91 3f 00 0c 	stw     r9,12(r31)                             <== NOT EXECUTED
ffc1e238:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1e23c:	91 01 00 10 	stw     r8,16(r1)                              <== NOT EXECUTED
ffc1e240:	91 41 00 14 	stw     r10,20(r1)                             <== NOT EXECUTED
ffc1e244:	91 61 00 18 	stw     r11,24(r1)                             <== NOT EXECUTED
ffc1e248:	91 21 00 1c 	stw     r9,28(r1)                              <== NOT EXECUTED
ffc1e24c:	90 01 00 20 	stw     r0,32(r1)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1e250:	4b ff 95 09 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
                        if (rc != RC_OK)                              
ffc1e254:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1e258:	40 82 fe 64 	bne+    ffc1e0bc <msdos_eval4make+0xe0>        <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
ffc1e25c:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc1e260:	4b fe f6 b9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
                        return (*pathloc->ops->evalformake_h)(&path[i-token_len],
ffc1e264:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc1e268:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc1e26c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1e270:	80 09 00 04 	lwz     r0,4(r9)                               <== NOT EXECUTED
ffc1e274:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc1e278:	7c 63 f0 50 	subf    r3,r3,r30                              <== NOT EXECUTED
ffc1e27c:	7c 7b 1a 14 	add     r3,r27,r3                              <== NOT EXECUTED
ffc1e280:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc1e284:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc1e288:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc1e28c:	4b ff fe 38 	b       ffc1e0c4 <msdos_eval4make+0xe8>        <== NOT EXECUTED
            rc = -1;                                                  
            goto error;                                               
        }                                                             
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
ffc1e290:	82 ff 00 00 	lwz     r23,0(r31)                             
                                                                      
    if (fat_fd->fat_file_type != FAT_DIRECTORY)                       
ffc1e294:	80 17 00 10 	lwz     r0,16(r23)                             
ffc1e298:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1e29c:	40 9e 00 34 	bne-    cr7,ffc1e2d0 <msdos_eval4make+0x2f4>   <== NEVER TAKEN
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc1e2a0:	81 3f 00 10 	lwz     r9,16(r31)                             
        goto error;                                                   
    }                                                                 
                                                                      
    msdos_set_handlers(pathloc);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e2a4:	80 7d 00 98 	lwz     r3,152(r29)                            
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
        loc->handlers = fs_info->directory_handlers;                  
ffc1e2a8:	81 29 00 34 	lwz     r9,52(r9)                              
ffc1e2ac:	80 09 00 90 	lwz     r0,144(r9)                             
ffc1e2b0:	90 1f 00 08 	stw     r0,8(r31)                              
        goto error;                                                   
    }                                                                 
                                                                      
    msdos_set_handlers(pathloc);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e2b4:	4b fe f6 65 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc1e2b8:	4b ff fe 0c 	b       ffc1e0c4 <msdos_eval4make+0xe8>        
    bool                              done = false;                   
                                                                      
    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);                    
ffc1e2bc:	48 00 4d 25 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e2c0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e2c4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e2c8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1e2cc:	4b ff fd f8 	b       ffc1e0c4 <msdos_eval4make+0xe8>        <== NOT EXECUTED
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    if (fat_fd->fat_file_type != FAT_DIRECTORY)                       
    {                                                                 
        errno = ENOTDIR;                                              
ffc1e2d0:	48 00 4d 11 	bl      ffc22fe0 <__errno>                     
ffc1e2d4:	38 00 00 14 	li      r0,20                                  
ffc1e2d8:	90 03 00 00 	stw     r0,0(r3)                               
        rc = -1;                                                      
ffc1e2dc:	3b 80 ff ff 	li      r28,-1                                 
        goto error;                                                   
ffc1e2e0:	4b ff fd d0 	b       ffc1e0b0 <msdos_eval4make+0xd4>        
                                                                      

ffc1dd18 <msdos_eval_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc1dd18:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc1dd1c:	7c 08 02 a6 	mflr    r0                                     
ffc1dd20:	90 01 00 54 	stw     r0,84(r1)                              
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
    fat_file_fd_t                    *fat_fd = NULL;                  
    rtems_filesystem_location_info_t  newloc;                         
    int                               i = 0;                          
    int                               token_len = 0;                  
ffc1dd24:	38 00 00 00 	li      r0,0                                   
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc1dd28:	81 26 00 10 	lwz     r9,16(r6)                              
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc1dd2c:	93 81 00 40 	stw     r28,64(r1)                             
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc1dd30:	83 89 00 34 	lwz     r28,52(r9)                             
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc1dd34:	93 41 00 38 	stw     r26,56(r1)                             
ffc1dd38:	7c 7a 1b 78 	mr      r26,r3                                 
    int                               i = 0;                          
    int                               token_len = 0;                  
    msdos_token_types_t               type = MSDOS_CURRENT_DIR;       
    const char                       *token;                          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1dd3c:	80 7c 00 98 	lwz     r3,152(r28)                            
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc1dd40:	93 21 00 34 	stw     r25,52(r1)                             
ffc1dd44:	7c b9 2b 78 	mr      r25,r5                                 
    int                               i = 0;                          
    int                               token_len = 0;                  
    msdos_token_types_t               type = MSDOS_CURRENT_DIR;       
    const char                       *token;                          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1dd48:	38 a0 00 00 	li      r5,0                                   
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc1dd4c:	93 c1 00 48 	stw     r30,72(r1)                             
ffc1dd50:	7c 9e 23 78 	mr      r30,r4                                 
    int                               i = 0;                          
    int                               token_len = 0;                  
    msdos_token_types_t               type = MSDOS_CURRENT_DIR;       
    const char                       *token;                          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1dd54:	38 80 00 00 	li      r4,0                                   
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc1dd58:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc1dd5c:	7c df 33 78 	mr      r31,r6                                 
ffc1dd60:	92 c1 00 28 	stw     r22,40(r1)                             
ffc1dd64:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc1dd68:	93 01 00 30 	stw     r24,48(r1)                             
ffc1dd6c:	93 61 00 3c 	stw     r27,60(r1)                             
ffc1dd70:	93 a1 00 44 	stw     r29,68(r1)                             
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
    fat_file_fd_t                    *fat_fd = NULL;                  
    rtems_filesystem_location_info_t  newloc;                         
    int                               i = 0;                          
    int                               token_len = 0;                  
ffc1dd74:	90 01 00 0c 	stw     r0,12(r1)                              
    msdos_token_types_t               type = MSDOS_CURRENT_DIR;       
    const char                       *token;                          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1dd78:	4b fe fa 15 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1dd7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dd80:	40 9e 02 34 	bne-    cr7,ffc1dfb4 <msdos_eval_path+0x29c>   <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if (!pathloc->node_access)                                        
ffc1dd84:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1dd88:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dd8c:	41 9e 01 70 	beq-    cr7,ffc1defc <msdos_eval_path+0x1e4>   <== NEVER TAKEN
        goto err;                                                     
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc1dd90:	4b ff 95 e9 	bl      ffc17378 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc1dd94:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1dd98:	40 82 00 74 	bne-    ffc1de0c <msdos_eval_path+0xf4>        <== NEVER TAKEN
ffc1dd9c:	3b a0 00 00 	li      r29,0                                  
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
ffc1dda0:	3f 00 00 00 	lis     r24,0                                  
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
    {                                                                 
        type = msdos_get_token(&pathname[i], pathnamelen, &token, &token_len);
ffc1dda4:	7c 7a ea 14 	add     r3,r26,r29                             
ffc1dda8:	7f c4 f3 78 	mr      r4,r30                                 
ffc1ddac:	38 a1 00 08 	addi    r5,r1,8                                
ffc1ddb0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1ddb4:	48 00 11 f5 	bl      ffc1efa8 <msdos_get_token>             
        pathnamelen -= token_len;                                     
ffc1ddb8:	80 a1 00 0c 	lwz     r5,12(r1)                              
        i += token_len;                                               
                                                                      
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1ddbc:	2f 83 00 03 	cmpwi   cr7,r3,3                               
    {                                                                 
        type = msdos_get_token(&pathname[i], pathnamelen, &token, &token_len);
        pathnamelen -= token_len;                                     
        i += token_len;                                               
                                                                      
        fat_fd = pathloc->node_access;                                
ffc1ddc0:	82 df 00 00 	lwz     r22,0(r31)                             
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
    {                                                                 
        type = msdos_get_token(&pathname[i], pathnamelen, &token, &token_len);
ffc1ddc4:	7c 77 1b 78 	mr      r23,r3                                 
        pathnamelen -= token_len;                                     
ffc1ddc8:	7f c5 f0 50 	subf    r30,r5,r30                             
        i += token_len;                                               
ffc1ddcc:	7f bd 2a 14 	add     r29,r29,r5                             
                                                                      
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1ddd0:	41 9e 00 80 	beq-    cr7,ffc1de50 <msdos_eval_path+0x138>   
ffc1ddd4:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc1ddd8:	41 9e 01 04 	beq-    cr7,ffc1dedc <msdos_eval_path+0x1c4>   <== NEVER TAKEN
ffc1dddc:	2f 03 00 02 	cmpwi   cr6,r3,2                               
ffc1dde0:	41 9a 00 b0 	beq-    cr6,ffc1de90 <msdos_eval_path+0x178>   
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
ffc1dde4:	2f 03 00 00 	cmpwi   cr6,r3,0                               
ffc1dde8:	41 9a 00 08 	beq-    cr6,ffc1ddf0 <msdos_eval_path+0xd8>    
ffc1ddec:	40 9e ff b8 	bne+    cr7,ffc1dda4 <msdos_eval_path+0x8c>    <== ALWAYS TAKEN
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)                       
ffc1ddf0:	80 16 00 10 	lwz     r0,16(r22)                             
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc1ddf4:	81 3f 00 10 	lwz     r9,16(r31)                             
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
ffc1ddf8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc1ddfc:	81 29 00 34 	lwz     r9,52(r9)                              
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
ffc1de00:	41 9e 01 a8 	beq-    cr7,ffc1dfa8 <msdos_eval_path+0x290>   
        loc->handlers = fs_info->directory_handlers;                  
    else                                                              
        loc->handlers = fs_info->file_handlers;                       
ffc1de04:	80 09 00 94 	lwz     r0,148(r9)                             
ffc1de08:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1de0c:	80 7c 00 98 	lwz     r3,152(r28)                            
ffc1de10:	4b fe fb 09 	bl      ffc0d918 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1de14:	80 01 00 54 	lwz     r0,84(r1)                              
ffc1de18:	7f 63 db 78 	mr      r3,r27                                 
ffc1de1c:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc1de20:	7c 08 03 a6 	mtlr    r0                                     
ffc1de24:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc1de28:	83 01 00 30 	lwz     r24,48(r1)                             
ffc1de2c:	83 21 00 34 	lwz     r25,52(r1)                             
ffc1de30:	83 41 00 38 	lwz     r26,56(r1)                             
ffc1de34:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc1de38:	83 81 00 40 	lwz     r28,64(r1)                             
ffc1de3c:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc1de40:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc1de44:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc1de48:	38 21 00 50 	addi    r1,r1,80                               
ffc1de4c:	4e 80 00 20 	blr                                            
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc1de50:	80 16 00 10 	lwz     r0,16(r22)                             
ffc1de54:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1de58:	40 9e 01 70 	bne-    cr7,ffc1dfc8 <msdos_eval_path+0x2b0>   
                                                                      
                /*                                                    
                 *  Otherwise find the token name in the present location and
                 * set the node access to the point we have found.    
                 */                                                   
                rc = msdos_find_name(pathloc, token, token_len);      
ffc1de5c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1de60:	7f e3 fb 78 	mr      r3,r31                                 
ffc1de64:	48 00 2a 69 	bl      ffc208cc <msdos_find_name>             
                if (rc != RC_OK)                                      
ffc1de68:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1de6c:	41 82 ff 38 	beq+    ffc1dda4 <msdos_eval_path+0x8c>        
                {                                                     
                    if (rc == MSDOS_NAME_NOT_FOUND_ERR)               
ffc1de70:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           
ffc1de74:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1de78:	40 be 00 74 	bne+    cr7,ffc1deec <msdos_eval_path+0x1d4>   
                    {                                                 
                        errno = ENOENT;                               
ffc1de7c:	48 00 51 65 	bl      ffc22fe0 <__errno>                     
ffc1de80:	38 00 00 02 	li      r0,2                                   
ffc1de84:	90 03 00 00 	stw     r0,0(r3)                               
                        rc = -1;                                      
ffc1de88:	3b 60 ff ff 	li      r27,-1                                 
ffc1de8c:	48 00 00 60 	b       ffc1deec <msdos_eval_path+0x1d4>       
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc1de90:	80 16 00 10 	lwz     r0,16(r22)                             
ffc1de94:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1de98:	40 9e 01 30 	bne-    cr7,ffc1dfc8 <msdos_eval_path+0x2b0>   <== NEVER TAKEN
    fat_file_close(pathloc->mt_entry, fat_fd);                        
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
ffc1de9c:	81 3f 00 10 	lwz     r9,16(r31)                             
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
ffc1dea0:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1dea4:	7f 96 00 00 	cmpw    cr7,r22,r0                             
ffc1dea8:	41 9e 00 68 	beq-    cr7,ffc1df10 <msdos_eval_path+0x1f8>   <== NEVER TAKEN
                                                           flags, pathloc);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                  rc = msdos_find_name(pathloc, token, token_len);    
ffc1deac:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1deb0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1deb4:	48 00 2a 19 	bl      ffc208cc <msdos_find_name>             
                    if (rc != RC_OK)                                  
ffc1deb8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1debc:	41 82 fe e8 	beq+    ffc1dda4 <msdos_eval_path+0x8c>        <== ALWAYS TAKEN
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
ffc1dec0:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           <== NOT EXECUTED
ffc1dec4:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
ffc1dec8:	40 be 00 24 	bne+    cr7,ffc1deec <msdos_eval_path+0x1d4>   <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
ffc1decc:	48 00 51 15 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
                            rc = -1;                                  
ffc1ded0:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
                  rc = msdos_find_name(pathloc, token, token_len);    
                    if (rc != RC_OK)                                  
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
                        {                                             
                            errno = ENOENT;                           
ffc1ded4:	92 e3 00 00 	stw     r23,0(r3)                              <== NOT EXECUTED
ffc1ded8:	48 00 00 14 	b       ffc1deec <msdos_eval_path+0x1d4>       <== NOT EXECUTED
            case MSDOS_NO_MORE_PATH:                                  
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
ffc1dedc:	48 00 51 05 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1dee0:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc1dee4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                rc = -1;                                              
ffc1dee8:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
ffc1deec:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1def0:	7e c4 b3 78 	mr      r4,r22                                 
ffc1def4:	4b ff 98 65 	bl      ffc17758 <fat_file_close>              
ffc1def8:	4b ff ff 14 	b       ffc1de0c <msdos_eval_path+0xf4>        
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if (!pathloc->node_access)                                        
    {                                                                 
        errno = ENOENT;                                               
ffc1defc:	48 00 50 e5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1df00:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc1df04:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
        rc = -1;                                                      
ffc1df08:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
        goto err;                                                     
ffc1df0c:	4b ff ff 00 	b       ffc1de0c <msdos_eval_path+0xf4>        <== NOT EXECUTED
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
                        rtems_filesystem_root.node_access)            
ffc1df10:	81 78 27 9c 	lwz     r11,10140(r24)                         <== NOT EXECUTED
                {                                                     
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
ffc1df14:	80 0b 00 18 	lwz     r0,24(r11)                             <== NOT EXECUTED
ffc1df18:	7f 96 00 00 	cmpw    cr7,r22,r0                             <== NOT EXECUTED
ffc1df1c:	41 9e fe 88 	beq+    cr7,ffc1dda4 <msdos_eval_path+0x8c>    <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1df20:	80 09 00 18 	lwz     r0,24(r9)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1df24:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1df28:	81 09 00 08 	lwz     r8,8(r9)                               <== NOT EXECUTED
ffc1df2c:	81 49 00 0c 	lwz     r10,12(r9)                             <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1df30:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1df34:	81 69 00 10 	lwz     r11,16(r9)                             <== NOT EXECUTED
ffc1df38:	81 29 00 14 	lwz     r9,20(r9)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
ffc1df3c:	91 1f 00 00 	stw     r8,0(r31)                              <== NOT EXECUTED
ffc1df40:	91 5f 00 04 	stw     r10,4(r31)                             <== NOT EXECUTED
ffc1df44:	91 7f 00 08 	stw     r11,8(r31)                             <== NOT EXECUTED
ffc1df48:	91 3f 00 0c 	stw     r9,12(r31)                             <== NOT EXECUTED
ffc1df4c:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc1df50:	91 01 00 10 	stw     r8,16(r1)                              <== NOT EXECUTED
ffc1df54:	91 41 00 14 	stw     r10,20(r1)                             <== NOT EXECUTED
ffc1df58:	91 61 00 18 	stw     r11,24(r1)                             <== NOT EXECUTED
ffc1df5c:	91 21 00 1c 	stw     r9,28(r1)                              <== NOT EXECUTED
ffc1df60:	90 01 00 20 	stw     r0,32(r1)                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc1df64:	4b ff 97 f5 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
                        if (rc != RC_OK)                              
ffc1df68:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1df6c:	40 82 fe a0 	bne+    ffc1de0c <msdos_eval_path+0xf4>        <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
ffc1df70:	80 7c 00 98 	lwz     r3,152(r28)                            <== NOT EXECUTED
ffc1df74:	4b fe f9 a5 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
                        return (*pathloc->ops->evalpath_h)(&(pathname[i-token_len]),
ffc1df78:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc1df7c:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc1df80:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc1df84:	80 09 00 00 	lwz     r0,0(r9)                               <== NOT EXECUTED
ffc1df88:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1df8c:	7c 64 e8 50 	subf    r3,r4,r29                              <== NOT EXECUTED
ffc1df90:	7c 7a 1a 14 	add     r3,r26,r3                              <== NOT EXECUTED
ffc1df94:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc1df98:	7c 9e 22 14 	add     r4,r30,r4                              <== NOT EXECUTED
ffc1df9c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc1dfa0:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
ffc1dfa4:	4b ff fe 70 	b       ffc1de14 <msdos_eval_path+0xfc>        <== NOT EXECUTED
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
        loc->handlers = fs_info->directory_handlers;                  
ffc1dfa8:	80 09 00 90 	lwz     r0,144(r9)                             
ffc1dfac:	90 1f 00 08 	stw     r0,8(r31)                              
ffc1dfb0:	4b ff fe 5c 	b       ffc1de0c <msdos_eval_path+0xf4>        
    const char                       *token;                          
                                                                      
    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);                    
ffc1dfb4:	48 00 50 2d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1dfb8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1dfbc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1dfc0:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc1dfc4:	4b ff fe 50 	b       ffc1de14 <msdos_eval_path+0xfc>        <== NOT EXECUTED
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
                {                                                     
                    errno = ENOTSUP;                                  
ffc1dfc8:	48 00 50 19 	bl      ffc22fe0 <__errno>                     
ffc1dfcc:	38 00 00 86 	li      r0,134                                 
ffc1dfd0:	90 03 00 00 	stw     r0,0(r3)                               
                    rc = -1;                                          
ffc1dfd4:	3b 60 ff ff 	li      r27,-1                                 
                    goto error;                                       
ffc1dfd8:	4b ff ff 14 	b       ffc1deec <msdos_eval_path+0x1d4>       
                                                                      

ffc1eb10 <msdos_file_chmod>: int msdos_file_chmod(rtems_filesystem_location_info_t *pathloc, mode_t mode) { return RC_OK; }
ffc1eb10:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1eb14:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1e3a0 <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) {
ffc1e3a0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1e3a4:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e3a8:	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)                                  
{                                                                     
ffc1e3ac:	90 01 00 1c 	stw     r0,28(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;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e3b0:	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;     
ffc1e3b4:	81 23 00 2c 	lwz     r9,44(r3)                              
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc1e3b8:	93 a1 00 0c 	stw     r29,12(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e3bc:	83 a9 00 34 	lwz     r29,52(r9)                             
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc1e3c0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1e3c4:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e3c8:	80 7d 00 98 	lwz     r3,152(r29)                            
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc1e3cc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc1e3d0:	93 81 00 08 	stw     r28,8(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;            
ffc1e3d4:	83 df 00 1c 	lwz     r30,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e3d8:	4b fe f3 b5 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e3dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e3e0:	40 9e 00 8c 	bne-    cr7,ffc1e46c <msdos_file_close+0xcc>   <== NEVER TAKEN
                                                                      
    /*                                                                
     * 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))                                 
ffc1e3e4:	88 1e 00 30 	lbz     r0,48(r30)                             
ffc1e3e8:	70 09 00 01 	andi.   r9,r0,1                                
ffc1e3ec:	41 82 00 40 	beq-    ffc1e42c <msdos_file_close+0x8c>       <== ALWAYS TAKEN
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
ffc1e3f0:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e3f4:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e3f8:	4b ff 93 61 	bl      ffc17758 <fat_file_close>              
ffc1e3fc:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e400:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc1e404:	4b fe f5 15 	bl      ffc0d918 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1e408:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1e40c:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e410:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1e414:	7c 08 03 a6 	mtlr    r0                                     
ffc1e418:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1e41c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1e420:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1e424:	38 21 00 18 	addi    r1,r1,24                               
ffc1e428:	4e 80 00 20 	blr                                            
     * 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);
ffc1e42c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e430:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e434:	48 00 0e 15 	bl      ffc1f248 <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc1e438:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e43c:	40 a2 ff c4 	bne-    ffc1e400 <msdos_file_close+0x60>       <== NEVER TAKEN
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
ffc1e440:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e444:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e448:	48 00 0f 19 	bl      ffc1f360 <msdos_set_file_size>         
        if (rc != RC_OK)                                              
ffc1e44c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e450:	40 a2 ff b0 	bne-    ffc1e400 <msdos_file_close+0x60>       <== NEVER TAKEN
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
ffc1e454:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e458:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e45c:	48 00 0c a5 	bl      ffc1f100 <msdos_set_dir_wrt_time_and_date>
        if (rc != RC_OK)                                              
ffc1e460:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e464:	41 82 ff 8c 	beq+    ffc1e3f0 <msdos_file_close+0x50>       <== ALWAYS TAKEN
ffc1e468:	4b ff ff 98 	b       ffc1e400 <msdos_file_close+0x60>       <== NOT EXECUTED
    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);                    
ffc1e46c:	48 00 4b 75 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e470:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e474:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e478:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1e47c:	4b ff ff 8c 	b       ffc1e408 <msdos_file_close+0x68>       <== NOT EXECUTED
                                                                      

ffc1ea80 <msdos_file_datasync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_datasync(rtems_libio_t *iop) {
ffc1ea80:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1ea84:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ea88:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
ffc1ea8c:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ea90:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1ea94:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
ffc1ea98:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1ea9c:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
ffc1eaa0:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc1eaa4:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1eaa8:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
ffc1eaac:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1eab0:	83 bf 00 1c 	lwz     r29,28(r31)                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1eab4:	4b fe ec d9 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1eab8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1eabc:	40 9e 00 38 	bne-    cr7,ffc1eaf4 <msdos_file_datasync+0x74><== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc1eac0:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1eac4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1eac8:	4b ff 94 41 	bl      ffc17f08 <fat_file_datasync>           <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1eacc:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc1ead0:	4b fe ee 49 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
ffc1ead4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1ead8:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc1eadc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc1eae0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1eae4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc1eae8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc1eaec:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1eaf0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1eaf4:	48 00 44 ed 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1eaf8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1eafc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1eb00:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1eb04:	4b ff ff d4 	b       ffc1ead8 <msdos_file_datasync+0x58>    <== NOT EXECUTED
                                                                      

ffc1e82c <msdos_file_ftruncate>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately). */ int msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length) {
ffc1e82c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1e830:	7c 08 02 a6 	mflr    r0                                     
ffc1e834:	90 01 00 24 	stw     r0,36(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;            
                                                                      
    if (length >= fat_fd->fat_file_size)                              
ffc1e838:	38 00 00 00 	li      r0,0                                   
ffc1e83c:	7f 80 28 00 	cmpw    cr7,r0,r5                              
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length)        
{                                                                     
ffc1e840:	93 c1 00 18 	stw     r30,24(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e844:	81 23 00 2c 	lwz     r9,44(r3)                              
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1e848:	83 c3 00 1c 	lwz     r30,28(r3)                             
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length)        
{                                                                     
ffc1e84c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1e850:	93 81 00 10 	stw     r28,16(r1)                             
ffc1e854:	7c dc 33 78 	mr      r28,r6                                 
ffc1e858:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1e85c:	7c bd 2b 78 	mr      r29,r5                                 
ffc1e860:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1e864:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1e868:	93 41 00 08 	stw     r26,8(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e86c:	83 69 00 34 	lwz     r27,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    if (length >= fat_fd->fat_file_size)                              
ffc1e870:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc1e874:	41 9d 00 40 	bgt-    cr7,ffc1e8b4 <msdos_file_ftruncate+0x88><== NEVER TAKEN
ffc1e878:	41 9e 00 34 	beq-    cr7,ffc1e8ac <msdos_file_ftruncate+0x80><== ALWAYS TAKEN
        return RC_OK;                                                 
ffc1e87c:	3b 40 00 00 	li      r26,0                                  
    if (length < fat_fd->fat_file_size)                               
        iop->size = fat_fd->fat_file_size = length;                   
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
}                                                                     
ffc1e880:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1e884:	7f 43 d3 78 	mr      r3,r26                                 
ffc1e888:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1e88c:	7c 08 03 a6 	mtlr    r0                                     
ffc1e890:	83 41 00 08 	lwz     r26,8(r1)                              
ffc1e894:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1e898:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1e89c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1e8a0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1e8a4:	38 21 00 20 	addi    r1,r1,32                               
ffc1e8a8:	4e 80 00 20 	blr                                            
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    if (length >= fat_fd->fat_file_size)                              
ffc1e8ac:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc1e8b0:	40 9d ff cc 	ble+    cr7,ffc1e87c <msdos_file_ftruncate+0x50>
        return RC_OK;                                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e8b4:	80 7b 00 98 	lwz     r3,152(r27)                            
ffc1e8b8:	38 80 00 00 	li      r4,0                                   
ffc1e8bc:	38 a0 00 00 	li      r5,0                                   
ffc1e8c0:	4b fe ee cd 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e8c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e8c8:	40 9e 00 78 	bne-    cr7,ffc1e940 <msdos_file_ftruncate+0x114><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, length);   
ffc1e8cc:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e8d0:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e8d4:	7f 85 e3 78 	mr      r5,r28                                 
ffc1e8d8:	4b ff 8d 19 	bl      ffc175f0 <fat_file_truncate>           
    if (rc != RC_OK)                                                  
ffc1e8dc:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1e8e0:	40 82 00 2c 	bne-    ffc1e90c <msdos_file_ftruncate+0xe0>   <== NEVER TAKEN
                                                                      
    /*                                                                
     * fat_file_truncate do nothing if new length >= fat-file size, so update
     * file size only if length < fat-file size                       
     */                                                               
    if (length < fat_fd->fat_file_size)                               
ffc1e8e4:	7f 9a e8 00 	cmpw    cr7,r26,r29                            
ffc1e8e8:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc1e8ec:	41 9d 00 10 	bgt-    cr7,ffc1e8fc <msdos_file_ftruncate+0xd0><== NEVER TAKEN
ffc1e8f0:	40 9e 00 1c 	bne-    cr7,ffc1e90c <msdos_file_ftruncate+0xe0><== NEVER TAKEN
ffc1e8f4:	7f 80 e0 40 	cmplw   cr7,r0,r28                             
ffc1e8f8:	40 9d 00 14 	ble-    cr7,ffc1e90c <msdos_file_ftruncate+0xe0><== NEVER TAKEN
        iop->size = fat_fd->fat_file_size = length;                   
ffc1e8fc:	38 00 00 00 	li      r0,0                                   
ffc1e900:	93 9e 00 18 	stw     r28,24(r30)                            
ffc1e904:	93 9f 00 0c 	stw     r28,12(r31)                            
ffc1e908:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e90c:	80 7b 00 98 	lwz     r3,152(r27)                            
ffc1e910:	4b fe f0 09 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc1e914:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1e918:	7f 43 d3 78 	mr      r3,r26                                 
ffc1e91c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1e920:	7c 08 03 a6 	mtlr    r0                                     
ffc1e924:	83 41 00 08 	lwz     r26,8(r1)                              
ffc1e928:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1e92c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1e930:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1e934:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1e938:	38 21 00 20 	addi    r1,r1,32                               
ffc1e93c:	4e 80 00 20 	blr                                            
        return RC_OK;                                                 
                                                                      
    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);                    
ffc1e940:	48 00 46 a1 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e944:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e948:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e94c:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc1e950:	4b ff ff 30 	b       ffc1e880 <msdos_file_ftruncate+0x54>   <== NOT EXECUTED
                                                                      

ffc1eb08 <msdos_file_ioctl>: msdos_file_ioctl(rtems_libio_t *iop,uint32_t command, void *buffer) { int rc = RC_OK; return rc; }
ffc1eb08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1eb0c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1e640 <msdos_file_lseek>: * new offset on success, or -1 if error occured (errno set * appropriately). */ rtems_off64_t msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) {
ffc1e640:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1e644:	7c 08 02 a6 	mflr    r0                                     
    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           real_size = 0;                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e648:	38 80 00 00 	li      r4,0                                   
 *     new offset on success, or -1 if error occured (errno set       
 *     appropriately).                                                
 */                                                                   
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
ffc1e64c:	90 01 00 2c 	stw     r0,44(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           real_size = 0;                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e650:	38 a0 00 00 	li      r5,0                                   
{                                                                     
    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;            
    uint32_t           real_size = 0;                                 
ffc1e654:	38 00 00 00 	li      r0,0                                   
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e658:	81 23 00 2c 	lwz     r9,44(r3)                              
 *     new offset on success, or -1 if error occured (errno set       
 *     appropriately).                                                
 */                                                                   
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
ffc1e65c:	93 a1 00 1c 	stw     r29,28(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e660:	83 a9 00 34 	lwz     r29,52(r9)                             
 *     new offset on success, or -1 if error occured (errno set       
 *     appropriately).                                                
 */                                                                   
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
ffc1e664:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1e668:	7c 7f 1b 78 	mr      r31,r3                                 
    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           real_size = 0;                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e66c:	80 7d 00 98 	lwz     r3,152(r29)                            
 *     new offset on success, or -1 if error occured (errno set       
 *     appropriately).                                                
 */                                                                   
rtems_off64_t                                                         
msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence)
{                                                                     
ffc1e670:	93 c1 00 20 	stw     r30,32(r1)                             
ffc1e674:	93 81 00 18 	stw     r28,24(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;            
ffc1e678:	83 df 00 1c 	lwz     r30,28(r31)                            
    uint32_t           real_size = 0;                                 
ffc1e67c:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e680:	4b fe f1 0d 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e684:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e688:	40 9e 00 b4 	bne-    cr7,ffc1e73c <msdos_file_lseek+0xfc>   <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
ffc1e68c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e690:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e694:	80 bf 00 14 	lwz     r5,20(r31)                             
ffc1e698:	38 c1 00 08 	addi    r6,r1,8                                
ffc1e69c:	4b ff 92 bd 	bl      ffc17958 <fat_file_extend>             
                         &real_size);                                 
    if (rc != RC_OK)                                                  
ffc1e6a0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e6a4:	40 82 00 68 	bne-    ffc1e70c <msdos_file_lseek+0xcc>       <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (real_size > fat_fd->fat_file_size)                            
ffc1e6a8:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc1e6ac:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1e6b0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1e6b4:	41 9c 00 44 	blt-    cr7,ffc1e6f8 <msdos_file_lseek+0xb8>   <== NEVER TAKEN
ffc1e6b8:	7d 20 4b 78 	mr      r0,r9                                  
ffc1e6bc:	39 20 00 00 	li      r9,0                                   
        fat_fd->fat_file_size = iop->offset = real_size;              
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc1e6c0:	91 3f 00 08 	stw     r9,8(r31)                              
ffc1e6c4:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e6c8:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc1e6cc:	4b fe f2 4d 	bl      ffc0d918 <rtems_semaphore_release>     
    return iop->offset;                                               
ffc1e6d0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1e6d4:	80 9f 00 14 	lwz     r4,20(r31)                             
}                                                                     
ffc1e6d8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1e6dc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1e6e0:	7c 08 03 a6 	mtlr    r0                                     
ffc1e6e4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1e6e8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1e6ec:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1e6f0:	38 21 00 28 	addi    r1,r1,40                               
ffc1e6f4:	4e 80 00 20 	blr                                            
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (real_size > fat_fd->fat_file_size)                            
        fat_fd->fat_file_size = iop->offset = real_size;              
ffc1e6f8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1e6fc:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc1e700:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
ffc1e704:	90 1e 00 18 	stw     r0,24(r30)                             <== NOT EXECUTED
ffc1e708:	4b ff ff b8 	b       ffc1e6c0 <msdos_file_lseek+0x80>       <== NOT EXECUTED
                                                                      
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
                         &real_size);                                 
    if (rc != RC_OK)                                                  
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc1e70c:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc1e710:	4b fe f2 09 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
                                                                      
    iop->size = fat_fd->fat_file_size;                                
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return iop->offset;                                               
}                                                                     
ffc1e714:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
                         &real_size);                                 
    if (rc != RC_OK)                                                  
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
ffc1e718:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
                                                                      
    iop->size = fat_fd->fat_file_size;                                
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return iop->offset;                                               
}                                                                     
ffc1e71c:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc1e720:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
                         &real_size);                                 
    if (rc != RC_OK)                                                  
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
ffc1e724:	7f 83 fe 70 	srawi   r3,r28,31                              <== NOT EXECUTED
                                                                      
    iop->size = fat_fd->fat_file_size;                                
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return iop->offset;                                               
}                                                                     
ffc1e728:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc1e72c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc1e730:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc1e734:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc1e738:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    uint32_t           real_size = 0;                                 
                                                                      
    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);                    
ffc1e73c:	48 00 48 a5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e740:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e744:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e748:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
ffc1e74c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1e750:	4b ff ff 88 	b       ffc1e6d8 <msdos_file_lseek+0x98>       <== NOT EXECUTED
                                                                      

ffc1e2e4 <msdos_file_open>: * and errno set appropriately */ int msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
ffc1e2e4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1e2e8:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e2ec:	38 80 00 00 	li      r4,0                                   
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
ffc1e2f0:	90 01 00 1c 	stw     r0,28(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;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e2f4:	38 a0 00 00 	li      r5,0                                   
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e2f8:	81 23 00 2c 	lwz     r9,44(r3)                              
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
ffc1e2fc:	93 c1 00 10 	stw     r30,16(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e300:	83 c9 00 34 	lwz     r30,52(r9)                             
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
ffc1e304:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1e308:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e30c:	80 7e 00 98 	lwz     r3,152(r30)                            
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t   flag,
                uint32_t   mode)                                      
{                                                                     
ffc1e310:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc1e314:	93 81 00 08 	stw     r28,8(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;            
ffc1e318:	83 bf 00 1c 	lwz     r29,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e31c:	4b fe f4 71 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e320:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e324:	40 9e 00 68 	bne-    cr7,ffc1e38c <msdos_file_open+0xa8>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc1e328:	7f a3 eb 78 	mr      r3,r29                                 
ffc1e32c:	4b ff 90 4d 	bl      ffc17378 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc1e330:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e334:	40 82 00 20 	bne-    ffc1e354 <msdos_file_open+0x70>        <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (iop->flags & LIBIO_FLAGS_APPEND)                              
ffc1e338:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc1e33c:	70 09 02 00 	andi.   r9,r0,512                              
        iop->offset = fat_fd->fat_file_size;                          
ffc1e340:	80 1d 00 18 	lwz     r0,24(r29)                             
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (iop->flags & LIBIO_FLAGS_APPEND)                              
ffc1e344:	40 82 00 3c 	bne-    ffc1e380 <msdos_file_open+0x9c>        
        iop->offset = fat_fd->fat_file_size;                          
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc1e348:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc1e34c:	38 00 00 00 	li      r0,0                                   
ffc1e350:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e354:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1e358:	4b fe f5 c1 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc1e35c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1e360:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e364:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1e368:	7c 08 03 a6 	mtlr    r0                                     
ffc1e36c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1e370:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1e374:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1e378:	38 21 00 18 	addi    r1,r1,24                               
ffc1e37c:	4e 80 00 20 	blr                                            
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (iop->flags & LIBIO_FLAGS_APPEND)                              
        iop->offset = fat_fd->fat_file_size;                          
ffc1e380:	93 9f 00 10 	stw     r28,16(r31)                            
ffc1e384:	90 1f 00 14 	stw     r0,20(r31)                             
ffc1e388:	4b ff ff c0 	b       ffc1e348 <msdos_file_open+0x64>        
    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);                    
ffc1e38c:	48 00 4c 55 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e390:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e394:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e398:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1e39c:	4b ff ff c0 	b       ffc1e35c <msdos_file_open+0x78>        <== NOT EXECUTED
                                                                      

ffc1e480 <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) {
ffc1e480:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1e484:	7c 08 02 a6 	mflr    r0                                     
ffc1e488:	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;     
ffc1e48c:	81 23 00 2c 	lwz     r9,44(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)       
{                                                                     
ffc1e490:	93 e1 00 1c 	stw     r31,28(r1)                             
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e494:	83 e9 00 34 	lwz     r31,52(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)       
{                                                                     
ffc1e498:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1e49c:	7c 7d 1b 78 	mr      r29,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,        
ffc1e4a0:	80 7f 00 98 	lwz     r3,152(r31)                            
 *     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)       
{                                                                     
ffc1e4a4:	93 81 00 10 	stw     r28,16(r1)                             
ffc1e4a8:	7c bc 2b 78 	mr      r28,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,        
ffc1e4ac:	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)       
{                                                                     
ffc1e4b0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1e4b4:	7c 9e 23 78 	mr      r30,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,        
ffc1e4b8:	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)       
{                                                                     
ffc1e4bc:	93 61 00 0c 	stw     r27,12(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;            
ffc1e4c0:	83 7d 00 1c 	lwz     r27,28(r29)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e4c4:	4b fe f2 c9 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e4c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e4cc:	40 9e 00 50 	bne-    cr7,ffc1e51c <msdos_file_read+0x9c>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
ffc1e4d0:	80 7d 00 2c 	lwz     r3,44(r29)                             
ffc1e4d4:	7f c7 f3 78 	mr      r7,r30                                 
ffc1e4d8:	80 bd 00 14 	lwz     r5,20(r29)                             
ffc1e4dc:	7f 64 db 78 	mr      r4,r27                                 
ffc1e4e0:	7f 86 e3 78 	mr      r6,r28                                 
ffc1e4e4:	4b ff 8e ad 	bl      ffc17390 <fat_file_read>               
ffc1e4e8:	7c 7e 1b 78 	mr      r30,r3                                 
                        buffer);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e4ec:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc1e4f0:	4b fe f4 29 	bl      ffc0d918 <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc1e4f4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1e4f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc1e4fc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1e500:	7c 08 03 a6 	mtlr    r0                                     
ffc1e504:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1e508:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1e50c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1e510:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1e514:	38 21 00 20 	addi    r1,r1,32                               
ffc1e518:	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);                    
ffc1e51c:	48 00 4a c5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e520:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e524:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e528:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc1e52c:	4b ff ff c8 	b       ffc1e4f4 <msdos_file_read+0x74>        <== NOT EXECUTED
                                                                      

ffc1eb18 <msdos_file_rmnod>: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc, rtems_filesystem_location_info_t *pathloc) {
ffc1eb18:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1eb1c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1eb20:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc,    
                 rtems_filesystem_location_info_t *pathloc)           
{                                                                     
ffc1eb24:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc1eb28:	81 24 00 10 	lwz     r9,16(r4)                              <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc,    
                 rtems_filesystem_location_info_t *pathloc)           
{                                                                     
ffc1eb2c:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc1eb30:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc,    
                 rtems_filesystem_location_info_t *pathloc)           
{                                                                     
ffc1eb34:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc1eb38:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1eb3c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1eb40:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_rmnod(rtems_filesystem_location_info_t *parent_pathloc,    
                 rtems_filesystem_location_info_t *pathloc)           
{                                                                     
ffc1eb44:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
ffc1eb48:	93 81 00 08 	stw     r28,8(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
ffc1eb4c:	83 bf 00 00 	lwz     r29,0(r31)                             <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1eb50:	4b fe ec 3d 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1eb54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1eb58:	40 9e 00 54 	bne-    cr7,ffc1ebac <msdos_file_rmnod+0x94>   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry,            
ffc1eb5c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1eb60:	38 9d 00 20 	addi    r4,r29,32                              <== NOT EXECUTED
ffc1eb64:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc1eb68:	48 00 08 99 	bl      ffc1f400 <msdos_set_first_char4file_name><== NOT EXECUTED
                                        &fat_fd->dir_pos,             
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
ffc1eb6c:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1eb70:	40 82 00 10 	bne-    ffc1eb80 <msdos_file_rmnod+0x68>       <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
ffc1eb74:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1eb78:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1eb7c:	4b ff 92 c5 	bl      ffc17e40 <fat_file_mark_removed>       <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1eb80:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc1eb84:	4b fe ed 95 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
ffc1eb88:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc1eb8c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1eb90:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc1eb94:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1eb98:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc1eb9c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc1eba0:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc1eba4:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1eba8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->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);                    
ffc1ebac:	48 00 44 35 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1ebb0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ebb4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ebb8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1ebbc:	4b ff ff cc 	b       ffc1eb88 <msdos_file_rmnod+0x70>       <== NOT EXECUTED
                                                                      

ffc1e754 <msdos_file_stat>: int msdos_file_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc1e754:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1e758:	7c 08 02 a6 	mflr    r0                                     
ffc1e75c:	7c 69 1b 78 	mr      r9,r3                                  
ffc1e760:	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,        
ffc1e764:	38 a0 00 00 	li      r5,0                                   
    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;              
ffc1e768:	81 63 00 10 	lwz     r11,16(r3)                             
int                                                                   
msdos_file_stat(                                                      
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc1e76c:	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;              
ffc1e770:	83 cb 00 34 	lwz     r30,52(r11)                            
int                                                                   
msdos_file_stat(                                                      
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc1e774:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1e778:	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,        
ffc1e77c:	38 80 00 00 	li      r4,0                                   
ffc1e780:	80 7e 00 98 	lwz     r3,152(r30)                            
int                                                                   
msdos_file_stat(                                                      
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc1e784:	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;                     
ffc1e788:	83 a9 00 00 	lwz     r29,0(r9)                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e78c:	4b fe f0 01 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e790:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1e794:	40 82 00 84 	bne-    ffc1e818 <msdos_file_stat+0xc4>        <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
ffc1e798:	81 7e 00 5c 	lwz     r11,92(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;                             
ffc1e79c:	80 1d 00 18 	lwz     r0,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 = fs_info->fat.vol.dev;                               
ffc1e7a0:	81 5e 00 58 	lwz     r10,88(r30)                            
    buf->st_ino = fat_fd->ino;                                        
ffc1e7a4:	80 dd 00 0c 	lwz     r6,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 >> FAT_SECTOR512_BITS;     
ffc1e7a8:	54 07 ba 7e 	rlwinm  r7,r0,23,9,31                          
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc1e7ac:	a1 1e 00 00 	lhz     r8,0(r30)                              
    buf->st_mtime = fat_fd->mtime;                                    
ffc1e7b0:	81 3d 00 40 	lwz     r9,64(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 = fs_info->fat.vol.dev;                               
ffc1e7b4:	91 7f 00 04 	stw     r11,4(r31)                             
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc1e7b8:	39 60 00 00 	li      r11,0                                  
ffc1e7bc:	61 6b 81 ff 	ori     r11,r11,33279                          
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
ffc1e7c0:	91 5f 00 00 	stw     r10,0(r31)                             
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc1e7c4:	39 40 00 00 	li      r10,0                                  
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc1e7c8:	91 7f 00 0c 	stw     r11,12(r31)                            
    buf->st_rdev = 0ll;                                               
ffc1e7cc:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc1e7d0:	90 7f 00 20 	stw     r3,32(r31)                             
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
ffc1e7d4:	90 df 00 08 	stw     r6,8(r31)                              
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc1e7d8:	91 5f 00 18 	stw     r10,24(r31)                            
ffc1e7dc:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
ffc1e7e0:	90 1f 00 24 	stw     r0,36(r31)                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
ffc1e7e4:	90 ff 00 44 	stw     r7,68(r31)                             
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc1e7e8:	91 1f 00 40 	stw     r8,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc1e7ec:	91 3f 00 30 	stw     r9,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e7f0:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1e7f4:	4b fe f1 25 	bl      ffc0d918 <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc1e7f8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1e7fc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1e800:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1e804:	7c 08 03 a6 	mtlr    r0                                     
ffc1e808:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1e80c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1e810:	38 21 00 18 	addi    r1,r1,24                               
ffc1e814:	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);                    
ffc1e818:	48 00 47 c9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e81c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e820:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e824:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1e828:	4b ff ff d4 	b       ffc1e7fc <msdos_file_stat+0xa8>        <== NOT EXECUTED
                                                                      

ffc1e954 <msdos_file_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_sync(rtems_libio_t *iop) {
ffc1e954:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc1e958:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e95c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc1e960:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e964:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e968:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc1e96c:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e970:	83 a9 00 34 	lwz     r29,52(r9)                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc1e974:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc1e978:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e97c:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc1e980:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
ffc1e984:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc1e988:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1e98c:	83 df 00 1c 	lwz     r30,28(r31)                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e990:	4b fe ed fd 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e994:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e998:	40 9e 00 d4 	bne-    cr7,ffc1ea6c <msdos_file_sync+0x118>   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc1e99c:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1e9a0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1e9a4:	4b ff 95 65 	bl      ffc17f08 <fat_file_datasync>           <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1e9a8:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1e9ac:	40 82 00 10 	bne-    ffc1e9bc <msdos_file_sync+0x68>        <== NOT EXECUTED
                                                                      
    /*                                                                
     * if fat-file descriptor is not marked "removed" - synchronize file
     * metadata                                                       
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
ffc1e9b0:	88 1e 00 30 	lbz     r0,48(r30)                             <== NOT EXECUTED
ffc1e9b4:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc1e9b8:	41 82 00 34 	beq-    ffc1e9ec <msdos_file_sync+0x98>        <== NOT EXECUTED
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e9bc:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc1e9c0:	4b fe ef 59 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
ffc1e9c4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1e9c8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1e9cc:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc1e9d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1e9d4:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc1e9d8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc1e9dc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1e9e0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1e9e4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1e9e8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     * if fat-file descriptor is not marked "removed" - synchronize file
     * metadata                                                       
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
ffc1e9ec:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1e9f0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1e9f4:	48 00 08 55 	bl      ffc1f248 <msdos_set_first_cluster_num> <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc1e9f8:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1e9fc:	40 82 00 3c 	bne-    ffc1ea38 <msdos_file_sync+0xe4>        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
ffc1ea00:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1ea04:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1ea08:	48 00 09 59 	bl      ffc1f360 <msdos_set_file_size>         <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc1ea0c:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1ea10:	40 82 00 28 	bne-    ffc1ea38 <msdos_file_sync+0xe4>        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
ffc1ea14:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1ea18:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1ea1c:	48 00 06 e5 	bl      ffc1f100 <msdos_set_dir_wrt_time_and_date><== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc1ea20:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc1ea24:	41 82 ff 98 	beq+    ffc1e9bc <msdos_file_sync+0x68>        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc1ea28:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
            return rc;                                                
ffc1ea2c:	7f fc fb 78 	mr      r28,r31                                <== NOT EXECUTED
            return rc;                                                
        }                                                             
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc1ea30:	4b fe ee e9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
            return rc;                                                
ffc1ea34:	4b ff ff 90 	b       ffc1e9c4 <msdos_file_sync+0x70>        <== NOT EXECUTED
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc1ea38:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
            return rc;                                                
ffc1ea3c:	7f 7c db 78 	mr      r28,r27                                <== NOT EXECUTED
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc1ea40:	4b fe ee d9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
}                                                                     
ffc1ea44:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1ea48:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1ea4c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc1ea50:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1ea54:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc1ea58:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc1ea5c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1ea60:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1ea64:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1ea68:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1ea6c:	48 00 45 75 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1ea70:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ea74:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ea78:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1ea7c:	4b ff ff 48 	b       ffc1e9c4 <msdos_file_sync+0x70>        <== NOT EXECUTED
                                                                      

ffc1e530 <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) {
ffc1e530:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1e534:	7c 08 02 a6 	mflr    r0                                     
ffc1e538:	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;     
ffc1e53c:	81 23 00 2c 	lwz     r9,44(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) 
{                                                                     
ffc1e540:	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;     
ffc1e544:	83 a9 00 34 	lwz     r29,52(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) 
{                                                                     
ffc1e548:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1e54c:	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,        
ffc1e550:	80 7d 00 98 	lwz     r3,152(r29)                            
 *     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) 
{                                                                     
ffc1e554:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1e558:	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,        
ffc1e55c:	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) 
{                                                                     
ffc1e560:	93 81 00 10 	stw     r28,16(r1)                             
ffc1e564:	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,        
ffc1e568:	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) 
{                                                                     
ffc1e56c:	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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1e570:	83 df 00 1c 	lwz     r30,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e574:	4b fe f2 19 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e578:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e57c:	40 9e 00 a0 	bne-    cr7,ffc1e61c <msdos_file_write+0xec>   <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
ffc1e580:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1e584:	7f 87 e3 78 	mr      r7,r28                                 
ffc1e588:	80 bf 00 14 	lwz     r5,20(r31)                             
ffc1e58c:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e590:	7f 66 db 78 	mr      r6,r27                                 
ffc1e594:	4b ff 96 05 	bl      ffc17b98 <fat_file_write>              
                         buffer);                                     
    if (ret < 0)                                                      
ffc1e598:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e59c:	41 80 00 94 	blt-    ffc1e630 <msdos_file_write+0x100>      <== NEVER TAKEN
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
ffc1e5a0:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc1e5a4:	7f 8b e3 78 	mr      r11,r28                                
ffc1e5a8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1e5ac:	7f 8a fe 70 	srawi   r10,r28,31                             
ffc1e5b0:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc1e5b4:	38 e0 00 00 	li      r7,0                                   
ffc1e5b8:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc1e5bc:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc1e5c0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1e5c4:	40 9d 00 48 	ble-    cr7,ffc1e60c <msdos_file_write+0xdc>   <== ALWAYS TAKEN
        fat_fd->fat_file_size = iop->offset + ret;                    
ffc1e5c8:	7c 1c 4a 14 	add     r0,r28,r9                              
ffc1e5cc:	90 1e 00 18 	stw     r0,24(r30)                             
ffc1e5d0:	38 e0 00 00 	li      r7,0                                   
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc1e5d4:	90 ff 00 08 	stw     r7,8(r31)                              
ffc1e5d8:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e5dc:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc1e5e0:	4b fe f3 39 	bl      ffc0d918 <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc1e5e4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1e5e8:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e5ec:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1e5f0:	7c 08 03 a6 	mtlr    r0                                     
ffc1e5f4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1e5f8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1e5fc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1e600:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1e604:	38 21 00 20 	addi    r1,r1,32                               
ffc1e608:	4e 80 00 20 	blr                                            
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
ffc1e60c:	40 be ff c8 	bne-    cr7,ffc1e5d4 <msdos_file_write+0xa4>   <== NEVER TAKEN
ffc1e610:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc1e614:	40 bd ff c0 	ble-    cr7,ffc1e5d4 <msdos_file_write+0xa4>   
ffc1e618:	4b ff ff b0 	b       ffc1e5c8 <msdos_file_write+0x98>       
    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);                    
ffc1e61c:	48 00 49 c5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1e620:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e624:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e628:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1e62c:	4b ff ff b8 	b       ffc1e5e4 <msdos_file_write+0xb4>       <== NOT EXECUTED
                                                                      
    ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
                         buffer);                                     
    if (ret < 0)                                                      
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc1e630:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
        return -1;                                                    
ffc1e634:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
                                                                      
    ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
                         buffer);                                     
    if (ret < 0)                                                      
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc1e638:	4b fe f2 e1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
        return -1;                                                    
ffc1e63c:	4b ff ff a8 	b       ffc1e5e4 <msdos_file_write+0xb4>       <== NOT EXECUTED
                                                                      

ffc22374 <msdos_filename_unix2dos>: /* * Fill the dos filename string with blanks. These are DOS's pad * characters. */ for (i = 0; i <= 10; i++) dn[i] = ' ';
ffc22374:	39 60 00 0b 	li      r11,11                                 
ffc22378:	7d 69 03 a6 	mtctr   r11                                    
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
ffc2237c:	39 20 00 00 	li      r9,0                                   
		dn[i] = ' ';                                                        
ffc22380:	38 00 00 20 	li      r0,32                                  
ffc22384:	7c 05 49 ae 	stbx    r0,r5,r9                               
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
ffc22388:	39 29 00 01 	addi    r9,r9,1                                
ffc2238c:	42 00 ff f8 	bdnz+   ffc22384 <msdos_filename_unix2dos+0x10>
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
ffc22390:	88 03 00 00 	lbz     r0,0(r3)                               
ffc22394:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc22398:	41 9e 01 80 	beq-    cr7,ffc22518 <msdos_filename_unix2dos+0x1a4><== NEVER TAKEN
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc2239c:	2f 04 00 00 	cmpwi   cr6,r4,0                               
ffc223a0:	41 9a 00 2c 	beq-    cr6,ffc223cc <msdos_filename_unix2dos+0x58><== NEVER TAKEN
ffc223a4:	40 9e 00 30 	bne-    cr7,ffc223d4 <msdos_filename_unix2dos+0x60><== ALWAYS TAKEN
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
		dn[0] = '.';                                                        
		dn[1] = '.';                                                        
		return 0;                                                           
ffc223a8:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc223ac:	7c 89 03 a6 	mtctr   r4                                     <== NOT EXECUTED
ffc223b0:	48 00 00 14 	b       ffc223c4 <msdos_filename_unix2dos+0x50><== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc223b4:	8c 09 00 01 	lbzu    r0,1(r9)                               <== NOT EXECUTED
		un++;                                                               
ffc223b8:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc223bc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc223c0:	40 9e 00 14 	bne-    cr7,ffc223d4 <msdos_filename_unix2dos+0x60><== NOT EXECUTED
		un++;                                                               
		unlen--;                                                            
ffc223c4:	38 84 ff ff 	addi    r4,r4,-1                               <== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc223c8:	42 00 ff ec 	bdnz+   ffc223b4 <msdos_filename_unix2dos+0x40><== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc223cc:	38 60 00 00 	li      r3,0                                   
ffc223d0:	4e 80 00 20 	blr                                            
	 * 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++) {         
ffc223d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc223d8:	41 9e 01 68 	beq-    cr7,ffc22540 <msdos_filename_unix2dos+0x1cc><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc223dc:	3d 00 ff c3 	lis     r8,-61                                 
ffc223e0:	39 08 42 10 	addi    r8,r8,16912                            
ffc223e4:	7d 28 00 ae 	lbzx    r9,r8,r0                               
ffc223e8:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc223ec:	41 9a 01 54 	beq-    cr6,ffc22540 <msdos_filename_unix2dos+0x1cc><== NEVER TAKEN
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
		unlen--;                                                            
ffc223f0:	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];                                               
ffc223f4:	99 25 00 00 	stb     r9,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++) {         
ffc223f8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc223fc:	38 63 00 01 	addi    r3,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)          
ffc22400:	38 00 00 07 	li      r0,7                                   
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
		unlen--;                                                            
ffc22404:	7c aa 2b 78 	mr      r10,r5                                 
/*                                                                    
 * 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)          
ffc22408:	7c 09 03 a6 	mtctr   r0                                     
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc2240c:	39 23 00 01 	addi    r9,r3,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++) {         
ffc22410:	41 be ff bc 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NEVER TAKEN
ffc22414:	88 03 00 00 	lbz     r0,0(r3)                               
ffc22418:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc2241c:	2f 00 00 2e 	cmpwi   cr6,r0,46                              
ffc22420:	41 9e 01 20 	beq-    cr7,ffc22540 <msdos_filename_unix2dos+0x1cc><== NEVER TAKEN
ffc22424:	41 9a 01 1c 	beq-    cr6,ffc22540 <msdos_filename_unix2dos+0x1cc><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc22428:	7d 68 00 ae 	lbzx    r11,r8,r0                              
ffc2242c:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
ffc22430:	41 9a 01 10 	beq-    cr6,ffc22540 <msdos_filename_unix2dos+0x1cc><== NEVER TAKEN
      break;                                                          
		dn[i] = msdos_map[c];                                               
ffc22434:	9d 6a 00 01 	stbu    r11,1(r10)                             
		un++;                                                               
		unlen--;                                                            
ffc22438:	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++) {         
ffc2243c:	42 40 00 18 	bdz-    ffc22454 <msdos_filename_unix2dos+0xe0>
ffc22440:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc22444:	7d 23 4b 78 	mr      r3,r9                                  
ffc22448:	39 23 00 01 	addi    r9,r3,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++) {         
ffc2244c:	40 9e ff c8 	bne+    cr7,ffc22414 <msdos_filename_unix2dos+0xa0>
ffc22450:	4b ff ff 7c 	b       ffc223cc <msdos_filename_unix2dos+0x58>
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc22454:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc22458:	41 be ff 74 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NEVER TAKEN
ffc2245c:	88 03 00 01 	lbz     r0,1(r3)                               
ffc22460:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc22464:	41 be ff 68 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NEVER TAKEN
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc22468:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc2246c:	7c 89 03 a6 	mtctr   r4                                     
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
		un++;                                                               
ffc22470:	39 29 00 01 	addi    r9,r9,1                                
		unlen--;                                                            
ffc22474:	39 64 ff ff 	addi    r11,r4,-1                              
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc22478:	41 9e 00 24 	beq-    cr7,ffc2249c <msdos_filename_unix2dos+0x128><== NEVER TAKEN
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc2247c:	42 40 ff 50 	bdz+    ffc223cc <msdos_filename_unix2dos+0x58>
ffc22480:	88 09 00 00 	lbz     r0,0(r9)                               
		un++;                                                               
		unlen--;                                                            
ffc22484:	39 6b ff ff 	addi    r11,r11,-1                             
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
		un++;                                                               
ffc22488:	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)) {                                         
ffc2248c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc22490:	2f 00 00 2e 	cmpwi   cr6,r0,46                              
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc22494:	41 be ff 38 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NEVER TAKEN
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc22498:	40 9a ff e4 	bne+    cr6,ffc2247c <msdos_filename_unix2dos+0x108><== 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++) {                    
ffc2249c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== NOT EXECUTED
ffc224a0:	41 be ff 2c 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
ffc224a4:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc224a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc224ac:	41 be ff 20 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
ffc224b0:	3d 40 ff c3 	lis     r10,-61                                <== NOT EXECUTED
ffc224b4:	39 4a 42 10 	addi    r10,r10,16912                          <== NOT EXECUTED
ffc224b8:	7c 0a 00 ae 	lbzx    r0,r10,r0                              <== NOT EXECUTED
ffc224bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc224c0:	41 be ff 0c 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
	/*                                                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
ffc224c4:	2f 8b 00 01 	cmpwi   cr7,r11,1                              <== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc224c8:	98 05 00 08 	stb     r0,8(r5)                               <== NOT EXECUTED
	/*                                                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
ffc224cc:	41 be ff 00 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
ffc224d0:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc224d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc224d8:	41 be fe f4 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
ffc224dc:	7c 0a 00 ae 	lbzx    r0,r10,r0                              <== NOT EXECUTED
ffc224e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc224e4:	41 be fe e8 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
	/*                                                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
ffc224e8:	2f 8b 00 02 	cmpwi   cr7,r11,2                              <== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc224ec:	98 05 00 09 	stb     r0,9(r5)                               <== NOT EXECUTED
	/*                                                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
ffc224f0:	41 be fe dc 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
ffc224f4:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc224f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc224fc:	41 be fe d0 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
ffc22500:	7c 0a 00 ae 	lbzx    r0,r10,r0                              <== NOT EXECUTED
ffc22504:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc22508:	41 be fe c4 	beq-    cr7,ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc2250c:	98 05 00 0a 	stb     r0,10(r5)                              <== NOT EXECUTED
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc22510:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22514:	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) {                                    
ffc22518:	2f 04 00 01 	cmpwi   cr6,r4,1                               <== NOT EXECUTED
ffc2251c:	41 9a 00 2c 	beq-    cr6,ffc22548 <msdos_filename_unix2dos+0x1d4><== NOT EXECUTED
		dn[0] = '.';                                                        
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
ffc22520:	89 23 00 01 	lbz     r9,1(r3)                               <== NOT EXECUTED
ffc22524:	2f 09 00 2e 	cmpwi   cr6,r9,46                              <== NOT EXECUTED
ffc22528:	40 9a fe 74 	bne+    cr6,ffc2239c <msdos_filename_unix2dos+0x28><== NOT EXECUTED
ffc2252c:	2f 04 00 02 	cmpwi   cr6,r4,2                               <== NOT EXECUTED
ffc22530:	40 9a fe 6c 	bne+    cr6,ffc2239c <msdos_filename_unix2dos+0x28><== NOT EXECUTED
		dn[0] = '.';                                                        
ffc22534:	99 25 00 00 	stb     r9,0(r5)                               <== NOT EXECUTED
		dn[1] = '.';                                                        
ffc22538:	99 25 00 01 	stb     r9,1(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc2253c:	4b ff fe 90 	b       ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
		unlen--;                                                            
ffc22540:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc22544:	4b ff ff 20 	b       ffc22464 <msdos_filename_unix2dos+0xf0><== NOT EXECUTED
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
		dn[0] = '.';                                                        
ffc22548:	98 05 00 00 	stb     r0,0(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc2254c:	4b ff fe 80 	b       ffc223cc <msdos_filename_unix2dos+0x58><== NOT EXECUTED
                                                                      

ffc208cc <msdos_find_name>: msdos_find_name( rtems_filesystem_location_info_t *parent_loc, const char *name, int name_len ) {
ffc208cc:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc208d0:	7c 08 02 a6 	mflr    r0                                     
    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,                            
ffc208d4:	38 c0 00 0b 	li      r6,11                                  
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc208d8:	90 01 00 5c 	stw     r0,92(r1)                              
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc208dc:	38 00 00 00 	li      r0,0                                   
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
ffc208e0:	81 23 00 10 	lwz     r9,16(r3)                              
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc208e4:	93 81 00 48 	stw     r28,72(r1)                             
ffc208e8:	7c 9c 23 78 	mr      r28,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,                            
ffc208ec:	7c a4 2b 78 	mr      r4,r5                                  
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc208f0:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc208f4:	7c bd 2b 78 	mr      r29,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,                            
ffc208f8:	38 a1 00 1c 	addi    r5,r1,28                               
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc208fc:	93 e1 00 54 	stw     r31,84(r1)                             
ffc20900:	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,                            
ffc20904:	7f 83 e3 78 	mr      r3,r28                                 
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc20908:	93 c1 00 50 	stw     r30,80(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc2090c:	90 01 00 08 	stw     r0,8(r1)                               
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
ffc20910:	83 c9 00 34 	lwz     r30,52(r9)                             
    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);         
ffc20914:	90 01 00 1c 	stw     r0,28(r1)                              
ffc20918:	90 01 00 20 	stw     r0,32(r1)                              
ffc2091c:	90 01 00 24 	stw     r0,36(r1)                              
ffc20920:	90 01 00 28 	stw     r0,40(r1)                              
ffc20924:	90 01 00 2c 	stw     r0,44(r1)                              
ffc20928:	90 01 00 30 	stw     r0,48(r1)                              
ffc2092c:	90 01 00 34 	stw     r0,52(r1)                              
ffc20930:	90 01 00 38 	stw     r0,56(r1)                              
                                                                      
    name_type = msdos_long_to_short (name,                            
ffc20934:	4b ff e4 1d 	bl      ffc1ed50 <msdos_long_to_short>         
ffc20938:	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,
ffc2093c:	7f a6 eb 78 	mr      r6,r29                                 
ffc20940:	38 80 00 00 	li      r4,0                                   
ffc20944:	7f e3 fb 78 	mr      r3,r31                                 
ffc20948:	7f 85 e3 78 	mr      r5,r28                                 
ffc2094c:	39 01 00 0c 	addi    r8,r1,12                               
ffc20950:	39 21 00 1c 	addi    r9,r1,28                               
ffc20954:	4b ff fe 2d 	bl      ffc20780 <msdos_get_name_node>         
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
ffc20958:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc2095c:	40 82 00 14 	bne-    ffc20970 <msdos_find_name+0xa4>        
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
ffc20960:	88 01 00 27 	lbz     r0,39(r1)                              
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
        return MSDOS_NAME_NOT_FOUND_ERR;                              
ffc20964:	3b a0 7d 01 	li      r29,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) ||     
ffc20968:	70 09 00 08 	andi.   r9,r0,8                                
ffc2096c:	41 82 00 28 	beq-    ffc20994 <msdos_find_name+0xc8>        <== ALWAYS TAKEN
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc20970:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc20974:	7f a3 eb 78 	mr      r3,r29                                 
ffc20978:	83 81 00 48 	lwz     r28,72(r1)                             
ffc2097c:	7c 08 03 a6 	mtlr    r0                                     
ffc20980:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc20984:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc20988:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc2098c:	38 21 00 58 	addi    r1,r1,88                               
ffc20990:	4e 80 00 20 	blr                                            
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
ffc20994:	54 00 06 be 	clrlwi  r0,r0,26                               
    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) ||     
ffc20998:	2f 80 00 0f 	cmpwi   cr7,r0,15                              
ffc2099c:	41 9e ff d4 	beq+    cr7,ffc20970 <msdos_find_name+0xa4>    <== 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(parent_loc->mt_entry, &dir_pos, &fat_fd);      
ffc209a0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc209a4:	38 81 00 0c 	addi    r4,r1,12                               
ffc209a8:	38 a1 00 08 	addi    r5,r1,8                                
ffc209ac:	4b ff 66 c9 	bl      ffc17074 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc209b0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc209b4:	40 a2 ff bc 	bne-    ffc20970 <msdos_find_name+0xa4>        
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
ffc209b8:	83 a1 00 08 	lwz     r29,8(r1)                              
ffc209bc:	80 01 00 0c 	lwz     r0,12(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)                                       
ffc209c0:	83 9d 00 08 	lwz     r28,8(r29)                             
    /* open fat-file corresponded to the found node */                
    rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);      
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
ffc209c4:	90 1d 00 20 	stw     r0,32(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)                                       
ffc209c8:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
    /* open fat-file corresponded to the found node */                
    rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);      
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
ffc209cc:	80 01 00 10 	lwz     r0,16(r1)                              
ffc209d0:	90 1d 00 24 	stw     r0,36(r29)                             
ffc209d4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc209d8:	90 1d 00 28 	stw     r0,40(r29)                             
ffc209dc:	80 01 00 18 	lwz     r0,24(r1)                              
ffc209e0:	90 1d 00 2c 	stw     r0,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)                                       
ffc209e4:	41 9e 00 24 	beq-    cr7,ffc20a08 <msdos_find_name+0x13c>   
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
        }                                                             
    }                                                                 
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(parent_loc->mt_entry, parent_loc->node_access);
ffc209e8:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc209ec:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc209f0:	4b ff 6d 69 	bl      ffc17758 <fat_file_close>              
    if (rc != RC_OK)                                                  
ffc209f4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc209f8:	40 82 00 c8 	bne-    ffc20ac0 <msdos_find_name+0x1f4>       <== NEVER TAKEN
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
        return rc;                                                    
    }                                                                 
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
ffc209fc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc20a00:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
    return rc;                                                        
ffc20a04:	4b ff ff 6c 	b       ffc20970 <msdos_find_name+0xa4>        
     * 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);          
ffc20a08:	a1 21 00 30 	lhz     r9,48(r1)                              
ffc20a0c:	a0 01 00 36 	lhz     r0,54(r1)                              
ffc20a10:	55 2a c2 3e 	rlwinm  r10,r9,24,8,31                         
ffc20a14:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc20a18:	54 08 c2 3e 	rlwinm  r8,r0,24,8,31                          
ffc20a1c:	7d 4a 4b 78 	or      r10,r10,r9                             
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
ffc20a20:	a1 21 00 34 	lhz     r9,52(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);          
ffc20a24:	54 0b 44 2e 	rlwinm  r11,r0,8,16,23                         
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
ffc20a28:	a0 01 00 32 	lhz     r0,50(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);          
ffc20a2c:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc20a30:	7d 0b 5b 78 	or      r11,r8,r11                             
ffc20a34:	7d 4b 5b 78 	or      r11,r10,r11                            
                                                                      
        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));
ffc20a38:	55 23 c2 3e 	rlwinm  r3,r9,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);          
ffc20a3c:	91 7d 00 1c 	stw     r11,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));
ffc20a40:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc20a44:	54 04 c2 3e 	rlwinm  r4,r0,24,8,31                          
ffc20a48:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          
ffc20a4c:	7c 63 4b 78 	or      r3,r3,r9                               
ffc20a50:	7c 84 03 78 	or      r4,r4,r0                               
ffc20a54:	48 00 18 19 	bl      ffc2226c <msdos_date_dos2unix>         
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc20a58:	88 01 00 27 	lbz     r0,39(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));
ffc20a5c:	90 7d 00 40 	stw     r3,64(r29)                             
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc20a60:	70 09 00 10 	andi.   r9,r0,16                               
ffc20a64:	40 82 00 78 	bne-    ffc20adc <msdos_find_name+0x210>       
ffc20a68:	81 61 00 38 	lwz     r11,56(r1)                             
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
ffc20a6c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc20a70:	51 60 46 3e 	rlwimi  r0,r11,8,24,31                         
ffc20a74:	51 60 c4 2e 	rlwimi  r0,r11,24,16,23                        
ffc20a78:	51 60 42 1e 	rlwimi  r0,r11,8,8,15                          
ffc20a7c:	51 60 c0 0e 	rlwimi  r0,r11,24,0,7                          
            fat_fd->fat_file_type = FAT_FILE;                         
ffc20a80:	39 60 00 05 	li      r11,5                                  
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
ffc20a84:	90 09 00 18 	stw     r0,24(r9)                              
            fat_fd->fat_file_type = FAT_FILE;                         
ffc20a88:	91 69 00 10 	stw     r11,16(r9)                             
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
ffc20a8c:	39 60 ff ff 	li      r11,-1                                 
ffc20a90:	91 69 00 14 	stw     r11,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) &&                           
ffc20a94:	2f 80 00 00 	cmpwi   cr7,r0,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;                           
ffc20a98:	81 69 00 1c 	lwz     r11,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;                                     
ffc20a9c:	39 40 00 00 	li      r10,0                                  
ffc20aa0:	91 49 00 34 	stw     r10,52(r9)                             
        fat_fd->map.disk_cln = fat_fd->cln;                           
ffc20aa4:	91 69 00 38 	stw     r11,56(r9)                             
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
ffc20aa8:	41 9e 00 28 	beq-    cr7,ffc20ad0 <msdos_find_name+0x204>   
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
ffc20aac:	a1 5e 00 06 	lhz     r10,6(r30)                             
                                                                      
        /* 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) &&                           
ffc20ab0:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
ffc20ab4:	41 9c 00 1c 	blt-    cr7,ffc20ad0 <msdos_find_name+0x204>   <== NEVER TAKEN
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
ffc20ab8:	91 69 00 3c 	stw     r11,60(r9)                             
ffc20abc:	4b ff ff 2c 	b       ffc209e8 <msdos_find_name+0x11c>       
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(parent_loc->mt_entry, parent_loc->node_access);
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
ffc20ac0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc20ac4:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc20ac8:	4b ff 6c 91 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
        return rc;                                                    
ffc20acc:	4b ff fe a4 	b       ffc20970 <msdos_find_name+0xa4>        <== NOT EXECUTED
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
        }                                                             
        else                                                          
        {                                                             
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
ffc20ad0:	38 00 ff ff 	li      r0,-1                                  
ffc20ad4:	90 09 00 3c 	stw     r0,60(r9)                              
ffc20ad8:	4b ff ff 10 	b       ffc209e8 <msdos_find_name+0x11c>       
                                                                      
        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;                    
ffc20adc:	81 21 00 08 	lwz     r9,8(r1)                               
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc20ae0:	3c 00 00 20 	lis     r0,32                                  
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
ffc20ae4:	80 7f 00 10 	lwz     r3,16(r31)                             
                                                                      
        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;                    
ffc20ae8:	93 89 00 10 	stw     r28,16(r9)                             
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
ffc20aec:	7d 24 4b 78 	mr      r4,r9                                  
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
        {                                                             
            fat_fd->fat_file_type = FAT_DIRECTORY;                    
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc20af0:	90 09 00 14 	stw     r0,20(r9)                              
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
ffc20af4:	4b ff 75 89 	bl      ffc1807c <fat_file_size>               
            if (rc != RC_OK)                                          
ffc20af8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc20afc:	40 a2 ff c4 	bne-    ffc20ac0 <msdos_find_name+0x1f4>       <== NEVER TAKEN
ffc20b00:	81 21 00 08 	lwz     r9,8(r1)                               
ffc20b04:	80 09 00 18 	lwz     r0,24(r9)                              
ffc20b08:	4b ff ff 8c 	b       ffc20a94 <msdos_find_name+0x1c8>       
                                                                      

ffc1f79c <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 ) {
ffc1f79c:	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);                                             
ffc1f7a0:	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              
                                )                                     
{                                                                     
ffc1f7a4:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc1f7a8:	7c 08 02 a6 	mflr    r0                                     
ffc1f7ac:	90 01 00 84 	stw     r0,132(r1)                             
ffc1f7b0:	92 21 00 44 	stw     r17,68(r1)                             
ffc1f7b4:	93 a1 00 74 	stw     r29,116(r1)                            
ffc1f7b8:	7d 3d 4b 78 	mr      r29,r9                                 
ffc1f7bc:	93 c1 00 78 	stw     r30,120(r1)                            
ffc1f7c0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1f7c4:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc1f7c8:	7c 9f 23 78 	mr      r31,r4                                 
ffc1f7cc:	91 c1 00 38 	stw     r14,56(r1)                             
ffc1f7d0:	91 e1 00 3c 	stw     r15,60(r1)                             
ffc1f7d4:	92 01 00 40 	stw     r16,64(r1)                             
ffc1f7d8:	92 41 00 48 	stw     r18,72(r1)                             
ffc1f7dc:	92 61 00 4c 	stw     r19,76(r1)                             
ffc1f7e0:	92 81 00 50 	stw     r20,80(r1)                             
ffc1f7e4:	92 a1 00 54 	stw     r21,84(r1)                             
ffc1f7e8:	92 c1 00 58 	stw     r22,88(r1)                             
ffc1f7ec:	92 e1 00 5c 	stw     r23,92(r1)                             
ffc1f7f0:	93 01 00 60 	stw     r24,96(r1)                             
ffc1f7f4:	93 21 00 64 	stw     r25,100(r1)                            
ffc1f7f8:	93 41 00 68 	stw     r26,104(r1)                            
ffc1f7fc:	93 61 00 6c 	stw     r27,108(r1)                            
ffc1f800:	93 81 00 70 	stw     r28,112(r1)                            
ffc1f804:	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);                                             
ffc1f808:	91 61 00 20 	stw     r11,32(r1)                             
    int                                   name_len,                   
    msdos_name_type_t                     name_type,                  
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
ffc1f80c:	90 c1 00 28 	stw     r6,40(r1)                              
ffc1f810:	91 01 00 24 	stw     r8,36(r1)                              
ffc1f814:	91 41 00 18 	stw     r10,24(r1)                             
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1f818:	82 23 00 34 	lwz     r17,52(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);                                             
ffc1f81c:	40 81 09 d8 	ble-    ffc201f4 <msdos_find_name_in_fat_file+0xa58><== 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))               
ffc1f820:	2e 05 00 00 	cmpwi   cr4,r5,0                               
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1f824:	38 00 ff ff 	li      r0,-1                                  
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1f828:	39 20 00 00 	li      r9,0                                   
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1f82c:	90 1d 00 08 	stw     r0,8(r29)                              
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1f830:	91 3d 00 00 	stw     r9,0(r29)                              
  dir_pos->sname.ofs = 0;                                             
ffc1f834:	91 3d 00 04 	stw     r9,4(r29)                              
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1f838:	90 1d 00 0c 	stw     r0,12(r29)                             
                                                                      
    assert(name_len > 0);                                             
                                                                      
    fat_dir_pos_init(dir_pos);                                        
                                                                      
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1f83c:	90 01 00 10 	stw     r0,16(r1)                              
ffc1f840:	90 01 00 0c 	stw     r0,12(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))               
ffc1f844:	41 92 00 18 	beq-    cr4,ffc1f85c <msdos_find_name_in_fat_file+0xc0>
ffc1f848:	80 01 00 24 	lwz     r0,36(r1)                              
      lfn_entries = 0;                                                
ffc1f84c:	39 00 00 00 	li      r8,0                                   
ffc1f850:	91 01 00 1c 	stw     r8,28(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))               
ffc1f854:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1f858:	41 9e 00 28 	beq-    cr7,ffc1f880 <msdos_find_name_in_fat_file+0xe4>
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
ffc1f85c:	81 61 00 20 	lwz     r11,32(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 =                                                   
ffc1f860:	3d 20 4e c4 	lis     r9,20164                               
ffc1f864:	61 29 ec 4f 	ori     r9,r9,60495                            
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
ffc1f868:	38 0b 00 0c 	addi    r0,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 =                                                   
ffc1f86c:	7d 20 48 96 	mulhw   r9,r0,r9                               
ffc1f870:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc1f874:	7d 29 16 70 	srawi   r9,r9,2                                
ffc1f878:	7d 20 48 50 	subf    r9,r0,r9                               
ffc1f87c:	91 21 00 1c 	stw     r9,28(r1)                              
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
ffc1f880:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc1f884:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1f888:	41 9e 05 d0 	beq-    cr7,ffc1fe58 <msdos_find_name_in_fat_file+0x6bc>
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc1f88c:	a3 31 00 06 	lhz     r25,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 ||                                
ffc1f890:	81 61 00 24 	lwz     r11,36(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(mt_entry, fat_fd, (dir_offset * bts2rd),
ffc1f894:	39 c0 00 00 	li      r14,0                                  
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1f898:	81 01 00 1c 	lwz     r8,28(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;                       
ffc1f89c:	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 ||                                
ffc1f8a0:	2d 8b 00 01 	cmpwi   cr3,r11,1                              
ffc1f8a4:	80 f1 00 9c 	lwz     r7,156(r17)                            
ffc1f8a8:	83 61 00 28 	lwz     r27,40(r1)                             
    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;                           
ffc1f8ac:	3b 40 00 00 	li      r26,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;                           
ffc1f8b0:	3a e0 00 00 	li      r23,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;                          
ffc1f8b4:	3a 80 00 00 	li      r20,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;                                   
ffc1f8b8:	3a 60 00 00 	li      r19,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;                                
ffc1f8bc:	3a 00 00 00 	li      r16,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;                             
ffc1f8c0:	3b 00 00 00 	li      r24,0                                  
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_offset = 0;                                  
ffc1f8c4:	3a a0 00 00 	li      r21,0                                  
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1f8c8:	3a c0 ff ff 	li      r22,-1                                 
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1f8cc:	39 e8 00 01 	addi    r15,r8,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(mt_entry, fat_fd, (dir_offset * bts2rd),
ffc1f8d0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1f8d4:	7f e4 fb 78 	mr      r4,r31                                 
ffc1f8d8:	7d c5 73 78 	mr      r5,r14                                 
ffc1f8dc:	7f 26 cb 78 	mr      r6,r25                                 
ffc1f8e0:	4b ff 7a b1 	bl      ffc17390 <fat_file_read>               
ffc1f8e4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f8e8:	41 82 05 98 	beq-    ffc1fe80 <msdos_find_name_in_fat_file+0x6e4><== NEVER TAKEN
        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)                  
ffc1f8ec:	2f 83 00 1f 	cmpwi   cr7,r3,31                              
ffc1f8f0:	40 9d 05 a4 	ble-    cr7,ffc1fe94 <msdos_find_name_in_fat_file+0x6f8><== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
ffc1f8f4:	7f 83 c8 00 	cmpw    cr7,r3,r25                             
ffc1f8f8:	40 9e 08 d8 	bne-    cr7,ffc201d0 <msdos_find_name_in_fat_file+0xa34><== NEVER TAKEN
ffc1f8fc:	80 f1 00 9c 	lwz     r7,156(r17)                            
ffc1f900:	3b 80 00 00 	li      r28,0                                  
ffc1f904:	7f 0b c3 78 	mr      r11,r24                                
             * 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)                               
ffc1f908:	2c 1a 00 00 	cmpwi   r26,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) ==       
ffc1f90c:	7c 07 e0 ae 	lbzx    r0,r7,r28                              
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char* entry = (char*) fs_info->cl_buf + dir_entry;        
ffc1f910:	7f 07 e2 14 	add     r24,r7,r28                             
             * 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)                               
ffc1f914:	40 82 00 0c 	bne-    ffc1f920 <msdos_find_name_in_fat_file+0x184><== NEVER TAKEN
ffc1f918:	7f 97 e3 78 	mr      r23,r28                                
ffc1f91c:	7e b4 ab 78 	mr      r20,r21                                
            {                                                         
                empty_space_entry = dir_entry;                        
                empty_space_offset = dir_offset;                      
            }                                                         
                                                                      
            if (remainder_empty)                                      
ffc1f920:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1f924:	41 9e 03 28 	beq-    cr7,ffc1fc4c <msdos_find_name_in_fat_file+0x4b0>
                  printf ("MSFS:[3.2] esf:%i esc%i\n", empty_space_found, empty_space_count);
#endif                                                                
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
ffc1f928:	2f 80 00 e5 	cmpwi   cr7,r0,229                             
ffc1f92c:	41 9e 00 b8 	beq-    cr7,ffc1f9e4 <msdos_find_name_in_fat_file+0x248><== NEVER TAKEN
                 * 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)                
ffc1f930:	41 92 00 14 	beq-    cr4,ffc1f944 <msdos_find_name_in_fat_file+0x1a8>
ffc1f934:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc1f938:	40 9e 00 0c 	bne-    cr7,ffc1f944 <msdos_find_name_in_fat_file+0x1a8><== NEVER TAKEN
                {                                                     
                    empty_space_entry = 0;                            
                    empty_space_count = 0;                            
ffc1f93c:	3b 40 00 00 	li      r26,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;                            
ffc1f940:	3a e0 00 00 	li      r23,0                                  
                                                                      
                /*                                                    
                 * Check the attribute to see if the entry is for a long
                 * file name.                                         
                 */                                                   
                if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) == 
ffc1f944:	89 38 00 0b 	lbz     r9,11(r24)                             
ffc1f948:	55 29 06 be 	clrlwi  r9,r9,26                               
ffc1f94c:	2f 89 00 0f 	cmpwi   cr7,r9,15                              
ffc1f950:	41 9e 02 00 	beq-    cr7,ffc1fb50 <msdos_find_name_in_fat_file+0x3b4>
                     * 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)                                  
ffc1f954:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1f958:	41 9e 00 64 	beq-    cr7,ffc1f9bc <msdos_find_name_in_fat_file+0x220>
                        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;
ffc1f95c:	39 00 00 0b 	li      r8,11                                  
ffc1f960:	7d 09 03 a6 	mtctr   r8                                     
 *     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(                                      
ffc1f964:	39 20 00 00 	li      r9,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;
ffc1f968:	39 60 00 00 	li      r11,0                                  
ffc1f96c:	55 29 f8 7e 	rlwinm  r9,r9,31,1,31                          
ffc1f970:	7d 60 5a 14 	add     r11,r0,r11                             
ffc1f974:	7d 29 5a 14 	add     r9,r9,r11                              
                     * 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)                                  
ffc1f978:	7f 0a c3 78 	mr      r10,r24                                
                        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;
ffc1f97c:	55 29 06 3e 	clrlwi  r9,r9,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++)
ffc1f980:	42 40 00 2c 	bdz-    ffc1f9ac <msdos_find_name_in_fat_file+0x210>
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
ffc1f984:	71 2b 00 01 	andi.   r11,r9,1                               
ffc1f988:	39 60 00 00 	li      r11,0                                  
ffc1f98c:	41 82 00 08 	beq-    ffc1f994 <msdos_find_name_in_fat_file+0x1f8>
ffc1f990:	39 60 00 80 	li      r11,128                                
ffc1f994:	8c 0a 00 01 	lbzu    r0,1(r10)                              
ffc1f998:	55 29 f8 7e 	rlwinm  r9,r9,31,1,31                          
ffc1f99c:	7d 60 5a 14 	add     r11,r0,r11                             
ffc1f9a0:	7d 29 5a 14 	add     r9,r9,r11                              
ffc1f9a4:	55 29 06 3e 	clrlwi  r9,r9,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++)
ffc1f9a8:	42 00 ff dc 	bdnz+   ffc1f984 <msdos_find_name_in_fat_file+0x1e8>
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
                                                                      
                        if (lfn_entry || (lfn_checksum != cs))        
ffc1f9ac:	2f 93 00 00 	cmpwi   cr7,r19,0                              
ffc1f9b0:	40 9e 00 0c 	bne-    cr7,ffc1f9bc <msdos_find_name_in_fat_file+0x220><== NEVER TAKEN
ffc1f9b4:	7f 90 48 00 	cmpw    cr7,r16,r9                             
ffc1f9b8:	41 9e 00 84 	beq-    cr7,ffc1fa3c <msdos_find_name_in_fat_file+0x2a0><== 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 ||                                
ffc1f9bc:	41 8e 00 54 	beq-    cr3,ffc1fa10 <msdos_find_name_in_fat_file+0x274>
        assert(ret == bts2rd);                                        
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
ffc1f9c0:	3b 9c 00 20 	addi    r28,r28,32                             
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1f9c4:	92 c1 00 0c 	stw     r22,12(r1)                             
            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;                                           
ffc1f9c8:	7f 99 e0 40 	cmplw   cr7,r25,r28                            
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
                    lfn_matched = false;                              
ffc1f9cc:	39 60 00 00 	li      r11,0                                  
            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;                                           
ffc1f9d0:	41 9d ff 38 	bgt+    cr7,ffc1f908 <msdos_find_name_in_fat_file+0x16c><== ALWAYS TAKEN
ffc1f9d4:	7d 78 5b 78 	mr      r24,r11                                <== NOT EXECUTED
ffc1f9d8:	7d ce ca 14 	add     r14,r14,r25                            <== NOT EXECUTED
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
ffc1f9dc:	3a b5 00 01 	addi    r21,r21,1                              <== NOT EXECUTED
ffc1f9e0:	4b ff fe f0 	b       ffc1f8d0 <msdos_find_name_in_fat_file+0x134><== NOT EXECUTED
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
            {                                                         
                if (create_node)                                      
ffc1f9e4:	41 92 00 10 	beq-    cr4,ffc1f9f4 <msdos_find_name_in_fat_file+0x258><== NOT EXECUTED
                {                                                     
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
ffc1f9e8:	3b 5a 00 01 	addi    r26,r26,1                              <== NOT EXECUTED
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1f9ec:	7f 8f d0 00 	cmpw    cr7,r15,r26                            <== NOT EXECUTED
ffc1f9f0:	41 9e 02 4c 	beq-    cr7,ffc1fc3c <msdos_find_name_in_fat_file+0x4a0><== NOT EXECUTED
        assert(ret == bts2rd);                                        
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
ffc1f9f4:	3b 9c 00 20 	addi    r28,r28,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;                                           
ffc1f9f8:	7f 99 e0 40 	cmplw   cr7,r25,r28                            
ffc1f9fc:	41 9d ff 0c 	bgt+    cr7,ffc1f908 <msdos_find_name_in_fat_file+0x16c><== ALWAYS TAKEN
ffc1fa00:	7d 78 5b 78 	mr      r24,r11                                <== NOT EXECUTED
ffc1fa04:	7d ce ca 14 	add     r14,r14,r25                            <== NOT EXECUTED
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
ffc1fa08:	3a b5 00 01 	addi    r21,r21,1                              <== NOT EXECUTED
ffc1fa0c:	4b ff fe c4 	b       ffc1f8d0 <msdos_find_name_in_fat_file+0x134><== NOT EXECUTED
                     * 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) &&           
ffc1fa10:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1fa14:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1fa18:	40 9e ff a8 	bne+    cr7,ffc1f9c0 <msdos_find_name_in_fat_file+0x224><== NEVER TAKEN
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
                         (memcmp(MSDOS_DIR_NAME(entry),               
ffc1fa1c:	80 81 00 18 	lwz     r4,24(r1)                              
ffc1fa20:	7f 03 c3 78 	mr      r3,r24                                 
ffc1fa24:	38 a0 00 0b 	li      r5,11                                  
ffc1fa28:	90 e1 00 2c 	stw     r7,44(r1)                              
ffc1fa2c:	48 00 43 45 	bl      ffc23d70 <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) &&    
ffc1fa30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1fa34:	80 e1 00 2c 	lwz     r7,44(r1)                              
ffc1fa38:	40 9e ff 88 	bne+    cr7,ffc1f9c0 <msdos_find_name_in_fat_file+0x224>
#endif                                                                
                        /*                                            
                         * We get the entry we looked for - fill the position
                         * structure and the 32 bytes of the short entry
                         */                                           
                        int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
ffc1fa3c:	7f c3 f3 78 	mr      r3,r30                                 
ffc1fa40:	7f e4 fb 78 	mr      r4,r31                                 
ffc1fa44:	38 a0 00 01 	li      r5,1                                   
ffc1fa48:	7d c6 73 78 	mr      r6,r14                                 
ffc1fa4c:	7f a7 eb 78 	mr      r7,r29                                 
ffc1fa50:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1fa54:	4b ff 7e 01 	bl      ffc17854 <fat_file_ioctl>              
ffc1fa58:	7f 1b c3 78 	mr      r27,r24                                
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
ffc1fa5c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1fa60:	40 82 00 8c 	bne-    ffc1faec <msdos_find_name_in_fat_file+0x350><== NEVER TAKEN
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1fa64:	80 c1 00 0c 	lwz     r6,12(r1)                              
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
ffc1fa68:	93 9d 00 04 	stw     r28,4(r29)                             
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1fa6c:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1fa70:	41 9e 04 1c 	beq-    cr7,ffc1fe8c <msdos_find_name_in_fat_file+0x6f0>
                        {                                             
                          rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
ffc1fa74:	7c d9 31 d6 	mullw   r6,r25,r6                              
ffc1fa78:	7f c3 f3 78 	mr      r3,r30                                 
ffc1fa7c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1fa80:	38 a0 00 01 	li      r5,1                                   
ffc1fa84:	38 e1 00 0c 	addi    r7,r1,12                               
ffc1fa88:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1fa8c:	4b ff 7d c9 	bl      ffc17854 <fat_file_ioctl>              
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
ffc1fa90:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fa94:	40 82 03 e4 	bne-    ffc1fe78 <msdos_find_name_in_fat_file+0x6dc><== NEVER TAKEN
ffc1fa98:	80 01 00 0c 	lwz     r0,12(r1)                              
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
ffc1fa9c:	90 1d 00 08 	stw     r0,8(r29)                              
                        dir_pos->lname.ofs = lfn_start.ofs;           
ffc1faa0:	80 01 00 10 	lwz     r0,16(r1)                              
                                                                      
                        memcpy(name_dir_entry, entry,                 
ffc1faa4:	81 01 00 18 	lwz     r8,24(r1)                              
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
                        dir_pos->lname.ofs = lfn_start.ofs;           
ffc1faa8:	90 1d 00 0c 	stw     r0,12(r29)                             
                                                                      
                        memcpy(name_dir_entry, entry,                 
ffc1faac:	81 5b 00 00 	lwz     r10,0(r27)                             
ffc1fab0:	81 7b 00 04 	lwz     r11,4(r27)                             
ffc1fab4:	81 3b 00 08 	lwz     r9,8(r27)                              
ffc1fab8:	80 1b 00 0c 	lwz     r0,12(r27)                             
ffc1fabc:	91 48 00 00 	stw     r10,0(r8)                              
ffc1fac0:	91 68 00 04 	stw     r11,4(r8)                              
ffc1fac4:	91 28 00 08 	stw     r9,8(r8)                               
ffc1fac8:	90 08 00 0c 	stw     r0,12(r8)                              
ffc1facc:	81 5b 00 10 	lwz     r10,16(r27)                            
ffc1fad0:	81 7b 00 14 	lwz     r11,20(r27)                            
ffc1fad4:	81 3b 00 18 	lwz     r9,24(r27)                             
ffc1fad8:	80 1b 00 1c 	lwz     r0,28(r27)                             
ffc1fadc:	91 48 00 10 	stw     r10,16(r8)                             
ffc1fae0:	91 68 00 14 	stw     r11,20(r8)                             
ffc1fae4:	91 28 00 18 	stw     r9,24(r8)                              
ffc1fae8:	90 08 00 1c 	stw     r0,28(r8)                              
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
}                                                                     
ffc1faec:	80 01 00 84 	lwz     r0,132(r1)                             
ffc1faf0:	7e a3 ab 78 	mr      r3,r21                                 
ffc1faf4:	81 81 00 34 	lwz     r12,52(r1)                             
ffc1faf8:	7c 08 03 a6 	mtlr    r0                                     
ffc1fafc:	81 c1 00 38 	lwz     r14,56(r1)                             
ffc1fb00:	81 e1 00 3c 	lwz     r15,60(r1)                             
ffc1fb04:	7d 81 81 20 	mtcrf   24,r12                                 
ffc1fb08:	82 01 00 40 	lwz     r16,64(r1)                             
ffc1fb0c:	82 21 00 44 	lwz     r17,68(r1)                             
ffc1fb10:	82 41 00 48 	lwz     r18,72(r1)                             
ffc1fb14:	82 61 00 4c 	lwz     r19,76(r1)                             
ffc1fb18:	82 81 00 50 	lwz     r20,80(r1)                             
ffc1fb1c:	82 a1 00 54 	lwz     r21,84(r1)                             
ffc1fb20:	82 c1 00 58 	lwz     r22,88(r1)                             
ffc1fb24:	82 e1 00 5c 	lwz     r23,92(r1)                             
ffc1fb28:	83 01 00 60 	lwz     r24,96(r1)                             
ffc1fb2c:	83 21 00 64 	lwz     r25,100(r1)                            
ffc1fb30:	83 41 00 68 	lwz     r26,104(r1)                            
ffc1fb34:	83 61 00 6c 	lwz     r27,108(r1)                            
ffc1fb38:	83 81 00 70 	lwz     r28,112(r1)                            
ffc1fb3c:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc1fb40:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc1fb44:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc1fb48:	38 21 00 80 	addi    r1,r1,128                              
ffc1fb4c:	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)         
ffc1fb50:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1fb54:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1fb58:	41 9e 00 b0 	beq-    cr7,ffc1fc08 <msdos_find_name_in_fat_file+0x46c>
                     * 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) & 
ffc1fb5c:	54 00 06 be 	clrlwi  r0,r0,26                               
ffc1fb60:	7f 80 98 00 	cmpw    cr7,r0,r19                             
ffc1fb64:	41 9e 00 0c 	beq-    cr7,ffc1fb70 <msdos_find_name_in_fat_file+0x3d4><== 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;          
ffc1fb68:	92 c1 00 0c 	stw     r22,12(r1)                             <== NOT EXECUTED
                        continue;                                     
ffc1fb6c:	4b ff fe 88 	b       ffc1f9f4 <msdos_find_name_in_fat_file+0x258><== NOT EXECUTED
                     * forget this series of long directory entries. These
                     * could be orphaned entries depending on the history
                     * of the disk.                                   
                     */                                               
                    if ((lfn_entry != (*MSDOS_DIR_ENTRY_TYPE(entry) & 
                                       MSDOS_LAST_LONG_ENTRY_MASK)) ||
ffc1fb70:	89 38 00 0d 	lbz     r9,13(r24)                             
ffc1fb74:	7f 89 80 00 	cmpw    cr7,r9,r16                             
ffc1fb78:	40 9e ff f0 	bne+    cr7,ffc1fb68 <msdos_find_name_in_fat_file+0x3cc><== NEVER TAKEN
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
ffc1fb7c:	3a 73 ff ff 	addi    r19,r19,-1                             
ffc1fb80:	81 61 00 20 	lwz     r11,32(r1)                             
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
ffc1fb84:	1c d3 00 0d 	mulli   r6,r19,13                              
ffc1fb88:	7f 86 58 00 	cmpw    cr7,r6,r11                             
                    p = entry + 1;                                    
ffc1fb8c:	7d 66 58 50 	subf    r11,r6,r11                             
ffc1fb90:	39 6b 00 01 	addi    r11,r11,1                              
ffc1fb94:	3b 18 00 01 	addi    r24,r24,1                              
ffc1fb98:	7d 69 03 a6 	mtctr   r11                                    
ffc1fb9c:	7c ca 33 78 	mr      r10,r6                                 
ffc1fba0:	39 20 00 01 	li      r9,1                                   
ffc1fba4:	41 9d 06 74 	bgt-    cr7,ffc20218 <msdos_find_name_in_fat_file+0xa7c><== NEVER TAKEN
ffc1fba8:	81 01 00 20 	lwz     r8,32(r1)                              
ffc1fbac:	3d 60 80 00 	lis     r11,-32768                             
ffc1fbb0:	7f 88 58 00 	cmpw    cr7,r8,r11                             
ffc1fbb4:	40 be 00 24 	bne+    cr7,ffc1fbd8 <msdos_find_name_in_fat_file+0x43c><== ALWAYS TAKEN
ffc1fbb8:	48 00 06 60 	b       ffc20218 <msdos_find_name_in_fat_file+0xa7c><== NOT EXECUTED
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
                            break;                                    
                        }                                             
                                                                      
                        switch (i)                                    
ffc1fbbc:	2f 88 00 0a 	cmpwi   cr7,r8,10                              
ffc1fbc0:	41 9e 00 84 	beq-    cr7,ffc1fc44 <msdos_find_name_in_fat_file+0x4a8>
                    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++)     
ffc1fbc4:	2f 89 00 0d 	cmpwi   cr7,r9,13                              
ffc1fbc8:	41 9e 02 6c 	beq-    cr7,ffc1fe34 <msdos_find_name_in_fat_file+0x698>
                                break;                                
                            case 10:                                  
                                p += 4;                               
                                break;                                
                            default:                                  
                                p += 2;                               
ffc1fbcc:	3b 18 00 02 	addi    r24,r24,2                              
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
                    p = entry + 1;                                    
ffc1fbd0:	39 29 00 01 	addi    r9,r9,1                                
ffc1fbd4:	39 4a 00 01 	addi    r10,r10,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')                               
ffc1fbd8:	89 78 00 00 	lbz     r11,0(r24)                             
 *     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(                                      
ffc1fbdc:	39 09 ff ff 	addi    r8,r9,-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')                               
ffc1fbe0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1fbe4:	41 9e 02 30 	beq-    cr7,ffc1fe14 <msdos_find_name_in_fat_file+0x678>
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
ffc1fbe8:	42 40 02 48 	bdz-    ffc1fe30 <msdos_find_name_in_fat_file+0x694>
ffc1fbec:	7c bb 50 ae 	lbzx    r5,r27,r10                             
ffc1fbf0:	7f 85 58 00 	cmpw    cr7,r5,r11                             
ffc1fbf4:	40 9e 02 3c 	bne-    cr7,ffc1fe30 <msdos_find_name_in_fat_file+0x694>
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
                            break;                                    
                        }                                             
                                                                      
                        switch (i)                                    
ffc1fbf8:	2f 88 00 04 	cmpwi   cr7,r8,4                               
ffc1fbfc:	40 9e ff c0 	bne+    cr7,ffc1fbbc <msdos_find_name_in_fat_file+0x420>
                        {                                             
                            case 4:                                   
                                p += 5;                               
ffc1fc00:	3b 18 00 05 	addi    r24,r24,5                              
                                break;                                
ffc1fc04:	4b ff ff cc 	b       ffc1fbd0 <msdos_find_name_in_fat_file+0x434>
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1fc08:	70 0a 00 40 	andi.   r10,r0,64                              
                     * 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;                          
ffc1fc0c:	39 60 00 00 	li      r11,0                                  
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1fc10:	41 a2 fd e4 	beq-    ffc1f9f4 <msdos_find_name_in_fat_file+0x258>
                         * 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) &
ffc1fc14:	81 01 00 1c 	lwz     r8,28(r1)                              
ffc1fc18:	54 00 06 be 	clrlwi  r0,r0,26                               
ffc1fc1c:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc1fc20:	40 9e fd d4 	bne+    cr7,ffc1f9f4 <msdos_find_name_in_fat_file+0x258>
                            continue;                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
ffc1fc24:	92 a1 00 0c 	stw     r21,12(r1)                             
                        lfn_start.ofs = dir_entry;                    
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1fc28:	7d 13 43 78 	mr      r19,r8                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
                        lfn_start.ofs = dir_entry;                    
ffc1fc2c:	93 81 00 10 	stw     r28,16(r1)                             
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1fc30:	8a 18 00 0d 	lbz     r16,13(r24)                            
ffc1fc34:	88 18 00 00 	lbz     r0,0(r24)                              
ffc1fc38:	4b ff ff 24 	b       ffc1fb5c <msdos_find_name_in_fat_file+0x3c0>
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
                    empty_space_found = true;                         
ffc1fc3c:	3a 40 00 01 	li      r18,1                                  <== NOT EXECUTED
ffc1fc40:	4b ff fd b4 	b       ffc1f9f4 <msdos_find_name_in_fat_file+0x258><== NOT EXECUTED
                        {                                             
                            case 4:                                   
                                p += 5;                               
                                break;                                
                            case 10:                                  
                                p += 4;                               
ffc1fc44:	3b 18 00 04 	addi    r24,r24,4                              
                                break;                                
ffc1fc48:	4b ff ff 88 	b       ffc1fbd0 <msdos_find_name_in_fat_file+0x434>
#endif                                                                
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
ffc1fc4c:	41 92 02 38 	beq-    cr4,ffc1fe84 <msdos_find_name_in_fat_file+0x6e8>
                 * 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)                               
ffc1fc50:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc1fc54:	40 9e 00 14 	bne-    cr7,ffc1fc68 <msdos_find_name_in_fat_file+0x4cc><== NEVER TAKEN
        (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;   
ffc1fc58:	57 20 d9 7e 	rlwinm  r0,r25,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);
ffc1fc5c:	7f 5a 02 14 	add     r26,r26,r0                             
ffc1fc60:	57 9c d9 7e 	rlwinm  r28,r28,27,5,31                        
ffc1fc64:	7d 3c d0 51 	subf.   r9,r28,r26                             
     * 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)                                 
ffc1fc68:	81 61 00 24 	lwz     r11,36(r1)                             
ffc1fc6c:	2f 8b 00 02 	cmpwi   cr7,r11,2                              
ffc1fc70:	41 9e 02 e4 	beq-    cr7,ffc1ff54 <msdos_find_name_in_fat_file+0x7b8>
        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)                                                  
ffc1fc74:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc1fc78:	3a c0 00 00 	li      r22,0                                  
ffc1fc7c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1fc80:	41 9e 00 64 	beq-    cr7,ffc1fce4 <msdos_find_name_in_fat_file+0x548>
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
ffc1fc84:	39 00 00 0b 	li      r8,11                                  
ffc1fc88:	81 41 00 18 	lwz     r10,24(r1)                             
ffc1fc8c:	7d 09 03 a6 	mtctr   r8                                     
        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)                                                  
ffc1fc90:	39 20 00 00 	li      r9,0                                   
ffc1fc94:	38 00 00 00 	li      r0,0                                   
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
ffc1fc98:	56 d6 f8 7e 	rlwinm  r22,r22,31,1,31                        
ffc1fc9c:	7d 6a 48 ae 	lbzx    r11,r10,r9                             
ffc1fca0:	7c 00 b2 14 	add     r0,r0,r22                              
ffc1fca4:	7e c0 5a 14 	add     r22,r0,r11                             
ffc1fca8:	56 d6 06 3e 	clrlwi  r22,r22,24                             
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1fcac:	39 29 00 01 	addi    r9,r9,1                                
ffc1fcb0:	42 40 00 34 	bdz-    ffc1fce4 <msdos_find_name_in_fat_file+0x548>
            lfn_checksum =                                            
ffc1fcb4:	56 cb 07 fe 	clrlwi  r11,r22,31                             
ffc1fcb8:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
ffc1fcbc:	38 00 00 00 	li      r0,0                                   
ffc1fcc0:	41 ba ff d8 	beq-    cr6,ffc1fc98 <msdos_find_name_in_fat_file+0x4fc>
ffc1fcc4:	56 d6 f8 7e 	rlwinm  r22,r22,31,1,31                        
ffc1fcc8:	7d 6a 48 ae 	lbzx    r11,r10,r9                             
ffc1fccc:	38 00 00 80 	li      r0,128                                 
ffc1fcd0:	7c 00 b2 14 	add     r0,r0,r22                              
ffc1fcd4:	7e c0 5a 14 	add     r22,r0,r11                             
ffc1fcd8:	56 d6 06 3e 	clrlwi  r22,r22,24                             
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1fcdc:	39 29 00 01 	addi    r9,r9,1                                
ffc1fce0:	42 00 ff d4 	bdnz+   ffc1fcb4 <msdos_find_name_in_fat_file+0x518>
     * 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)                                       
ffc1fce4:	41 82 02 60 	beq-    ffc1ff44 <msdos_find_name_in_fat_file+0x7a8><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Have we read past the empty block ? If so go back and read it again.
     */                                                               
    if (dir_offset != empty_space_offset)                             
ffc1fce8:	7f 14 a8 00 	cmpw    cr6,r20,r21                            
        read_cluster = true;                                          
ffc1fcec:	38 00 00 01 	li      r0,1                                   
    }                                                                 
                                                                      
    /*                                                                
     * Have we read past the empty block ? If so go back and read it again.
     */                                                               
    if (dir_offset != empty_space_offset)                             
ffc1fcf0:	41 9a 04 d8 	beq-    cr6,ffc201c8 <msdos_find_name_in_fat_file+0xa2c><== ALWAYS TAKEN
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1fcf4:	39 20 ff ff 	li      r9,-1                                  
ffc1fcf8:	91 21 00 10 	stw     r9,16(r1)                              
ffc1fcfc:	91 21 00 0c 	stw     r9,12(r1)                              
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1fd00:	41 9c 04 40 	blt-    cr7,ffc20140 <msdos_find_name_in_fat_file+0x9a4><== NEVER TAKEN
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
ffc1fd04:	2f 80 00 00 	cmpwi   cr7,r0,0                               
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1fd08:	7e 74 c9 d6 	mullw   r19,r20,r25                            
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
    lfn_entry = 0;                                                    
ffc1fd0c:	3b 60 00 00 	li      r27,0                                  
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
ffc1fd10:	40 9e 01 98 	bne-    cr7,ffc1fea8 <msdos_find_name_in_fat_file+0x70c><== NEVER TAKEN
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1fd14:	7f 99 b8 40 	cmplw   cr7,r25,r23                            
ffc1fd18:	40 9d 04 9c 	ble-    cr7,ffc201b4 <msdos_find_name_in_fat_file+0xa18><== NEVER TAKEN
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1fd1c:	81 21 00 1c 	lwz     r9,28(r1)                              
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc1fd20:	3b 5b 00 01 	addi    r26,r27,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;  
ffc1fd24:	83 91 00 9c 	lwz     r28,156(r17)                           
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1fd28:	38 69 00 01 	addi    r3,r9,1                                
ffc1fd2c:	7f 83 d0 00 	cmpw    cr7,r3,r26                             
                                                                      
        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;  
ffc1fd30:	7f 9c ba 14 	add     r28,r28,r23                            
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1fd34:	41 9e 04 74 	beq-    cr7,ffc201a8 <msdos_find_name_in_fat_file+0xa0c>
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
ffc1fd38:	81 21 00 1c 	lwz     r9,28(r1)                              
 *     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(                                      
ffc1fd3c:	7f 64 d8 f8 	not     r4,r27                                 
ffc1fd40:	81 61 00 28 	lwz     r11,40(r1)                             
ffc1fd44:	7e fb bb 78 	mr      r27,r23                                
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
ffc1fd48:	55 25 06 3e 	clrlwi  r5,r9,24                               
 *     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(                                      
ffc1fd4c:	7c 84 4a 14 	add     r4,r4,r9                               
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
ffc1fd50:	38 a5 00 01 	addi    r5,r5,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(                                      
ffc1fd54:	1c 84 00 0d 	mulli   r4,r4,13                               
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
ffc1fd58:	7c ba 28 50 	subf    r5,r26,r5                              
ffc1fd5c:	54 a5 06 3e 	clrlwi  r5,r5,24                               
 *     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(                                      
ffc1fd60:	7c 8b 22 14 	add     r4,r11,r4                              
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc1fd64:	3b 00 00 20 	li      r24,32                                 
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1fd68:	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)                 
ffc1fd6c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1fd70:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1fd74:	41 9e 04 00 	beq-    cr7,ffc20174 <msdos_find_name_in_fat_file+0x9d8>
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1fd78:	90 dc 00 0c 	stw     r6,12(r28)                             
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
ffc1fd7c:	7c 88 23 78 	mr      r8,r4                                  
ffc1fd80:	39 60 00 01 	li      r11,1                                  
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1fd84:	90 dc 00 00 	stw     r6,0(r28)                              
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
ffc1fd88:	39 3c 00 01 	addi    r9,r28,1                               
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
ffc1fd8c:	38 e0 00 00 	li      r7,0                                   
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1fd90:	90 dc 00 04 	stw     r6,4(r28)                              
 *     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(                                      
ffc1fd94:	38 0b ff ff 	addi    r0,r11,-1                              
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1fd98:	90 dc 00 08 	stw     r6,8(r28)                              
ffc1fd9c:	90 dc 00 10 	stw     r6,16(r28)                             
ffc1fda0:	90 dc 00 14 	stw     r6,20(r28)                             
ffc1fda4:	90 dc 00 18 	stw     r6,24(r28)                             
ffc1fda8:	90 dc 00 1c 	stw     r6,28(r28)                             
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
ffc1fdac:	9a dc 00 0d 	stb     r22,13(r28)                            
            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)                                          
ffc1fdb0:	89 48 00 00 	lbz     r10,0(r8)                              
ffc1fdb4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1fdb8:	41 9e 00 3c 	beq-    cr7,ffc1fdf4 <msdos_find_name_in_fat_file+0x658><== NEVER TAKEN
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1fdbc:	2f 80 00 04 	cmpwi   cr7,r0,4                               
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
                {                                                     
                    *p = *n;                                          
ffc1fdc0:	99 49 00 00 	stb     r10,0(r9)                              
                    n++;                                              
ffc1fdc4:	39 08 00 01 	addi    r8,r8,1                                
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1fdc8:	41 9e 00 40 	beq-    cr7,ffc1fe08 <msdos_find_name_in_fat_file+0x66c>
ffc1fdcc:	2f 80 00 0a 	cmpwi   cr7,r0,10                              
ffc1fdd0:	41 9e 02 18 	beq-    cr7,ffc1ffe8 <msdos_find_name_in_fat_file+0x84c>
            *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++)             
ffc1fdd4:	2f 8b 00 0d 	cmpwi   cr7,r11,13                             
ffc1fdd8:	41 9e 02 1c 	beq-    cr7,ffc1fff4 <msdos_find_name_in_fat_file+0x858>
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
                        break;                                        
                    default:                                          
                        p += 2;                                       
ffc1fddc:	39 29 00 02 	addi    r9,r9,2                                
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
ffc1fde0:	39 6b 00 01 	addi    r11,r11,1                              
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
ffc1fde4:	89 48 00 00 	lbz     r10,0(r8)                              
 *     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(                                      
ffc1fde8:	38 0b ff ff 	addi    r0,r11,-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)                                          
ffc1fdec:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1fdf0:	40 be ff cc 	bne-    cr7,ffc1fdbc <msdos_find_name_in_fat_file+0x620>
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1fdf4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
                    *p = *n;                                          
                    n++;                                              
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
ffc1fdf8:	98 e9 00 00 	stb     r7,0(r9)                               
                    p [1] = fill;                                     
ffc1fdfc:	98 e9 00 01 	stb     r7,1(r9)                               
                    fill = 0xff;                                      
ffc1fe00:	38 e0 00 ff 	li      r7,255                                 
                }                                                     
                                                                      
                switch (i)                                            
ffc1fe04:	40 9e ff c8 	bne+    cr7,ffc1fdcc <msdos_find_name_in_fat_file+0x630>
                {                                                     
                    case 4:                                           
                        p += 5;                                       
ffc1fe08:	39 29 00 05 	addi    r9,r9,5                                
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
ffc1fe0c:	39 6b 00 01 	addi    r11,r11,1                              
ffc1fe10:	4b ff ff d4 	b       ffc1fde4 <msdos_find_name_in_fat_file+0x648>
                            /*                                        
                             * 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) &&   
ffc1fe14:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc1fe18:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc1fe1c:	40 be 00 18 	bne+    cr7,ffc1fe34 <msdos_find_name_in_fat_file+0x698><== NEVER TAKEN
ffc1fe20:	81 61 00 20 	lwz     r11,32(r1)                             
                                ((o + i) != name_len))                
ffc1fe24:	7d 06 42 14 	add     r8,r6,r8                               
                            /*                                        
                             * 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) &&   
ffc1fe28:	7f 88 58 00 	cmpw    cr7,r8,r11                             
ffc1fe2c:	41 9e 00 08 	beq-    cr7,ffc1fe34 <msdos_find_name_in_fat_file+0x698><== ALWAYS TAKEN
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
ffc1fe30:	92 c1 00 0c 	stw     r22,12(r1)                             
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
ffc1fe34:	2f 93 00 00 	cmpwi   cr7,r19,0                              
ffc1fe38:	39 60 00 00 	li      r11,0                                  
ffc1fe3c:	40 be fb b8 	bne-    cr7,ffc1f9f4 <msdos_find_name_in_fat_file+0x258>
 *     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(                                      
ffc1fe40:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc1fe44:	39 6b 00 01 	addi    r11,r11,1                              
ffc1fe48:	7d 6b 00 34 	cntlzw  r11,r11                                
ffc1fe4c:	55 6b d9 7e 	rlwinm  r11,r11,27,5,31                        
ffc1fe50:	69 6b 00 01 	xori    r11,r11,1                              
ffc1fe54:	4b ff fb a0 	b       ffc1f9f4 <msdos_find_name_in_fat_file+0x258>
      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) &&                                 
ffc1fe58:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc1fe5c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1fe60:	40 be fa 2c 	bne-    cr7,ffc1f88c <msdos_find_name_in_fat_file+0xf0><== NEVER TAKEN
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
ffc1fe64:	88 11 00 0a 	lbz     r0,10(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) &&                                 
ffc1fe68:	70 08 00 03 	andi.   r8,r0,3                                
ffc1fe6c:	41 a2 fa 20 	beq-    ffc1f88c <msdos_find_name_in_fat_file+0xf0><== NEVER TAKEN
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
ffc1fe70:	83 3f 00 18 	lwz     r25,24(r31)                            
ffc1fe74:	4b ff fa 1c 	b       ffc1f890 <msdos_find_name_in_fat_file+0xf4>
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
                        {                                             
                          rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
ffc1fe78:	7c 75 1b 78 	mr      r21,r3                                 <== NOT EXECUTED
ffc1fe7c:	4b ff fc 70 	b       ffc1faec <msdos_find_name_in_fat_file+0x350><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
ffc1fe80:	40 92 03 40 	bne-    cr4,ffc201c0 <msdos_find_name_in_fat_file+0xa24><== NOT EXECUTED
      return MSDOS_NAME_NOT_FOUND_ERR;                                
ffc1fe84:	3a a0 7d 01 	li      r21,32001                              
ffc1fe88:	4b ff fc 64 	b       ffc1faec <msdos_find_name_in_fat_file+0x350>
                        if (rc != RC_OK)                              
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1fe8c:	38 00 ff ff 	li      r0,-1                                  
ffc1fe90:	4b ff fc 0c 	b       ffc1fa9c <msdos_find_name_in_fat_file+0x300>
                                                                      
#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))          
              rtems_set_errno_and_return_minus_one(EIO);              
ffc1fe94:	48 00 31 4d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1fe98:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1fe9c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1fea0:	3a a0 ff ff 	li      r21,-1                                 <== NOT EXECUTED
ffc1fea4:	4b ff fc 48 	b       ffc1faec <msdos_find_name_in_fat_file+0x350><== NOT EXECUTED
        {                                                             
          uint32_t new_length;                                        
#if MSDOS_FIND_PRINT                                                  
          printf ("MSFS:[9.1] eso:%li\n", empty_space_offset);        
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
ffc1fea8:	80 f1 00 9c 	lwz     r7,156(r17)                            <== NOT EXECUTED
ffc1feac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1feb0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1feb4:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1feb8:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1febc:	4b ff 74 d5 	bl      ffc17390 <fat_file_read>               <== NOT EXECUTED
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
ffc1fec0:	7f 83 c8 00 	cmpw    cr7,r3,r25                             <== NOT EXECUTED
ffc1fec4:	41 be fe 50 	beq-    cr7,ffc1fd14 <msdos_find_name_in_fat_file+0x578><== NOT EXECUTED
          {                                                           
            if (ret != FAT_EOF)                                       
ffc1fec8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1fecc:	40 be ff c8 	bne-    cr7,ffc1fe94 <msdos_find_name_in_fat_file+0x6f8><== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.2] extending file:%li\n", empty_space_offset);
#endif                                                                
            ret = fat_file_extend (mt_entry, fat_fd, empty_space_offset * bts2rd,
ffc1fed0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1fed4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1fed8:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1fedc:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1fee0:	4b ff 7a 79 	bl      ffc17958 <fat_file_extend>             <== NOT EXECUTED
                                   &new_length);                      
                                                                      
            if (ret != RC_OK)                                         
ffc1fee4:	7c 75 1b 79 	mr.     r21,r3                                 <== NOT EXECUTED
ffc1fee8:	40 a2 fc 04 	bne-    ffc1faec <msdos_find_name_in_fat_file+0x350><== NOT EXECUTED
              return ret;                                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.3] extended: %d <-> %d\n", new_length, empty_space_offset * bts2rd);
#endif                                                                
            if (new_length != (empty_space_offset * bts2rd))          
ffc1feec:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc1fef0:	7f 80 98 00 	cmpw    cr7,r0,r19                             <== NOT EXECUTED
ffc1fef4:	40 be ff a0 	bne-    cr7,ffc1fe94 <msdos_find_name_in_fat_file+0x6f8><== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
            memset(fs_info->cl_buf, 0, bts2rd);                       
ffc1fef8:	80 71 00 9c 	lwz     r3,156(r17)                            <== NOT EXECUTED
ffc1fefc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1ff00:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc1ff04:	48 00 3f f5 	bl      ffc23ef8 <memset>                      <== NOT EXECUTED
                                                                      
            ret = fat_file_write(mt_entry, fat_fd,                    
ffc1ff08:	80 f1 00 9c 	lwz     r7,156(r17)                            <== NOT EXECUTED
ffc1ff0c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1ff10:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1ff14:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1ff18:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1ff1c:	4b ff 7c 7d 	bl      ffc17b98 <fat_file_write>              <== NOT EXECUTED
                                 empty_space_offset * bts2rd,         
                                 bts2rd, fs_info->cl_buf);            
#if MSDOS_FIND_PRINT                                                  
            printf ("MSFS:[9.4] clear write: %d\n", ret);             
#endif                                                                
            if (ret == -1)                                            
ffc1ff20:	3a a0 ff ff 	li      r21,-1                                 <== NOT EXECUTED
ffc1ff24:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
ffc1ff28:	41 be fb c4 	beq-    cr7,ffc1faec <msdos_find_name_in_fat_file+0x350><== NOT EXECUTED
              return ret;                                             
            else if (ret != bts2rd)                                   
ffc1ff2c:	7f 83 c8 00 	cmpw    cr7,r3,r25                             <== NOT EXECUTED
ffc1ff30:	41 9e fd e4 	beq+    cr7,ffc1fd14 <msdos_find_name_in_fat_file+0x578><== NOT EXECUTED
                             (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);                
ffc1ff34:	48 00 30 ad 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1ff38:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ff3c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ff40:	4b ff fb ac 	b       ffc1faec <msdos_find_name_in_fat_file+0x350><== 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)                                       
ffc1ff44:	7e b4 ab 78 	mr      r20,r21                                <== NOT EXECUTED
    {                                                                 
        read_cluster = true;                                          
ffc1ff48:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
        empty_space_offset = dir_offset;                              
        empty_space_entry = 0;                                        
ffc1ff4c:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc1ff50:	4b ff fd a4 	b       ffc1fcf4 <msdos_find_name_in_fat_file+0x558><== 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 == '.'))                                 
ffc1ff54:	81 01 00 18 	lwz     r8,24(r1)                              
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1ff58:	7d 34 c9 d6 	mullw   r9,r20,r25                             
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1ff5c:	81 41 00 1c 	lwz     r10,28(r1)                             
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1ff60:	88 08 00 00 	lbz     r0,0(r8)                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1ff64:	7d 29 ba 14 	add     r9,r9,r23                              
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1ff68:	2f 80 00 20 	cmpwi   cr7,r0,32                              
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1ff6c:	39 0a 00 01 	addi    r8,r10,1                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1ff70:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1ff74:	7d 08 4a 14 	add     r8,r8,r9                               
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1ff78:	41 9e 02 20 	beq-    cr7,ffc20198 <msdos_find_name_in_fat_file+0x9fc><== NEVER TAKEN
ffc1ff7c:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1ff80:	41 9e 02 18 	beq-    cr7,ffc20198 <msdos_find_name_in_fat_file+0x9fc><== NEVER TAKEN
ffc1ff84:	81 21 00 18 	lwz     r9,24(r1)                              
ffc1ff88:	88 09 00 01 	lbz     r0,1(r9)                               
ffc1ff8c:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc1ff90:	41 9e 01 f8 	beq-    cr7,ffc20188 <msdos_find_name_in_fat_file+0x9ec><== NEVER TAKEN
ffc1ff94:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1ff98:	41 9e 01 f0 	beq-    cr7,ffc20188 <msdos_find_name_in_fat_file+0x9ec><== NEVER TAKEN
ffc1ff9c:	38 00 00 04 	li      r0,4                                   
 *     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(                                      
ffc1ffa0:	81 21 00 18 	lwz     r9,24(r1)                              
ffc1ffa4:	7c 09 03 a6 	mtctr   r0                                     
ffc1ffa8:	3d 40 ff c3 	lis     r10,-61                                
ffc1ffac:	39 69 00 01 	addi    r11,r9,1                               
ffc1ffb0:	39 4a 3b 98 	addi    r10,r10,15256                          
ffc1ffb4:	39 20 00 0c 	li      r9,12                                  
    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];                         
ffc1ffb8:	7d 00 4e 30 	sraw    r0,r8,r9                               
ffc1ffbc:	54 00 07 3e 	clrlwi  r0,r0,28                               
ffc1ffc0:	7c 0a 00 ae 	lbzx    r0,r10,r0                              
ffc1ffc4:	39 29 ff fc 	addi    r9,r9,-4                               
ffc1ffc8:	9c 0b 00 01 	stbu    r0,1(r11)                              
    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++)                                      
ffc1ffcc:	42 00 ff ec 	bdnz+   ffc1ffb8 <msdos_find_name_in_fat_file+0x81c>
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
    *c++ = '~';                                                       
ffc1ffd0:	81 01 00 18 	lwz     r8,24(r1)                              
ffc1ffd4:	38 00 00 7e 	li      r0,126                                 
ffc1ffd8:	98 08 00 06 	stb     r0,6(r8)                               
    *c++ = '1';                                                       
ffc1ffdc:	38 00 00 31 	li      r0,49                                  
ffc1ffe0:	98 08 00 07 	stb     r0,7(r8)                               
ffc1ffe4:	4b ff fc 90 	b       ffc1fc74 <msdos_find_name_in_fat_file+0x4d8>
                {                                                     
                    case 4:                                           
                        p += 5;                                       
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
ffc1ffe8:	39 29 00 04 	addi    r9,r9,4                                
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
ffc1ffec:	39 6b 00 01 	addi    r11,r11,1                              
ffc1fff0:	4b ff fd f4 	b       ffc1fde4 <msdos_find_name_in_fat_file+0x648>
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
ffc1fff4:	2f 9a 00 01 	cmpwi   cr7,r26,1                              
                        p += 2;                                       
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
ffc1fff8:	98 bc 00 00 	stb     r5,0(r28)                              
            if (lfn_entry == 1)                                       
ffc1fffc:	41 9e 01 4c 	beq-    cr7,ffc20148 <msdos_find_name_in_fat_file+0x9ac>
        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)          
ffc20000:	3b 7b 00 20 	addi    r27,r27,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;                 
ffc20004:	88 1c 00 0b 	lbz     r0,11(r28)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc20008:	7f 99 d8 40 	cmplw   cr7,r25,r27                            
            }                                                         
                                                                      
            *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;                 
ffc2000c:	60 00 00 0f 	ori     r0,r0,15                               
ffc20010:	98 1c 00 0b 	stb     r0,11(r28)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc20014:	40 9d 01 54 	ble-    cr7,ffc20168 <msdos_find_name_in_fat_file+0x9cc><== NEVER TAKEN
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc20018:	3b 5a 00 01 	addi    r26,r26,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;  
ffc2001c:	83 91 00 9c 	lwz     r28,156(r17)                           
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc20020:	7f 83 d0 00 	cmpw    cr7,r3,r26                             
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc20024:	38 a5 ff ff 	addi    r5,r5,-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;  
ffc20028:	7f 9c da 14 	add     r28,r28,r27                            
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc2002c:	3b 18 00 20 	addi    r24,r24,32                             
            lfn_entry++;                                              
ffc20030:	54 a5 06 3e 	clrlwi  r5,r5,24                               
ffc20034:	38 84 ff f3 	addi    r4,r4,-13                              
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc20038:	40 9e fd 34 	bne+    cr7,ffc1fd6c <msdos_find_name_in_fat_file+0x5d0>
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,  
ffc2003c:	7f c3 f3 78 	mr      r3,r30                                 
ffc20040:	7f e4 fb 78 	mr      r4,r31                                 
ffc20044:	38 a0 00 01 	li      r5,1                                   
ffc20048:	7e 66 9b 78 	mr      r6,r19                                 
ffc2004c:	7f a7 eb 78 	mr      r7,r29                                 
ffc20050:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc20054:	4b ff 78 01 	bl      ffc17854 <fat_file_ioctl>              
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
ffc20058:	2f 83 00 00 	cmpwi   cr7,r3,0                               
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,  
ffc2005c:	7c 75 1b 78 	mr      r21,r3                                 
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
ffc20060:	40 be fa 8c 	bne-    cr7,ffc1faec <msdos_find_name_in_fat_file+0x350><== NEVER TAKEN
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc20064:	80 c1 00 0c 	lwz     r6,12(r1)                              
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
ffc20068:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc2006c:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc20070:	41 9e 01 10 	beq-    cr7,ffc20180 <msdos_find_name_in_fat_file+0x9e4>
                {                                                     
                  rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,    
ffc20074:	7c d9 31 d6 	mullw   r6,r25,r6                              
ffc20078:	7f c3 f3 78 	mr      r3,r30                                 
ffc2007c:	7f e4 fb 78 	mr      r4,r31                                 
ffc20080:	38 a0 00 01 	li      r5,1                                   
ffc20084:	38 e1 00 0c 	addi    r7,r1,12                               
ffc20088:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2008c:	4b ff 77 c9 	bl      ffc17854 <fat_file_ioctl>              
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
ffc20090:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc20094:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
                {                                                     
                  rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,    
ffc20098:	7c 75 1b 78 	mr      r21,r3                                 
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
ffc2009c:	40 be fa 50 	bne-    cr7,ffc1faec <msdos_find_name_in_fat_file+0x350><== NEVER TAKEN
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
ffc200a0:	90 1d 00 08 	stw     r0,8(r29)                              
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
ffc200a4:	7f 06 c3 78 	mr      r6,r24                                 
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc200a8:	7f 5b d3 78 	mr      r27,r26                                
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
                dir_pos->lname.ofs = lfn_start.ofs;                   
ffc200ac:	80 01 00 10 	lwz     r0,16(r1)                              
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
ffc200b0:	81 01 00 18 	lwz     r8,24(r1)                              
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
                dir_pos->lname.ofs = lfn_start.ofs;                   
ffc200b4:	90 1d 00 0c 	stw     r0,12(r29)                             
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
ffc200b8:	81 61 00 18 	lwz     r11,24(r1)                             
ffc200bc:	81 28 00 08 	lwz     r9,8(r8)                               
ffc200c0:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc200c4:	80 08 00 0c 	lwz     r0,12(r8)                              
ffc200c8:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc200cc:	91 5c 00 00 	stw     r10,0(r28)                             
ffc200d0:	91 7c 00 04 	stw     r11,4(r28)                             
ffc200d4:	91 3c 00 08 	stw     r9,8(r28)                              
ffc200d8:	90 1c 00 0c 	stw     r0,12(r28)                             
ffc200dc:	81 48 00 10 	lwz     r10,16(r8)                             
ffc200e0:	81 68 00 14 	lwz     r11,20(r8)                             
ffc200e4:	81 28 00 18 	lwz     r9,24(r8)                              
ffc200e8:	80 08 00 1c 	lwz     r0,28(r8)                              
ffc200ec:	91 5c 00 10 	stw     r10,16(r28)                            
ffc200f0:	91 7c 00 14 	stw     r11,20(r28)                            
ffc200f4:	91 3c 00 18 	stw     r9,24(r28)                             
ffc200f8:	90 1c 00 1c 	stw     r0,28(r28)                             
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
        }                                                             
                                                                      
        ret = fat_file_write(mt_entry, fat_fd,                        
ffc200fc:	80 f1 00 9c 	lwz     r7,156(r17)                            
ffc20100:	7f c3 f3 78 	mr      r3,r30                                 
ffc20104:	7f e4 fb 78 	mr      r4,r31                                 
ffc20108:	7c b3 ba 14 	add     r5,r19,r23                             
ffc2010c:	7c e7 ba 14 	add     r7,r7,r23                              
ffc20110:	4b ff 7a 89 	bl      ffc17b98 <fat_file_write>              
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
ffc20114:	3a a0 ff ff 	li      r21,-1                                 
ffc20118:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc2011c:	41 be f9 d0 	beq-    cr7,ffc1faec <msdos_find_name_in_fat_file+0x350><== NEVER TAKEN
            return ret;                                               
        else if (ret != length)                                       
ffc20120:	7f 83 c0 00 	cmpw    cr7,r3,r24                             
ffc20124:	40 be fe 10 	bne-    cr7,ffc1ff34 <msdos_find_name_in_fat_file+0x798><== NEVER TAKEN
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc20128:	81 01 00 1c 	lwz     r8,28(r1)                              
        if (ret == -1)                                                
            return ret;                                               
        else if (ret != length)                                       
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        empty_space_offset++;                                         
ffc2012c:	3a 94 00 01 	addi    r20,r20,1                              
ffc20130:	7e 73 ca 14 	add     r19,r19,r25                            
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc20134:	7f 88 d8 00 	cmpw    cr7,r8,r27                             
            return ret;                                               
        else if (ret != length)                                       
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
ffc20138:	3a e0 00 00 	li      r23,0                                  
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc2013c:	40 9c fd 6c 	bge+    cr7,ffc1fea8 <msdos_find_name_in_fat_file+0x70c><== NEVER TAKEN
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
ffc20140:	3a a0 00 00 	li      r21,0                                  
ffc20144:	4b ff f9 a8 	b       ffc1faec <msdos_find_name_in_fat_file+0x350>
        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)          
ffc20148:	3b 7b 00 20 	addi    r27,r27,32                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc2014c:	7f 99 d8 40 	cmplw   cr7,r25,r27                            
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
ffc20150:	60 a0 00 40 	ori     r0,r5,64                               
ffc20154:	98 1c 00 00 	stb     r0,0(r28)                              
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
ffc20158:	88 1c 00 0b 	lbz     r0,11(r28)                             
ffc2015c:	60 00 00 0f 	ori     r0,r0,15                               
ffc20160:	98 1c 00 0b 	stb     r0,11(r28)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc20164:	41 9d fe b4 	bgt+    cr7,ffc20018 <msdos_find_name_in_fat_file+0x87c><== ALWAYS TAKEN
ffc20168:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc2016c:	7f 5b d3 78 	mr      r27,r26                                <== NOT EXECUTED
ffc20170:	4b ff ff 8c 	b       ffc200fc <msdos_find_name_in_fat_file+0x960><== NOT EXECUTED
             * 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;                     
ffc20174:	92 81 00 0c 	stw     r20,12(r1)                             
              lfn_start.ofs = dir_entry;                              
ffc20178:	93 61 00 10 	stw     r27,16(r1)                             
ffc2017c:	4b ff fb fc 	b       ffc1fd78 <msdos_find_name_in_fat_file+0x5dc>
                if (rc != RC_OK)                                      
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc20180:	38 00 ff ff 	li      r0,-1                                  
ffc20184:	4b ff ff 1c 	b       ffc200a0 <msdos_find_name_in_fat_file+0x904>
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
ffc20188:	81 41 00 18 	lwz     r10,24(r1)                             <== NOT EXECUTED
ffc2018c:	38 00 00 5f 	li      r0,95                                  <== NOT EXECUTED
ffc20190:	98 0a 00 01 	stb     r0,1(r10)                              <== NOT EXECUTED
ffc20194:	4b ff fe 08 	b       ffc1ff9c <msdos_find_name_in_fat_file+0x800><== NOT EXECUTED
ffc20198:	81 61 00 18 	lwz     r11,24(r1)                             <== NOT EXECUTED
ffc2019c:	38 00 00 5f 	li      r0,95                                  <== NOT EXECUTED
ffc201a0:	98 0b 00 00 	stb     r0,0(r11)                              <== NOT EXECUTED
ffc201a4:	4b ff fd e0 	b       ffc1ff84 <msdos_find_name_in_fat_file+0x7e8><== NOT EXECUTED
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc201a8:	7e fb bb 78 	mr      r27,r23                                
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc201ac:	3b 00 00 20 	li      r24,32                                 
ffc201b0:	4b ff fe 8c 	b       ffc2003c <msdos_find_name_in_fat_file+0x8a0>
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc201b4:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc201b8:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
ffc201bc:	4b ff ff 40 	b       ffc200fc <msdos_find_name_in_fat_file+0x960><== NOT EXECUTED
ffc201c0:	2c 1a 00 00 	cmpwi   r26,0                                  <== NOT EXECUTED
ffc201c4:	4b ff fa a4 	b       ffc1fc68 <msdos_find_name_in_fat_file+0x4cc><== 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;                            
ffc201c8:	38 00 00 00 	li      r0,0                                   
ffc201cc:	4b ff fb 28 	b       ffc1fcf4 <msdos_find_name_in_fat_file+0x558>
#endif                                                                
                                                                      
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
ffc201d0:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc201d4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc201d8:	38 a5 40 f8 	addi    r5,r5,16632                            <== NOT EXECUTED
ffc201dc:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc201e0:	38 63 41 70 	addi    r3,r3,16752                            <== NOT EXECUTED
ffc201e4:	38 80 04 49 	li      r4,1097                                <== NOT EXECUTED
ffc201e8:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc201ec:	38 c6 42 00 	addi    r6,r6,16896                            <== NOT EXECUTED
ffc201f0:	4b fe 7a a1 	bl      ffc07c90 <__assert_func>               <== 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);                                             
ffc201f4:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc201f8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc201fc:	38 a5 40 f8 	addi    r5,r5,16632                            <== NOT EXECUTED
ffc20200:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc20204:	38 63 41 70 	addi    r3,r3,16752                            <== NOT EXECUTED
ffc20208:	38 80 04 19 	li      r4,1049                                <== NOT EXECUTED
ffc2020c:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc20210:	38 c6 41 f0 	addi    r6,r6,16880                            <== NOT EXECUTED
ffc20214:	4b fe 7a 7d 	bl      ffc07c90 <__assert_func>               <== NOT EXECUTED
ffc20218:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc2021c:	7d 69 03 a6 	mtctr   r11                                    <== NOT EXECUTED
ffc20220:	4b ff f9 b8 	b       ffc1fbd8 <msdos_find_name_in_fat_file+0x43c><== NOT EXECUTED
                                                                      

ffc20224 <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 ) {
ffc20224:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc20228:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc2022c:	90 01 00 34 	stw     r0,52(r1)                              <== 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) &&                                 
ffc20230:	80 04 00 20 	lwz     r0,32(r4)                              <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              cl4find,                    
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc20234:	92 c1 00 08 	stw     r22,8(r1)                              <== NOT EXECUTED
ffc20238:	7c d6 33 78 	mr      r22,r6                                 <== 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) &&                                 
ffc2023c:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              cl4find,                    
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc20240:	92 e1 00 0c 	stw     r23,12(r1)                             <== NOT EXECUTED
ffc20244:	7c f7 3b 78 	mr      r23,r7                                 <== NOT EXECUTED
ffc20248:	93 01 00 10 	stw     r24,16(r1)                             <== NOT EXECUTED
ffc2024c:	7c 78 1b 78 	mr      r24,r3                                 <== NOT EXECUTED
ffc20250:	93 41 00 18 	stw     r26,24(r1)                             <== NOT EXECUTED
ffc20254:	7c 9a 23 78 	mr      r26,r4                                 <== NOT EXECUTED
ffc20258:	93 61 00 1c 	stw     r27,28(r1)                             <== NOT EXECUTED
ffc2025c:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc20260:	7c bc 2b 78 	mr      r28,r5                                 <== NOT EXECUTED
ffc20264:	93 21 00 14 	stw     r25,20(r1)                             <== NOT EXECUTED
ffc20268:	93 a1 00 24 	stw     r29,36(r1)                             <== NOT EXECUTED
ffc2026c:	93 c1 00 28 	stw     r30,40(r1)                             <== NOT EXECUTED
ffc20270:	93 e1 00 2c 	stw     r31,44(r1)                             <== NOT EXECUTED
    int              rc = RC_OK;                                      
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc20274:	83 63 00 34 	lwz     r27,52(r3)                             <== NOT EXECUTED
    uint32_t         bts2rd = 0;                                      
    uint32_t         i = 0, j = 0;                                    
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
ffc20278:	41 9e 00 e0 	beq-    cr7,ffc20358 <msdos_find_node_by_cluster_num_in_fat_file+0x134><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc2027c:	a3 bb 00 06 	lhz     r29,6(r27)                             <== NOT EXECUTED
    uint32_t         bts2rd = 0;                                      
    uint32_t         i = 0, j = 0;                                    
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
ffc20280:	80 fb 00 9c 	lwz     r7,156(r27)                            <== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
ffc20284:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * bts2rd, bts2rd, 
ffc20288:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc2028c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc20290:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc20294:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc20298:	4b ff 70 f9 	bl      ffc17390 <fat_file_read>               <== NOT EXECUTED
ffc2029c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc202a0:	41 82 00 7c 	beq-    ffc2031c <msdos_find_node_by_cluster_num_in_fat_file+0xf8><== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
ffc202a4:	2f 83 00 1f 	cmpwi   cr7,r3,31                              <== NOT EXECUTED
ffc202a8:	40 9d 01 7c 	ble-    cr7,ffc20424 <msdos_find_node_by_cluster_num_in_fat_file+0x200><== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
ffc202ac:	7f 83 e8 00 	cmpw    cr7,r3,r29                             <== NOT EXECUTED
ffc202b0:	40 9e 01 88 	bne-    cr7,ffc20438 <msdos_find_node_by_cluster_num_in_fat_file+0x214><== NOT EXECUTED
ffc202b4:	80 fb 00 9c 	lwz     r7,156(r27)                            <== NOT EXECUTED
ffc202b8:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc202bc:	7c ff 3b 78 	mr      r31,r7                                 <== NOT EXECUTED
        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)) ==                     
ffc202c0:	88 1f 00 00 	lbz     r0,0(r31)                              <== NOT EXECUTED
ffc202c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc202c8:	41 9e 00 54 	beq-    cr7,ffc2031c <msdos_find_node_by_cluster_num_in_fat_file+0xf8><== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
                return MSDOS_NAME_NOT_FOUND_ERR;                      
                                                                      
            /* if this entry is empty - skip it */                    
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc202cc:	2f 80 00 e5 	cmpwi   cr7,r0,229                             <== NOT EXECUTED
ffc202d0:	41 9e 00 34 	beq-    cr7,ffc20304 <msdos_find_node_by_cluster_num_in_fat_file+0xe0><== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
ffc202d4:	a1 3f 00 14 	lhz     r9,20(r31)                             <== NOT EXECUTED
ffc202d8:	a0 1f 00 1a 	lhz     r0,26(r31)                             <== NOT EXECUTED
ffc202dc:	55 2b c2 3e 	rlwinm  r11,r9,24,8,31                         <== NOT EXECUTED
ffc202e0:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          <== NOT EXECUTED
ffc202e4:	7d 69 4b 78 	or      r9,r11,r9                              <== NOT EXECUTED
ffc202e8:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         <== NOT EXECUTED
ffc202ec:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
ffc202f0:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc202f4:	7d 60 03 78 	or      r0,r11,r0                              <== NOT EXECUTED
ffc202f8:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc202fc:	7f 80 e0 00 	cmpw    cr7,r0,r28                             <== NOT EXECUTED
ffc20300:	41 9e 00 78 	beq-    cr7,ffc20378 <msdos_find_node_by_cluster_num_in_fat_file+0x154><== NOT EXECUTED
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
ffc20304:	3b de 00 20 	addi    r30,r30,32                             <== NOT EXECUTED
ffc20308:	7f 9e e8 40 	cmplw   cr7,r30,r29                            <== NOT EXECUTED
ffc2030c:	3b ff 00 20 	addi    r31,r31,32                             <== NOT EXECUTED
ffc20310:	41 9c ff b0 	blt+    cr7,ffc202c0 <msdos_find_node_by_cluster_num_in_fat_file+0x9c><== NOT EXECUTED
ffc20314:	7f 39 ea 14 	add     r25,r25,r29                            <== NOT EXECUTED
ffc20318:	4b ff ff 70 	b       ffc20288 <msdos_find_node_by_cluster_num_in_fat_file+0x64><== 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;                      
ffc2031c:	38 60 7d 01 	li      r3,32001                               <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc20320:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc20324:	82 c1 00 08 	lwz     r22,8(r1)                              <== NOT EXECUTED
ffc20328:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2032c:	82 e1 00 0c 	lwz     r23,12(r1)                             <== NOT EXECUTED
ffc20330:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc20334:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc20338:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc2033c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc20340:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc20344:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc20348:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc2034c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc20350:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc20354:	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) &&                                 
ffc20358:	80 04 00 24 	lwz     r0,36(r4)                              <== NOT EXECUTED
ffc2035c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc20360:	40 be ff 1c 	bne-    cr7,ffc2027c <msdos_find_node_by_cluster_num_in_fat_file+0x58><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
ffc20364:	88 1b 00 0a 	lbz     r0,10(r27)                             <== 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) &&                                 
ffc20368:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc2036c:	41 a2 ff 10 	beq-    ffc2027c <msdos_find_node_by_cluster_num_in_fat_file+0x58><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
ffc20370:	83 a4 00 18 	lwz     r29,24(r4)                             <== NOT EXECUTED
ffc20374:	4b ff ff 0c 	b       ffc20280 <msdos_find_node_by_cluster_num_in_fat_file+0x5c><== 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(mt_entry, fat_fd, F_CLU_NUM, j * bts2rd,
ffc20378:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc2037c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc20380:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc20384:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc20388:	7e c7 b3 78 	mr      r7,r22                                 <== NOT EXECUTED
ffc2038c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc20390:	4b ff 74 c5 	bl      ffc17854 <fat_file_ioctl>              <== NOT EXECUTED
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
ffc20394:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20398:	40 82 ff 88 	bne+    ffc20320 <msdos_find_node_by_cluster_num_in_fat_file+0xfc><== NOT EXECUTED
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc2039c:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
                rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM, j * bts2rd,
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
ffc203a0:	93 d6 00 04 	stw     r30,4(r22)                             <== NOT EXECUTED
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc203a4:	90 16 00 08 	stw     r0,8(r22)                              <== NOT EXECUTED
                dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;             
ffc203a8:	90 16 00 0c 	stw     r0,12(r22)                             <== NOT EXECUTED
                                                                      
                memcpy(dir_entry, entry,                              
ffc203ac:	81 5f 00 00 	lwz     r10,0(r31)                             <== NOT EXECUTED
ffc203b0:	81 7f 00 04 	lwz     r11,4(r31)                             <== NOT EXECUTED
ffc203b4:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
ffc203b8:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc203bc:	91 57 00 00 	stw     r10,0(r23)                             <== NOT EXECUTED
ffc203c0:	91 77 00 04 	stw     r11,4(r23)                             <== NOT EXECUTED
ffc203c4:	91 37 00 08 	stw     r9,8(r23)                              <== NOT EXECUTED
ffc203c8:	90 17 00 0c 	stw     r0,12(r23)                             <== NOT EXECUTED
ffc203cc:	80 1f 00 1c 	lwz     r0,28(r31)                             <== NOT EXECUTED
ffc203d0:	81 5f 00 10 	lwz     r10,16(r31)                            <== NOT EXECUTED
ffc203d4:	81 7f 00 14 	lwz     r11,20(r31)                            <== NOT EXECUTED
ffc203d8:	81 3f 00 18 	lwz     r9,24(r31)                             <== NOT EXECUTED
ffc203dc:	91 57 00 10 	stw     r10,16(r23)                            <== NOT EXECUTED
ffc203e0:	91 77 00 14 	stw     r11,20(r23)                            <== NOT EXECUTED
ffc203e4:	91 37 00 18 	stw     r9,24(r23)                             <== NOT EXECUTED
ffc203e8:	90 17 00 1c 	stw     r0,28(r23)                             <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc203ec:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc203f0:	82 c1 00 08 	lwz     r22,8(r1)                              <== NOT EXECUTED
ffc203f4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc203f8:	82 e1 00 0c 	lwz     r23,12(r1)                             <== NOT EXECUTED
ffc203fc:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc20400:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc20404:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc20408:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc2040c:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc20410:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc20414:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc20418:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc2041c:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc20420:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * bts2rd, bts2rd, 
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
ffc20424:	48 00 2b bd 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc20428:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc2042c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc20430:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc20434:	4b ff fe ec 	b       ffc20320 <msdos_find_node_by_cluster_num_in_fat_file+0xfc><== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
ffc20438:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc2043c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc20440:	38 a5 40 f8 	addi    r5,r5,16632                            <== NOT EXECUTED
ffc20444:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc20448:	38 63 41 70 	addi    r3,r3,16752                            <== NOT EXECUTED
ffc2044c:	38 80 06 9e 	li      r4,1694                                <== NOT EXECUTED
ffc20450:	38 a5 00 30 	addi    r5,r5,48                               <== NOT EXECUTED
ffc20454:	38 c6 42 00 	addi    r6,r6,16896                            <== NOT EXECUTED
ffc20458:	4b fe 78 39 	bl      ffc07c90 <__assert_func>               <== NOT EXECUTED
                                                                      

ffc12558 <msdos_format>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc12558:	94 21 fd 10 	stwu    r1,-752(r1)                            
ffc1255c:	7d 80 00 26 	mfcr    r12                                    
ffc12560:	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");
ffc12564:	3c a0 ff c3 	lis     r5,-61                                 
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc12568:	93 e1 02 ec 	stw     r31,748(r1)                            
ffc1256c:	7c 9f 23 78 	mr      r31,r4                                 
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc12570:	38 a5 3c 88 	addi    r5,r5,15496                            
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc12574:	93 a1 02 e4 	stw     r29,740(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc12578:	38 80 00 02 	li      r4,2                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc1257c:	7c 7d 1b 78 	mr      r29,r3                                 
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc12580:	7f e3 fb 78 	mr      r3,r31                                 
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc12584:	90 01 02 f4 	stw     r0,756(r1)                             
ffc12588:	93 c1 02 e8 	stw     r30,744(r1)                            
ffc1258c:	91 81 02 c4 	stw     r12,708(r1)                            
ffc12590:	92 c1 02 c8 	stw     r22,712(r1)                            
ffc12594:	92 e1 02 cc 	stw     r23,716(r1)                            
ffc12598:	93 01 02 d0 	stw     r24,720(r1)                            
ffc1259c:	93 21 02 d4 	stw     r25,724(r1)                            
ffc125a0:	93 41 02 d8 	stw     r26,728(r1)                            
ffc125a4:	93 61 02 dc 	stw     r27,732(r1)                            
ffc125a8:	93 81 02 e0 	stw     r28,736(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc125ac:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc125b0:	4b ff fc 51 	bl      ffc12200 <msdos_format_printf>         
  fd = open(devname, O_RDWR);                                         
ffc125b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc125b8:	38 80 00 02 	li      r4,2                                   
ffc125bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc125c0:	4b ff 72 a5 	bl      ffc09864 <open>                        
  if (fd == -1) {                                                     
ffc125c4:	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);                                         
ffc125c8:	7c 7e 1b 78 	mr      r30,r3                                 
  if (fd == -1) {                                                     
ffc125cc:	41 92 01 d4 	beq-    cr4,ffc127a0 <msdos_format+0x248>      <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc125d0:	3c a0 ff c3 	lis     r5,-61                                 
ffc125d4:	38 a5 3c 98 	addi    r5,r5,15512                            
ffc125d8:	7f a6 eb 78 	mr      r6,r29                                 
ffc125dc:	38 80 00 02 	li      r4,2                                   
ffc125e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc125e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc125e8:	4b ff fc 19 	bl      ffc12200 <msdos_format_printf>         
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    rc = fstat(fd, &stat_buf);                                        
ffc125ec:	38 81 00 18 	addi    r4,r1,24                               
ffc125f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc125f4:	48 00 84 31 	bl      ffc1aa24 <fstat>                       
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc125f8:	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) {                                                 
    rc = fstat(fd, &stat_buf);                                        
ffc125fc:	7c 7c 1b 78 	mr      r28,r3                                 
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc12600:	38 80 00 01 	li      r4,1                                   
ffc12604:	7f e3 fb 78 	mr      r3,r31                                 
ffc12608:	38 a5 3c a8 	addi    r5,r5,15528                            
ffc1260c:	7f a6 eb 78 	mr      r6,r29                                 
ffc12610:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12614:	4b ff fb ed 	bl      ffc12200 <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))) {               
ffc12618:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1261c:	40 9e 0d 34 	bne-    cr7,ffc13350 <msdos_format+0xdf8>      <== NEVER TAKEN
ffc12620:	80 01 00 24 	lwz     r0,36(r1)                              
ffc12624:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc12628:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc1262c:	41 9e 00 70 	beq-    cr7,ffc1269c <msdos_format+0x144>      <== ALWAYS TAKEN
                                                                      
  /* check that  device is registered as block device and lock it */  
  if (ret_val == 0) {                                                 
    dd = rtems_disk_obtain(stat_buf.st_rdev);                         
    if (dd == NULL) {                                                 
      errno = ENOTTY;                                                 
ffc12630:	48 01 09 b1 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc12634:	38 00 00 19 	li      r0,25                                  <== NOT EXECUTED
ffc12638:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      ret_val = -1;                                                   
ffc1263c:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc12640:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc12644:	2d 9d 00 00 	cmpwi   cr3,r29,0                              <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc12648:	40 92 01 4c 	bne-    cr4,ffc12794 <msdos_format+0x23c>      <== NOT EXECUTED
    close(fd);                                                        
  }                                                                   
  if (dd != NULL) {                                                   
ffc1264c:	41 8e 00 0c 	beq-    cr3,ffc12658 <msdos_format+0x100>      <== NEVER TAKEN
    rtems_disk_release(dd);                                           
ffc12650:	7f a3 eb 78 	mr      r3,r29                                 
ffc12654:	4b ff 4a 71 	bl      ffc070c4 <rtems_disk_release>          
  }                                                                   
  return ret_val;                                                     
}                                                                     
ffc12658:	80 01 02 f4 	lwz     r0,756(r1)                             
ffc1265c:	7f 03 c3 78 	mr      r3,r24                                 
ffc12660:	81 81 02 c4 	lwz     r12,708(r1)                            
ffc12664:	7c 08 03 a6 	mtlr    r0                                     
ffc12668:	82 c1 02 c8 	lwz     r22,712(r1)                            
ffc1266c:	82 e1 02 cc 	lwz     r23,716(r1)                            
ffc12670:	7d 83 81 20 	mtcrf   56,r12                                 
ffc12674:	83 01 02 d0 	lwz     r24,720(r1)                            
ffc12678:	83 21 02 d4 	lwz     r25,724(r1)                            
ffc1267c:	83 41 02 d8 	lwz     r26,728(r1)                            
ffc12680:	83 61 02 dc 	lwz     r27,732(r1)                            
ffc12684:	83 81 02 e0 	lwz     r28,736(r1)                            
ffc12688:	83 a1 02 e4 	lwz     r29,740(r1)                            
ffc1268c:	83 c1 02 e8 	lwz     r30,744(r1)                            
ffc12690:	83 e1 02 ec 	lwz     r31,748(r1)                            
ffc12694:	38 21 02 f0 	addi    r1,r1,752                              
ffc12698:	4e 80 00 20 	blr                                            
    ret_val = -1;                                                     
  }                                                                   
                                                                      
  /* check that  device is registered as block device and lock it */  
  if (ret_val == 0) {                                                 
    dd = rtems_disk_obtain(stat_buf.st_rdev);                         
ffc1269c:	80 61 00 30 	lwz     r3,48(r1)                              
ffc126a0:	80 81 00 34 	lwz     r4,52(r1)                              
ffc126a4:	4b ff 49 6d 	bl      ffc07010 <rtems_disk_obtain>           
    if (dd == NULL) {                                                 
ffc126a8:	2d 83 00 00 	cmpwi   cr3,r3,0                               
ffc126ac:	7c 7d 1b 78 	mr      r29,r3                                 
ffc126b0:	41 ae ff 80 	beq-    cr3,ffc12630 <msdos_format+0xd8>       <== NEVER TAKEN
  uint32_t fatdata_sect_cnt;                                          
  uint32_t onebit;                                                    
  uint32_t sectors_per_cluster_adj = 0;                               
  uint64_t total_size = 0;                                            
                                                                      
  memset(fmt_params,0,sizeof(*fmt_params));                           
ffc126b4:	38 80 00 00 	li      r4,0                                   
ffc126b8:	38 a0 00 50 	li      r5,80                                  
ffc126bc:	38 61 00 60 	addi    r3,r1,96                               
ffc126c0:	48 01 18 39 	bl      ffc23ef8 <memset>                      
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
    fmt_params->totl_sector_cnt  = dd->size;                          
ffc126c4:	83 9d 00 1c 	lwz     r28,28(r29)                            
  /*                                                                  
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
ffc126c8:	80 dd 00 20 	lwz     r6,32(r29)                             
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc126cc:	2d 1f 00 00 	cmpwi   cr2,r31,0                              
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
    fmt_params->totl_sector_cnt  = dd->size;                          
    total_size = dd->block_size * dd->size;                           
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc126d0:	3c a0 ff c3 	lis     r5,-61                                 
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
    fmt_params->totl_sector_cnt  = dd->size;                          
ffc126d4:	93 81 00 64 	stw     r28,100(r1)                            
    total_size = dd->block_size * dd->size;                           
ffc126d8:	7f 7c 31 d6 	mullw   r27,r28,r6                             
  /*                                                                  
   * this one is fixed in this implementation.                        
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->bytes_per_sector = dd->block_size;                    
ffc126dc:	90 c1 00 60 	stw     r6,96(r1)                              
    fmt_params->totl_sector_cnt  = dd->size;                          
    total_size = dd->block_size * dd->size;                           
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc126e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc126e4:	38 80 00 02 	li      r4,2                                   
ffc126e8:	38 a5 3d 38 	addi    r5,r5,15672                            
ffc126ec:	7f 87 e3 78 	mr      r7,r28                                 
ffc126f0:	39 20 00 00 	li      r9,0                                   
ffc126f4:	7f 6a db 78 	mr      r10,r27                                
ffc126f8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc126fc:	4b ff fb 05 	bl      ffc12200 <msdos_format_printf>         
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc12700:	41 8a 09 f8 	beq-    cr2,ffc130f8 <msdos_format+0xba0>      <== NEVER TAKEN
	(rqdata->fat_num == 0)) {                                            
ffc12704:	80 1f 00 0c 	lwz     r0,12(r31)                             
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc12708:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1270c:	41 9e 00 d4 	beq-    cr7,ffc127e0 <msdos_format+0x288>      <== ALWAYS TAKEN
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
ffc12710:	2b 80 00 06 	cmplwi  cr7,r0,6                               <== NOT EXECUTED
ffc12714:	41 9d 02 ac 	bgt-    cr7,ffc129c0 <msdos_format+0x468>      <== NOT EXECUTED
      fmt_params->fat_num = rqdata->fat_num;                          
ffc12718:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc1271c:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
    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;                          
ffc12720:	98 01 00 90 	stb     r0,144(r1)                             <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc12724:	7c 06 03 78 	mr      r6,r0                                  <== NOT EXECUTED
ffc12728:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1272c:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc12730:	38 a5 3c b8 	addi    r5,r5,15544                            <== NOT EXECUTED
ffc12734:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12738:	4b ff fa c9 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
ffc1273c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc12740:	90 01 00 6c 	stw     r0,108(r1)                             <== NOT EXECUTED
    if ((rqdata != NULL) &&                                           
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
ffc12744:	88 1f 00 14 	lbz     r0,20(r31)                             
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
    if ((rqdata != NULL) &&                                           
ffc12748:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1274c:	41 9e 00 c8 	beq-    cr7,ffc12814 <msdos_format+0x2bc>      <== NEVER TAKEN
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
      fmt_params->fattype = FAT_FAT12;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc12750:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc12754:	41 9e 00 c0 	beq-    cr7,ffc12814 <msdos_format+0x2bc>      <== NEVER TAKEN
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc12758:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1275c:	41 9e 00 b4 	beq-    cr7,ffc12810 <msdos_format+0x2b8>      <== NEVER TAKEN
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc12760:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12764:	83 81 00 64 	lwz     r28,100(r1)                            
ffc12768:	40 9e 07 a8 	bne-    cr7,ffc12f10 <msdos_format+0x9b8>      <== NEVER TAKEN
      /*                                                              
       * limiting values for disk size, fat type, sectors per cluster 
       * NOTE: maximum sect_per_clust is arbitrarily choosen with values that
       * are a compromise concerning capacity and efficency           
       */                                                             
      if (fmt_params->totl_sector_cnt                                 
ffc1276c:	2b 9c 7f a7 	cmplwi  cr7,r28,32679                          
ffc12770:	41 9d 0a 60 	bgt-    cr7,ffc131d0 <msdos_format+0xc78>      <== NEVER TAKEN
          < ((uint32_t)FAT_FAT12_MAX_CLN)*8) {                        
        fmt_params->fattype = FAT_FAT12;                              
ffc12774:	38 00 00 01 	li      r0,1                                   
ffc12778:	98 01 00 92 	stb     r0,146(r1)                             
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
ffc1277c:	38 00 00 02 	li      r0,2                                   
ffc12780:	90 01 00 6c 	stw     r0,108(r1)                             
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
ffc12784:	41 8a 0b 18 	beq-    cr2,ffc1329c <msdos_format+0xd44>      <== NEVER TAKEN
ffc12788:	3b 60 00 00 	li      r27,0                                  
ffc1278c:	48 00 00 90 	b       ffc1281c <msdos_format+0x2c4>          
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc12790:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
    close(fd);                                                        
ffc12794:	7f c3 f3 78 	mr      r3,r30                                 
ffc12798:	4b ff 58 f1 	bl      ffc08088 <close>                       
ffc1279c:	4b ff fe b0 	b       ffc1264c <msdos_format+0xf4>           
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc127a0:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc127a4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc127a8:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc127ac:	38 a5 3c 98 	addi    r5,r5,15512                            <== NOT EXECUTED
ffc127b0:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc127b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc127b8:	4b ff fa 49 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
  if (ret_val == 0) {                                                 
    rc = fstat(fd, &stat_buf);                                        
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc127bc:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc127c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc127c4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc127c8:	38 a5 3c a8 	addi    r5,r5,15528                            <== NOT EXECUTED
ffc127cc:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc127d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc127d4:	4b ff fa 2d 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
ffc127d8:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
ffc127dc:	4b ff fe 64 	b       ffc12640 <msdos_format+0xe8>           <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc127e0:	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;                                        
ffc127e4:	38 00 00 02 	li      r0,2                                   
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc127e8:	7f e3 fb 78 	mr      r3,r31                                 
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc127ec:	98 01 00 90 	stb     r0,144(r1)                             
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc127f0:	38 80 00 02 	li      r4,2                                   
ffc127f4:	38 a5 3c b8 	addi    r5,r5,15544                            
ffc127f8:	38 c0 00 02 	li      r6,2                                   
ffc127fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12800:	4b ff fa 01 	bl      ffc12200 <msdos_format_printf>         
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
ffc12804:	38 00 00 01 	li      r0,1                                   
ffc12808:	90 01 00 6c 	stw     r0,108(r1)                             
ffc1280c:	4b ff ff 38 	b       ffc12744 <msdos_format+0x1ec>          
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
ffc12810:	38 00 00 04 	li      r0,4                                   <== NOT EXECUTED
ffc12814:	98 01 00 92 	stb     r0,146(r1)                             <== NOT EXECUTED
ffc12818:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
	(rqdata->sectors_per_cluster > 0)) {                                 
ffc1281c:	81 3f 00 08 	lwz     r9,8(r31)                              
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
ffc12820:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12824:	7d 2b 4b 78 	mr      r11,r9                                 
ffc12828:	40 9e 00 0c 	bne-    cr7,ffc12834 <msdos_format+0x2dc>      <== NEVER TAKEN
ffc1282c:	81 61 00 6c 	lwz     r11,108(r1)                            
ffc12830:	7d 69 5b 78 	mr      r9,r11                                 
     */                                                               
    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) {                        
ffc12834:	38 e0 00 08 	li      r7,8                                   
ffc12838:	81 01 00 60 	lwz     r8,96(r1)                              
ffc1283c:	7c e9 03 a6 	mtctr   r7                                     
ffc12840:	39 40 00 00 	li      r10,0                                  
ffc12844:	38 00 00 80 	li      r0,128                                 
ffc12848:	61 4a 80 00 	ori     r10,r10,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) {                
ffc1284c:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc12850:	41 9d 01 60 	bgt-    cr7,ffc129b0 <msdos_format+0x458>      
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
ffc12854:	7d 2a 43 96 	divwu   r9,r10,r8                              
     * 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                                  
ffc12858:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1285c:	7c 0b 03 78 	mr      r11,r0                                 
ffc12860:	41 9c 01 50 	blt-    cr7,ffc129b0 <msdos_format+0x458>      <== NEVER TAKEN
ffc12864:	90 01 00 6c 	stw     r0,108(r1)                             
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
ffc12868:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1286c:	7d 00 00 26 	mfcr    r8                                     
ffc12870:	55 08 e0 06 	rlwinm  r8,r8,28,0,3                           
ffc12874:	91 01 02 b8 	stw     r8,696(r1)                             
ffc12878:	40 9e 06 34 	bne-    cr7,ffc12eac <msdos_format+0x954>      <== NEVER TAKEN
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc1287c:	83 81 00 6c 	lwz     r28,108(r1)                            
ffc12880:	3c a0 ff c3 	lis     r5,-61                                 
ffc12884:	7f e3 fb 78 	mr      r3,r31                                 
ffc12888:	38 80 00 02 	li      r4,2                                   
ffc1288c:	38 a5 3c cc 	addi    r5,r5,15564                            
ffc12890:	7f 86 e3 78 	mr      r6,r28                                 
ffc12894:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12898:	4b ff f9 69 	bl      ffc12200 <msdos_format_printf>         
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
ffc1289c:	89 61 00 92 	lbz     r11,146(r1)                            
ffc128a0:	2f 8b 00 04 	cmpwi   cr7,r11,4                              
ffc128a4:	41 9e 09 cc 	beq-    cr7,ffc13270 <msdos_format+0xd18>      <== NEVER TAKEN
      fmt_params->fsinfo_sec = 1;                                     
                                                                      
    }                                                                 
    else {                                                            
      /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
      fmt_params->rsvd_sector_cnt = 1;                                
ffc128a8:	38 00 00 01 	li      r0,1                                   
ffc128ac:	90 01 00 68 	stw     r0,104(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) &&                                         
ffc128b0:	41 8a 00 10 	beq-    cr2,ffc128c0 <msdos_format+0x368>      <== NEVER TAKEN
	  (rqdata->files_per_root_dir > 0)) {                                
ffc128b4:	81 5f 00 10 	lwz     r10,16(r31)                            
      /* 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) &&                                         
ffc128b8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc128bc:	40 9e 06 4c 	bne-    cr7,ffc12f08 <msdos_format+0x9b0>      <== NEVER TAKEN
	  (rqdata->files_per_root_dir > 0)) {                                
	fmt_params->files_per_root_dir = rqdata->files_per_root_dir;         
      }                                                               
      else {                                                          
	if (fmt_params->fattype == FAT_FAT16) {                              
ffc128c0:	69 6a 00 02 	xori    r10,r11,2                              
ffc128c4:	31 4a ff ff 	addic   r10,r10,-1                             
ffc128c8:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc128cc:	55 4a 05 f2 	rlwinm  r10,r10,0,23,25                        
ffc128d0:	39 4a 00 3f 	addi    r10,r10,63                             
	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/                               
ffc128d4:	81 21 00 60 	lwz     r9,96(r1)                              
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
ffc128d8:	38 c0 00 01 	li      r6,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/                               
ffc128dc:	55 20 e1 7e 	rlwinm  r0,r9,28,5,31                          
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
ffc128e0:	7d 4a 02 14 	add     r10,r10,r0                             
			    (2*fmt_params->bytes_per_sector/                               
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
ffc128e4:	7d 4a 03 96 	divwu   r10,r10,r0                             
ffc128e8:	7c 0a 01 d6 	mullw   r0,r10,r0                              
ffc128ec:	90 01 00 78 	stw     r0,120(r1)                             
ffc128f0:	54 07 28 34 	rlwinm  r7,r0,5,0,26                           
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc128f4:	38 00 00 00 	li      r0,0                                   
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
ffc128f8:	81 01 00 64 	lwz     r8,100(r1)                             
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc128fc:	60 00 80 00 	ori     r0,r0,32768                            
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
ffc12900:	8b 21 00 90 	lbz     r25,144(r1)                            
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc12904:	7c 00 4b 96 	divwu   r0,r0,r9                               
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
ffc12908:	39 49 ff ff 	addi    r10,r9,-1                              
ffc1290c:	7c ea 3a 14 	add     r7,r10,r7                              
       / fmt_params->bytes_per_sector);                               
ffc12910:	7c e7 4b 96 	divwu   r7,r7,r9                               
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc12914:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
ffc12918:	90 e1 00 7c 	stw     r7,124(r1)                             
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
ffc1291c:	7d 06 40 50 	subf    r8,r6,r8                               
ffc12920:	7d 07 40 50 	subf    r8,r7,r8                               
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
ffc12924:	57 27 06 3e 	clrlwi  r7,r25,24                              
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc12928:	40 9d 00 10 	ble-    cr7,ffc12938 <msdos_format+0x3e0>      <== ALWAYS TAKEN
    sectors_per_cluster /= 2;                                         
ffc1292c:	57 9c f8 7e 	rlwinm  r28,r28,31,1,31                        <== NOT EXECUTED
  uint32_t sectors_per_fat;                                           
  uint32_t data_cluster_cnt;                                          
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc12930:	7f 9c 00 40 	cmplw   cr7,r28,r0                             <== NOT EXECUTED
ffc12934:	41 9d ff f8 	bgt+    cr7,ffc1292c <msdos_format+0x3d4>      <== NOT EXECUTED
ffc12938:	2c 0b 00 01 	cmpwi   r11,1                                  
     */                                                               
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
    if (fattype == FAT_FAT12) {                                       
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc1293c:	2c 8b 00 02 	cmpwi   cr1,r11,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_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
ffc12940:	7c 08 e3 96 	divwu   r0,r8,r28                              
    if (fattype == FAT_FAT12) {                                       
ffc12944:	41 82 06 50 	beq-    ffc12f94 <msdos_format+0xa3c>          <== ALWAYS TAKEN
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc12948:	41 86 06 88 	beq-    cr1,ffc12fd0 <msdos_format+0xa78>      <== NOT EXECUTED
      fat_capacity = fatdata_cluster_cnt * 2;                         
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
ffc1294c:	54 1a 10 3a 	rlwinm  r26,r0,2,0,29                          <== NOT EXECUTED
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
ffc12950:	7f 4a d2 14 	add     r26,r10,r26                            <== NOT EXECUTED
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
ffc12954:	7f 5a 4b 96 	divwu   r26,r26,r9                             <== NOT EXECUTED
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc12958:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
ffc1295c:	7c 1c 49 d6 	mullw   r0,r28,r9                              
	> MS_BYTES_PER_CLUSTER_LIMIT) {                                      
      ret_val = EINVAL;                                               
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
ffc12960:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
ffc12964:	2b 80 80 00 	cmplwi  cr7,r0,32768                           
ffc12968:	40 9d 05 bc 	ble-    cr7,ffc12f24 <msdos_format+0x9cc>      <== ALWAYS TAKEN
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc1296c:	48 01 06 75 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
       fatdata_sect_cnt,                                              
       fmt_params->fat_num,                                           
       fmt_params->sectors_per_cluster,                               
       §ors_per_cluster_adj,                                      
       &(fmt_params->sectors_per_fat));                               
    fmt_params->sectors_per_cluster = sectors_per_cluster_adj;        
ffc12970:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc12974:	80 01 00 70 	lwz     r0,112(r1)                             <== NOT EXECUTED
ffc12978:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc1297c:	89 21 00 90 	lbz     r9,144(r1)                             <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc12980:	39 60 00 16 	li      r11,22                                 <== NOT EXECUTED
ffc12984:	91 63 00 00 	stw     r11,0(r3)                              <== NOT EXECUTED
       fatdata_sect_cnt,                                              
       fmt_params->fat_num,                                           
       fmt_params->sectors_per_cluster,                               
       §ors_per_cluster_adj,                                      
       &(fmt_params->sectors_per_fat));                               
    fmt_params->sectors_per_cluster = sectors_per_cluster_adj;        
ffc12988:	7d 29 01 d6 	mullw   r9,r9,r0                               <== NOT EXECUTED
ffc1298c:	7c a0 00 26 	mfcr    r5                                     <== NOT EXECUTED
ffc12990:	54 a5 e0 06 	rlwinm  r5,r5,28,0,3                           <== NOT EXECUTED
ffc12994:	81 61 00 68 	lwz     r11,104(r1)                            <== NOT EXECUTED
ffc12998:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc1299c:	7d 29 5a 14 	add     r9,r9,r11                              <== NOT EXECUTED
ffc129a0:	90 a1 02 b8 	stw     r5,696(r1)                             <== NOT EXECUTED
ffc129a4:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc129a8:	91 61 00 6c 	stw     r11,108(r1)                            <== NOT EXECUTED
ffc129ac:	48 00 05 2c 	b       ffc12ed8 <msdos_format+0x980>          <== NOT EXECUTED
     * check sectors per cluster.                                     
     * must be power of 2                                             
     * must be smaller than or equal to 128                           
     * sectors_per_cluster*bytes_per_sector must not be bigger than 32K
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
ffc129b0:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc129b4:	42 40 09 a4 	bdz-    ffc13358 <msdos_format+0xe00>          
ffc129b8:	7d 69 5b 78 	mr      r9,r11                                 
ffc129bc:	4b ff fe 90 	b       ffc1284c <msdos_format+0x2f4>          
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
      fmt_params->fat_num = rqdata->fat_num;                          
    }                                                                 
    else {                                                            
      ret_val = EINVAL;                                               
ffc129c0:	3b 60 00 16 	li      r27,22                                 <== NOT EXECUTED
ffc129c4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
ffc129c8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc129cc:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc129d0:	54 00 e0 06 	rlwinm  r0,r0,28,0,3                           <== NOT EXECUTED
ffc129d4:	90 01 02 b8 	stw     r0,696(r1)                             <== 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);           
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
ffc129d8:	80 01 00 6c 	lwz     r0,108(r1)                             <== NOT EXECUTED
  }                                                                   
  else {                                                              
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
ffc129dc:	91 21 00 80 	stw     r9,128(r1)                             <== NOT EXECUTED
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
ffc129e0:	90 01 00 84 	stw     r0,132(r1)                             <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
ffc129e4:	80 01 02 b8 	lwz     r0,696(r1)                             
ffc129e8:	54 00 20 3e 	rotlwi  r0,r0,4                                
ffc129ec:	7c 00 11 20 	mtcrf   1,r0                                   
ffc129f0:	54 00 e0 3e 	rotlwi  r0,r0,28                               
ffc129f4:	41 9e 00 18 	beq-    cr7,ffc12a0c <msdos_format+0x4b4>      <== ALWAYS TAKEN
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc129f8:	48 01 05 e9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc129fc:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
ffc12a00:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc12a04:	41 92 fc 48 	beq+    cr4,ffc1264c <msdos_format+0xf4>       <== NOT EXECUTED
ffc12a08:	4b ff fd 8c 	b       ffc12794 <msdos_format+0x23c>          <== 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 */     
    if ((rqdata != NULL) &&                                           
ffc12a0c:	41 8a 07 70 	beq-    cr2,ffc1317c <msdos_format+0xc24>      <== NEVER TAKEN
	(rqdata->OEMName != NULL)) {                                         
ffc12a10:	81 7f 00 00 	lwz     r11,0(r31)                             
  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) &&                                           
ffc12a14:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc12a18:	41 9e 07 64 	beq-    cr7,ffc1317c <msdos_format+0xc24>      <== NEVER TAKEN
ffc12a1c:	3d 20 00 00 	lis     r9,0                                   
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12a20:	38 00 00 08 	li      r0,8                                   
  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) &&                                           
ffc12a24:	81 09 27 ac 	lwz     r8,10156(r9)                           
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc12a28:	38 c0 00 20 	li      r6,32                                  
      }                                                               
      *to = '\0';                                                     
ffc12a2c:	7c 09 03 a6 	mtctr   r0                                     
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
ffc12a30:	39 21 00 93 	addi    r9,r1,147                              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12a34:	38 e0 00 00 	li      r7,0                                   
ffc12a38:	48 00 00 18 	b       ffc12a50 <msdos_format+0x4f8>          
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
ffc12a3c:	98 09 00 00 	stb     r0,0(r9)                               
ffc12a40:	39 29 00 01 	addi    r9,r9,1                                
ffc12a44:	39 6b 00 01 	addi    r11,r11,1                              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12a48:	98 e9 00 00 	stb     r7,0(r9)                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
ffc12a4c:	42 40 00 28 	bdz-    ffc12a74 <msdos_format+0x51c>          
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc12a50:	88 0b 00 00 	lbz     r0,0(r11)                              
ffc12a54:	7d 48 02 14 	add     r10,r8,r0                              
ffc12a58:	89 4a 00 01 	lbz     r10,1(r10)                             
ffc12a5c:	71 45 00 97 	andi.   r5,r10,151                             
ffc12a60:	40 a2 ff dc 	bne-    ffc12a3c <msdos_format+0x4e4>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc12a64:	98 c9 00 00 	stb     r6,0(r9)                               
ffc12a68:	39 29 00 01 	addi    r9,r9,1                                
      }                                                               
      *to = '\0';                                                     
ffc12a6c:	98 e9 00 00 	stb     r7,0(r9)                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
ffc12a70:	42 00 ff e0 	bdnz+   ffc12a50 <msdos_format+0x4f8>          
  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) &&                                           
ffc12a74:	41 8a 06 fc 	beq-    cr2,ffc13170 <msdos_format+0xc18>      <== NEVER TAKEN
	(rqdata->VolLabel != NULL)) {                                        
ffc12a78:	81 7f 00 04 	lwz     r11,4(r31)                             
  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) &&                                           
ffc12a7c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc12a80:	41 9e 06 f0 	beq-    cr7,ffc13170 <msdos_format+0xc18>      <== NEVER TAKEN
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
ffc12a84:	38 00 00 01 	li      r0,1                                   
ffc12a88:	98 01 00 a8 	stb     r0,168(r1)                             
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12a8c:	38 00 00 0b 	li      r0,11                                  
  /*                                                                  
   * determine usable Volume Label                                    
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
ffc12a90:	39 21 00 9c 	addi    r9,r1,156                              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12a94:	7c 09 03 a6 	mtctr   r0                                     
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc12a98:	38 c0 00 20 	li      r6,32                                  
      }                                                               
      *to = '\0';                                                     
ffc12a9c:	38 e0 00 00 	li      r7,0                                   
ffc12aa0:	48 00 00 18 	b       ffc12ab8 <msdos_format+0x560>          
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
ffc12aa4:	98 09 00 00 	stb     r0,0(r9)                               
ffc12aa8:	39 29 00 01 	addi    r9,r9,1                                
ffc12aac:	39 6b 00 01 	addi    r11,r11,1                              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc12ab0:	98 e9 00 00 	stb     r7,0(r9)                               
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
ffc12ab4:	42 40 00 28 	bdz-    ffc12adc <msdos_format+0x584>          
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc12ab8:	88 0b 00 00 	lbz     r0,0(r11)                              
ffc12abc:	7d 48 02 14 	add     r10,r8,r0                              
ffc12ac0:	89 4a 00 01 	lbz     r10,1(r10)                             
ffc12ac4:	71 45 00 97 	andi.   r5,r10,151                             
ffc12ac8:	40 a2 ff dc 	bne-    ffc12aa4 <msdos_format+0x54c>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc12acc:	98 c9 00 00 	stb     r6,0(r9)                               
ffc12ad0:	39 29 00 01 	addi    r9,r9,1                                
      }                                                               
      *to = '\0';                                                     
ffc12ad4:	98 e9 00 00 	stb     r7,0(r9)                               
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
ffc12ad8:	42 00 ff e0 	bdnz+   ffc12ab8 <msdos_format+0x560>          
{                                                                     
  int ret_val = 0;                                                    
  int rc;                                                             
  struct timeval time_value;                                          
                                                                      
  rc = rtems_clock_get_tod_timeval(&time_value);                      
ffc12adc:	38 61 00 08 	addi    r3,r1,8                                
ffc12ae0:	48 00 86 99 	bl      ffc1b178 <rtems_clock_get_tod_timeval> 
  if (rc == RTEMS_SUCCESSFUL) {                                       
ffc12ae4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12ae8:	40 9e 06 dc 	bne-    cr7,ffc131c4 <msdos_format+0xc6c>      <== ALWAYS TAKEN
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
ffc12aec:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc12af0:	54 00 08 3c 	rlwinm  r0,r0,1,0,30                           <== NOT EXECUTED
ffc12af4:	90 01 00 ac 	stw     r0,172(r1)                             <== NOT EXECUTED
    ret_val = msdos_format_determine_fmt_params(dd,rqdata,&fmt_params);
  }                                                                   
  /*                                                                  
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc12af8:	41 8a 00 10 	beq-    cr2,ffc12b08 <msdos_format+0x5b0>      <== NEVER TAKEN
      (rqdata != NULL) &&                                             
ffc12afc:	88 1f 00 16 	lbz     r0,22(r31)                             
ffc12b00:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12b04:	41 9e 03 7c 	beq-    cr7,ffc12e80 <msdos_format+0x928>      <== ALWAYS TAKEN
   */                                                                 
  if (ret_val == 0) {                                                 
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc12b08:	3c a0 ff c3 	lis     r5,-61                                 
ffc12b0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc12b10:	38 80 00 02 	li      r4,2                                   
ffc12b14:	38 a5 3c e8 	addi    r5,r5,15592                            
ffc12b18:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12b1c:	4b ff f6 e5 	bl      ffc12200 <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)) {     
ffc12b20:	7f c3 f3 78 	mr      r3,r30                                 
ffc12b24:	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,                               
ffc12b28:	83 61 00 60 	lwz     r27,96(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)) {     
ffc12b2c:	38 c0 00 00 	li      r6,0                                   
ffc12b30:	38 e0 00 00 	li      r7,0                                   
ffc12b34:	4b ff 5f 7d 	bl      ffc08ab0 <lseek>                       
ffc12b38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12b3c:	41 9c 03 38 	blt-    cr7,ffc12e74 <msdos_format+0x91c>      <== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
ffc12b40:	7f c3 f3 78 	mr      r3,r30                                 
ffc12b44:	38 81 00 b0 	addi    r4,r1,176                              
ffc12b48:	7f 65 db 78 	mr      r5,r27                                 
ffc12b4c:	4b ff 72 d5 	bl      ffc09e20 <read>                        
ffc12b50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12b54:	41 9c 03 20 	blt-    cr7,ffc12e74 <msdos_format+0x91c>      <== 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,       
ffc12b58:	3c a0 ff c3 	lis     r5,-61                                 
ffc12b5c:	7f e3 fb 78 	mr      r3,r31                                 
ffc12b60:	38 80 00 02 	li      r4,2                                   
ffc12b64:	38 a5 3d 70 	addi    r5,r5,15728                            
ffc12b68:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12b6c:	4b ff f6 95 	bl      ffc12200 <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) {                        
ffc12b70:	83 01 00 64 	lwz     r24,100(r1)                            
ffc12b74:	2b 98 ff ff 	cmplwi  cr7,r24,65535                          
ffc12b78:	40 9d 03 74 	ble-    cr7,ffc12eec <msdos_format+0x994>      <== ALWAYS TAKEN
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
ffc12b7c:	57 1c 06 3e 	clrlwi  r28,r24,24                             <== NOT EXECUTED
ffc12b80:	57 1a c6 3e 	rlwinm  r26,r24,24,24,31                       <== NOT EXECUTED
ffc12b84:	57 19 86 3e 	rlwinm  r25,r24,16,24,31                       <== NOT EXECUTED
{                                                                     
  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) {                        
ffc12b88:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
ffc12b8c:	57 18 46 3e 	rlwinm  r24,r24,8,24,31                        <== NOT EXECUTED
{                                                                     
  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) {                        
ffc12b90:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
   * finally we are there: let's fill in the values into the MBR      
   * but first clear the MRB leaving the partition table.             
   */                                                                 
#define RTEMS_IDE_PARTITION_TABLE_OFFSET                  0x1be       
#define RTEMS_IDE_PARTITION_TABLE_SIZE                    (4 * 16)    
  memset(mbr,0,RTEMS_IDE_PARTITION_TABLE_OFFSET);                     
ffc12b94:	38 80 00 00 	li      r4,0                                   
ffc12b98:	38 a0 01 be 	li      r5,446                                 
ffc12b9c:	38 61 00 b0 	addi    r3,r1,176                              
ffc12ba0:	48 01 13 59 	bl      ffc23ef8 <memset>                      
  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) {                             
ffc12ba4:	89 61 00 92 	lbz     r11,146(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);  
                                                                      
  /* 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);
ffc12ba8:	80 01 00 78 	lwz     r0,120(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); 
ffc12bac:	57 64 c2 3e 	rlwinm  r4,r27,24,8,31                         
  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) {                             
ffc12bb0:	2f 8b 00 04 	cmpwi   cr7,r11,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);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
ffc12bb4:	81 21 00 68 	lwz     r9,104(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);
ffc12bb8:	54 06 c2 3e 	rlwinm  r6,r0,24,8,31                          
ffc12bbc:	98 01 00 c1 	stb     r0,193(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,
ffc12bc0:	39 40 00 00 	li      r10,0                                  
                                                                      
  /* 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);       
ffc12bc4:	88 01 00 91 	lbz     r0,145(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);  
ffc12bc8:	55 25 c2 3e 	rlwinm  r5,r9,24,8,31                          
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc12bcc:	80 61 00 97 	lwz     r3,151(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 */
ffc12bd0:	38 e0 00 02 	li      r7,2                                   
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc12bd4:	81 81 00 93 	lwz     r12,147(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... */
ffc12bd8:	39 00 00 01 	li      r8,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); 
ffc12bdc:	98 81 00 bc 	stb     r4,188(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);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
ffc12be0:	98 01 00 c5 	stb     r0,197(r1)                             
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
ffc12be4:	38 00 ff ff 	li      r0,-1                                  
   */                                                                 
  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);
ffc12be8:	80 81 00 6c 	lwz     r4,108(r1)                             
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
ffc12bec:	98 01 00 c8 	stb     r0,200(r1)                             
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
ffc12bf0:	38 00 00 06 	li      r0,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,
ffc12bf4:	b1 41 02 ae 	sth     r10,686(r1)                            
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc12bf8:	91 81 00 b3 	stw     r12,179(r1)                            
ffc12bfc:	90 61 00 b7 	stw     r3,183(r1)                             
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
ffc12c00:	9b 61 00 bb 	stb     r27,187(r1)                            
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
ffc12c04:	98 81 00 bd 	stb     r4,189(r1)                             
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
ffc12c08:	99 21 00 be 	stb     r9,190(r1)                             
ffc12c0c:	98 a1 00 bf 	stb     r5,191(r1)                             
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
ffc12c10:	98 e1 00 c0 	stb     r7,192(r1)                             
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
ffc12c14:	98 c1 00 c2 	stb     r6,194(r1)                             
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
ffc12c18:	9a c1 00 c3 	stb     r22,195(r1)                            
ffc12c1c:	9a e1 00 c4 	stb     r23,196(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... */
ffc12c20:	98 01 00 ca 	stb     r0,202(r1)                             
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
ffc12c24:	99 01 00 cc 	stb     r8,204(r1)                             
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
ffc12c28:	9b 81 00 d0 	stb     r28,208(r1)                            
ffc12c2c:	9b 41 00 d1 	stb     r26,209(r1)                            
ffc12c30:	9b 21 00 d2 	stb     r25,210(r1)                            
ffc12c34:	9b 01 00 d3 	stb     r24,211(r1)                            
  if (fmt_params->fattype != FAT_FAT32) {                             
ffc12c38:	41 9e 05 bc 	beq-    cr7,ffc131f4 <msdos_format+0xc9c>      <== NEVER TAKEN
    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),                           
ffc12c3c:	2f 8b 00 01 	cmpwi   cr7,r11,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 */
ffc12c40:	80 01 00 ac 	lwz     r0,172(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);   
ffc12c44:	81 21 00 70 	lwz     r9,112(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 */
ffc12c48:	54 05 c6 3e 	rlwinm  r5,r0,24,24,31                         
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc12c4c:	81 01 00 a0 	lwz     r8,160(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 */
ffc12c50:	54 06 84 3e 	rlwinm  r6,r0,16,16,31                         
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc12c54:	a1 41 00 a4 	lhz     r10,164(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 */
ffc12c58:	54 07 46 3e 	rlwinm  r7,r0,8,24,31                          
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc12c5c:	89 61 00 a6 	lbz     r11,166(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 */
ffc12c60:	98 01 00 d7 	stb     r0,215(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);   
ffc12c64:	55 24 c2 3e 	rlwinm  r4,r9,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),                                 
ffc12c68:	80 01 00 9c 	lwz     r0,156(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);   
ffc12c6c:	99 21 00 c6 	stb     r9,198(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);           
ffc12c70:	39 20 00 29 	li      r9,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);   
ffc12c74:	98 81 00 c7 	stb     r4,199(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);           
ffc12c78:	99 21 00 d6 	stb     r9,214(r1)                             
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc12c7c:	98 a1 00 d8 	stb     r5,216(r1)                             
ffc12c80:	98 c1 00 d9 	stb     r6,217(r1)                             
ffc12c84:	98 e1 00 da 	stb     r7,218(r1)                             
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc12c88:	90 01 00 db 	stw     r0,219(r1)                             
ffc12c8c:	91 01 00 df 	stw     r8,223(r1)                             
ffc12c90:	b1 41 00 e3 	sth     r10,227(r1)                            
ffc12c94:	99 61 00 e5 	stb     r11,229(r1)                            
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
ffc12c98:	41 9e 06 14 	beq-    cr7,ffc132ac <msdos_format+0xd54>      <== ALWAYS TAKEN
ffc12c9c:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc12ca0:	39 29 3c 7c 	addi    r9,r9,15484                            <== NOT EXECUTED
ffc12ca4:	81 69 00 00 	lwz     r11,0(r9)                              
ffc12ca8:	80 09 00 04 	lwz     r0,4(r9)                               
ffc12cac:	91 61 00 e6 	stw     r11,230(r1)                            
ffc12cb0:	90 01 00 ea 	stw     r0,234(r1)                             
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc12cb4:	38 00 00 55 	li      r0,85                                  
ffc12cb8:	98 01 02 ae 	stb     r0,686(r1)                             
ffc12cbc:	38 00 ff aa 	li      r0,-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,       
ffc12cc0:	3c a0 ff c3 	lis     r5,-61                                 
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc12cc4:	98 01 02 af 	stb     r0,687(r1)                             
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
ffc12cc8:	38 00 ff eb 	li      r0,-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,       
ffc12ccc:	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);                                           
ffc12cd0:	98 01 00 b0 	stb     r0,176(r1)                             
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc12cd4:	38 00 00 3c 	li      r0,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,       
ffc12cd8:	38 a5 3d 08 	addi    r5,r5,15624                            
ffc12cdc:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc12ce0:	98 01 00 b1 	stb     r0,177(r1)                             
  FAT_SET_VAL8(mbr,2,0x90);                                           
ffc12ce4:	38 00 ff 90 	li      r0,-112                                
ffc12ce8:	98 01 00 b2 	stb     r0,178(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,       
ffc12cec:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12cf0:	4b ff f5 11 	bl      ffc12200 <msdos_format_printf>         
                           "write MRB sector\n");                     
      ret_val = msdos_format_write_sec(fd,                            
ffc12cf4:	7f c3 f3 78 	mr      r3,r30                                 
ffc12cf8:	38 80 00 00 	li      r4,0                                   
ffc12cfc:	7f 65 db 78 	mr      r5,r27                                 
ffc12d00:	38 c1 00 b0 	addi    r6,r1,176                              
ffc12d04:	4b ff f5 b1 	bl      ffc122b4 <msdos_format_write_sec>      
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
ffc12d08:	7c 78 1b 79 	mr.     r24,r3                                 
ffc12d0c:	40 a2 f9 3c 	bne-    ffc12648 <msdos_format+0xf0>           <== NEVER TAKEN
        (fmt_params.mbr_copy_sec != 0)) {                             
ffc12d10:	83 81 00 88 	lwz     r28,136(r1)                            
      ret_val = msdos_format_write_sec(fd,                            
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
ffc12d14:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc12d18:	40 9e 03 a4 	bne-    cr7,ffc130bc <msdos_format+0xb64>      <== NEVER TAKEN
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
ffc12d1c:	83 81 00 8c 	lwz     r28,140(r1)                            
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc12d20:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc12d24:	40 9e 02 dc 	bne-    cr7,ffc13000 <msdos_format+0xaa8>      <== NEVER TAKEN
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
       fd,                                                            
       fmt_params.rsvd_sector_cnt,                   /* start sector */
       fmt_params.fat_num*fmt_params.sectors_per_fat,/* sector count */
ffc12d28:	8b 81 00 90 	lbz     r28,144(r1)                            
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
ffc12d2c:	7f e3 fb 78 	mr      r3,r31                                 
ffc12d30:	80 c1 00 70 	lwz     r6,112(r1)                             
ffc12d34:	7f c4 f3 78 	mr      r4,r30                                 
ffc12d38:	80 a1 00 68 	lwz     r5,104(r1)                             
ffc12d3c:	7f 67 db 78 	mr      r7,r27                                 
ffc12d40:	7c dc 31 d6 	mullw   r6,r28,r6                              
ffc12d44:	39 00 00 00 	li      r8,0                                   
ffc12d48:	4b ff f5 dd 	bl      ffc12324 <msdos_format_fill_sectors>   
  }                                                                   
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
ffc12d4c:	7c 78 1b 79 	mr.     r24,r3                                 
ffc12d50:	40 a2 f8 f8 	bne-    ffc12648 <msdos_format+0xf0>           <== NEVER TAKEN
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
ffc12d54:	83 41 00 80 	lwz     r26,128(r1)                            
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
ffc12d58:	7f e3 fb 78 	mr      r3,r31                                 
ffc12d5c:	80 c1 00 84 	lwz     r6,132(r1)                             
ffc12d60:	7f c4 f3 78 	mr      r4,r30                                 
ffc12d64:	7f 45 d3 78 	mr      r5,r26                                 
ffc12d68:	7f 67 db 78 	mr      r7,r27                                 
ffc12d6c:	39 00 00 00 	li      r8,0                                   
ffc12d70:	4b ff f5 b5 	bl      ffc12324 <msdos_format_fill_sectors>   
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
ffc12d74:	7c 78 1b 79 	mr.     r24,r3                                 
ffc12d78:	40 a2 fa 1c 	bne-    ffc12794 <msdos_format+0x23c>          <== NEVER TAKEN
ffc12d7c:	88 01 00 a8 	lbz     r0,168(r1)                             
ffc12d80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12d84:	41 9e fa 10 	beq+    cr7,ffc12794 <msdos_format+0x23c>      <== NEVER TAKEN
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc12d88:	38 80 00 00 	li      r4,0                                   
ffc12d8c:	38 a0 02 00 	li      r5,512                                 
ffc12d90:	38 61 00 b0 	addi    r3,r1,176                              
ffc12d94:	48 01 11 65 	bl      ffc23ef8 <memset>                      
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
ffc12d98:	88 01 00 a6 	lbz     r0,166(r1)                             
ffc12d9c:	81 61 00 a0 	lwz     r11,160(r1)                            
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc12da0:	7f c3 f3 78 	mr      r3,r30                                 
  /*                                                                  
   * 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);
ffc12da4:	a1 21 00 a4 	lhz     r9,164(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc12da8:	7f 44 d3 78 	mr      r4,r26                                 
  /*                                                                  
   * 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);
ffc12dac:	81 41 00 9c 	lwz     r10,156(r1)                            
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc12db0:	7f 65 db 78 	mr      r5,r27                                 
  /*                                                                  
   * 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);
ffc12db4:	98 01 00 ba 	stb     r0,186(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc12db8:	38 c1 00 b0 	addi    r6,r1,176                              
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
    memset(tmp_sec,0,sizeof(tmp_sec));                                
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc12dbc:	38 00 00 08 	li      r0,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);
ffc12dc0:	91 41 00 b0 	stw     r10,176(r1)                            
ffc12dc4:	91 61 00 b4 	stw     r11,180(r1)                            
ffc12dc8:	b1 21 00 b8 	sth     r9,184(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc12dcc:	98 01 00 bb 	stb     r0,187(r1)                             
    ret_val = msdos_format_write_sec                                  
ffc12dd0:	4b ff f4 e5 	bl      ffc122b4 <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) && fmt_params.VolLabel_present){                 
ffc12dd4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc12dd8:	40 a2 f9 bc 	bne-    ffc12794 <msdos_format+0x23c>          <== NEVER TAKEN
    /*                                                                
     * empty sector: all clusters are free/do not link further on     
     */                                                               
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc12ddc:	38 61 00 b0 	addi    r3,r1,176                              
ffc12de0:	38 80 00 00 	li      r4,0                                   
ffc12de4:	38 a0 02 00 	li      r5,512                                 
ffc12de8:	48 01 11 11 	bl      ffc23ef8 <memset>                      
                                                                      
    switch(fmt_params.fattype) {                                      
ffc12dec:	88 01 00 92 	lbz     r0,146(r1)                             
ffc12df0:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc12df4:	41 9e 03 b0 	beq-    cr7,ffc131a4 <msdos_format+0xc4c>      <== NEVER TAKEN
ffc12df8:	2e 00 00 04 	cmpwi   cr4,r0,4                               
ffc12dfc:	41 92 03 24 	beq-    cr4,ffc13120 <msdos_format+0xbc8>      <== NEVER TAKEN
ffc12e00:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc12e04:	41 9e 03 84 	beq-    cr7,ffc13188 <msdos_format+0xc30>      <== ALWAYS TAKEN
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
ffc12e08:	48 01 01 d9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc12e0c:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc12e10:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
ffc12e14:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
      errno = EINVAL;                                                 
    }                                                                 
    if (fmt_params.fattype == FAT_FAT32) {                            
ffc12e18:	41 92 03 38 	beq-    cr4,ffc13150 <msdos_format+0xbf8>      <== NOT EXECUTED
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
ffc12e1c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc12e20:	41 be f9 74 	beq-    cr7,ffc12794 <msdos_format+0x23c>      <== NEVER TAKEN
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc12e24:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc12e28:	40 be f9 68 	bne-    cr7,ffc12790 <msdos_format+0x238>      <== NEVER TAKEN
ffc12e2c:	83 61 00 68 	lwz     r27,104(r1)                            
ffc12e30:	3b e0 00 00 	li      r31,0                                  
ffc12e34:	83 21 00 70 	lwz     r25,112(r1)                            
ffc12e38:	83 41 00 60 	lwz     r26,96(r1)                             
ffc12e3c:	48 00 00 08 	b       ffc12e44 <msdos_format+0x8ec>          
ffc12e40:	40 ba f9 54 	bne-    cr6,ffc12794 <msdos_format+0x23c>      <== NEVER TAKEN
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc12e44:	7f 64 db 78 	mr      r4,r27                                 
ffc12e48:	7f c3 f3 78 	mr      r3,r30                                 
ffc12e4c:	7f 45 d3 78 	mr      r5,r26                                 
ffc12e50:	38 c1 00 b0 	addi    r6,r1,176                              
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
ffc12e54:	3b ff 00 01 	addi    r31,r31,1                              
      ret_val = msdos_format_write_sec                                
ffc12e58:	4b ff f4 5d 	bl      ffc122b4 <msdos_format_write_sec>      
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
ffc12e5c:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc12e60:	7c 78 1b 78 	mr      r24,r3                                 
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc12e64:	2f 03 00 00 	cmpwi   cr6,r3,0                               
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
ffc12e68:	7f 7b ca 14 	add     r27,r27,r25                            
ffc12e6c:	41 9d ff d4 	bgt+    cr7,ffc12e40 <msdos_format+0x8e8>      
ffc12e70:	4b ff f9 24 	b       ffc12794 <msdos_format+0x23c>          
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc12e74:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc12e78:	41 92 f7 d4 	beq+    cr4,ffc1264c <msdos_format+0xf4>       <== NOT EXECUTED
ffc12e7c:	4b ff f9 18 	b       ffc12794 <msdos_format+0x23c>          <== NOT EXECUTED
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
      (rqdata != NULL) &&                                             
      !(rqdata->quick_format)) {                                      
    ret_val = msdos_format_fill_sectors                               
ffc12e80:	80 c1 00 64 	lwz     r6,100(r1)                             
ffc12e84:	7f e3 fb 78 	mr      r3,r31                                 
ffc12e88:	80 e1 00 60 	lwz     r7,96(r1)                              
ffc12e8c:	7f c4 f3 78 	mr      r4,r30                                 
ffc12e90:	38 a0 00 00 	li      r5,0                                   
ffc12e94:	39 00 00 e5 	li      r8,229                                 
ffc12e98:	4b ff f4 8d 	bl      ffc12324 <msdos_format_fill_sectors>   
  }                                                                   
                                                                      
  /*                                                                  
   * create master boot record                                        
   */                                                                 
  if (ret_val == 0) {                                                 
ffc12e9c:	7c 78 1b 79 	mr.     r24,r3                                 
ffc12ea0:	41 a2 fc 68 	beq-    ffc12b08 <msdos_format+0x5b0>          <== ALWAYS TAKEN
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc12ea4:	41 92 f7 a8 	beq+    cr4,ffc1264c <msdos_format+0xf4>       <== NOT EXECUTED
ffc12ea8:	4b ff f8 ec 	b       ffc12794 <msdos_format+0x23c>          <== NOT EXECUTED
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
ffc12eac:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc12eb0:	80 01 00 70 	lwz     r0,112(r1)                             <== NOT EXECUTED
ffc12eb4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc12eb8:	89 61 00 90 	lbz     r11,144(r1)                            <== NOT EXECUTED
ffc12ebc:	81 21 00 68 	lwz     r9,104(r1)                             <== NOT EXECUTED
ffc12ec0:	7d 6b 01 d6 	mullw   r11,r11,r0                             <== NOT EXECUTED
ffc12ec4:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc12ec8:	7c a0 00 26 	mfcr    r5                                     <== NOT EXECUTED
ffc12ecc:	54 a5 e0 06 	rlwinm  r5,r5,28,0,3                           <== NOT EXECUTED
ffc12ed0:	90 a1 02 b8 	stw     r5,696(r1)                             <== NOT EXECUTED
ffc12ed4:	7d 2b 4a 14 	add     r9,r11,r9                              <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
ffc12ed8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12edc:	41 be fa fc 	beq-    cr7,ffc129d8 <msdos_format+0x480>      <== NEVER TAKEN
    fmt_params->root_dir_start_sec =                                  
ffc12ee0:	91 21 00 80 	stw     r9,128(r1)                             
      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;  
ffc12ee4:	90 01 00 84 	stw     r0,132(r1)                             
ffc12ee8:	4b ff fa fc 	b       ffc129e4 <msdos_format+0x48c>          
{                                                                     
  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) {                        
ffc12eec:	57 16 06 3e 	clrlwi  r22,r24,24                             
ffc12ef0:	57 17 c6 3e 	rlwinm  r23,r24,24,24,31                       
ffc12ef4:	3b 20 00 00 	li      r25,0                                  
ffc12ef8:	3b 00 00 00 	li      r24,0                                  
ffc12efc:	3b 40 00 00 	li      r26,0                                  
ffc12f00:	3b 80 00 00 	li      r28,0                                  
ffc12f04:	4b ff fc 90 	b       ffc12b94 <msdos_format+0x63c>          
      /* 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) &&                                         
ffc12f08:	39 4a ff ff 	addi    r10,r10,-1                             <== NOT EXECUTED
ffc12f0c:	4b ff f9 c8 	b       ffc128d4 <msdos_format+0x37c>          <== NOT EXECUTED
      fmt_params->fattype = FAT_FAT32;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
	     (rqdata->fattype != MSDOS_FMT_FATANY)) {                        
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
ffc12f10:	48 01 00 d1 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc12f14:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc12f18:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
	     (rqdata->fattype != MSDOS_FMT_FATANY)) {                        
      ret_val = -1;                                                   
ffc12f1c:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc12f20:	4b ff f8 fc 	b       ffc1281c <msdos_format+0x2c4>          <== NOT EXECUTED
    if ((sectors_per_cluster * bytes_per_sector)                      
	> MS_BYTES_PER_CLUSTER_LIMIT) {                                      
      ret_val = EINVAL;                                               
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
ffc12f24:	41 9a fa 1c 	beq+    cr6,ffc12940 <msdos_format+0x3e8>      <== NEVER TAKEN
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
  }                                                                   
  else {                                                              
    *sectors_per_cluster_adj = sectors_per_cluster;                   
    *sectors_per_fat_ptr     = sectors_per_fat;                       
ffc12f28:	93 41 00 70 	stw     r26,112(r1)                            
       fatdata_sect_cnt,                                              
       fmt_params->fat_num,                                           
       fmt_params->sectors_per_cluster,                               
       §ors_per_cluster_adj,                                      
       &(fmt_params->sectors_per_fat));                               
    fmt_params->sectors_per_cluster = sectors_per_cluster_adj;        
ffc12f2c:	93 81 00 6c 	stw     r28,108(r1)                            
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
ffc12f30:	41 8a 01 68 	beq-    cr2,ffc13098 <msdos_format+0xb40>      <== NEVER TAKEN
	(rqdata->media != 0)) {                                              
ffc12f34:	8b 9f 00 15 	lbz     r28,21(r31)                            
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
ffc12f38:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc12f3c:	41 9e 01 5c 	beq-    cr7,ffc13098 <msdos_format+0xb40>      <== ALWAYS TAKEN
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc12f40:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc12f44:	39 49 3c 38 	addi    r10,r9,15416                           <== NOT EXECUTED
ffc12f48:	81 69 3c 38 	lwz     r11,15416(r9)                          <== NOT EXECUTED
ffc12f4c:	88 0a 00 08 	lbz     r0,8(r10)                              <== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc12f50:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc12f54:	81 2a 00 04 	lwz     r9,4(r10)                              <== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc12f58:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12f5c:	38 a0 00 09 	li      r5,9                                   <== NOT EXECUTED
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc12f60:	91 61 00 08 	stw     r11,8(r1)                              <== NOT EXECUTED
ffc12f64:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc12f68:	98 01 00 10 	stb     r0,16(r1)                              <== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc12f6c:	48 01 0d 0d 	bl      ffc23c78 <memchr>                      <== NOT EXECUTED
ffc12f70:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc12f74:	41 9e 03 a0 	beq-    cr7,ffc13314 <msdos_format+0xdbc>      <== NOT EXECUTED
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
      }                                                               
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
ffc12f78:	57 29 06 3e 	clrlwi  r9,r25,24                              <== NOT EXECUTED
ffc12f7c:	80 01 00 68 	lwz     r0,104(r1)                             <== NOT EXECUTED
ffc12f80:	7d 29 d1 d6 	mullw   r9,r9,r26                              <== NOT EXECUTED
ffc12f84:	9b 81 00 91 	stb     r28,145(r1)                            <== NOT EXECUTED
ffc12f88:	7d 29 02 14 	add     r9,r9,r0                               <== NOT EXECUTED
ffc12f8c:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc12f90:	4b ff ff 48 	b       ffc12ed8 <msdos_format+0x980>          <== NOT EXECUTED
     * - compute storage size for FAT                                 
     * - subtract from total cluster count                            
     */                                                               
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
    if (fattype == FAT_FAT12) {                                       
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
ffc12f94:	1f 40 00 03 	mulli   r26,r0,3                               
ffc12f98:	57 5a f8 7e 	rlwinm  r26,r26,31,1,31                        
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
ffc12f9c:	7f 5a 52 14 	add     r26,r26,r10                            
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
ffc12fa0:	7f 5a 4b 96 	divwu   r26,r26,r9                             
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
ffc12fa4:	7c da 39 d6 	mullw   r6,r26,r7                              
			  + (sectors_per_cluster - 1))                                     
ffc12fa8:	38 bc ff ff 	addi    r5,r28,-1                              
ffc12fac:	7c c5 32 14 	add     r6,r5,r6                               
			 / sectors_per_cluster));                                          
ffc12fb0:	7c c6 e3 96 	divwu   r6,r6,r28                              
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
ffc12fb4:	7c 06 00 50 	subf    r0,r6,r0                               
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc12fb8:	2b 80 0f f5 	cmplwi  cr7,r0,4085                            
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc12fbc:	39 60 00 01 	li      r11,1                                  
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc12fc0:	40 bd f9 9c 	ble-    cr7,ffc1295c <msdos_format+0x404>      <== ALWAYS TAKEN
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
ffc12fc4:	57 9c 08 3c 	rlwinm  r28,r28,1,0,30                         <== NOT EXECUTED
ffc12fc8:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc12fcc:	4b ff f9 90 	b       ffc1295c <msdos_format+0x404>          <== NOT EXECUTED
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
    if (fattype == FAT_FAT12) {                                       
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
      fat_capacity = fatdata_cluster_cnt * 2;                         
ffc12fd0:	54 1a 08 3c 	rlwinm  r26,r0,1,0,30                          <== NOT EXECUTED
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
ffc12fd4:	7f 4a d2 14 	add     r26,r10,r26                            <== NOT EXECUTED
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
ffc12fd8:	7f 5a 4b 96 	divwu   r26,r26,r9                             <== NOT EXECUTED
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
ffc12fdc:	7c da 39 d6 	mullw   r6,r26,r7                              <== NOT EXECUTED
			  + (sectors_per_cluster - 1))                                     
ffc12fe0:	38 bc ff ff 	addi    r5,r28,-1                              <== NOT EXECUTED
ffc12fe4:	7c c5 32 14 	add     r6,r5,r6                               <== NOT EXECUTED
			 / sectors_per_cluster));                                          
ffc12fe8:	7c c6 e3 96 	divwu   r6,r6,r28                              <== NOT EXECUTED
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
ffc12fec:	7c 06 00 50 	subf    r0,r6,r0                               <== NOT EXECUTED
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
ffc12ff0:	2b 80 ff f5 	cmplwi  cr7,r0,65525                           <== NOT EXECUTED
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc12ff4:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
ffc12ff8:	41 bd ff cc 	bgt-    cr7,ffc12fc4 <msdos_format+0xa6c>      <== NOT EXECUTED
ffc12ffc:	4b ff f9 60 	b       ffc1295c <msdos_format+0x404>          <== NOT EXECUTED
\*=========================================================================*/
{                                                                     
  /*                                                                  
   * clear fsinfo sector data                                         
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
ffc13000:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc13004:	38 a0 02 00 	li      r5,512                                 <== NOT EXECUTED
ffc13008:	38 61 00 b0 	addi    r3,r1,176                              <== NOT EXECUTED
ffc1300c:	48 01 0e ed 	bl      ffc23ef8 <memset>                      <== NOT EXECUTED
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc13010:	39 20 00 61 	li      r9,97                                  <== NOT EXECUTED
ffc13014:	99 21 00 b2 	stb     r9,178(r1)                             <== NOT EXECUTED
  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,              
ffc13018:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc1301c:	39 00 00 52 	li      r8,82                                  <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc13020:	99 21 02 97 	stb     r9,663(r1)                             <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc13024:	39 20 00 55 	li      r9,85                                  <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc13028:	39 60 00 41 	li      r11,65                                 <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc1302c:	39 40 00 72 	li      r10,114                                <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc13030:	99 21 02 ae 	stb     r9,686(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc13034:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  /*                                                                  
   * 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);
ffc13038:	39 20 ff aa 	li      r9,-86                                 <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc1303c:	99 01 00 b0 	stb     r8,176(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc13040:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc13044:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc13048:	99 01 00 b1 	stb     r8,177(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc1304c:	38 c1 00 b0 	addi    r6,r1,176                              <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc13050:	99 61 00 b3 	stb     r11,179(r1)                            <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc13054:	99 41 02 94 	stb     r10,660(r1)                            <== NOT EXECUTED
ffc13058:	99 41 02 95 	stb     r10,661(r1)                            <== NOT EXECUTED
ffc1305c:	99 61 02 96 	stb     r11,662(r1)                            <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc13060:	99 21 02 af 	stb     r9,687(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
ffc13064:	98 01 02 98 	stb     r0,664(r1)                             <== NOT EXECUTED
ffc13068:	98 01 02 99 	stb     r0,665(r1)                             <== NOT EXECUTED
ffc1306c:	98 01 02 9a 	stb     r0,666(r1)                             <== NOT EXECUTED
ffc13070:	98 01 02 9b 	stb     r0,667(r1)                             <== NOT EXECUTED
				    0xffffffff);                                                  
  FAT_SET_FSINFO_NEXT_FREE_CLUSTER (fsinfo+FAT_FSI_INFO,              
ffc13074:	98 01 02 9c 	stb     r0,668(r1)                             <== NOT EXECUTED
ffc13078:	98 01 02 9d 	stb     r0,669(r1)                             <== NOT EXECUTED
ffc1307c:	98 01 02 9e 	stb     r0,670(r1)                             <== NOT EXECUTED
ffc13080:	98 01 02 9f 	stb     r0,671(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc13084:	4b ff f2 31 	bl      ffc122b4 <msdos_format_write_sec>      <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
ffc13088:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1308c:	41 a2 fc 9c 	beq-    ffc12d28 <msdos_format+0x7d0>          <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc13090:	41 92 f5 bc 	beq+    cr4,ffc1264c <msdos_format+0xf4>       <== NOT EXECUTED
ffc13094:	4b ff f7 00 	b       ffc12794 <msdos_format+0x23c>          <== NOT EXECUTED
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
      }                                                               
    }                                                                 
    else {                                                            
      fmt_params->media_code = FAT_BR_MEDIA_FIXED;                    
ffc13098:	80 01 00 70 	lwz     r0,112(r1)                             
ffc1309c:	57 29 06 3e 	clrlwi  r9,r25,24                              
ffc130a0:	7d 29 01 d6 	mullw   r9,r9,r0                               
ffc130a4:	38 00 ff f8 	li      r0,-8                                  
ffc130a8:	98 01 00 91 	stb     r0,145(r1)                             
ffc130ac:	80 01 00 68 	lwz     r0,104(r1)                             
ffc130b0:	7d 29 02 14 	add     r9,r9,r0                               
ffc130b4:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc130b8:	4b ff fe 20 	b       ffc12ed8 <msdos_format+0x980>          
    if ((ret_val == 0) &&                                             
        (fmt_params.mbr_copy_sec != 0)) {                             
      /*                                                              
       * write copy of MBR                                            
       */                                                             
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
ffc130bc:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc130c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc130c4:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc130c8:	38 a5 3d 1c 	addi    r5,r5,15644                            <== NOT EXECUTED
ffc130cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc130d0:	4b ff f1 31 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
                           "write back up MRB sector\n");             
      ret_val = msdos_format_write_sec(fd,                            
ffc130d4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc130d8:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc130dc:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc130e0:	38 c1 00 b0 	addi    r6,r1,176                              <== NOT EXECUTED
ffc130e4:	4b ff f1 d1 	bl      ffc122b4 <msdos_format_write_sec>      <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc130e8:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc130ec:	41 82 fc 30 	beq+    ffc12d1c <msdos_format+0x7c4>          <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc130f0:	41 92 f5 5c 	beq+    cr4,ffc1264c <msdos_format+0xf4>       <== NOT EXECUTED
ffc130f4:	4b ff f6 a0 	b       ffc12794 <msdos_format+0x23c>          <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc130f8:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc130fc:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc13100:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc13104:	98 01 00 90 	stb     r0,144(r1)                             <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc13108:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc1310c:	38 a5 3c b8 	addi    r5,r5,15544                            <== NOT EXECUTED
ffc13110:	38 c0 00 02 	li      r6,2                                   <== NOT EXECUTED
ffc13114:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13118:	4b ff f0 e9 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
ffc1311c:	4b ff f6 50 	b       ffc1276c <msdos_format+0x214>          <== 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);      
ffc13120:	89 21 00 91 	lbz     r9,145(r1)                             <== NOT EXECUTED
ffc13124:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc13128:	98 01 00 b1 	stb     r0,177(r1)                             <== NOT EXECUTED
ffc1312c:	99 21 00 b0 	stb     r9,176(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc13130:	39 20 ff f8 	li      r9,-8                                  <== 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);      
ffc13134:	98 01 00 b2 	stb     r0,178(r1)                             <== NOT EXECUTED
ffc13138:	98 01 00 b3 	stb     r0,179(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc1313c:	98 01 00 b5 	stb     r0,181(r1)                             <== NOT EXECUTED
ffc13140:	98 01 00 b6 	stb     r0,182(r1)                             <== NOT EXECUTED
ffc13144:	38 00 00 0f 	li      r0,15                                  <== NOT EXECUTED
ffc13148:	99 21 00 b4 	stb     r9,180(r1)                             <== NOT EXECUTED
ffc1314c:	98 01 00 b7 	stb     r0,183(r1)                             <== NOT EXECUTED
      /*                                                              
       * only first valid cluster (cluster number 2) belongs          
       * to root directory, and is end of chain                       
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
ffc13150:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc13154:	39 20 ff f8 	li      r9,-8                                  <== NOT EXECUTED
ffc13158:	98 01 00 b9 	stb     r0,185(r1)                             <== NOT EXECUTED
ffc1315c:	98 01 00 ba 	stb     r0,186(r1)                             <== NOT EXECUTED
ffc13160:	38 00 00 0f 	li      r0,15                                  <== NOT EXECUTED
ffc13164:	99 21 00 b8 	stb     r9,184(r1)                             <== NOT EXECUTED
ffc13168:	98 01 00 bb 	stb     r0,187(r1)                             <== NOT EXECUTED
ffc1316c:	4b ff fc b0 	b       ffc12e1c <msdos_format+0x8c4>          <== NOT EXECUTED
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
ffc13170:	3d 60 ff c3 	lis     r11,-61                                <== NOT EXECUTED
ffc13174:	39 6b 3c e4 	addi    r11,r11,15588                          <== NOT EXECUTED
ffc13178:	4b ff f9 14 	b       ffc12a8c <msdos_format+0x534>          <== 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 */     
ffc1317c:	3d 60 ff c3 	lis     r11,-61                                <== NOT EXECUTED
ffc13180:	39 6b 2f 58 	addi    r11,r11,12120                          <== NOT EXECUTED
ffc13184:	4b ff f8 98 	b       ffc12a1c <msdos_format+0x4c4>          <== NOT EXECUTED
    memset(tmp_sec,0,sizeof(tmp_sec));                                
                                                                      
    switch(fmt_params.fattype) {                                      
    case FAT_FAT12:                                                   
      /* LSBits of FAT entry 0: media_type */                         
      FAT_SET_VAL8(tmp_sec,0,(fmt_params.media_code));                
ffc13188:	88 01 00 91 	lbz     r0,145(r1)                             
ffc1318c:	98 01 00 b0 	stb     r0,176(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)));          
ffc13190:	38 00 ff 8f 	li      r0,-113                                
ffc13194:	98 01 00 b1 	stb     r0,177(r1)                             
      /* MSBits of FAT entry 1: MSBits of EOC */                      
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
ffc13198:	38 00 ff ff 	li      r0,-1                                  
ffc1319c:	98 01 00 b2 	stb     r0,178(r1)                             
      break;                                                          
ffc131a0:	4b ff fc 7c 	b       ffc12e1c <msdos_format+0x8c4>          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
ffc131a4:	89 21 00 91 	lbz     r9,145(r1)                             <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
ffc131a8:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc131ac:	98 01 00 b1 	stb     r0,177(r1)                             <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
      break;                                                          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
ffc131b0:	99 21 00 b0 	stb     r9,176(r1)                             <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
ffc131b4:	39 20 ff f8 	li      r9,-8                                  <== NOT EXECUTED
ffc131b8:	99 21 00 b2 	stb     r9,178(r1)                             <== NOT EXECUTED
ffc131bc:	98 01 00 b3 	stb     r0,179(r1)                             <== NOT EXECUTED
      break;                                                          
ffc131c0:	4b ff fc 5c 	b       ffc12e1c <msdos_format+0x8c4>          <== NOT EXECUTED
  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();                                              
ffc131c4:	48 01 0e 55 	bl      ffc24018 <rand>                        
ffc131c8:	90 61 00 ac 	stw     r3,172(r1)                             
ffc131cc:	4b ff f9 2c 	b       ffc12af8 <msdos_format+0x5a0>          
          < ((uint32_t)FAT_FAT12_MAX_CLN)*8) {                        
        fmt_params->fattype = FAT_FAT12;                              
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else if (fmt_params->totl_sector_cnt                            
ffc131d0:	3c 00 00 1f 	lis     r0,31                                  <== NOT EXECUTED
ffc131d4:	60 00 fe 9f 	ori     r0,r0,65183                            <== NOT EXECUTED
ffc131d8:	7f 9c 00 40 	cmplw   cr7,r28,r0                             <== NOT EXECUTED
ffc131dc:	41 9d 00 dc 	bgt-    cr7,ffc132b8 <msdos_format+0xd60>      <== NOT EXECUTED
               < ((uint32_t)FAT_FAT16_MAX_CLN)*32) {                  
        fmt_params->fattype = FAT_FAT16;                              
ffc131e0:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc131e4:	98 01 00 92 	stb     r0,146(r1)                             <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
ffc131e8:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc131ec:	90 01 00 6c 	stw     r0,108(r1)                             <== NOT EXECUTED
ffc131f0:	4b ff f5 94 	b       ffc12784 <msdos_format+0x22c>          <== NOT EXECUTED
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc131f4:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc131f8:	81 21 00 70 	lwz     r9,112(r1)                             <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
ffc131fc:	81 61 00 88 	lwz     r11,136(r1)                            <== NOT EXECUTED
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc13200:	38 86 3c fc 	addi    r4,r6,15612                            <== NOT EXECUTED
ffc13204:	80 a6 3c fc 	lwz     r5,15612(r6)                           <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
ffc13208:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc1320c:	80 c4 00 04 	lwz     r6,4(r4)                               <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc13210:	55 3a c6 3e 	rlwinm  r26,r9,24,24,31                        <== NOT EXECUTED
ffc13214:	55 3c 84 3e 	rlwinm  r28,r9,16,16,31                        <== NOT EXECUTED
ffc13218:	99 21 00 d4 	stb     r9,212(r1)                             <== NOT EXECUTED
ffc1321c:	55 23 46 3e 	rlwinm  r3,r9,8,24,31                          <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
ffc13220:	55 64 c2 3e 	rlwinm  r4,r11,24,8,31                         <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc13224:	9b 41 00 d5 	stb     r26,213(r1)                            <== NOT EXECUTED
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
                                                                      
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
ffc13228:	39 20 00 29 	li      r9,41                                  <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc1322c:	9b 81 00 d6 	stb     r28,214(r1)                            <== NOT EXECUTED
ffc13230:	98 61 00 d7 	stb     r3,215(r1)                             <== NOT EXECUTED
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
ffc13234:	98 e1 00 dc 	stb     r7,220(r1)                             <== NOT EXECUTED
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
ffc13238:	99 01 00 e0 	stb     r8,224(r1)                             <== NOT EXECUTED
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
ffc1323c:	99 61 00 e2 	stb     r11,226(r1)                            <== NOT EXECUTED
ffc13240:	98 81 00 e3 	stb     r4,227(r1)                             <== NOT EXECUTED
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
ffc13244:	90 01 00 e4 	stw     r0,228(r1)                             <== NOT EXECUTED
ffc13248:	90 01 00 e8 	stw     r0,232(r1)                             <== NOT EXECUTED
ffc1324c:	90 01 00 ec 	stw     r0,236(r1)                             <== NOT EXECUTED
                                                                      
    FAT_SET_BR_FAT32_DRVNUM(mbr      , 0); /* only needed for INT13... */
    FAT_SET_BR_FAT32_RSVD1(mbr       , 0); /* fill with zero */       
    FAT_SET_BR_FAT32_BOOTSIG(mbr     ,FAT_BR_FAT32_BOOTSIG_VAL);      
ffc13250:	99 21 00 f2 	stb     r9,242(r1)                             <== NOT EXECUTED
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
ffc13254:	90 01 00 f7 	stw     r0,247(r1)                             <== NOT EXECUTED
ffc13258:	90 01 00 fb 	stw     r0,251(r1)                             <== NOT EXECUTED
ffc1325c:	b0 01 00 ff 	sth     r0,255(r1)                             <== NOT EXECUTED
ffc13260:	99 41 01 01 	stb     r10,257(r1)                            <== NOT EXECUTED
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc13264:	90 a1 01 02 	stw     r5,258(r1)                             <== NOT EXECUTED
ffc13268:	90 c1 01 06 	stw     r6,262(r1)                             <== NOT EXECUTED
ffc1326c:	4b ff fa 48 	b       ffc12cb4 <msdos_format+0x75c>          <== NOT EXECUTED
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
ffc13270:	38 00 00 20 	li      r0,32                                  <== NOT EXECUTED
      /* for FAT32, always set files per root directory 0 */          
      fmt_params->files_per_root_dir = 0;                             
ffc13274:	93 61 00 78 	stw     r27,120(r1)                            <== NOT EXECUTED
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
ffc13278:	38 c0 00 20 	li      r6,32                                  <== NOT EXECUTED
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
ffc1327c:	90 01 00 68 	stw     r0,104(r1)                             <== NOT EXECUTED
      /* for FAT32, always set files per root directory 0 */          
      fmt_params->files_per_root_dir = 0;                             
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
ffc13280:	38 00 00 06 	li      r0,6                                   <== NOT EXECUTED
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
ffc13284:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
      /* 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;                             
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
ffc13288:	90 01 00 88 	stw     r0,136(r1)                             <== NOT EXECUTED
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
ffc1328c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc13290:	90 01 00 8c 	stw     r0,140(r1)                             <== NOT EXECUTED
ffc13294:	81 21 00 60 	lwz     r9,96(r1)                              <== NOT EXECUTED
ffc13298:	4b ff f6 5c 	b       ffc128f4 <msdos_format+0x39c>          <== NOT EXECUTED
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
ffc1329c:	81 61 00 6c 	lwz     r11,108(r1)                            <== NOT EXECUTED
ffc132a0:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc132a4:	7d 69 5b 78 	mr      r9,r11                                 <== NOT EXECUTED
ffc132a8:	4b ff f5 8c 	b       ffc12834 <msdos_format+0x2dc>          <== NOT EXECUTED
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
ffc132ac:	3d 20 ff c3 	lis     r9,-61                                 
ffc132b0:	39 29 3c 70 	addi    r9,r9,15472                            
ffc132b4:	4b ff f9 f0 	b       ffc12ca4 <msdos_format+0x74c>          
        /* 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;               
ffc132b8:	3c 1b 40 00 	addis   r0,r27,16384                           <== NOT EXECUTED
ffc132bc:	7f 7b 00 10 	subfc   r27,r27,r0                             <== NOT EXECUTED
ffc132c0:	7f 7b d9 10 	subfe   r27,r27,r27                            <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
ffc132c4:	39 20 00 04 	li      r9,4                                   <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
ffc132c8:	7f 7b 00 d0 	neg     r27,r27                                <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
ffc132cc:	99 21 00 92 	stb     r9,146(r1)                             <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
ffc132d0:	57 6a 10 3a 	rlwinm  r10,r27,2,0,29                         <== NOT EXECUTED
ffc132d4:	54 00 17 be 	rlwinm  r0,r0,2,30,31                          <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
ffc132d8:	39 20 00 1f 	li      r9,31                                  <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
ffc132dc:	7d 4a 03 78 	or      r10,r10,r0                             <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
          if ((gigs & (1 << b)) != 0)                                 
ffc132e0:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc132e4:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc132e8:	48 00 00 08 	b       ffc132f0 <msdos_format+0xd98>          <== NOT EXECUTED
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
ffc132ec:	42 40 00 1c 	bdz-    ffc13308 <msdos_format+0xdb0>          <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
ffc132f0:	7d 60 48 30 	slw     r0,r11,r9                              <== NOT EXECUTED
ffc132f4:	7c 05 50 39 	and.    r5,r0,r10                              <== NOT EXECUTED
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
ffc132f8:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
ffc132fc:	41 82 ff f0 	beq+    ffc132ec <msdos_format+0xd94>          <== NOT EXECUTED
            break;                                                    
        fmt_params->sectors_per_cluster = 1 << b;                     
ffc13300:	90 01 00 6c 	stw     r0,108(r1)                             <== NOT EXECUTED
ffc13304:	4b ff f4 80 	b       ffc12784 <msdos_format+0x22c>          <== NOT EXECUTED
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
ffc13308:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
            break;                                                    
        fmt_params->sectors_per_cluster = 1 << b;                     
ffc1330c:	90 01 00 6c 	stw     r0,108(r1)                             <== NOT EXECUTED
ffc13310:	4b ff f4 74 	b       ffc12784 <msdos_format+0x22c>          <== NOT EXECUTED
      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;                                                        
ffc13314:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
	errno = EINVAL;                                                      
ffc13318:	48 00 fc c9 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1331c:	80 01 00 70 	lwz     r0,112(r1)                             <== NOT EXECUTED
ffc13320:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc13324:	89 21 00 90 	lbz     r9,144(r1)                             <== NOT EXECUTED
ffc13328:	39 60 00 16 	li      r11,22                                 <== NOT EXECUTED
ffc1332c:	91 63 00 00 	stw     r11,0(r3)                              <== NOT EXECUTED
ffc13330:	7d 29 01 d6 	mullw   r9,r9,r0                               <== NOT EXECUTED
ffc13334:	7c a0 00 26 	mfcr    r5                                     <== NOT EXECUTED
ffc13338:	54 a5 e0 06 	rlwinm  r5,r5,28,0,3                           <== NOT EXECUTED
ffc1333c:	81 61 00 68 	lwz     r11,104(r1)                            <== NOT EXECUTED
ffc13340:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc13344:	7d 29 5a 14 	add     r9,r9,r11                              <== NOT EXECUTED
ffc13348:	90 a1 02 b8 	stw     r5,696(r1)                             <== NOT EXECUTED
ffc1334c:	4b ff fb 8c 	b       ffc12ed8 <msdos_format+0x980>          <== NOT EXECUTED
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
                       "formating: %s\n", devname);                   
  /* rtems feature: no block devices, all are character devices */    
  if ((ret_val == 0) && (!S_ISBLK(stat_buf.st_mode))) {               
ffc13350:	7f 98 e3 78 	mr      r24,r28                                <== NOT EXECUTED
ffc13354:	4b ff f2 ec 	b       ffc12640 <msdos_format+0xe8>           <== NOT EXECUTED
     * check sectors per cluster.                                     
     * must be power of 2                                             
     * must be smaller than or equal to 128                           
     * sectors_per_cluster*bytes_per_sector must not be bigger than 32K
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
ffc13358:	91 61 00 6c 	stw     r11,108(r1)                            <== NOT EXECUTED
ffc1335c:	4b ff f5 0c 	b       ffc12868 <msdos_format+0x310>          <== NOT EXECUTED
                                                                      

ffc12324 <msdos_format_fill_sectors>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc12324:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc12328:	7d 80 00 26 	mfcr    r12                                    
ffc1232c:	7c 08 02 a6 	mflr    r0                                     
ffc12330:	93 61 00 2c 	stw     r27,44(r1)                             
ffc12334:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc12338:	7c e3 3b 78 	mr      r3,r7                                  
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc1233c:	93 01 00 20 	stw     r24,32(r1)                             
ffc12340:	93 41 00 28 	stw     r26,40(r1)                             
ffc12344:	7d 1a 43 78 	mr      r26,r8                                 
ffc12348:	93 81 00 30 	stw     r28,48(r1)                             
ffc1234c:	7c 9c 23 78 	mr      r28,r4                                 
ffc12350:	93 a1 00 34 	stw     r29,52(r1)                             
ffc12354:	7c fd 3b 78 	mr      r29,r7                                 
ffc12358:	93 c1 00 38 	stw     r30,56(r1)                             
ffc1235c:	7c de 33 78 	mr      r30,r6                                 
ffc12360:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc12364:	7c bf 2b 78 	mr      r31,r5                                 
ffc12368:	90 01 00 44 	stw     r0,68(r1)                              
ffc1236c:	92 c1 00 18 	stw     r22,24(r1)                             
ffc12370:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc12374:	93 21 00 24 	stw     r25,36(r1)                             
ffc12378:	91 81 00 14 	stw     r12,20(r1)                             
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc1237c:	4b ff 6a 71 	bl      ffc08dec <malloc>                      
    if (fill_buffer == NULL) {                                        
ffc12380:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc12384:	7c 78 1b 78 	mr      r24,r3                                 
ffc12388:	41 92 01 6c 	beq-    cr4,ffc124f4 <msdos_format_fill_sectors+0x1d0><== NEVER TAKEN
      errno = ENOMEM;                                                 
      ret_val = -1;                                                   
    }                                                                 
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
ffc1238c:	7f 44 d3 78 	mr      r4,r26                                 
ffc12390:	7f a5 eb 78 	mr      r5,r29                                 
ffc12394:	48 01 1b 65 	bl      ffc23ef8 <memset>                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc12398:	3c a0 ff c3 	lis     r5,-61                                 
ffc1239c:	7f 63 db 78 	mr      r3,r27                                 
ffc123a0:	38 80 00 02 	li      r4,2                                   
ffc123a4:	38 a5 3c 44 	addi    r5,r5,15428                            
ffc123a8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc123ac:	4b ff fe 55 	bl      ffc12200 <msdos_format_printf>         
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc123b0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc123b4:	41 9e 01 20 	beq-    cr7,ffc124d4 <msdos_format_fill_sectors+0x1b0><== 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, ".");
ffc123b8:	3e c0 ff c3 	lis     r22,-61                                
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc123bc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc123c0:	1f 5e 00 64 	mulli   r26,r30,100                            
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  char *fill_buffer = NULL;                                           
  uint32_t total_sectors = sector_cnt;                                
  int last_percent = -1;                                              
ffc123c4:	3b 20 ff ff 	li      r25,-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, ".");
ffc123c8:	3a d6 2a f0 	addi    r22,r22,10992                          
ffc123cc:	48 00 00 34 	b       ffc12400 <msdos_format_fill_sectors+0xdc>
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc123d0:	7f e4 fb 78 	mr      r4,r31                                 
ffc123d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc123d8:	7f a5 eb 78 	mr      r5,r29                                 
ffc123dc:	7f 06 c3 78 	mr      r6,r24                                 
ffc123e0:	4b ff fe d5 	bl      ffc122b4 <msdos_format_write_sec>      
    start_sector++;                                                   
ffc123e4:	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) &&                                            
ffc123e8:	7c 77 1b 79 	mr.     r23,r3                                 
ffc123ec:	40 82 00 64 	bne-    ffc12450 <msdos_format_fill_sectors+0x12c><== NEVER TAKEN
ffc123f0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc123f4:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc123f8:	91 21 00 08 	stw     r9,8(r1)                               
ffc123fc:	41 82 00 d8 	beq-    ffc124d4 <msdos_format_fill_sectors+0x1b0>
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
ffc12400:	7c 1a f3 96 	divwu   r0,r26,r30                             
    if (percent != last_percent) {                                    
ffc12404:	7f 80 c8 00 	cmpw    cr7,r0,r25                             
        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--;                                                     
ffc12408:	3b 5a ff 9c 	addi    r26,r26,-100                           
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
    if (percent != last_percent) {                                    
ffc1240c:	41 be ff c4 	beq-    cr7,ffc123d0 <msdos_format_fill_sectors+0xac>
      if ((percent & 1) == 0)                                         
ffc12410:	7c 19 03 78 	mr      r25,r0                                 
ffc12414:	73 20 00 01 	andi.   r0,r25,1                               
ffc12418:	40 82 ff b8 	bne+    ffc123d0 <msdos_format_fill_sectors+0xac>
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
ffc1241c:	7f 63 db 78 	mr      r3,r27                                 
ffc12420:	38 80 00 02 	li      r4,2                                   
ffc12424:	7e c5 b3 78 	mr      r5,r22                                 
ffc12428:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1242c:	4b ff fd d5 	bl      ffc12200 <msdos_format_printf>         
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc12430:	7f e4 fb 78 	mr      r4,r31                                 
ffc12434:	7f 83 e3 78 	mr      r3,r28                                 
ffc12438:	7f a5 eb 78 	mr      r5,r29                                 
ffc1243c:	7f 06 c3 78 	mr      r6,r24                                 
ffc12440:	4b ff fe 75 	bl      ffc122b4 <msdos_format_write_sec>      
    start_sector++;                                                   
ffc12444:	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) &&                                            
ffc12448:	7c 77 1b 79 	mr.     r23,r3                                 
ffc1244c:	41 82 ff a4 	beq+    ffc123f0 <msdos_format_fill_sectors+0xcc><== 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");    
ffc12450:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc12454:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc12458:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc1245c:	38 a5 36 00 	addi    r5,r5,13824                            <== NOT EXECUTED
ffc12460:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12464:	4b ff fd 9d 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc12468:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1246c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc12470:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc12474:	38 a5 3c 50 	addi    r5,r5,15440                            <== NOT EXECUTED
ffc12478:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1247c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12480:	4b ff fd 81 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
ffc12484:	41 92 00 0c 	beq-    cr4,ffc12490 <msdos_format_fill_sectors+0x16c><== NOT EXECUTED
    free(fill_buffer);                                                
ffc12488:	7f 03 c3 78 	mr      r3,r24                                 
ffc1248c:	4b ff 60 55 	bl      ffc084e0 <free>                        
    fill_buffer = NULL;                                               
  }                                                                   
  return ret_val;                                                     
}                                                                     
ffc12490:	80 01 00 44 	lwz     r0,68(r1)                              
ffc12494:	7e e3 bb 78 	mr      r3,r23                                 
ffc12498:	81 81 00 14 	lwz     r12,20(r1)                             
ffc1249c:	7c 08 03 a6 	mtlr    r0                                     
ffc124a0:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc124a4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc124a8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc124ac:	83 01 00 20 	lwz     r24,32(r1)                             
ffc124b0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc124b4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc124b8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc124bc:	83 81 00 30 	lwz     r28,48(r1)                             
ffc124c0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc124c4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc124c8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc124cc:	38 21 00 40 	addi    r1,r1,64                               
ffc124d0:	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");    
ffc124d4:	3c a0 ff c3 	lis     r5,-61                                 
ffc124d8:	7f 63 db 78 	mr      r3,r27                                 
ffc124dc:	38 80 00 02 	li      r4,2                                   
ffc124e0:	38 a5 36 00 	addi    r5,r5,13824                            
ffc124e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc124e8:	4b ff fd 19 	bl      ffc12200 <msdos_format_printf>         
ffc124ec:	3a e0 00 00 	li      r23,0                                  
ffc124f0:	4b ff ff 98 	b       ffc12488 <msdos_format_fill_sectors+0x164>
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
ffc124f4:	48 01 0a ed 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc124f8:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc124fc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc12500:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc12504:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc12508:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc1250c:	38 a5 3c 44 	addi    r5,r5,15428                            <== NOT EXECUTED
ffc12510:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12514:	4b ff fc ed 	bl      ffc12200 <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");    
ffc12518:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1251c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc12520:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc12524:	38 a5 36 00 	addi    r5,r5,13824                            <== NOT EXECUTED
ffc12528:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1252c:	4b ff fc d5 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc12530:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc12534:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc12538:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1253c:	38 a5 3c 50 	addi    r5,r5,15440                            <== NOT EXECUTED
ffc12540:	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;                                                   
ffc12544:	3a e0 ff ff 	li      r23,-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,           
ffc12548:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1254c:	4b ff fc b5 	bl      ffc12200 <msdos_format_printf>         <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
ffc12550:	40 92 ff 38 	bne+    cr4,ffc12488 <msdos_format_fill_sectors+0x164><== NOT EXECUTED
ffc12554:	4b ff ff 3c 	b       ffc12490 <msdos_format_fill_sectors+0x16c><== NOT EXECUTED
                                                                      

ffc12200 <msdos_format_printf>: */ static void msdos_format_printf (const msdos_format_request_param_t *rqdata, int info_level, const char *format, ...) {
ffc12200:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc12204:	7c 08 02 a6 	mflr    r0                                     
ffc12208:	93 e1 00 74 	stw     r31,116(r1)                            
ffc1220c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc12210:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc12214:	90 e1 00 20 	stw     r7,32(r1)                              
ffc12218:	91 01 00 24 	stw     r8,36(r1)                              
ffc1221c:	91 21 00 28 	stw     r9,40(r1)                              
ffc12220:	91 41 00 2c 	stw     r10,44(r1)                             
ffc12224:	40 86 00 24 	bne-    cr1,ffc12248 <msdos_format_printf+0x48><== ALWAYS TAKEN
ffc12228:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc1222c:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc12230:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc12234:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc12238:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc1223c:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc12240:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc12244:	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)             
ffc12248:	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);                                            
ffc1224c:	38 00 00 03 	li      r0,3                                   
ffc12250:	98 01 00 08 	stb     r0,8(r1)                               
ffc12254:	38 00 00 00 	li      r0,0                                   
ffc12258:	98 01 00 09 	stb     r0,9(r1)                               
ffc1225c:	38 01 00 80 	addi    r0,r1,128                              
ffc12260:	90 01 00 0c 	stw     r0,12(r1)                              
ffc12264:	38 01 00 10 	addi    r0,r1,16                               
ffc12268:	90 01 00 10 	stw     r0,16(r1)                              
  if (rqdata != NULL && rqdata->info_level >= info_level)             
ffc1226c:	41 9e 00 34 	beq-    cr7,ffc122a0 <msdos_format_printf+0xa0><== NEVER TAKEN
ffc12270:	80 03 00 1c 	lwz     r0,28(r3)                              
ffc12274:	7f 80 20 00 	cmpw    cr7,r0,r4                              
ffc12278:	41 bc 00 28 	blt+    cr7,ffc122a0 <msdos_format_printf+0xa0><== ALWAYS TAKEN
  {                                                                   
    vfprintf (stdout, format, args);                                  
ffc1227c:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc12280:	81 3f 27 b4 	lwz     r9,10164(r31)                          <== NOT EXECUTED
ffc12284:	7c a4 2b 78 	mr      r4,r5                                  <== NOT EXECUTED
ffc12288:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1228c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc12290:	48 01 96 45 	bl      ffc2b8d4 <vfprintf>                    <== NOT EXECUTED
    fflush (stdout);                                                  
ffc12294:	81 3f 27 b4 	lwz     r9,10164(r31)                          <== NOT EXECUTED
ffc12298:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc1229c:	48 01 12 19 	bl      ffc234b4 <fflush>                      <== NOT EXECUTED
  }                                                                   
  va_end (args);                                                      
}                                                                     
ffc122a0:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc122a4:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc122a8:	38 21 00 78 	addi    r1,r1,120                              
ffc122ac:	7c 08 03 a6 	mtlr    r0                                     
ffc122b0:	4e 80 00 20 	blr                                            
                                                                      

ffc122b4 <msdos_format_write_sec>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc122b4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc122b8:	7c 08 02 a6 	mflr    r0                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc122bc:	38 e0 00 00 	li      r7,0                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc122c0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc122c4:	7c bf 2b 78 	mr      r31,r5                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc122c8:	7c a4 28 16 	mulhwu  r5,r4,r5                               
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc122cc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc122d0:	7c de 33 78 	mr      r30,r6                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc122d4:	7c c4 f9 d6 	mullw   r6,r4,r31                              
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc122d8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc122dc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc122e0:	7c 7d 1b 78 	mr      r29,r3                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc122e4:	4b ff 67 cd 	bl      ffc08ab0 <lseek>                       
ffc122e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc122ec:	38 60 ff ff 	li      r3,-1                                  
ffc122f0:	41 9c 00 18 	blt-    cr7,ffc12308 <msdos_format_write_sec+0x54><== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
ffc122f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc122f8:	7f c4 f3 78 	mr      r4,r30                                 
ffc122fc:	7f e5 fb 78 	mr      r5,r31                                 
ffc12300:	4b ff ab bd 	bl      ffc0cebc <write>                       
ffc12304:	7c 63 fe 70 	srawi   r3,r3,31                               
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc12308:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1230c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc12310:	7c 08 03 a6 	mtlr    r0                                     
ffc12314:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc12318:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1231c:	38 21 00 18 	addi    r1,r1,24                               
ffc12320:	4e 80 00 20 	blr                                            
                                                                      

ffc1ebc0 <msdos_free_node_info>: * RC_OK on success, or -1 code if error occured * */ int msdos_free_node_info(rtems_filesystem_location_info_t *pathloc) {
ffc1ebc0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1ebc4:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ebc8:	38 80 00 00 	li      r4,0                                   
 *     RC_OK on success, or -1 code if error occured                  
 *                                                                    
 */                                                                   
int                                                                   
msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)       
{                                                                     
ffc1ebcc:	90 01 00 14 	stw     r0,20(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ebd0:	38 a0 00 00 	li      r5,0                                   
int                                                                   
msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)       
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc1ebd4:	81 23 00 10 	lwz     r9,16(r3)                              
 *     RC_OK on success, or -1 code if error occured                  
 *                                                                    
 */                                                                   
int                                                                   
msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)       
{                                                                     
ffc1ebd8:	93 c1 00 08 	stw     r30,8(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc1ebdc:	83 c9 00 34 	lwz     r30,52(r9)                             
 *     RC_OK on success, or -1 code if error occured                  
 *                                                                    
 */                                                                   
int                                                                   
msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)       
{                                                                     
ffc1ebe0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1ebe4:	7c 7f 1b 78 	mr      r31,r3                                 
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ebe8:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1ebec:	4b fe eb a1 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1ebf0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ebf4:	40 9e 00 38 	bne-    cr7,ffc1ec2c <msdos_free_node_info+0x6c><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_file_close(pathloc->mt_entry, pathloc->node_access);     
ffc1ebf8:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1ebfc:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc1ec00:	4b ff 8b 59 	bl      ffc17758 <fat_file_close>              
ffc1ec04:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1ec08:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1ec0c:	4b fe ed 0d 	bl      ffc0d918 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1ec10:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1ec14:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ec18:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1ec1c:	7c 08 03 a6 	mtlr    r0                                     
ffc1ec20:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1ec24:	38 21 00 10 	addi    r1,r1,16                               
ffc1ec28:	4e 80 00 20 	blr                                            
    msdos_fs_info_t   *fs_info = pathloc->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);                    
ffc1ec2c:	48 00 43 b5 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1ec30:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ec34:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ec38:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1ec3c:	4b ff ff d4 	b       ffc1ec10 <msdos_free_node_info+0x50>   <== NOT EXECUTED
                                                                      

ffc2045c <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 ) {
ffc2045c:	94 21 ff 80 	stwu    r1,-128(r1)                            <== NOT EXECUTED
ffc20460:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc20464:	93 e1 00 7c 	stw     r31,124(r1)                            <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc20468:	7c 3f 0b 78 	mr      r31,r1                                 <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc2046c:	90 01 00 84 	stw     r0,132(r1)                             <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc20470:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc20474:	93 01 00 60 	stw     r24,96(r1)                             <== NOT EXECUTED
ffc20478:	7c 98 23 78 	mr      r24,r4                                 <== NOT EXECUTED
ffc2047c:	93 21 00 64 	stw     r25,100(r1)                            <== NOT EXECUTED
ffc20480:	93 61 00 6c 	stw     r27,108(r1)                            <== NOT EXECUTED
ffc20484:	93 81 00 70 	stw     r28,112(r1)                            <== NOT EXECUTED
ffc20488:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
ffc2048c:	93 a1 00 74 	stw     r29,116(r1)                            <== NOT EXECUTED
ffc20490:	7c bd 2b 78 	mr      r29,r5                                 <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc20494:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc20498:	93 c1 00 78 	stw     r30,120(r1)                            <== NOT EXECUTED
ffc2049c:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc204a0:	92 e1 00 5c 	stw     r23,92(r1)                             <== NOT EXECUTED
ffc204a4:	93 41 00 68 	stw     r26,104(r1)                            <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc204a8:	94 1f 00 08 	stwu    r0,8(r31)                              <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc204ac:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc204b0:	83 63 00 34 	lwz     r27,52(r3)                             <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc204b4:	4b ff 6b c1 	bl      ffc17074 <fat_file_open>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc204b8:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc204bc:	41 82 00 3c 	beq-    ffc204f8 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x9c><== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(mt_entry, fat_fd);                            
    return rc;                                                        
}                                                                     
ffc204c0:	80 01 00 84 	lwz     r0,132(r1)                             <== NOT EXECUTED
ffc204c4:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc204c8:	82 e1 00 5c 	lwz     r23,92(r1)                             <== NOT EXECUTED
ffc204cc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc204d0:	83 01 00 60 	lwz     r24,96(r1)                             <== NOT EXECUTED
ffc204d4:	83 21 00 64 	lwz     r25,100(r1)                            <== NOT EXECUTED
ffc204d8:	83 41 00 68 	lwz     r26,104(r1)                            <== NOT EXECUTED
ffc204dc:	83 61 00 6c 	lwz     r27,108(r1)                            <== NOT EXECUTED
ffc204e0:	83 81 00 70 	lwz     r28,112(r1)                            <== NOT EXECUTED
ffc204e4:	83 a1 00 74 	lwz     r29,116(r1)                            <== NOT EXECUTED
ffc204e8:	83 c1 00 78 	lwz     r30,120(r1)                            <== NOT EXECUTED
ffc204ec:	83 e1 00 7c 	lwz     r31,124(r1)                            <== NOT EXECUTED
ffc204f0:	38 21 00 80 	addi    r1,r1,128                              <== NOT EXECUTED
ffc204f4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc204f8:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc204fc:	3c 00 00 20 	lis     r0,32                                  <== NOT EXECUTED
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc20500:	3b 40 00 01 	li      r26,1                                  <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc20504:	93 29 00 34 	stw     r25,52(r9)                             <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc20508:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2050c:	7d 24 4b 78 	mr      r4,r9                                  <== NOT EXECUTED
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc20510:	93 09 00 1c 	stw     r24,28(r9)                             <== NOT EXECUTED
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc20514:	93 49 00 10 	stw     r26,16(r9)                             <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc20518:	90 09 00 14 	stw     r0,20(r9)                              <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc2051c:	93 09 00 38 	stw     r24,56(r9)                             <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc20520:	4b ff 7b 5d 	bl      ffc1807c <fat_file_size>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc20524:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc20528:	40 82 02 04 	bne-    ffc2072c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2d0><== NOT EXECUTED
        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);      
ffc2052c:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc20530:	93 21 00 2c 	stw     r25,44(r1)                             <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc20534:	3b 18 2a f0 	addi    r24,r24,10992                          <== NOT EXECUTED
ffc20538:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc2053c:	93 21 00 30 	stw     r25,48(r1)                             <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc20540:	38 a1 00 2c 	addi    r5,r1,44                               <== NOT EXECUTED
ffc20544:	38 c0 00 0b 	li      r6,11                                  <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc20548:	93 21 00 34 	stw     r25,52(r1)                             <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc2054c:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc20550:	93 21 00 38 	stw     r25,56(r1)                             <== NOT EXECUTED
ffc20554:	93 21 00 3c 	stw     r25,60(r1)                             <== NOT EXECUTED
ffc20558:	93 21 00 40 	stw     r25,64(r1)                             <== NOT EXECUTED
ffc2055c:	93 21 00 44 	stw     r25,68(r1)                             <== NOT EXECUTED
ffc20560:	93 21 00 48 	stw     r25,72(r1)                             <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc20564:	4b ff e7 ed 	bl      ffc1ed50 <msdos_long_to_short>         <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
ffc20568:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2056c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc20570:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc20574:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc20578:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
ffc2057c:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc20580:	7f a9 eb 78 	mr      r9,r29                                 <== NOT EXECUTED
ffc20584:	39 41 00 2c 	addi    r10,r1,44                              <== NOT EXECUTED
ffc20588:	4b ff f2 15 	bl      ffc1f79c <msdos_find_name_in_fat_file> <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
ffc2058c:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc20590:	40 82 01 9c 	bne-    ffc2072c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2d0><== NOT EXECUTED
        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);  
ffc20594:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc20598:	93 21 00 0c 	stw     r25,12(r1)                             <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc2059c:	3b 18 29 98 	addi    r24,r24,10648                          <== NOT EXECUTED
ffc205a0:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc205a4:	93 21 00 10 	stw     r25,16(r1)                             <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc205a8:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc205ac:	38 c0 00 0b 	li      r6,11                                  <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc205b0:	93 21 00 14 	stw     r25,20(r1)                             <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc205b4:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc205b8:	93 21 00 18 	stw     r25,24(r1)                             <== NOT EXECUTED
ffc205bc:	93 21 00 1c 	stw     r25,28(r1)                             <== NOT EXECUTED
ffc205c0:	93 21 00 20 	stw     r25,32(r1)                             <== NOT EXECUTED
ffc205c4:	93 21 00 24 	stw     r25,36(r1)                             <== NOT EXECUTED
ffc205c8:	93 21 00 28 	stw     r25,40(r1)                             <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc205cc:	4b ff e7 85 	bl      ffc1ed50 <msdos_long_to_short>         <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
ffc205d0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc205d4:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc205d8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc205dc:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc205e0:	38 e0 00 02 	li      r7,2                                   <== NOT EXECUTED
ffc205e4:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc205e8:	7f a9 eb 78 	mr      r9,r29                                 <== NOT EXECUTED
ffc205ec:	39 41 00 0c 	addi    r10,r1,12                              <== NOT EXECUTED
ffc205f0:	4b ff f1 ad 	bl      ffc1f79c <msdos_find_name_in_fat_file> <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc205f4:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
    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)                                                  
ffc205f8:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc205fc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
    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)                                                  
ffc20600:	40 82 01 70 	bne-    ffc20770 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x314><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc20604:	a3 01 00 46 	lhz     r24,70(r1)                             <== NOT EXECUTED
ffc20608:	a2 e1 00 40 	lhz     r23,64(r1)                             <== NOT EXECUTED
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(mt_entry, fat_fd);                            
ffc2060c:	4b ff 71 4d 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
    if ( rc != RC_OK )                                                
ffc20610:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc20614:	40 a2 fe ac 	bne-    ffc204c0 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ( (MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)               
ffc20618:	a0 01 00 20 	lhz     r0,32(r1)                              <== NOT EXECUTED
ffc2061c:	a1 61 00 26 	lhz     r11,38(r1)                             <== NOT EXECUTED
ffc20620:	54 09 c2 3e 	rlwinm  r9,r0,24,8,31                          <== NOT EXECUTED
ffc20624:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
ffc20628:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc2062c:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         <== NOT EXECUTED
ffc20630:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        <== NOT EXECUTED
ffc20634:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc20638:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc2063c:	7d 20 03 79 	or.     r0,r9,r0                               <== NOT EXECUTED
ffc20640:	40 82 00 18 	bne-    ffc20658 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x1fc><== 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;                           
ffc20644:	39 60 ff ff 	li      r11,-1                                 <== NOT EXECUTED
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc20648:	90 1d 00 04 	stw     r0,4(r29)                              <== NOT EXECUTED
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc2064c:	91 7d 00 08 	stw     r11,8(r29)                             <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc20650:	91 7d 00 0c 	stw     r11,12(r29)                            <== 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;                 
ffc20654:	93 5d 00 00 	stw     r26,0(r29)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc20658:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2065c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc20660:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc20664:	4b ff 6a 11 	bl      ffc17074 <fat_file_open>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc20668:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc2066c:	40 a2 fe 54 	bne-    ffc204c0 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
ffc20670:	a0 01 00 20 	lhz     r0,32(r1)                              <== NOT EXECUTED
ffc20674:	a1 61 00 26 	lhz     r11,38(r1)                             <== NOT EXECUTED
ffc20678:	54 09 c2 3e 	rlwinm  r9,r0,24,8,31                          <== NOT EXECUTED
ffc2067c:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
ffc20680:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc20684:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         <== NOT EXECUTED
ffc20688:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        <== NOT EXECUTED
ffc2068c:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc20690:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc20694:	7d 20 03 79 	or.     r0,r9,r0                               <== NOT EXECUTED
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
ffc20698:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
ffc2069c:	40 82 00 dc 	bne-    ffc20778 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x31c><== NOT EXECUTED
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
ffc206a0:	80 1b 00 38 	lwz     r0,56(r27)                             <== NOT EXECUTED
ffc206a4:	90 09 00 1c 	stw     r0,28(r9)                              <== NOT EXECUTED
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc206a8:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc206ac:	80 09 00 1c 	lwz     r0,28(r9)                              <== NOT EXECUTED
    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;                            
ffc206b0:	91 69 00 10 	stw     r11,16(r9)                             <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc206b4:	3d 60 00 20 	lis     r11,32                                 <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc206b8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
        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;                        
ffc206bc:	91 69 00 14 	stw     r11,20(r9)                             <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc206c0:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc206c4:	7d 24 4b 78 	mr      r4,r9                                  <== NOT EXECUTED
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc206c8:	91 69 00 34 	stw     r11,52(r9)                             <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc206cc:	90 09 00 38 	stw     r0,56(r9)                              <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc206d0:	4b ff 79 ad 	bl      ffc1807c <fat_file_size>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc206d4:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc206d8:	40 82 00 54 	bne-    ffc2072c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2d0><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc206dc:	56 e5 c2 3e 	rlwinm  r5,r23,24,8,31                         <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* in this directory find slot with specified cluster num */      
    rc = msdos_find_node_by_cluster_num_in_fat_file(mt_entry, fat_fd, cl4find,
ffc206e0:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc206e4:	56 f7 44 2e 	rlwinm  r23,r23,8,16,23                        <== NOT EXECUTED
ffc206e8:	57 00 c2 3e 	rlwinm  r0,r24,24,8,31                         <== NOT EXECUTED
ffc206ec:	7c a5 bb 78 	or      r5,r5,r23                              <== NOT EXECUTED
ffc206f0:	57 18 44 2e 	rlwinm  r24,r24,8,16,23                        <== NOT EXECUTED
ffc206f4:	7c 18 c3 78 	or      r24,r0,r24                             <== NOT EXECUTED
ffc206f8:	54 a5 80 1e 	rlwinm  r5,r5,16,0,15                          <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* in this directory find slot with specified cluster num */      
    rc = msdos_find_node_by_cluster_num_in_fat_file(mt_entry, fat_fd, cl4find,
ffc206fc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc20700:	7c a5 c3 78 	or      r5,r5,r24                              <== NOT EXECUTED
ffc20704:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc20708:	7f 87 e3 78 	mr      r7,r28                                 <== NOT EXECUTED
ffc2070c:	4b ff fb 19 	bl      ffc20224 <msdos_find_node_by_cluster_num_in_fat_file><== NOT EXECUTED
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc20710:	80 81 00 08 	lwz     r4,8(r1)                               <== 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)                                                  
ffc20714:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc20718:	7f c3 f3 78 	mr      r3,r30                                 <== 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)                                                  
ffc2071c:	40 82 00 54 	bne-    ffc20770 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x314><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(mt_entry, fat_fd);                            
ffc20720:	4b ff 70 39 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
ffc20724:	7c 79 1b 78 	mr      r25,r3                                 <== NOT EXECUTED
    return rc;                                                        
ffc20728:	4b ff fd 98 	b       ffc204c0 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc2072c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc20730:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc20734:	4b ff 70 25 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(mt_entry, fat_fd);                            
    return rc;                                                        
}                                                                     
ffc20738:	80 01 00 84 	lwz     r0,132(r1)                             <== NOT EXECUTED
ffc2073c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc20740:	82 e1 00 5c 	lwz     r23,92(r1)                             <== NOT EXECUTED
ffc20744:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20748:	83 01 00 60 	lwz     r24,96(r1)                             <== NOT EXECUTED
ffc2074c:	83 21 00 64 	lwz     r25,100(r1)                            <== NOT EXECUTED
ffc20750:	83 41 00 68 	lwz     r26,104(r1)                            <== NOT EXECUTED
ffc20754:	83 61 00 6c 	lwz     r27,108(r1)                            <== NOT EXECUTED
ffc20758:	83 81 00 70 	lwz     r28,112(r1)                            <== NOT EXECUTED
ffc2075c:	83 a1 00 74 	lwz     r29,116(r1)                            <== NOT EXECUTED
ffc20760:	83 c1 00 78 	lwz     r30,120(r1)                            <== NOT EXECUTED
ffc20764:	83 e1 00 7c 	lwz     r31,124(r1)                            <== NOT EXECUTED
ffc20768:	38 21 00 80 	addi    r1,r1,128                              <== NOT EXECUTED
ffc2076c:	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(mt_entry, fat_fd);                             
ffc20770:	4b ff 6f e9 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
        return rc;                                                    
ffc20774:	4b ff fd 4c 	b       ffc204c0 <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);         
ffc20778:	90 09 00 1c 	stw     r0,28(r9)                              <== NOT EXECUTED
ffc2077c:	4b ff ff 2c 	b       ffc206a8 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x24c><== NOT EXECUTED
                                                                      

ffc20780 <msdos_get_name_node>: int name_len, msdos_name_type_t name_type, fat_dir_pos_t *dir_pos, char *name_dir_entry ) {
ffc20780:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc20784:	7c 08 02 a6 	mflr    r0                                     
ffc20788:	7c cb 33 78 	mr      r11,r6                                 
ffc2078c:	90 01 00 24 	stw     r0,36(r1)                              
ffc20790:	7c e0 3b 78 	mr      r0,r7                                  
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc20794:	7d 67 5b 78 	mr      r7,r11                                 
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc20798:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc2079c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc207a0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc207a4:	7c bb 2b 78 	mr      r27,r5                                 
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc207a8:	7f 66 db 78 	mr      r6,r27                                 
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc207ac:	93 81 00 10 	stw     r28,16(r1)                             
ffc207b0:	7d 3c 4b 78 	mr      r28,r9                                 
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc207b4:	7f 8a e3 78 	mr      r10,r28                                
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc207b8:	93 a1 00 14 	stw     r29,20(r1)                             
ffc207bc:	7d 1d 43 78 	mr      r29,r8                                 
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc207c0:	7f a9 eb 78 	mr      r9,r29                                 
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc207c4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc207c8:	7c 9e 23 78 	mr      r30,r4                                 
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc207cc:	7f c5 f3 78 	mr      r5,r30                                 
ffc207d0:	80 63 00 10 	lwz     r3,16(r3)                              
ffc207d4:	7c 08 03 78 	mr      r8,r0                                  
ffc207d8:	80 9f 00 00 	lwz     r4,0(r31)                              
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc207dc:	93 41 00 08 	stw     r26,8(r1)                              
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = parent_loc->node_access;                
    uint32_t         dotdot_cln = 0;                                  
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
ffc207e0:	4b ff ef bd 	bl      ffc1f79c <msdos_find_name_in_fat_file> 
                                     create_node, name, name_len, name_type,
                                     dir_pos, name_dir_entry);        
    if ((rc != RC_OK) && (rc != MSDOS_NAME_NOT_FOUND_ERR))            
ffc207e4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc207e8:	41 82 00 38 	beq-    ffc20820 <msdos_get_name_node+0xa0>    
ffc207ec:	2f 9a 7d 01 	cmpwi   cr7,r26,32001                          
ffc207f0:	41 9e 00 30 	beq-    cr7,ffc20820 <msdos_get_name_node+0xa0><== ALWAYS TAKEN
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc207f4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc207f8:	7f 43 d3 78 	mr      r3,r26                                 
ffc207fc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc20800:	7c 08 03 a6 	mtlr    r0                                     
ffc20804:	83 41 00 08 	lwz     r26,8(r1)                              
ffc20808:	83 81 00 10 	lwz     r28,16(r1)                             
ffc2080c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc20810:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc20814:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc20818:	38 21 00 20 	addi    r1,r1,32                               
ffc2081c:	4e 80 00 20 	blr                                            
                                     create_node, name, name_len, name_type,
                                     dir_pos, name_dir_entry);        
    if ((rc != RC_OK) && (rc != MSDOS_NAME_NOT_FOUND_ERR))            
        return rc;                                                    
                                                                      
    if (!create_node)                                                 
ffc20820:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc20824:	40 be ff d0 	bne-    cr7,ffc207f4 <msdos_get_name_node+0x74>
    {                                                                 
        /* if we search for valid name and name not found -> return */
        if (rc == MSDOS_NAME_NOT_FOUND_ERR)                           
ffc20828:	2f 9a 7d 01 	cmpwi   cr7,r26,32001                          
ffc2082c:	41 be ff c8 	beq-    cr7,ffc207f4 <msdos_get_name_node+0x74>
         * if we have deal with ".." - it is a special case :(((      
         *                                                            
         * Really, we should return cluster num and offset not of ".." slot, but
         * slot which correspondes to real directory name.            
         */                                                           
        if (rc == RC_OK)                                              
ffc20830:	40 a2 ff c4 	bne-    ffc207f4 <msdos_get_name_node+0x74>    <== NEVER TAKEN
        {                                                             
            if (strncmp(name, "..", 2) == 0)                          
ffc20834:	3c 80 ff c3 	lis     r4,-61                                 
ffc20838:	7f 63 db 78 	mr      r3,r27                                 
ffc2083c:	38 84 29 98 	addi    r4,r4,10648                            
ffc20840:	38 a0 00 02 	li      r5,2                                   
ffc20844:	48 00 43 d5 	bl      ffc24c18 <strncmp>                     
ffc20848:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2084c:	40 be ff a8 	bne-    cr7,ffc207f4 <msdos_get_name_node+0x74>
            {                                                         
                dotdot_cln = MSDOS_EXTRACT_CLUSTER_NUM((name_dir_entry));
ffc20850:	a1 7c 00 14 	lhz     r11,20(r28)                            
ffc20854:	a1 3c 00 1a 	lhz     r9,26(r28)                             
ffc20858:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         
ffc2085c:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        
ffc20860:	55 24 c2 3e 	rlwinm  r4,r9,24,8,31                          
ffc20864:	7c 00 5b 78 	or      r0,r0,r11                              
ffc20868:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc2086c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc20870:	7c 84 4b 78 	or      r4,r4,r9                               
                                                                      
                /* are we right under root dir ? */                   
                if (dotdot_cln == 0)                                  
ffc20874:	7c 04 23 79 	or.     r4,r0,r4                               
ffc20878:	40 82 00 20 	bne-    ffc20898 <msdos_get_name_node+0x118>   <== 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;                           
ffc2087c:	38 00 ff ff 	li      r0,-1                                  
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc20880:	93 5d 00 04 	stw     r26,4(r29)                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc20884:	90 1d 00 08 	stw     r0,8(r29)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc20888:	90 1d 00 0c 	stw     r0,12(r29)                             
                    /*                                                
                     * we can relax about first_char field - it never should be
                     * used for root dir                              
                     */                                               
                    fat_dir_pos_init(dir_pos);                        
                    dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;     
ffc2088c:	38 00 00 01 	li      r0,1                                   
ffc20890:	90 1d 00 00 	stw     r0,0(r29)                              
ffc20894:	4b ff ff 60 	b       ffc207f4 <msdos_get_name_node+0x74>    
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc20898:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
                    fat_dir_pos_init(dir_pos);                        
                    dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;     
                }                                                     
                else                                                  
                {                                                     
                    rc =                                              
ffc2089c:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc208a0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc208a4:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc208a8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc208ac:	83 41 00 08 	lwz     r26,8(r1)                              <== NOT EXECUTED
ffc208b0:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc208b4:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc208b8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc208bc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc208c0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc208c4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
                    fat_dir_pos_init(dir_pos);                        
                    dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;     
                }                                                     
                else                                                  
                {                                                     
                    rc =                                              
ffc208c8:	4b ff fb 94 	b       ffc2045c <msdos_get_dotdot_dir_info_cluster_num_and_offset><== NOT EXECUTED
                                                                      

ffc1efa8 <msdos_get_token>: msdos_token_types_t msdos_get_token(const char *path, int pathlen, const char **ret_token, int *ret_token_len) {
ffc1efa8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1efac:	7c 08 02 a6 	mflr    r0                                     
ffc1efb0:	93 e1 00 1c 	stw     r31,28(r1)                             
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
ffc1efb4:	7c 9f 23 79 	mr.     r31,r4                                 
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1efb8:	90 01 00 24 	stw     r0,36(r1)                              
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
ffc1efbc:	38 00 00 00 	li      r0,0                                   
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1efc0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1efc4:	7c db 33 78 	mr      r27,r6                                 
ffc1efc8:	93 81 00 10 	stw     r28,16(r1)                             
ffc1efcc:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
        return MSDOS_NO_MORE_PATH;                                    
ffc1efd0:	38 60 00 00 	li      r3,0                                   
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1efd4:	93 a1 00 14 	stw     r29,20(r1)                             
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
ffc1efd8:	3b a0 00 00 	li      r29,0                                  
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1efdc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1efe0:	7c be 2b 78 	mr      r30,r5                                 
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
ffc1efe4:	90 05 00 00 	stw     r0,0(r5)                               
    *ret_token_len = 0;                                               
ffc1efe8:	90 06 00 00 	stw     r0,0(r6)                               
                                                                      
    if (pathlen == 0)                                                 
ffc1efec:	40 a2 00 28 	bne+    ffc1f014 <msdos_get_token+0x6c>        
ffc1eff0:	48 00 00 5c 	b       ffc1f04c <msdos_get_token+0xa4>        
        return MSDOS_NO_MORE_PATH;                                    
                                                                      
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
ffc1eff4:	40 98 00 34 	bge-    cr6,ffc1f028 <msdos_get_token+0x80>    <== NEVER TAKEN
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
ffc1eff8:	7c 7c e8 ae 	lbzx    r3,r28,r29                             
ffc1effc:	4b ff fc cd 	bl      ffc1ecc8 <msdos_is_valid_name_char>    
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
ffc1f000:	2f 1d 01 03 	cmpwi   cr6,r29,259                            
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
ffc1f004:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
ffc1f008:	3b bd 00 01 	addi    r29,r29,1                              
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
ffc1f00c:	41 9e 00 64 	beq-    cr7,ffc1f070 <msdos_get_token+0xc8>    <== NEVER TAKEN
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
ffc1f010:	41 9a 00 60 	beq-    cr6,ffc1f070 <msdos_get_token+0xc8>    <== NEVER TAKEN
        return MSDOS_NO_MORE_PATH;                                    
                                                                      
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
ffc1f014:	7c 7c e8 ae 	lbzx    r3,r28,r29                             
ffc1f018:	4b fe b3 cd 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
ffc1f01c:	7f 1d f8 00 	cmpw    cr6,r29,r31                            
ffc1f020:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1f024:	41 9e ff d0 	beq+    cr7,ffc1eff4 <msdos_get_token+0x4c>    
    *ret_token = path;                                                
                                                                      
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
ffc1f028:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
            return MSDOS_INVALID_TOKEN;                               
    }                                                                 
                                                                      
    *ret_token = path;                                                
ffc1f02c:	93 9e 00 00 	stw     r28,0(r30)                             
                                                                      
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
ffc1f030:	40 9e 00 68 	bne-    cr7,ffc1f098 <msdos_get_token+0xf0>    
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
ffc1f034:	88 1c 00 00 	lbz     r0,0(r28)                              
ffc1f038:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1f03c:	41 9e 00 90 	beq-    cr7,ffc1f0cc <msdos_get_token+0x124>   
        {                                                             
            i++;                                                      
ffc1f040:	3b a0 00 01 	li      r29,1                                  
    }                                                                 
                                                                      
    /*                                                                
     *  Set the token and token_len to the token start and length.    
     */                                                               
    *ret_token_len = i;                                               
ffc1f044:	93 bb 00 00 	stw     r29,0(r27)                             
    if ( i == 0 )                                                     
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
        {                                                             
            i++;                                                      
            type = MSDOS_CURRENT_DIR;                                 
ffc1f048:	38 60 00 01 	li      r3,1                                   
            return type;                                              
        }                                                             
    }                                                                 
                                                                      
    return type;                                                      
}                                                                     
ffc1f04c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1f050:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1f054:	7c 08 03 a6 	mtlr    r0                                     
ffc1f058:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1f05c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1f060:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1f064:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1f068:	38 21 00 20 	addi    r1,r1,32                               
ffc1f06c:	4e 80 00 20 	blr                                            
ffc1f070:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
            return MSDOS_INVALID_TOKEN;                               
ffc1f074:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
            return type;                                              
        }                                                             
    }                                                                 
                                                                      
    return type;                                                      
}                                                                     
ffc1f078:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc1f07c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f080:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc1f084:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc1f088:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1f08c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1f090:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1f094:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
ffc1f098:	2f 9d 00 02 	cmpwi   cr7,r29,2                              
    }                                                                 
                                                                      
    /*                                                                
     *  Set the token and token_len to the token start and length.    
     */                                                               
    *ret_token_len = i;                                               
ffc1f09c:	93 bb 00 00 	stw     r29,0(r27)                             
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
ffc1f0a0:	41 9e 00 38 	beq-    cr7,ffc1f0d8 <msdos_get_token+0x130>   
        {                                                             
            type = MSDOS_UP_DIR;                                      
            return type;                                              
        }                                                             
                                                                      
        if ((i == 1) && ((*ret_token)[0] == '.'))                     
ffc1f0a4:	2f 9d 00 01 	cmpwi   cr7,r29,1                              
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
ffc1f0a8:	38 60 00 03 	li      r3,3                                   
        {                                                             
            type = MSDOS_UP_DIR;                                      
            return type;                                              
        }                                                             
                                                                      
        if ((i == 1) && ((*ret_token)[0] == '.'))                     
ffc1f0ac:	40 9e ff a0 	bne+    cr7,ffc1f04c <msdos_get_token+0xa4>    
ffc1f0b0:	88 7c 00 00 	lbz     r3,0(r28)                              
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
ffc1f0b4:	68 63 00 2e 	xori    r3,r3,46                               
ffc1f0b8:	30 63 ff ff 	addic   r3,r3,-1                               
ffc1f0bc:	7c 63 19 10 	subfe   r3,r3,r3                               
ffc1f0c0:	54 63 00 3c 	rlwinm  r3,r3,0,0,30                           
ffc1f0c4:	38 63 00 03 	addi    r3,r3,3                                
ffc1f0c8:	4b ff ff 84 	b       ffc1f04c <msdos_get_token+0xa4>        
        {                                                             
            i++;                                                      
            type = MSDOS_CURRENT_DIR;                                 
        }                                                             
        else                                                          
            type = MSDOS_NO_MORE_PATH;                                
ffc1f0cc:	38 60 00 00 	li      r3,0                                   
    }                                                                 
                                                                      
    /*                                                                
     *  Set the token and token_len to the token start and length.    
     */                                                               
    *ret_token_len = i;                                               
ffc1f0d0:	93 bb 00 00 	stw     r29,0(r27)                             
ffc1f0d4:	4b ff ff 78 	b       ffc1f04c <msdos_get_token+0xa4>        
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
ffc1f0d8:	88 1c 00 00 	lbz     r0,0(r28)                              
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
ffc1f0dc:	38 60 00 03 	li      r3,3                                   
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
ffc1f0e0:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1f0e4:	40 9e ff 68 	bne+    cr7,ffc1f04c <msdos_get_token+0xa4>    <== NEVER TAKEN
ffc1f0e8:	88 7c 00 01 	lbz     r3,1(r28)                              
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
ffc1f0ec:	68 63 00 2e 	xori    r3,r3,46                               
ffc1f0f0:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc1f0f4:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc1f0f8:	20 63 00 03 	subfic  r3,r3,3                                
ffc1f0fc:	4b ff ff 50 	b       ffc1f04c <msdos_get_token+0xa4>        
                                                                      

ffc13398 <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 ) {
ffc13398:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1339c:	7c 08 02 a6 	mflr    r0                                     
ffc133a0:	93 61 00 34 	stw     r27,52(r1)                             
ffc133a4:	7c 9b 23 78 	mr      r27,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));  
ffc133a8:	38 80 00 a0 	li      r4,160                                 
    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       
    )                                                                 
{                                                                     
ffc133ac:	90 01 00 4c 	stw     r0,76(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;                                 
ffc133b0:	38 00 00 00 	li      r0,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       
    )                                                                 
{                                                                     
ffc133b4:	93 c1 00 40 	stw     r30,64(r1)                             
ffc133b8:	7c 7e 1b 78 	mr      r30,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));  
ffc133bc:	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       
    )                                                                 
{                                                                     
ffc133c0:	93 21 00 2c 	stw     r25,44(r1)                             
ffc133c4:	7c b9 2b 78 	mr      r25,r5                                 
ffc133c8:	93 81 00 38 	stw     r28,56(r1)                             
ffc133cc:	7c dc 33 78 	mr      r28,r6                                 
ffc133d0:	93 e1 00 44 	stw     r31,68(r1)                             
ffc133d4:	93 41 00 30 	stw     r26,48(r1)                             
ffc133d8:	93 a1 00 3c 	stw     r29,60(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;                                 
ffc133dc:	90 01 00 08 	stw     r0,8(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));  
ffc133e0:	4b ff 4a 51 	bl      ffc07e30 <calloc>                      
    if (!fs_info)                                                     
ffc133e4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc133e8:	41 82 01 a0 	beq-    ffc13588 <msdos_initialize_support+0x1f0><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
                                                                      
    temp_mt_entry->fs_info = fs_info;                                 
ffc133ec:	93 fe 00 34 	stw     r31,52(r30)                            
                                                                      
    rc = fat_init_volume_info(temp_mt_entry);                         
ffc133f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc133f4:	48 00 58 c1 	bl      ffc18cb4 <fat_init_volume_info>        
    if (rc != RC_OK)                                                  
ffc133f8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc133fc:	40 82 00 f4 	bne-    ffc134f0 <msdos_initialize_support+0x158><== NEVER TAKEN
    /*                                                                
     * 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;                     
ffc13400:	7c 24 0b 78 	mr      r4,r1                                  
    {                                                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
ffc13404:	93 3f 00 94 	stw     r25,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;                     
ffc13408:	3b 40 00 01 	li      r26,1                                  
ffc1340c:	97 44 00 0c 	stwu    r26,12(r4)                             
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc13410:	38 00 ff ff 	li      r0,-1                                  
    rc = fat_file_open(temp_mt_entry, &root_pos, &fat_fd);            
ffc13414:	7f c3 f3 78 	mr      r3,r30                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
    fs_info->directory_handlers = directory_handlers;                 
ffc13418:	93 9f 00 90 	stw     r28,144(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(temp_mt_entry, &root_pos, &fat_fd);            
ffc1341c:	38 a1 00 08 	addi    r5,r1,8                                
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc13420:	93 a1 00 10 	stw     r29,16(r1)                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc13424:	90 01 00 14 	stw     r0,20(r1)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc13428:	90 01 00 18 	stw     r0,24(r1)                              
ffc1342c:	48 00 3c 49 	bl      ffc17074 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc13430:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc13434:	40 82 00 b4 	bne-    ffc134e8 <msdos_initialize_support+0x150><== 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;                           
ffc13438:	80 1f 00 38 	lwz     r0,56(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;                        
ffc1343c:	3d 20 00 20 	lis     r9,32                                  
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc13440:	80 81 00 08 	lwz     r4,8(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 )                                           
ffc13444:	2f 80 00 00 	cmpwi   cr7,r0,0                               
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc13448:	93 44 00 10 	stw     r26,16(r4)                             
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1344c:	91 24 00 14 	stw     r9,20(r4)                              
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
ffc13450:	90 04 00 1c 	stw     r0,28(r4)                              
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc13454:	93 a4 00 34 	stw     r29,52(r4)                             
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc13458:	90 04 00 38 	stw     r0,56(r4)                              
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
ffc1345c:	40 9e 00 d4 	bne-    cr7,ffc13530 <msdos_initialize_support+0x198><== NEVER TAKEN
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
ffc13460:	80 1f 00 28 	lwz     r0,40(r31)                             
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
                      fs_info->fat.vol.bpc                                :
ffc13464:	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;           
ffc13468:	90 04 00 18 	stw     r0,24(r4)                              
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
ffc1346c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc13470:	41 9c 00 b8 	blt-    cr7,ffc13528 <msdos_initialize_support+0x190><== ALWAYS TAKEN
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
ffc13474:	38 80 00 01 	li      r4,1                                   
ffc13478:	4b ff 49 b9 	bl      ffc07e30 <calloc>                      
    if (fs_info->cl_buf == NULL)                                      
ffc1347c:	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));   
ffc13480:	90 7f 00 9c 	stw     r3,156(r31)                            
    if (fs_info->cl_buf == NULL)                                      
ffc13484:	41 9e 00 e8 	beq-    cr7,ffc1356c <msdos_initialize_support+0x1d4><== NEVER TAKEN
        fat_shutdown_drive(temp_mt_entry);                            
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
    }                                                                 
                                                                      
    sc = rtems_semaphore_create(3,                                    
ffc13488:	38 60 00 03 	li      r3,3                                   
ffc1348c:	38 80 00 01 	li      r4,1                                   
ffc13490:	38 a0 00 10 	li      r5,16                                  
ffc13494:	38 c0 00 00 	li      r6,0                                   
ffc13498:	38 ff 00 98 	addi    r7,r31,152                             
ffc1349c:	4b ff a0 19 	bl      ffc0d4b4 <rtems_semaphore_create>      
                                1,                                    
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc134a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc134a4:	40 9e 00 f8 	bne-    cr7,ffc1359c <msdos_initialize_support+0x204><== NEVER TAKEN
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
ffc134a8:	80 01 00 08 	lwz     r0,8(r1)                               
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
    temp_mt_entry->mt_fs_root.ops = op_table;                         
                                                                      
    return rc;                                                        
}                                                                     
ffc134ac:	7f a3 eb 78 	mr      r3,r29                                 
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
ffc134b0:	93 9e 00 24 	stw     r28,36(r30)                            
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
ffc134b4:	90 1e 00 1c 	stw     r0,28(r30)                             
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
    temp_mt_entry->mt_fs_root.ops = op_table;                         
                                                                      
    return rc;                                                        
}                                                                     
ffc134b8:	80 01 00 4c 	lwz     r0,76(r1)                              
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
    temp_mt_entry->mt_fs_root.ops = op_table;                         
ffc134bc:	93 7e 00 28 	stw     r27,40(r30)                            
                                                                      
    return rc;                                                        
}                                                                     
ffc134c0:	7c 08 03 a6 	mtlr    r0                                     
ffc134c4:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc134c8:	83 41 00 30 	lwz     r26,48(r1)                             
ffc134cc:	83 61 00 34 	lwz     r27,52(r1)                             
ffc134d0:	83 81 00 38 	lwz     r28,56(r1)                             
ffc134d4:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc134d8:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc134dc:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc134e0:	38 21 00 48 	addi    r1,r1,72                               
ffc134e4:	4e 80 00 20 	blr                                            
    fat_dir_pos_init(&root_pos);                                      
    root_pos.sname.cln = FAT_ROOTDIR_CLUSTER_NUM;                     
    rc = fat_file_open(temp_mt_entry, &root_pos, &fat_fd);            
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_shutdown_drive(temp_mt_entry);                            
ffc134e8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc134ec:	48 00 56 99 	bl      ffc18b84 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc134f0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc134f4:	4b ff 4f ed 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
    temp_mt_entry->mt_fs_root.ops = op_table;                         
                                                                      
    return rc;                                                        
}                                                                     
ffc134f8:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc134fc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc13500:	83 21 00 2c 	lwz     r25,44(r1)                             <== NOT EXECUTED
ffc13504:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc13508:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc1350c:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc13510:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc13514:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc13518:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc1351c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc13520:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc13524:	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) ?
ffc13528:	7c 03 03 78 	mr      r3,r0                                  
ffc1352c:	4b ff ff 48 	b       ffc13474 <msdos_initialize_support+0xdc>
                      fs_info->fat.vol.bpc                                :
                      fs_info->fat.vol.rdir_size;                     
    }                                                                 
    else                                                              
    {                                                                 
        rc = fat_file_size(temp_mt_entry, fat_fd);                    
ffc13530:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc13534:	48 00 4b 49 	bl      ffc1807c <fat_file_size>               <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc13538:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc1353c:	40 82 00 0c 	bne-    ffc13548 <msdos_initialize_support+0x1b0><== NOT EXECUTED
            fat_file_close(temp_mt_entry, fat_fd);                    
            fat_shutdown_drive(temp_mt_entry);                        
            free(fs_info);                                            
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
ffc13540:	a0 7f 00 06 	lhz     r3,6(r31)                              <== NOT EXECUTED
ffc13544:	4b ff ff 30 	b       ffc13474 <msdos_initialize_support+0xdc><== NOT EXECUTED
    else                                                              
    {                                                                 
        rc = fat_file_size(temp_mt_entry, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(temp_mt_entry, fat_fd);                    
ffc13548:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1354c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
            fat_shutdown_drive(temp_mt_entry);                        
            free(fs_info);                                            
            return rc;                                                
ffc13550:	7f 5d d3 78 	mr      r29,r26                                <== NOT EXECUTED
    else                                                              
    {                                                                 
        rc = fat_file_size(temp_mt_entry, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(temp_mt_entry, fat_fd);                    
ffc13554:	48 00 42 05 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
            fat_shutdown_drive(temp_mt_entry);                        
ffc13558:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1355c:	48 00 56 29 	bl      ffc18b84 <fat_shutdown_drive>          <== NOT EXECUTED
            free(fs_info);                                            
ffc13560:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc13564:	4b ff 4f 7d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
            return rc;                                                
ffc13568:	4b ff ff 90 	b       ffc134f8 <msdos_initialize_support+0x160><== NOT EXECUTED
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
    if (fs_info->cl_buf == NULL)                                      
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
ffc1356c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc13570:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc13574:	48 00 41 e5 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
ffc13578:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1357c:	48 00 56 09 	bl      ffc18b84 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc13580:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc13584:	4b ff 4f 5d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
ffc13588:	48 00 fa 59 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc1358c:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc13590:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc13594:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc13598:	4b ff ff 60 	b       ffc134f8 <msdos_initialize_support+0x160><== NOT EXECUTED
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
ffc1359c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc135a0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc135a4:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
ffc135a8:	48 00 41 b1 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
ffc135ac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc135b0:	48 00 55 d5 	bl      ffc18b84 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info->cl_buf);                                        
ffc135b4:	80 7f 00 9c 	lwz     r3,156(r31)                            <== NOT EXECUTED
ffc135b8:	4b ff 4f 29 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        free(fs_info);                                                
ffc135bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc135c0:	4b ff 4f 21 	bl      ffc084e0 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc135c4:	48 00 fa 1d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc135c8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc135cc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc135d0:	4b ff ff 28 	b       ffc134f8 <msdos_initialize_support+0x160><== NOT EXECUTED
                                                                      

ffc1ecc8 <msdos_is_valid_name_char>: * MSDOS_NAME_LONG - Valid in a long name only. * */ static msdos_name_type_t msdos_is_valid_name_char(const char ch) {
ffc1ecc8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1eccc:	7c 08 02 a6 	mflr    r0                                     
ffc1ecd0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1ecd4:	7c 7f 1b 78 	mr      r31,r3                                 
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc1ecd8:	3c 60 ff c3 	lis     r3,-61                                 
ffc1ecdc:	38 63 41 54 	addi    r3,r3,16724                            
 *     MSDOS_NAME_LONG    - Valid in a long name only.                
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
ffc1ece0:	90 01 00 14 	stw     r0,20(r1)                              
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc1ece4:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ece8:	48 00 56 c9 	bl      ffc243b0 <strchr>                      
ffc1ecec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        return MSDOS_NAME_LONG;                                       
ffc1ecf0:	38 60 00 02 	li      r3,2                                   
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc1ecf4:	41 9e 00 18 	beq-    cr7,ffc1ed0c <msdos_is_valid_name_char+0x44><== ALWAYS TAKEN
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
        return MSDOS_NAME_SHORT;                                      
                                                                      
    return MSDOS_NAME_INVALID;                                        
}                                                                     
ffc1ecf8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1ecfc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1ed00:	38 21 00 10 	addi    r1,r1,16                               
ffc1ed04:	7c 08 03 a6 	mtlr    r0                                     
ffc1ed08:	4e 80 00 20 	blr                                            
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1ed0c:	2f 9f 00 2e 	cmpwi   cr7,r31,46                             
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
        return MSDOS_NAME_SHORT;                                      
ffc1ed10:	38 60 00 01 	li      r3,1                                   
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1ed14:	41 be ff e4 	beq-    cr7,ffc1ecf8 <msdos_is_valid_name_char+0x30>
ffc1ed18:	3d 20 00 00 	lis     r9,0                                   
ffc1ed1c:	81 29 27 ac 	lwz     r9,10156(r9)                           
ffc1ed20:	7d 29 fa 14 	add     r9,r9,r31                              
ffc1ed24:	88 09 00 01 	lbz     r0,1(r9)                               
ffc1ed28:	70 09 00 07 	andi.   r9,r0,7                                
ffc1ed2c:	40 a2 ff cc 	bne-    ffc1ecf8 <msdos_is_valid_name_char+0x30>
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
ffc1ed30:	3c 60 ff c3 	lis     r3,-61                                 
ffc1ed34:	38 63 41 5c 	addi    r3,r3,16732                            
ffc1ed38:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ed3c:	48 00 56 75 	bl      ffc243b0 <strchr>                      
        return MSDOS_NAME_SHORT;                                      
ffc1ed40:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc1ed44:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc1ed48:	68 63 00 01 	xori    r3,r3,1                                
ffc1ed4c:	4b ff ff ac 	b       ffc1ecf8 <msdos_is_valid_name_char+0x30>
                                                                      

ffc1ed50 <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) {
ffc1ed50:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1ed54:	7c 08 02 a6 	mflr    r0                                     
ffc1ed58:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1ed5c:	7c bd 2b 78 	mr      r29,r5                                 
ffc1ed60:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1ed64:	7c 9e 23 78 	mr      r30,r4                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1ed68:	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)
{                                                                     
ffc1ed6c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1ed70:	7c 7f 1b 78 	mr      r31,r3                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1ed74:	7c a3 2b 78 	mr      r3,r5                                  
ffc1ed78:	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)
{                                                                     
ffc1ed7c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1ed80:	90 01 00 34 	stw     r0,52(r1)                              
ffc1ed84:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc1ed88:	93 01 00 10 	stw     r24,16(r1)                             
ffc1ed8c:	93 21 00 14 	stw     r25,20(r1)                             
ffc1ed90:	93 41 00 18 	stw     r26,24(r1)                             
ffc1ed94:	93 81 00 20 	stw     r28,32(r1)                             
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1ed98:	48 00 51 61 	bl      ffc23ef8 <memset>                      
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
ffc1ed9c:	8b 7f 00 00 	lbz     r27,0(r31)                             
ffc1eda0:	2f 9b 00 2e 	cmpwi   cr7,r27,46                             
ffc1eda4:	41 9e 01 ac 	beq-    cr7,ffc1ef50 <msdos_long_to_short+0x200>
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1eda8:	2c 9e 00 00 	cmpwi   cr1,r30,0                              
ffc1edac:	7f c9 03 a6 	mtctr   r30                                    
ffc1edb0:	39 20 00 00 	li      r9,0                                   
ffc1edb4:	40 85 00 5c 	ble-    cr1,ffc1ee10 <msdos_long_to_short+0xc0><== NEVER TAKEN
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc1edb8:	7c 1f 48 ae 	lbzx    r0,r31,r9                              
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1edbc:	39 29 00 01 	addi    r9,r9,1                                
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc1edc0:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc1edc4:	2f 00 00 2e 	cmpwi   cr6,r0,46                              
ffc1edc8:	41 9e 00 08 	beq-    cr7,ffc1edd0 <msdos_long_to_short+0x80><== NEVER TAKEN
ffc1edcc:	40 9a 00 48 	bne-    cr6,ffc1ee14 <msdos_long_to_short+0xc4><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1edd0:	42 00 ff e8 	bdnz+   ffc1edb8 <msdos_long_to_short+0x68>    <== NOT EXECUTED
    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;                                    
ffc1edd4:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
}                                                                     
ffc1edd8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1eddc:	7f 83 e3 78 	mr      r3,r28                                 
ffc1ede0:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc1ede4:	7c 08 03 a6 	mtlr    r0                                     
ffc1ede8:	83 01 00 10 	lwz     r24,16(r1)                             
ffc1edec:	83 21 00 14 	lwz     r25,20(r1)                             
ffc1edf0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc1edf4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1edf8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1edfc:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1ee00:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1ee04:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1ee08:	38 21 00 30 	addi    r1,r1,48                               
ffc1ee0c:	4e 80 00 20 	blr                                            
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
            break;                                                    
                                                                      
    if (i == lfn_len)                                                 
ffc1ee10:	41 a6 ff c4 	beq-    cr1,ffc1edd4 <msdos_long_to_short+0x84><== NOT EXECUTED
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1ee14:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1ee18:	41 9e 01 64 	beq-    cr7,ffc1ef7c <msdos_long_to_short+0x22c><== NEVER TAKEN
ffc1ee1c:	40 85 01 60 	ble-    cr1,ffc1ef7c <msdos_long_to_short+0x22c><== NEVER TAKEN
ffc1ee20:	3b 00 00 00 	li      r24,0                                  
ffc1ee24:	3a e0 00 00 	li      r23,0                                  
ffc1ee28:	3b 40 00 00 	li      r26,0                                  
ffc1ee2c:	3b 20 ff ff 	li      r25,-1                                 
ffc1ee30:	48 00 00 58 	b       ffc1ee88 <msdos_long_to_short+0x138>   
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
        {                                                             
            if (is_dot || ((count - dot_at) > 3))                     
ffc1ee34:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1ee38:	40 9e 01 4c 	bne-    cr7,ffc1ef84 <msdos_long_to_short+0x234><== NOT EXECUTED
ffc1ee3c:	7c 19 d0 50 	subf    r0,r25,r26                             <== NOT EXECUTED
ffc1ee40:	2f 80 00 03 	cmpwi   cr7,r0,3                               <== NOT EXECUTED
ffc1ee44:	41 9d 01 40 	bgt-    cr7,ffc1ef84 <msdos_long_to_short+0x234><== NOT EXECUTED
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
ffc1ee48:	38 1b ff bf 	addi    r0,r27,-65                             
ffc1ee4c:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc1ee50:	2b 80 00 19 	cmplwi  cr7,r0,25                              
ffc1ee54:	40 9d 00 e4 	ble-    cr7,ffc1ef38 <msdos_long_to_short+0x1e8><== NEVER TAKEN
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
ffc1ee58:	3b 7b ff 9f 	addi    r27,r27,-97                            
ffc1ee5c:	57 7b 06 3e 	clrlwi  r27,r27,24                             
ffc1ee60:	2b 9b 00 19 	cmplwi  cr7,r27,25                             
ffc1ee64:	41 9d 00 08 	bgt-    cr7,ffc1ee6c <msdos_long_to_short+0x11c>
            lowercase = true;                                         
ffc1ee68:	3a e0 00 01 	li      r23,1                                  
 *     true the name is long, else the name is 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)
ffc1ee6c:	7d 3f d2 14 	add     r9,r31,r26                             
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1ee70:	8b 69 00 01 	lbz     r27,1(r9)                              
ffc1ee74:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1ee78:	41 9e 00 60 	beq-    cr7,ffc1eed8 <msdos_long_to_short+0x188>
        else if ((*name >= 'A') && (*name <= 'Z'))                    
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
            lowercase = true;                                         
                                                                      
        count++;                                                      
ffc1ee7c:	3b 5a 00 01 	addi    r26,r26,1                              
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1ee80:	7f 9a f0 00 	cmpw    cr7,r26,r30                            
ffc1ee84:	41 9e 00 54 	beq-    cr7,ffc1eed8 <msdos_long_to_short+0x188>
    {                                                                 
        bool is_dot = *name == '.';                                   
        msdos_name_type_t type = msdos_is_valid_name_char(*name);     
ffc1ee88:	7f 63 db 78 	mr      r3,r27                                 
ffc1ee8c:	4b ff fe 3d 	bl      ffc1ecc8 <msdos_is_valid_name_char>    
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
        printf ("MSDOS_NAME_TYPE: c:%02x type:%d\n", *name, type);    
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
ffc1ee90:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1ee94:	41 a2 ff 44 	beq-    ffc1edd8 <msdos_long_to_short+0x88>    
ffc1ee98:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc1ee9c:	41 9e 00 54 	beq-    cr7,ffc1eef0 <msdos_long_to_short+0x1a0><== NEVER TAKEN
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc1eea0:	2f 99 ff ff 	cmpwi   cr7,r25,-1                             
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
ffc1eea4:	6b 60 00 2e 	xori    r0,r27,46                              
ffc1eea8:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc1eeac:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc1eeb0:	40 9e ff 84 	bne+    cr7,ffc1ee34 <msdos_long_to_short+0xe4><== NEVER TAKEN
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
ffc1eeb4:	2f 9a 00 08 	cmpwi   cr7,r26,8                              
ffc1eeb8:	41 9e 00 88 	beq-    cr7,ffc1ef40 <msdos_long_to_short+0x1f0>
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
ffc1eebc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1eec0:	41 be ff 88 	beq-    cr7,ffc1ee48 <msdos_long_to_short+0xf8><== ALWAYS TAKEN
 *     true the name is long, else the name is 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)
ffc1eec4:	7d 3f d2 14 	add     r9,r31,r26                             <== NOT EXECUTED
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1eec8:	8b 69 00 01 	lbz     r27,1(r9)                              <== NOT EXECUTED
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
ffc1eecc:	7f 59 d3 78 	mr      r25,r26                                <== NOT EXECUTED
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1eed0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc1eed4:	40 9e ff a8 	bne+    cr7,ffc1ee7c <msdos_long_to_short+0x12c><== NOT EXECUTED
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1eed8:	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;                                          
ffc1eedc:	3b 80 00 01 	li      r28,1                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1eee0:	41 9e 00 10 	beq-    cr7,ffc1eef0 <msdos_long_to_short+0x1a0><== NEVER TAKEN
ffc1eee4:	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;                                       
ffc1eee8:	3b 80 00 02 	li      r28,2                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1eeec:	41 9e 00 90 	beq-    cr7,ffc1ef7c <msdos_long_to_short+0x22c><== ALWAYS TAKEN
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
ffc1eef0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eef4:	7f c4 f3 78 	mr      r4,r30                                 
ffc1eef8:	7f a5 eb 78 	mr      r5,r29                                 
ffc1eefc:	48 00 34 79 	bl      ffc22374 <msdos_filename_unix2dos>     
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
}                                                                     
ffc1ef00:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1ef04:	7f 83 e3 78 	mr      r3,r28                                 
ffc1ef08:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc1ef0c:	7c 08 03 a6 	mtlr    r0                                     
ffc1ef10:	83 01 00 10 	lwz     r24,16(r1)                             
ffc1ef14:	83 21 00 14 	lwz     r25,20(r1)                             
ffc1ef18:	83 41 00 18 	lwz     r26,24(r1)                             
ffc1ef1c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1ef20:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1ef24:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1ef28:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1ef2c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1ef30:	38 21 00 30 	addi    r1,r1,48                               
ffc1ef34:	4e 80 00 20 	blr                                            
        }                                                             
                                                                      
        if (is_dot)                                                   
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
            uppercase = true;                                         
ffc1ef38:	3b 00 00 01 	li      r24,1                                  <== NOT EXECUTED
ffc1ef3c:	4b ff ff 30 	b       ffc1ee6c <msdos_long_to_short+0x11c>   <== NOT EXECUTED
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
ffc1ef40:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ef44:	41 9e 00 40 	beq-    cr7,ffc1ef84 <msdos_long_to_short+0x234><== ALWAYS TAKEN
ffc1ef48:	3b 20 00 08 	li      r25,8                                  <== NOT EXECUTED
ffc1ef4c:	4b ff ff 20 	b       ffc1ee6c <msdos_long_to_short+0x11c>   <== NOT EXECUTED
    memset (sfn, ' ', sfn_len);                                       
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
ffc1ef50:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc1ef54:	41 9e 00 48 	beq-    cr7,ffc1ef9c <msdos_long_to_short+0x24c><== NEVER TAKEN
        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))         
ffc1ef58:	88 1f 00 01 	lbz     r0,1(r31)                              
ffc1ef5c:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1ef60:	40 9e fe 48 	bne+    cr7,ffc1eda8 <msdos_long_to_short+0x58><== NEVER TAKEN
ffc1ef64:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc1ef68:	40 9e fe 40 	bne+    cr7,ffc1eda8 <msdos_long_to_short+0x58><== NEVER TAKEN
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
ffc1ef6c:	98 1d 00 01 	stb     r0,1(r29)                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1ef70:	3b 80 00 01 	li      r28,1                                  
        return MSDOS_NAME_SHORT;                                      
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
ffc1ef74:	98 1d 00 00 	stb     r0,0(r29)                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1ef78:	4b ff fe 60 	b       ffc1edd8 <msdos_long_to_short+0x88>    
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
ffc1ef7c:	3b 80 00 01 	li      r28,1                                  
ffc1ef80:	4b ff ff 70 	b       ffc1eef0 <msdos_long_to_short+0x1a0>   
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
ffc1ef84:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ef88:	7f c4 f3 78 	mr      r4,r30                                 
ffc1ef8c:	7f a5 eb 78 	mr      r5,r29                                 
            {                                                         
#if MSDOS_NAME_TYPE_PRINT                                             
                printf ("MSDOS_NAME_TYPE: LONG[2]: is_dot:%d, at:%d cnt\n",
                        is_dot, dot_at, count);                       
#endif                                                                
                return MSDOS_NAME_LONG;                               
ffc1ef90:	3b 80 00 02 	li      r28,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);                      
ffc1ef94:	48 00 33 e1 	bl      ffc22374 <msdos_filename_unix2dos>     
ffc1ef98:	4b ff ff 68 	b       ffc1ef00 <msdos_long_to_short+0x1b0>   
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
    {                                                                 
        sfn[0] = '.';                                                 
ffc1ef9c:	9b 7d 00 00 	stb     r27,0(r29)                             <== NOT EXECUTED
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[1]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1efa0:	3b 80 00 01 	li      r28,1                                  <== NOT EXECUTED
ffc1efa4:	4b ff fe 34 	b       ffc1edd8 <msdos_long_to_short+0x88>    <== NOT EXECUTED
                                                                      

ffc135d4 <msdos_mknod>: const char *name, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc135d4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc135d8:	7c 08 02 a6 	mflr    r0                                     
ffc135dc:	90 01 00 24 	stw     r0,36(r1)                              
    msdos_token_types_t  type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
ffc135e0:	54 80 04 26 	rlwinm  r0,r4,0,16,19                          
ffc135e4:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
    rtems_filesystem_location_info_t  *pathloc                        
)                                                                     
{                                                                     
    int                  rc = RC_OK;                                  
    rtems_status_code    sc = RTEMS_SUCCESSFUL;                       
    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;        
ffc135e8:	81 27 00 10 	lwz     r9,16(r7)                              
    const char                        *name,                          
    mode_t                             mode,                          
    dev_t                              dev,                           
    rtems_filesystem_location_info_t  *pathloc                        
)                                                                     
{                                                                     
ffc135ec:	93 81 00 10 	stw     r28,16(r1)                             
ffc135f0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc135f4:	93 a1 00 14 	stw     r29,20(r1)                             
ffc135f8:	7c fd 3b 78 	mr      r29,r7                                 
ffc135fc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc13600:	7c 9e 23 78 	mr      r30,r4                                 
ffc13604:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc13608:	93 61 00 0c 	stw     r27,12(r1)                             
    int                  rc = RC_OK;                                  
    rtems_status_code    sc = RTEMS_SUCCESSFUL;                       
    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;        
ffc1360c:	83 e9 00 34 	lwz     r31,52(r9)                             
    msdos_token_types_t  type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
ffc13610:	41 9e 00 88 	beq-    cr7,ffc13698 <msdos_mknod+0xc4>        
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc13614:	39 20 00 00 	li      r9,0                                   
ffc13618:	61 29 80 00 	ori     r9,r9,32768                            
ffc1361c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
ffc13620:	3b 60 00 05 	li      r27,5                                  
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc13624:	40 9e 00 90 	bne-    cr7,ffc136b4 <msdos_mknod+0xe0>        <== NEVER TAKEN
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc13628:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc1362c:	38 80 00 00 	li      r4,0                                   
ffc13630:	38 a0 00 00 	li      r5,0                                   
ffc13634:	4b ff a1 59 	bl      ffc0d78c <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc13638:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1363c:	40 9e 00 64 	bne-    cr7,ffc136a0 <msdos_mknod+0xcc>        <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(pathloc, type, name, strlen(name), mode, NULL);
ffc13640:	7f 83 e3 78 	mr      r3,r28                                 
ffc13644:	48 01 15 19 	bl      ffc24b5c <strlen>                      
ffc13648:	7f c7 f3 78 	mr      r7,r30                                 
ffc1364c:	7c 66 1b 78 	mr      r6,r3                                  
ffc13650:	7f 64 db 78 	mr      r4,r27                                 
ffc13654:	7f a3 eb 78 	mr      r3,r29                                 
ffc13658:	7f 85 e3 78 	mr      r5,r28                                 
ffc1365c:	39 00 00 00 	li      r8,0                                   
ffc13660:	48 00 a2 49 	bl      ffc1d8a8 <msdos_creat_node>            
ffc13664:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc13668:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc1366c:	4b ff a2 ad 	bl      ffc0d918 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc13670:	80 01 00 24 	lwz     r0,36(r1)                              
ffc13674:	7f c3 f3 78 	mr      r3,r30                                 
ffc13678:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1367c:	7c 08 03 a6 	mtlr    r0                                     
ffc13680:	83 81 00 10 	lwz     r28,16(r1)                             
ffc13684:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc13688:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1368c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc13690:	38 21 00 20 	addi    r1,r1,32                               
ffc13694:	4e 80 00 20 	blr                                            
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
ffc13698:	3b 60 00 01 	li      r27,1                                  
ffc1369c:	4b ff ff 8c 	b       ffc13628 <msdos_mknod+0x54>            
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    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);                    
ffc136a0:	48 00 f9 41 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc136a4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc136a8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc136ac:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc136b0:	4b ff ff c0 	b       ffc13670 <msdos_mknod+0x9c>            <== NOT EXECUTED
    else if (S_ISREG(mode))                                           
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
ffc136b4:	48 00 f9 2d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc136b8:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc136bc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc136c0:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc136c4:	4b ff ff ac 	b       ffc13670 <msdos_mknod+0x9c>            <== NOT EXECUTED
                                                                      

ffc136d4 <msdos_rename>: int msdos_rename(rtems_filesystem_location_info_t *old_parent_loc, rtems_filesystem_location_info_t *old_loc, rtems_filesystem_location_info_t *new_parent_loc, const char *new_name) {
ffc136d4:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc136d8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    int                len;                                           
                                                                      
    /*                                                                
     * check spelling and format new node name                        
     */                                                               
    if (MSDOS_NAME != msdos_get_token(new_name, strlen(new_name), &token, &len)) {
ffc136dc:	7c c3 33 78 	mr      r3,r6                                  <== NOT EXECUTED
int                                                                   
msdos_rename(rtems_filesystem_location_info_t  *old_parent_loc,       
             rtems_filesystem_location_info_t  *old_loc,              
             rtems_filesystem_location_info_t  *new_parent_loc,       
             const char                        *new_name)             
{                                                                     
ffc136e0:	90 01 00 34 	stw     r0,52(r1)                              <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info     = new_parent_loc->mt_entry->fs_info;
ffc136e4:	81 25 00 10 	lwz     r9,16(r5)                              <== NOT EXECUTED
int                                                                   
msdos_rename(rtems_filesystem_location_info_t  *old_parent_loc,       
             rtems_filesystem_location_info_t  *old_loc,              
             rtems_filesystem_location_info_t  *new_parent_loc,       
             const char                        *new_name)             
{                                                                     
ffc136e8:	93 61 00 1c 	stw     r27,28(r1)                             <== NOT EXECUTED
ffc136ec:	7c bb 2b 78 	mr      r27,r5                                 <== NOT EXECUTED
ffc136f0:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc136f4:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
ffc136f8:	93 a1 00 24 	stw     r29,36(r1)                             <== NOT EXECUTED
ffc136fc:	93 c1 00 28 	stw     r30,40(r1)                             <== NOT EXECUTED
ffc13700:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info     = new_parent_loc->mt_entry->fs_info;
    fat_file_fd_t     *old_fat_fd  = old_loc->node_access;            
ffc13704:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
int                                                                   
msdos_rename(rtems_filesystem_location_info_t  *old_parent_loc,       
             rtems_filesystem_location_info_t  *old_loc,              
             rtems_filesystem_location_info_t  *new_parent_loc,       
             const char                        *new_name)             
{                                                                     
ffc13708:	93 e1 00 2c 	stw     r31,44(r1)                             <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info     = new_parent_loc->mt_entry->fs_info;
ffc1370c:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
    int                len;                                           
                                                                      
    /*                                                                
     * check spelling and format new node name                        
     */                                                               
    if (MSDOS_NAME != msdos_get_token(new_name, strlen(new_name), &token, &len)) {
ffc13710:	48 01 14 4d 	bl      ffc24b5c <strlen>                      <== NOT EXECUTED
ffc13714:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc13718:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc1371c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc13720:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc13724:	48 00 b8 85 	bl      ffc1efa8 <msdos_get_token>             <== NOT EXECUTED
ffc13728:	2f 83 00 03 	cmpwi   cr7,r3,3                               <== NOT EXECUTED
ffc1372c:	40 9e 00 88 	bne-    cr7,ffc137b4 <msdos_rename+0xe0>       <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one(ENAMETOOLONG);             
    }                                                                 
    /*                                                                
     * lock volume                                                    
     */                                                               
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc13730:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc13734:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc13738:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1373c:	4b ff a0 51 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc13740:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13744:	40 9e 00 84 	bne-    cr7,ffc137c8 <msdos_rename+0xf4>       <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc13748:	80 c1 00 08 	lwz     r6,8(r1)                               <== NOT EXECUTED
ffc1374c:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc13750:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc13754:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc13758:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc1375c:	60 e7 80 00 	ori     r7,r7,32768                            <== NOT EXECUTED
ffc13760:	7f a8 eb 78 	mr      r8,r29                                 <== NOT EXECUTED
ffc13764:	48 00 a1 45 	bl      ffc1d8a8 <msdos_creat_node>            <== NOT EXECUTED
                          MSDOS_HARD_LINK,new_name,len,S_IFREG,       
                          old_fat_fd);                                
    if (rc != RC_OK)                                                  
ffc13768:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1376c:	40 82 00 18 	bne-    ffc13784 <msdos_rename+0xb0>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
ffc13770:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc13774:	38 9d 00 20 	addi    r4,r29,32                              <== NOT EXECUTED
ffc13778:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc1377c:	48 00 bc 85 	bl      ffc1f400 <msdos_set_first_char4file_name><== NOT EXECUTED
ffc13780:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
                                        &old_fat_fd->dir_pos,         
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc13784:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc13788:	4b ff a1 91 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1378c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc13790:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc13794:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc13798:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1379c:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc137a0:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc137a4:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc137a8:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc137ac:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc137b0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
    /*                                                                
     * check spelling and format new node name                        
     */                                                               
    if (MSDOS_NAME != msdos_get_token(new_name, strlen(new_name), &token, &len)) {
      rtems_set_errno_and_return_minus_one(ENAMETOOLONG);             
ffc137b4:	48 00 f8 2d 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc137b8:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc137bc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc137c0:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc137c4:	4b ff ff c8 	b       ffc1378c <msdos_rename+0xb8>           <== NOT EXECUTED
     * lock volume                                                    
     */                                                               
    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);                      
ffc137c8:	48 00 f8 19 	bl      ffc22fe0 <__errno>                     <== NOT EXECUTED
ffc137cc:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc137d0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc137d4:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc137d8:	4b ff ff b4 	b       ffc1378c <msdos_rename+0xb8>           <== NOT EXECUTED
                                                                      

ffc1f100 <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 ) {
ffc1f100:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1f104:	7c 08 02 a6 	mflr    r0                                     
ffc1f108:	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);             
ffc1f10c:	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                      
    )                                                                 
{                                                                     
ffc1f110:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1f114:	7c 7f 1b 78 	mr      r31,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);             
ffc1f118:	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                      
    )                                                                 
{                                                                     
ffc1f11c:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1f120:	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);             
ffc1f124:	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                      
    )                                                                 
{                                                                     
ffc1f128:	93 81 00 20 	stw     r28,32(r1)                             
ffc1f12c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1f130:	93 a1 00 24 	stw     r29,36(r1)                             
    ssize_t          ret1 = 0, ret2 = 0, ret3 = 0;                    
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1f134:	83 9f 00 34 	lwz     r28,52(r31)                            
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
ffc1f138:	48 00 2f bd 	bl      ffc220f4 <msdos_date_unix2dos>         
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
ffc1f13c:	81 7e 00 20 	lwz     r11,32(r30)                            
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc1f140:	81 3f 00 34 	lwz     r9,52(r31)                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f144:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1f148:	40 9e 00 10 	bne-    cr7,ffc1f158 <msdos_set_dir_wrt_time_and_date+0x58><== ALWAYS TAKEN
ffc1f14c:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc1f150:	70 0a 00 03 	andi.   r10,r0,3                               <== NOT EXECUTED
ffc1f154:	40 82 00 ec 	bne-    ffc1f240 <msdos_set_dir_wrt_time_and_date+0x140><== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1f158:	89 49 00 05 	lbz     r10,5(r9)                              
ffc1f15c:	3b ab ff fe 	addi    r29,r11,-2                             
ffc1f160:	80 09 00 30 	lwz     r0,48(r9)                              
ffc1f164:	7f bd 50 30 	slw     r29,r29,r10                            
ffc1f168:	7f bd 02 14 	add     r29,r29,r0                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f16c:	80 1e 00 24 	lwz     r0,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_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f170:	38 c0 00 02 	li      r6,2                                   
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f174:	a3 dc 00 00 	lhz     r30,0(r28)                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f178:	38 e1 00 0a 	addi    r7,r1,10                               
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f17c:	89 5c 00 02 	lbz     r10,2(r28)                             
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f180:	7f e3 fb 78 	mr      r3,r31                                 
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
ffc1f184:	a1 21 00 0a 	lhz     r9,10(r1)                              
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f188:	3b de ff ff 	addi    r30,r30,-1                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f18c:	7c 0a 54 30 	srw     r10,r0,r10                             
ffc1f190:	7f bd 52 14 	add     r29,r29,r10                            
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f194:	7f de 00 38 	and     r30,r30,r0                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
ffc1f198:	55 20 40 2e 	rlwinm  r0,r9,8,0,23                           
ffc1f19c:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1f1a0:	7c 00 4b 78 	or      r0,r0,r9                               
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f1a4:	7f a4 eb 78 	mr      r4,r29                                 
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
ffc1f1a8:	b0 01 00 0a 	sth     r0,10(r1)                              
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f1ac:	38 be 00 16 	addi    r5,r30,22                              
ffc1f1b0:	4b ff 94 ad 	bl      ffc1865c <_fat_block_write>            
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1f1b4:	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_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1f1b8:	7c 7c 1b 78 	mr      r28,r3                                 
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1f1bc:	55 20 40 2e 	rlwinm  r0,r9,8,0,23                           
ffc1f1c0:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1f1c4:	7c 00 4b 78 	or      r0,r0,r9                               
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1f1c8:	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_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1f1cc:	b0 01 00 08 	sth     r0,8(r1)                               
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1f1d0:	38 c0 00 02 	li      r6,2                                   
ffc1f1d4:	38 e1 00 08 	addi    r7,r1,8                                
ffc1f1d8:	7f a4 eb 78 	mr      r4,r29                                 
ffc1f1dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f1e0:	4b ff 94 7d 	bl      ffc1865c <_fat_block_write>            
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1f1e4:	7f a4 eb 78 	mr      r4,r29                                 
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1f1e8:	7c 7b 1b 78 	mr      r27,r3                                 
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1f1ec:	38 be 00 12 	addi    r5,r30,18                              
ffc1f1f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f1f4:	38 c0 00 02 	li      r6,2                                   
ffc1f1f8:	38 e1 00 08 	addi    r7,r1,8                                
ffc1f1fc:	4b ff 94 61 	bl      ffc1865c <_fat_block_write>            
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
ffc1f200:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
        return -1;                                                    
ffc1f204:	38 00 ff ff 	li      r0,-1                                  
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
ffc1f208:	41 9c 00 10 	blt-    cr7,ffc1f218 <msdos_set_dir_wrt_time_and_date+0x118><== NEVER TAKEN
ffc1f20c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1f210:	41 9c 00 08 	blt-    cr7,ffc1f218 <msdos_set_dir_wrt_time_and_date+0x118><== NEVER TAKEN
        return -1;                                                    
ffc1f214:	7c 60 fe 70 	srawi   r0,r3,31                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1f218:	7c 03 03 78 	mr      r3,r0                                  
ffc1f21c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1f220:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1f224:	7c 08 03 a6 	mtlr    r0                                     
ffc1f228:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1f22c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1f230:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1f234:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1f238:	38 21 00 30 	addi    r1,r1,48                               
ffc1f23c:	4e 80 00 20 	blr                                            
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc1f240:	83 a9 00 1c 	lwz     r29,28(r9)                             <== NOT EXECUTED
ffc1f244:	4b ff ff 28 	b       ffc1f16c <msdos_set_dir_wrt_time_and_date+0x6c><== NOT EXECUTED
                                                                      

ffc1f360 <msdos_set_file_size>: int msdos_set_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc1f360:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1f364:	7c 08 02 a6 	mflr    r0                                     
ffc1f368:	7c 89 23 78 	mr      r9,r4                                  
ffc1f36c:	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(mt_entry, fat_fd->dir_pos.sname.cln);
ffc1f370:	81 64 00 20 	lwz     r11,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;                     
ffc1f374:	81 43 00 34 	lwz     r10,52(r3)                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f378:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1f37c:	40 9e 00 10 	bne-    cr7,ffc1f38c <msdos_set_file_size+0x2c><== ALWAYS TAKEN
ffc1f380:	88 0a 00 0a 	lbz     r0,10(r10)                             <== NOT EXECUTED
ffc1f384:	70 08 00 03 	andi.   r8,r0,3                                <== NOT EXECUTED
ffc1f388:	40 82 00 70 	bne-    ffc1f3f8 <msdos_set_file_size+0x98>    <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1f38c:	89 0a 00 05 	lbz     r8,5(r10)                              
ffc1f390:	38 8b ff fe 	addi    r4,r11,-2                              
ffc1f394:	80 0a 00 30 	lwz     r0,48(r10)                             
ffc1f398:	7c 84 40 30 	slw     r4,r4,r8                               
ffc1f39c:	7c 84 02 14 	add     r4,r4,r0                               
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f3a0:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1f3a4:	89 6a 00 02 	lbz     r11,2(r10)                             
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
ffc1f3a8:	a0 aa 00 00 	lhz     r5,0(r10)                              
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f3ac:	7c 0a 5c 30 	srw     r10,r0,r11                             
ffc1f3b0:	81 29 00 18 	lwz     r9,24(r9)                              
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
ffc1f3b4:	38 a5 ff ff 	addi    r5,r5,-1                               
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f3b8:	7c 84 52 14 	add     r4,r4,r10                              
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
ffc1f3bc:	7c a5 00 38 	and     r5,r5,r0                               
ffc1f3c0:	51 20 46 3e 	rlwimi  r0,r9,8,24,31                          
ffc1f3c4:	51 20 c4 2e 	rlwimi  r0,r9,24,16,23                         
ffc1f3c8:	51 20 42 1e 	rlwimi  r0,r9,8,8,15                           
ffc1f3cc:	51 20 c0 0e 	rlwimi  r0,r9,24,0,7                           
                                                                      
    le_new_length = CT_LE_L((fat_fd->fat_file_size));                 
ffc1f3d0:	7c 27 0b 78 	mr      r7,r1                                  
ffc1f3d4:	94 07 00 08 	stwu    r0,8(r7)                               
    ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_SIZE_OFFSET, 4,
ffc1f3d8:	38 a5 00 1c 	addi    r5,r5,28                               
ffc1f3dc:	38 c0 00 04 	li      r6,4                                   
ffc1f3e0:	4b ff 92 7d 	bl      ffc1865c <_fat_block_write>            
                           (char *)(&le_new_length));                 
    if ( ret < 0 )                                                    
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1f3e4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1f3e8:	7c 63 fe 70 	srawi   r3,r3,31                               
ffc1f3ec:	7c 08 03 a6 	mtlr    r0                                     
ffc1f3f0:	38 21 00 18 	addi    r1,r1,24                               
ffc1f3f4:	4e 80 00 20 	blr                                            
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc1f3f8:	80 8a 00 1c 	lwz     r4,28(r10)                             <== NOT EXECUTED
ffc1f3fc:	4b ff ff a4 	b       ffc1f3a0 <msdos_set_file_size+0x40>    <== NOT EXECUTED
                                                                      

ffc1f400 <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 ) {
ffc1f400:	94 21 ff c8 	stwu    r1,-56(r1)                             <== NOT EXECUTED
ffc1f404:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f408:	90 01 00 3c 	stw     r0,60(r1)                              <== NOT EXECUTED
ffc1f40c:	93 e1 00 34 	stw     r31,52(r1)                             <== NOT EXECUTED
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1f410:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
ffc1f414:	93 a1 00 2c 	stw     r29,44(r1)                             <== NOT EXECUTED
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1f418:	80 1f 00 38 	lwz     r0,56(r31)                             <== NOT EXECUTED
{                                                                     
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
ffc1f41c:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
    )                                                                 
{                                                                     
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
ffc1f420:	81 44 00 08 	lwz     r10,8(r4)                              <== NOT EXECUTED
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1f424:	7f 80 e8 00 	cmpw    cr7,r0,r29                             <== NOT EXECUTED
    )                                                                 
{                                                                     
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
ffc1f428:	81 64 00 0c 	lwz     r11,12(r4)                             <== NOT EXECUTED
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
ffc1f42c:	93 61 00 24 	stw     r27,36(r1)                             <== NOT EXECUTED
ffc1f430:	93 c1 00 30 	stw     r30,48(r1)                             <== NOT EXECUTED
ffc1f434:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc1f438:	93 81 00 28 	stw     r28,40(r1)                             <== NOT EXECUTED
ffc1f43c:	98 a1 00 18 	stb     r5,24(r1)                              <== NOT EXECUTED
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
ffc1f440:	91 41 00 08 	stw     r10,8(r1)                              <== NOT EXECUTED
ffc1f444:	91 61 00 0c 	stw     r11,12(r1)                             <== NOT EXECUTED
    fat_pos_t        end = dir_pos->sname;                            
ffc1f448:	83 64 00 04 	lwz     r27,4(r4)                              <== NOT EXECUTED
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1f44c:	41 9e 01 70 	beq-    cr7,ffc1f5bc <msdos_set_first_char4file_name+0x1bc><== NOT EXECUTED
        (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)                    
ffc1f450:	80 04 00 08 	lwz     r0,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;                          
ffc1f454:	a3 9f 00 06 	lhz     r28,6(r31)                             <== NOT EXECUTED
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
ffc1f458:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1f45c:	41 9e 01 7c 	beq-    cr7,ffc1f5d8 <msdos_set_first_char4file_name+0x1d8><== NOT EXECUTED
      start = dir_pos->sname;                                         
ffc1f460:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
ffc1f464:	7f eb fb 78 	mr      r11,r31                                <== NOT EXECUTED
      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)                    
      start = dir_pos->sname;                                         
ffc1f468:	88 1f 00 02 	lbz     r0,2(r31)                              <== NOT EXECUTED
ffc1f46c:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc1f470:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1f474:	48 00 00 68 	b       ffc1f4dc <msdos_set_first_char4file_name+0xdc><== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f478:	89 4b 00 0a 	lbz     r10,10(r11)                            <== NOT EXECUTED
ffc1f47c:	71 48 00 03 	andi.   r8,r10,3                               <== NOT EXECUTED
ffc1f480:	41 82 00 68 	beq-    ffc1f4e8 <msdos_set_first_char4file_name+0xe8><== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc1f484:	80 8b 00 1c 	lwz     r4,28(r11)                             <== NOT EXECUTED
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
ffc1f488:	7d 20 04 30 	srw     r0,r9,r0                               <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
ffc1f48c:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
ffc1f490:	7c a5 48 38 	and     r5,r5,r9                               <== NOT EXECUTED
ffc1f494:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f498:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc1f49c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1f4a0:	38 e1 00 18 	addi    r7,r1,24                               <== NOT EXECUTED
ffc1f4a4:	4b ff 91 b9 	bl      ffc1865c <_fat_block_write>            <== NOT EXECUTED
                             &fchar);                                 
      if (ret < 0)                                                    
ffc1f4a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f4ac:	41 9c 00 74 	blt-    cr7,ffc1f520 <msdos_set_first_char4file_name+0x120><== NOT EXECUTED
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
ffc1f4b0:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1f4b4:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc1f4b8:	7f 84 e8 00 	cmpw    cr7,r4,r29                             <== NOT EXECUTED
ffc1f4bc:	41 9e 00 8c 	beq-    cr7,ffc1f548 <msdos_set_first_char4file_name+0x148><== NOT EXECUTED
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1f4c0:	39 29 00 20 	addi    r9,r9,32                               <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
ffc1f4c4:	7f 9c 48 40 	cmplw   cr7,r28,r9                             <== NOT EXECUTED
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1f4c8:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
ffc1f4cc:	40 9d 00 ac 	ble-    cr7,ffc1f578 <msdos_set_first_char4file_name+0x178><== NOT EXECUTED
ffc1f4d0:	81 7e 00 34 	lwz     r11,52(r30)                            <== NOT EXECUTED
ffc1f4d4:	88 1f 00 02 	lbz     r0,2(r31)                              <== NOT EXECUTED
ffc1f4d8:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f4dc:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1f4e0:	38 84 ff fe 	addi    r4,r4,-2                               <== NOT EXECUTED
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f4e4:	41 be ff 94 	beq-    cr7,ffc1f478 <msdos_set_first_char4file_name+0x78><== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1f4e8:	89 4b 00 05 	lbz     r10,5(r11)                             <== NOT EXECUTED
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
ffc1f4ec:	7d 20 04 30 	srw     r0,r9,r0                               <== NOT EXECUTED
ffc1f4f0:	81 6b 00 30 	lwz     r11,48(r11)                            <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
ffc1f4f4:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
ffc1f4f8:	7c 84 50 30 	slw     r4,r4,r10                              <== NOT EXECUTED
ffc1f4fc:	7c 84 5a 14 	add     r4,r4,r11                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
ffc1f500:	7c a5 48 38 	and     r5,r5,r9                               <== NOT EXECUTED
ffc1f504:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f508:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc1f50c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1f510:	38 e1 00 18 	addi    r7,r1,24                               <== NOT EXECUTED
ffc1f514:	4b ff 91 49 	bl      ffc1865c <_fat_block_write>            <== NOT EXECUTED
                             &fchar);                                 
      if (ret < 0)                                                    
ffc1f518:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f51c:	40 9c ff 94 	bge+    cr7,ffc1f4b0 <msdos_set_first_char4file_name+0xb0><== NOT EXECUTED
        return -1;                                                    
ffc1f520:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
ffc1f524:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc1f528:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc1f52c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f530:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc1f534:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc1f538:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc1f53c:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc1f540:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc1f544:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
                             &fchar);                                 
      if (ret < 0)                                                    
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
ffc1f548:	7f 89 d8 00 	cmpw    cr7,r9,r27                             <== NOT EXECUTED
ffc1f54c:	40 9e ff 74 	bne+    cr7,ffc1f4c0 <msdos_set_first_char4file_name+0xc0><== NOT EXECUTED
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
ffc1f550:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
ffc1f554:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1f558:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc1f55c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f560:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc1f564:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc1f568:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc1f56c:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc1f570:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc1f574:	4e 80 00 20 	blr                                            <== 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) &&                  
ffc1f578:	80 1f 00 38 	lwz     r0,56(r31)                             <== NOT EXECUTED
ffc1f57c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             <== NOT EXECUTED
ffc1f580:	40 9e 00 10 	bne-    cr7,ffc1f590 <msdos_set_first_char4file_name+0x190><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc1f584:	88 1f 00 0a 	lbz     r0,10(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) &&                  
ffc1f588:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc1f58c:	40 a2 ff c4 	bne-    ffc1f550 <msdos_set_first_char4file_name+0x150><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
          break;                                                      
        rc = fat_get_fat_cluster(mt_entry, start.cln, &start.cln);    
ffc1f590:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f594:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1f598:	48 00 1a 75 	bl      ffc2100c <fat_get_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc1f59c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1f5a0:	40 a2 ff 84 	bne-    ffc1f524 <msdos_set_first_char4file_name+0x124><== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
ffc1f5a4:	90 61 00 0c 	stw     r3,12(r1)                              <== NOT EXECUTED
ffc1f5a8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1f5ac:	81 7e 00 34 	lwz     r11,52(r30)                            <== NOT EXECUTED
ffc1f5b0:	88 1f 00 02 	lbz     r0,2(r31)                              <== NOT EXECUTED
ffc1f5b4:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc1f5b8:	4b ff fe b8 	b       ffc1f470 <msdos_set_first_char4file_name+0x70><== 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)))            
ffc1f5bc:	88 1f 00 0a 	lbz     r0,10(r31)                             <== NOT EXECUTED
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1f5c0:	70 08 00 03 	andi.   r8,r0,3                                <== NOT EXECUTED
ffc1f5c4:	41 a2 fe 8c 	beq-    ffc1f450 <msdos_set_first_char4file_name+0x50><== NOT EXECUTED
        (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)                    
ffc1f5c8:	80 04 00 08 	lwz     r0,8(r4)                               <== NOT EXECUTED
    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;                    
ffc1f5cc:	83 9f 00 28 	lwz     r28,40(r31)                            <== NOT EXECUTED
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
ffc1f5d0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1f5d4:	40 9e fe 8c 	bne+    cr7,ffc1f460 <msdos_set_first_char4file_name+0x60><== NOT EXECUTED
      start = dir_pos->sname;                                         
ffc1f5d8:	81 44 00 00 	lwz     r10,0(r4)                              <== NOT EXECUTED
ffc1f5dc:	81 64 00 04 	lwz     r11,4(r4)                              <== NOT EXECUTED
ffc1f5e0:	91 41 00 08 	stw     r10,8(r1)                              <== NOT EXECUTED
ffc1f5e4:	91 61 00 0c 	stw     r11,12(r1)                             <== NOT EXECUTED
ffc1f5e8:	4b ff fe 78 	b       ffc1f460 <msdos_set_first_char4file_name+0x60><== NOT EXECUTED
                                                                      

ffc1f248 <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 ) {
ffc1f248:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1f24c:	7c 08 02 a6 	mflr    r0                                     
ffc1f250:	90 01 00 34 	stw     r0,52(r1)                              
    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;                                    
ffc1f254:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
ffc1f258:	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                      
    )                                                                 
{                                                                     
ffc1f25c:	93 81 00 20 	stw     r28,32(r1)                             
    uint32_t                              cln                         
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc1f260:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1f264:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1f268:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1f26c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1f270:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1f274:	93 c1 00 28 	stw     r30,40(r1)                             
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1f278:	81 63 00 34 	lwz     r11,52(r3)                             
    uint32_t         new_cln = fat_fd->cln;                           
ffc1f27c:	83 84 00 1c 	lwz     r28,28(r4)                             
    uint16_t         le_cl_low = 0;                                   
    uint16_t         le_cl_hi = 0;                                    
ffc1f280:	b0 01 00 08 	sth     r0,8(r1)                               
ffc1f284:	40 9e 00 10 	bne-    cr7,ffc1f294 <msdos_set_first_cluster_num+0x4c>
ffc1f288:	88 0b 00 0a 	lbz     r0,10(r11)                             
ffc1f28c:	70 0a 00 03 	andi.   r10,r0,3                               
ffc1f290:	40 82 00 c8 	bne-    ffc1f358 <msdos_set_first_cluster_num+0x110><== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1f294:	89 4b 00 05 	lbz     r10,5(r11)                             
ffc1f298:	3b a9 ff fe 	addi    r29,r9,-2                              
ffc1f29c:	80 0b 00 30 	lwz     r0,48(r11)                             
ffc1f2a0:	7f bd 50 30 	slw     r29,r29,r10                            
ffc1f2a4:	7f bd 02 14 	add     r29,r29,r0                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f2a8:	80 04 00 24 	lwz     r0,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));          
ffc1f2ac:	57 8a 04 3e 	clrlwi  r10,r28,16                             
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f2b0:	a3 cb 00 00 	lhz     r30,0(r11)                             
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
ffc1f2b4:	55 49 40 2e 	rlwinm  r9,r10,8,0,23                          
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f2b8:	89 6b 00 02 	lbz     r11,2(r11)                             
    /* 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));          
ffc1f2bc:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
ffc1f2c0:	7c 27 0b 78 	mr      r7,r1                                  
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f2c4:	7c 0b 5c 30 	srw     r11,r0,r11                             
    /* 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));          
ffc1f2c8:	7d 2a 53 78 	or      r10,r9,r10                             
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f2cc:	3b de ff ff 	addi    r30,r30,-1                             
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
ffc1f2d0:	b5 47 00 0a 	sthu    r10,10(r7)                             
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1f2d4:	7f de 00 38 	and     r30,r30,r0                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1f2d8:	7f bd 5a 14 	add     r29,r29,r11                            
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(mt_entry, sec,                            
ffc1f2dc:	7f a4 eb 78 	mr      r4,r29                                 
ffc1f2e0:	38 be 00 1a 	addi    r5,r30,26                              
ffc1f2e4:	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));   
ffc1f2e8:	57 9c 84 3e 	rlwinm  r28,r28,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_block_write(mt_entry, sec,                            
ffc1f2ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f2f0:	4b ff 93 6d 	bl      ffc1865c <_fat_block_write>            
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
ffc1f2f4:	57 80 40 2e 	rlwinm  r0,r28,8,0,23                          
ffc1f2f8:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        
ffc1f2fc:	7c 1c e3 78 	or      r28,r0,r28                             
ffc1f300:	7c 27 0b 78 	mr      r7,r1                                  
ffc1f304:	b7 87 00 08 	sthu    r28,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_block_write(mt_entry, sec,                            
ffc1f308:	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_block_write(mt_entry, sec,                            
ffc1f30c:	7f a4 eb 78 	mr      r4,r29                                 
ffc1f310:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f314:	38 be 00 14 	addi    r5,r30,20                              
ffc1f318:	38 c0 00 02 	li      r6,2                                   
ffc1f31c:	4b ff 93 41 	bl      ffc1865c <_fat_block_write>            
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc1f320:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
        return -1;                                                    
ffc1f324:	38 00 ff ff 	li      r0,-1                                  
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
    ret2 = _fat_block_write(mt_entry, sec,                            
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc1f328:	41 9c 00 08 	blt-    cr7,ffc1f330 <msdos_set_first_cluster_num+0xe8><== NEVER TAKEN
        return -1;                                                    
ffc1f32c:	7c 60 fe 70 	srawi   r0,r3,31                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1f330:	7c 03 03 78 	mr      r3,r0                                  
ffc1f334:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1f338:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1f33c:	7c 08 03 a6 	mtlr    r0                                     
ffc1f340:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1f344:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1f348:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1f34c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1f350:	38 21 00 30 	addi    r1,r1,48                               
ffc1f354:	4e 80 00 20 	blr                                            
    )                                                                 
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
ffc1f358:	83 ab 00 1c 	lwz     r29,28(r11)                            
ffc1f35c:	4b ff ff 4c 	b       ffc1f2a8 <msdos_set_first_cluster_num+0x60>
                                                                      

ffc1ec40 <msdos_shut_down>: * RC_OK on success, or -1 if error occured (errno set apropriately). * */ int msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry) {
ffc1ec40:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1ec44:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1ec48:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;                
    fat_file_fd_t   *fat_fd = temp_mt_entry->mt_fs_root.node_access;  
                                                                      
    /* close fat-file which correspondes to root directory */         
    if (fat_file_close(temp_mt_entry, fat_fd) != RC_OK)               
ffc1ec4c:	80 83 00 1c 	lwz     r4,28(r3)                              <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
ffc1ec50:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
                                                                      
    /* close fat-file which correspondes to root directory */         
    if (fat_file_close(temp_mt_entry, fat_fd) != RC_OK)               
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
ffc1ec54:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
 *     RC_OK on success, or -1 if error occured (errno set apropriately).
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
ffc1ec58:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
ffc1ec5c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc1ec60:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;                
ffc1ec64:	83 c3 00 34 	lwz     r30,52(r3)                             <== NOT EXECUTED
    fat_file_fd_t   *fat_fd = temp_mt_entry->mt_fs_root.node_access;  
                                                                      
    /* close fat-file which correspondes to root directory */         
    if (fat_file_close(temp_mt_entry, fat_fd) != RC_OK)               
ffc1ec68:	4b ff 8a f1 	bl      ffc17758 <fat_file_close>              <== NOT EXECUTED
ffc1ec6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ec70:	40 9e 00 08 	bne-    cr7,ffc1ec78 <msdos_shut_down+0x38>    <== NOT EXECUTED
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
    int              rc = RC_OK;                                      
ffc1ec74:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
    }                                                                 
                                                                      
    if (fat_shutdown_drive(temp_mt_entry) != RC_OK)                   
ffc1ec78:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ec7c:	4b ff 9f 09 	bl      ffc18b84 <fat_shutdown_drive>          <== NOT EXECUTED
ffc1ec80:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ec84:	40 9e 00 3c 	bne-    cr7,ffc1ecc0 <msdos_shut_down+0x80>    <== NOT EXECUTED
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
    }                                                                 
                                                                      
    rtems_semaphore_delete(fs_info->vol_sema);                        
ffc1ec88:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc1ec8c:	4b fe ea 25 	bl      ffc0d6b0 <rtems_semaphore_delete>      <== NOT EXECUTED
    free(fs_info->cl_buf);                                            
ffc1ec90:	80 7e 00 9c 	lwz     r3,156(r30)                            <== NOT EXECUTED
ffc1ec94:	4b fe 98 4d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    free(temp_mt_entry->fs_info);                                     
ffc1ec98:	80 7f 00 34 	lwz     r3,52(r31)                             <== NOT EXECUTED
ffc1ec9c:	4b fe 98 45 	bl      ffc084e0 <free>                        <== NOT EXECUTED
                                                                      
    return rc;                                                        
}                                                                     
ffc1eca0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc1eca4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1eca8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc1ecac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1ecb0:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc1ecb4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc1ecb8:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1ecbc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    }                                                                 
                                                                      
    if (fat_shutdown_drive(temp_mt_entry) != RC_OK)                   
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
ffc1ecc0:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1ecc4:	4b ff ff c4 	b       ffc1ec88 <msdos_shut_down+0x48>        <== NOT EXECUTED
                                                                      

ffc05f94 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
ffc05f94:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc05f98:	7e 03 20 00 	cmpw    cr4,r3,r4                              
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc05f9c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05fa0:	7c 08 02 a6 	mflr    r0                                     
ffc05fa4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05fa8:	7c 9e 23 78 	mr      r30,r4                                 
ffc05fac:	90 01 00 1c 	stw     r0,28(r1)                              
ffc05fb0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc05fb4:	91 81 00 0c 	stw     r12,12(r1)                             
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc05fb8:	41 92 00 8c 	beq-    cr4,ffc06044 <newlib_delete_hook+0xb0> 
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
ffc05fbc:	83 e4 01 28 	lwz     r31,296(r4)                            
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
ffc05fc0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05fc4:	41 9e 00 2c 	beq-    cr7,ffc05ff0 <newlib_delete_hook+0x5c> <== NEVER TAKEN
ffc05fc8:	3d 20 00 00 	lis     r9,0                                   
ffc05fcc:	80 09 27 48 	lwz     r0,10056(r9)                           
ffc05fd0:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc05fd4:	41 9e 00 1c 	beq-    cr7,ffc05ff0 <newlib_delete_hook+0x5c> 
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
ffc05fd8:	3c 80 ff c0 	lis     r4,-64                                 
ffc05fdc:	7f e3 fb 78 	mr      r3,r31                                 
ffc05fe0:	38 84 5d 2c 	addi    r4,r4,23852                            
ffc05fe4:	48 00 d6 99 	bl      ffc1367c <_fwalk>                      
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
ffc05fe8:	7f e3 fb 78 	mr      r3,r31                                 
ffc05fec:	48 00 7b 11 	bl      ffc0dafc <_Workspace_Free>             
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
ffc05ff0:	38 00 00 00 	li      r0,0                                   
ffc05ff4:	90 1e 01 28 	stw     r0,296(r30)                            
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc05ff8:	41 92 00 24 	beq-    cr4,ffc0601c <newlib_delete_hook+0x88> 
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
ffc05ffc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06000:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc06004:	7c 08 03 a6 	mtlr    r0                                     
ffc06008:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0600c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06010:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06014:	38 21 00 18 	addi    r1,r1,24                               
ffc06018:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc0601c:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
ffc06020:	81 81 00 0c 	lwz     r12,12(r1)                             
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc06024:	90 09 27 4c 	stw     r0,10060(r9)                           
  }                                                                   
}                                                                     
ffc06028:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0602c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06030:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06034:	7c 08 03 a6 	mtlr    r0                                     
ffc06038:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0603c:	38 21 00 18 	addi    r1,r1,24                               
ffc06040:	4e 80 00 20 	blr                                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
ffc06044:	3d 20 00 00 	lis     r9,0                                   
ffc06048:	83 e9 27 4c 	lwz     r31,10060(r9)                          
ffc0604c:	4b ff ff 74 	b       ffc05fc0 <newlib_delete_hook+0x2c>     
                                                                      

ffc05d2c <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
ffc05d2c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05d30:	7c 08 02 a6 	mflr    r0                                     
ffc05d34:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05d38:	7c 7f 1b 78 	mr      r31,r3                                 
ffc05d3c:	90 01 00 14 	stw     r0,20(r1)                              
  switch ( fileno(fp) ) {                                             
ffc05d40:	48 00 d3 41 	bl      ffc13080 <fileno>                      
ffc05d44:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc05d48:	40 9d 00 24 	ble-    cr7,ffc05d6c <newlib_free_buffers+0x40><== ALWAYS TAKEN
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
ffc05d4c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc05d50:	48 00 cf 99 	bl      ffc12ce8 <fclose>                      <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05d54:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05d58:	38 60 00 00 	li      r3,0                                   
ffc05d5c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05d60:	38 21 00 10 	addi    r1,r1,16                               
ffc05d64:	7c 08 03 a6 	mtlr    r0                                     
ffc05d68:	4e 80 00 20 	blr                                            
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
ffc05d6c:	a0 1f 00 0c 	lhz     r0,12(r31)                             
ffc05d70:	70 09 00 80 	andi.   r9,r0,128                              
ffc05d74:	41 82 ff e0 	beq+    ffc05d54 <newlib_free_buffers+0x28>    <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
ffc05d78:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc05d7c:	4b ff f4 21 	bl      ffc0519c <free>                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc05d80:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc05d84:	90 1f 00 00 	stw     r0,0(r31)                              <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05d88:	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;              
ffc05d8c:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05d90:	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;                                        
ffc05d94:	a1 3f 00 0c 	lhz     r9,12(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05d98:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
ffc05d9c:	55 29 06 6e 	rlwinm  r9,r9,0,25,23                          <== NOT EXECUTED
ffc05da0:	b1 3f 00 0c 	sth     r9,12(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05da4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc05da8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc05dac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc060e8 <open>: int open( const char *pathname, int flags, ... ) {
ffc060e8:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc060ec:	7c 08 02 a6 	mflr    r0                                     
ffc060f0:	7d 80 00 26 	mfcr    r12                                    
ffc060f4:	90 01 00 54 	stw     r0,84(r1)                              
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
ffc060f8:	38 04 00 01 	addi    r0,r4,1                                
  if ( ( status & _FREAD ) == _FREAD )                                
ffc060fc:	70 09 00 01 	andi.   r9,r0,1                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc06100:	93 61 00 3c 	stw     r27,60(r1)                             
  int                                 eval_flags;                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
ffc06104:	3b 60 00 00 	li      r27,0                                  
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc06108:	93 a1 00 44 	stw     r29,68(r1)                             
ffc0610c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06110:	93 c1 00 48 	stw     r30,72(r1)                             
ffc06114:	7c 9e 23 78 	mr      r30,r4                                 
ffc06118:	93 41 00 38 	stw     r26,56(r1)                             
ffc0611c:	93 81 00 40 	stw     r28,64(r1)                             
ffc06120:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc06124:	91 81 00 34 	stw     r12,52(r1)                             
ffc06128:	90 a1 00 28 	stw     r5,40(r1)                              
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
ffc0612c:	41 82 00 08 	beq-    ffc06134 <open+0x4c>                   
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
ffc06130:	3b 60 00 04 	li      r27,4                                  
  if ( ( status & _FWRITE ) == _FWRITE )                              
ffc06134:	70 09 00 02 	andi.   r9,r0,2                                
ffc06138:	41 82 00 08 	beq-    ffc06140 <open+0x58>                   
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
ffc0613c:	63 7b 00 02 	ori     r27,r27,2                              
                                                                      
  va_start(ap, flags);                                                
ffc06140:	38 01 00 58 	addi    r0,r1,88                               
                                                                      
  mode = va_arg( ap, int );                                           
ffc06144:	83 81 00 28 	lwz     r28,40(r1)                             
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
  va_start(ap, flags);                                                
ffc06148:	39 21 00 20 	addi    r9,r1,32                               
ffc0614c:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc06150:	38 00 00 03 	li      r0,3                                   
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
                                                                      
  va_start(ap, flags);                                                
ffc06154:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc06158:	98 01 00 08 	stb     r0,8(r1)                               
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
ffc0615c:	48 00 92 e9 	bl      ffc0f444 <rtems_libio_allocate>        
  if ( iop == 0 ) {                                                   
ffc06160:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc06164:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06168:	41 92 00 e0 	beq-    cr4,ffc06248 <open+0x160>              
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
ffc0616c:	7f a3 eb 78 	mr      r3,r29                                 
ffc06170:	48 00 e3 19 	bl      ffc14488 <strlen>                      
ffc06174:	7f 65 db 78 	mr      r5,r27                                 
ffc06178:	7c 64 1b 78 	mr      r4,r3                                  
ffc0617c:	38 c1 00 14 	addi    r6,r1,20                               
ffc06180:	7f a3 eb 78 	mr      r3,r29                                 
ffc06184:	38 e0 00 01 	li      r7,1                                   
ffc06188:	4b ff ee 8d 	bl      ffc05014 <rtems_filesystem_evaluate_path>
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
ffc0618c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc06190:	41 9e 01 10 	beq-    cr7,ffc062a0 <open+0x1b8>              
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
ffc06194:	73 c0 0a 00 	andi.   r0,r30,2560                            
ffc06198:	2f 80 0a 00 	cmpwi   cr7,r0,2560                            
ffc0619c:	41 9e 00 c0 	beq-    cr7,ffc0625c <open+0x174>              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc061a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc061a4:	83 7f 00 18 	lwz     r27,24(r31)                            
ffc061a8:	48 00 91 ed 	bl      ffc0f394 <rtems_libio_fcntl_flags>     
  iop->pathinfo   = loc;                                              
ffc061ac:	80 01 00 14 	lwz     r0,20(r1)                              
ffc061b0:	81 21 00 1c 	lwz     r9,28(r1)                              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc061b4:	7c 63 db 78 	or      r3,r3,r27                              
  iop->pathinfo   = loc;                                              
ffc061b8:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc061bc:	7f a4 eb 78 	mr      r4,r29                                 
ffc061c0:	7f c5 f3 78 	mr      r5,r30                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
ffc061c4:	80 01 00 18 	lwz     r0,24(r1)                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc061c8:	7f 86 e3 78 	mr      r6,r28                                 
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc061cc:	90 7f 00 18 	stw     r3,24(r31)                             
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc061d0:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
ffc061d4:	90 1f 00 20 	stw     r0,32(r31)                             
ffc061d8:	80 01 00 20 	lwz     r0,32(r1)                              
ffc061dc:	91 3f 00 24 	stw     r9,36(r31)                             
ffc061e0:	90 1f 00 28 	stw     r0,40(r31)                             
ffc061e4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc061e8:	90 1f 00 2c 	stw     r0,44(r31)                             
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc061ec:	80 09 00 00 	lwz     r0,0(r9)                               
ffc061f0:	7c 09 03 a6 	mtctr   r0                                     
ffc061f4:	4e 80 04 21 	bctrl                                          
  if ( rc ) {                                                         
ffc061f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc061fc:	40 9e 00 88 	bne-    cr7,ffc06284 <open+0x19c>              
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
ffc06200:	73 c0 04 00 	andi.   r0,r30,1024                            
ffc06204:	3f c0 00 00 	lis     r30,0                                  
ffc06208:	40 82 00 bc 	bne-    ffc062c4 <open+0x1dc>                  
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
ffc0620c:	80 7e 27 ac 	lwz     r3,10156(r30)                          
ffc06210:	7f e3 f8 50 	subf    r31,r3,r31                             
ffc06214:	7f e3 36 70 	srawi   r3,r31,6                               
}                                                                     
ffc06218:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0621c:	81 81 00 34 	lwz     r12,52(r1)                             
ffc06220:	7c 08 03 a6 	mtlr    r0                                     
ffc06224:	83 41 00 38 	lwz     r26,56(r1)                             
ffc06228:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0622c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06230:	83 81 00 40 	lwz     r28,64(r1)                             
ffc06234:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc06238:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0623c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc06240:	38 21 00 50 	addi    r1,r1,80                               
ffc06244:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
ffc06248:	3b 40 00 17 	li      r26,23                                 
  if ( rc ) {                                                         
    if ( iop )                                                        
      rtems_libio_free( iop );                                        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
ffc0624c:	48 00 c9 11 	bl      ffc12b5c <__errno>                     
ffc06250:	93 43 00 00 	stw     r26,0(r3)                              
ffc06254:	38 60 ff ff 	li      r3,-1                                  
ffc06258:	4b ff ff c0 	b       ffc06218 <open+0x130>                  
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
ffc0625c:	3b 61 00 14 	addi    r27,r1,20                              
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
ffc06260:	3b 40 00 11 	li      r26,17                                 
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
ffc06264:	41 92 00 0c 	beq-    cr4,ffc06270 <open+0x188>              
      rtems_libio_free( iop );                                        
ffc06268:	7f e3 fb 78 	mr      r3,r31                                 
ffc0626c:	48 00 92 a9 	bl      ffc0f514 <rtems_libio_free>            
    if ( loc_to_free )                                                
ffc06270:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc06274:	41 be ff d8 	beq-    cr7,ffc0624c <open+0x164>              
      rtems_filesystem_freenode( loc_to_free );                       
ffc06278:	7f 63 db 78 	mr      r3,r27                                 
ffc0627c:	4b ff ee f5 	bl      ffc05170 <rtems_filesystem_freenode>   
ffc06280:	4b ff ff cc 	b       ffc0624c <open+0x164>                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
ffc06284:	48 00 c8 d9 	bl      ffc12b5c <__errno>                     
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
    goto done;                                                        
  }                                                                   
                                                                      
  loc_to_free = &loc;                                                 
ffc06288:	3b 61 00 14 	addi    r27,r1,20                              
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
ffc0628c:	83 43 00 00 	lwz     r26,0(r3)                              
ffc06290:	2e 1a 00 00 	cmpwi   cr4,r26,0                              
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
ffc06294:	40 92 00 fc 	bne-    cr4,ffc06390 <open+0x2a8>              <== ALWAYS TAKEN
ffc06298:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
ffc0629c:	4b ff ff 70 	b       ffc0620c <open+0x124>                  <== NOT EXECUTED
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
ffc062a0:	48 00 c8 bd 	bl      ffc12b5c <__errno>                     
ffc062a4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc062a8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc062ac:	41 9e 00 68 	beq-    cr7,ffc06314 <open+0x22c>              
      rc = errno;                                                     
ffc062b0:	48 00 c8 ad 	bl      ffc12b5c <__errno>                     
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
ffc062b4:	3b 60 00 00 	li      r27,0                                  
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
      rc = errno;                                                     
ffc062b8:	83 43 00 00 	lwz     r26,0(r3)                              
ffc062bc:	2e 1a 00 00 	cmpwi   cr4,r26,0                              
      goto done;                                                      
ffc062c0:	4b ff ff d4 	b       ffc06294 <open+0x1ac>                  
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
ffc062c4:	80 7e 27 ac 	lwz     r3,10156(r30)                          
ffc062c8:	38 a0 00 00 	li      r5,0                                   
ffc062cc:	38 c0 00 00 	li      r6,0                                   
ffc062d0:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc062d4:	7c 63 36 70 	srawi   r3,r3,6                                
ffc062d8:	48 00 8f b5 	bl      ffc0f28c <ftruncate>                   
    if ( rc ) {                                                       
ffc062dc:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc062e0:	7c 7a 1b 78 	mr      r26,r3                                 
ffc062e4:	41 92 ff 28 	beq+    cr4,ffc0620c <open+0x124>              
      if(errno) rc = errno;                                           
ffc062e8:	48 00 c8 75 	bl      ffc12b5c <__errno>                     
ffc062ec:	80 03 00 00 	lwz     r0,0(r3)                               
ffc062f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc062f4:	40 9e 00 5c 	bne-    cr7,ffc06350 <open+0x268>              <== ALWAYS TAKEN
      close( iop - rtems_libio_iops );                                
ffc062f8:	80 7e 27 ac 	lwz     r3,10156(r30)                          
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
ffc062fc:	3b 60 00 00 	li      r27,0                                  
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
ffc06300:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc06304:	7c 63 36 70 	srawi   r3,r3,6                                
ffc06308:	48 00 8e e5 	bl      ffc0f1ec <close>                       
      /* those are released by close(): */                            
      iop = 0;                                                        
ffc0630c:	3b e0 00 00 	li      r31,0                                  
ffc06310:	4b ff ff 84 	b       ffc06294 <open+0x1ac>                  
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc06314:	73 c0 02 00 	andi.   r0,r30,512                             
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
ffc06318:	3b 60 00 00 	li      r27,0                                  
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
ffc0631c:	3b 40 00 02 	li      r26,2                                  
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc06320:	41 82 ff 44 	beq+    ffc06264 <open+0x17c>                  
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
ffc06324:	7f a3 eb 78 	mr      r3,r29                                 
ffc06328:	63 84 80 00 	ori     r4,r28,32768                           
ffc0632c:	38 a0 00 00 	li      r5,0                                   
ffc06330:	38 c0 00 00 	li      r6,0                                   
ffc06334:	4b ff f3 e5 	bl      ffc05718 <mknod>                       
    if ( rc ) {                                                       
ffc06338:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0633c:	41 9e 00 24 	beq-    cr7,ffc06360 <open+0x278>              <== ALWAYS TAKEN
      rc = errno;                                                     
ffc06340:	48 00 c8 1d 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc06344:	83 43 00 00 	lwz     r26,0(r3)                              <== NOT EXECUTED
ffc06348:	2e 1a 00 00 	cmpwi   cr4,r26,0                              <== NOT EXECUTED
      goto done;                                                      
ffc0634c:	4b ff ff 48 	b       ffc06294 <open+0x1ac>                  <== NOT EXECUTED
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
ffc06350:	48 00 c8 0d 	bl      ffc12b5c <__errno>                     
ffc06354:	83 43 00 00 	lwz     r26,0(r3)                              
ffc06358:	2e 1a 00 00 	cmpwi   cr4,r26,0                              
ffc0635c:	4b ff ff 9c 	b       ffc062f8 <open+0x210>                  
    /*                                                                
     * After we do the mknod(), we have to evaluate the path to get the
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
ffc06360:	7f a3 eb 78 	mr      r3,r29                                 
ffc06364:	48 00 e1 25 	bl      ffc14488 <strlen>                      
ffc06368:	38 a0 00 00 	li      r5,0                                   
ffc0636c:	7c 64 1b 78 	mr      r4,r3                                  
ffc06370:	38 c1 00 14 	addi    r6,r1,20                               
ffc06374:	7f a3 eb 78 	mr      r3,r29                                 
ffc06378:	38 e0 00 01 	li      r7,1                                   
ffc0637c:	4b ff ec 99 	bl      ffc05014 <rtems_filesystem_evaluate_path>
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
ffc06380:	3b 40 00 0d 	li      r26,13                                 
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
ffc06384:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06388:	40 be fe dc 	bne-    cr7,ffc06264 <open+0x17c>              
ffc0638c:	4b ff fe 14 	b       ffc061a0 <open+0xb8>                   
ffc06390:	2e 1f 00 00 	cmpwi   cr4,r31,0                              
ffc06394:	4b ff fe d0 	b       ffc06264 <open+0x17c>                  
                                                                      

ffc072b0 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc072b0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc072b4:	7c 08 02 a6 	mflr    r0                                     
ffc072b8:	90 01 00 1c 	stw     r0,28(r1)                              
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc072bc:	80 04 00 34 	lwz     r0,52(r4)                              
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc072c0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc072c4:	7c 9f 23 78 	mr      r31,r4                                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc072c8:	70 09 00 01 	andi.   r9,r0,1                                
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc072cc:	98 61 00 08 	stb     r3,8(r1)                               
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc072d0:	41 82 00 70 	beq-    ffc07340 <oproc+0x90>                  <== NEVER TAKEN
    switch (c) {                                                      
ffc072d4:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc072d8:	41 9e 00 e4 	beq-    cr7,ffc073bc <oproc+0x10c>             
ffc072dc:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc072e0:	40 9d 00 84 	ble-    cr7,ffc07364 <oproc+0xb4>              <== NEVER TAKEN
ffc072e4:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc072e8:	41 9e 00 9c 	beq-    cr7,ffc07384 <oproc+0xd4>              
ffc072ec:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc072f0:	41 9e 00 f0 	beq-    cr7,ffc073e0 <oproc+0x130>             <== NEVER TAKEN
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc072f4:	70 09 00 02 	andi.   r9,r0,2                                
        c = toupper(c);                                               
ffc072f8:	3d 20 00 00 	lis     r9,0                                   
ffc072fc:	80 09 27 44 	lwz     r0,10052(r9)                           
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc07300:	41 82 00 24 	beq-    ffc07324 <oproc+0x74>                  <== ALWAYS TAKEN
        c = toupper(c);                                               
ffc07304:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc07308:	7c 60 1a 14 	add     r3,r0,r3                               <== NOT EXECUTED
ffc0730c:	89 63 00 01 	lbz     r11,1(r3)                              <== NOT EXECUTED
ffc07310:	55 6b 07 be 	clrlwi  r11,r11,30                             <== NOT EXECUTED
ffc07314:	2f 8b 00 02 	cmpwi   cr7,r11,2                              <== NOT EXECUTED
ffc07318:	41 9e 01 00 	beq-    cr7,ffc07418 <oproc+0x168>             <== NOT EXECUTED
ffc0731c:	55 23 06 3e 	clrlwi  r3,r9,24                               <== NOT EXECUTED
ffc07320:	98 61 00 08 	stb     r3,8(r1)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
ffc07324:	7c 60 1a 14 	add     r3,r0,r3                               
ffc07328:	88 03 00 01 	lbz     r0,1(r3)                               
ffc0732c:	70 09 00 20 	andi.   r9,r0,32                               
ffc07330:	40 82 00 10 	bne-    ffc07340 <oproc+0x90>                  <== NEVER TAKEN
        tty->column++;                                                
ffc07334:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07338:	38 09 00 01 	addi    r0,r9,1                                
ffc0733c:	90 1f 00 28 	stw     r0,40(r31)                             
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
ffc07340:	38 61 00 08 	addi    r3,r1,8                                
ffc07344:	38 80 00 01 	li      r4,1                                   
ffc07348:	7f e5 fb 78 	mr      r5,r31                                 
ffc0734c:	4b ff fd b5 	bl      ffc07100 <rtems_termios_puts>          
}                                                                     
ffc07350:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07354:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc07358:	38 21 00 18 	addi    r1,r1,24                               
ffc0735c:	7c 08 03 a6 	mtlr    r0                                     
ffc07360:	4e 80 00 20 	blr                                            
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
ffc07364:	2f 83 00 08 	cmpwi   cr7,r3,8                               <== NOT EXECUTED
ffc07368:	40 9e ff 8c 	bne+    cr7,ffc072f4 <oproc+0x44>              <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
ffc0736c:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc07370:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc07374:	40 bd ff cc 	ble-    cr7,ffc07340 <oproc+0x90>              <== NOT EXECUTED
        tty->column--;                                                
ffc07378:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc0737c:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc07380:	4b ff ff c0 	b       ffc07340 <oproc+0x90>                  <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
ffc07384:	70 09 00 20 	andi.   r9,r0,32                               
ffc07388:	41 82 00 0c 	beq-    ffc07394 <oproc+0xe4>                  <== ALWAYS TAKEN
        tty->column = 0;                                              
ffc0738c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc07390:	91 24 00 28 	stw     r9,40(r4)                              <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
ffc07394:	70 09 00 04 	andi.   r9,r0,4                                
ffc07398:	41 82 ff a8 	beq+    ffc07340 <oproc+0x90>                  <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
ffc0739c:	3c 60 ff c2 	lis     r3,-62                                 
ffc073a0:	38 63 f4 44 	addi    r3,r3,-3004                            
ffc073a4:	38 80 00 01 	li      r4,1                                   
ffc073a8:	7f e5 fb 78 	mr      r5,r31                                 
ffc073ac:	4b ff fd 55 	bl      ffc07100 <rtems_termios_puts>          
        tty->column = 0;                                              
ffc073b0:	38 00 00 00 	li      r0,0                                   
ffc073b4:	90 1f 00 28 	stw     r0,40(r31)                             
ffc073b8:	4b ff ff 88 	b       ffc07340 <oproc+0x90>                  
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc073bc:	54 00 04 e8 	rlwinm  r0,r0,0,19,20                          
ffc073c0:	2f 80 18 00 	cmpwi   cr7,r0,6144                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc073c4:	80 04 00 28 	lwz     r0,40(r4)                              
ffc073c8:	54 04 07 7e 	clrlwi  r4,r0,29                               
ffc073cc:	20 84 00 08 	subfic  r4,r4,8                                
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc073d0:	41 9e 00 50 	beq-    cr7,ffc07420 <oproc+0x170>             <== ALWAYS TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
ffc073d4:	7c 80 22 14 	add     r4,r0,r4                               <== NOT EXECUTED
ffc073d8:	90 9f 00 28 	stw     r4,40(r31)                             <== NOT EXECUTED
      break;                                                          
ffc073dc:	4b ff ff 64 	b       ffc07340 <oproc+0x90>                  <== NOT EXECUTED
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
ffc073e0:	70 09 00 10 	andi.   r9,r0,16                               <== NOT EXECUTED
ffc073e4:	41 82 00 10 	beq-    ffc073f4 <oproc+0x144>                 <== NOT EXECUTED
ffc073e8:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc073ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc073f0:	41 be ff 60 	beq-    cr7,ffc07350 <oproc+0xa0>              <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
ffc073f4:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc073f8:	41 a2 ff 84 	beq-    ffc0737c <oproc+0xcc>                  <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
ffc073fc:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
        c = '\n';                                                     
ffc07400:	38 00 00 0a 	li      r0,10                                  <== NOT EXECUTED
ffc07404:	98 01 00 08 	stb     r0,8(r1)                               <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
ffc07408:	41 a2 ff 38 	beq-    ffc07340 <oproc+0x90>                  <== NOT EXECUTED
          tty->column = 0;                                            
ffc0740c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc07410:	90 1f 00 28 	stw     r0,40(r31)                             <== NOT EXECUTED
ffc07414:	4b ff ff 2c 	b       ffc07340 <oproc+0x90>                  <== NOT EXECUTED
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
ffc07418:	39 29 ff e0 	addi    r9,r9,-32                              <== NOT EXECUTED
ffc0741c:	4b ff ff 00 	b       ffc0731c <oproc+0x6c>                  <== NOT EXECUTED
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
ffc07420:	7c 00 22 14 	add     r0,r0,r4                               
ffc07424:	90 1f 00 28 	stw     r0,40(r31)                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc07428:	3c 60 ff c2 	lis     r3,-62                                 
ffc0742c:	38 63 f4 48 	addi    r3,r3,-3000                            
ffc07430:	7f e5 fb 78 	mr      r5,r31                                 
ffc07434:	4b ff fc cd 	bl      ffc07100 <rtems_termios_puts>          
        return;                                                       
ffc07438:	4b ff ff 18 	b       ffc07350 <oproc+0xa0>                  
                                                                      

ffc10480 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
ffc10480:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10484:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc10488:	38 80 01 ff 	li      r4,511                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc1048c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10490:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc10494:	3c 60 ff c2 	lis     r3,-62                                 
ffc10498:	38 63 1a 70 	addi    r3,r3,6768                             
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc1049c:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
ffc104a0:	3b e0 ff ff 	li      r31,-1                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc104a4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc104a8:	93 a1 00 1c 	stw     r29,28(r1)                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc104ac:	48 00 1d 41 	bl      ffc121ec <rtems_mkdir>                 
ffc104b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc104b4:	40 9e 00 cc 	bne-    cr7,ffc10580 <pipe_create+0x100>       <== NEVER TAKEN
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104b8:	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);                                 
ffc104bc:	3d 40 ff c2 	lis     r10,-62                                
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104c0:	a0 a9 29 60 	lhz     r5,10592(r9)                           
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104c4:	39 6a 1a 78 	addi    r11,r10,6776                           
ffc104c8:	81 0a 1a 78 	lwz     r8,6776(r10)                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104cc:	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);                                 
ffc104d0:	81 4b 00 04 	lwz     r10,4(r11)                             
ffc104d4:	a1 6b 00 08 	lhz     r11,8(r11)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104d8:	38 05 00 01 	addi    r0,r5,1                                
ffc104dc:	38 84 1a 84 	addi    r4,r4,6788                             
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104e0:	91 01 00 08 	stw     r8,8(r1)                               
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104e4:	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);                                 
ffc104e8:	91 41 00 0c 	stw     r10,12(r1)                             
ffc104ec:	b1 61 00 10 	sth     r11,16(r1)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104f0:	b0 09 29 60 	sth     r0,10592(r9)                           
ffc104f4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc104f8:	48 00 49 f9 	bl      ffc14ef0 <sprintf>                     
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc104fc:	38 61 00 08 	addi    r3,r1,8                                
ffc10500:	38 80 01 80 	li      r4,384                                 
ffc10504:	48 00 18 f5 	bl      ffc11df8 <mkfifo>                      
ffc10508:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1050c:	40 9e 00 d0 	bne-    cr7,ffc105dc <pipe_create+0x15c>       
    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);                 
ffc10510:	38 61 00 08 	addi    r3,r1,8                                
ffc10514:	38 80 40 00 	li      r4,16384                               
ffc10518:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1051c:	4b ff 71 e5 	bl      ffc07700 <open>                        
  if (filsdes[0] < 0) {                                               
ffc10520:	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);                 
ffc10524:	90 7e 00 00 	stw     r3,0(r30)                              
  if (filsdes[0] < 0) {                                               
ffc10528:	41 9c 00 8c 	blt-    cr7,ffc105b4 <pipe_create+0x134>       
     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]);                                
ffc1052c:	3d 20 00 00 	lis     r9,0                                   
ffc10530:	80 09 26 dc 	lwz     r0,9948(r9)                            
ffc10534:	39 20 00 00 	li      r9,0                                   
ffc10538:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1053c:	41 9c 00 64 	blt-    cr7,ffc105a0 <pipe_create+0x120>       <== ALWAYS TAKEN
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc10540:	80 09 00 18 	lwz     r0,24(r9)                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc10544:	38 61 00 08 	addi    r3,r1,8                                
ffc10548:	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;                              
ffc1054c:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc10550:	90 09 00 18 	stw     r0,24(r9)                              
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
ffc10554:	3b a0 00 00 	li      r29,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);                            
ffc10558:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1055c:	4b ff 71 a5 	bl      ffc07700 <open>                        
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10560:	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);                            
ffc10564:	90 7e 00 04 	stw     r3,4(r30)                              
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10568:	41 9c 00 60 	blt-    cr7,ffc105c8 <pipe_create+0x148>       
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
ffc1056c:	38 61 00 08 	addi    r3,r1,8                                
ffc10570:	4b ff 98 b5 	bl      ffc09e24 <unlink>                      
  }                                                                   
  if(err != 0)                                                        
ffc10574:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
ffc10578:	3b e0 00 00 	li      r31,0                                  
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
ffc1057c:	40 9e 00 68 	bne-    cr7,ffc105e4 <pipe_create+0x164>       
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
ffc10580:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10584:	7f e3 fb 78 	mr      r3,r31                                 
ffc10588:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1058c:	7c 08 03 a6 	mtlr    r0                                     
ffc10590:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10594:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10598:	38 21 00 28 	addi    r1,r1,40                               
ffc1059c:	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]);                                
ffc105a0:	3d 20 00 00 	lis     r9,0                                   
ffc105a4:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc105a8:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc105ac:	7d 29 1a 14 	add     r9,r9,r3                               
ffc105b0:	4b ff ff 90 	b       ffc10540 <pipe_create+0xc0>            
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
ffc105b4:	48 00 3a 69 	bl      ffc1401c <__errno>                     
ffc105b8:	83 a3 00 00 	lwz     r29,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);                                                 
ffc105bc:	38 61 00 08 	addi    r3,r1,8                                
ffc105c0:	4b ff 98 65 	bl      ffc09e24 <unlink>                      
ffc105c4:	4b ff ff b0 	b       ffc10574 <pipe_create+0xf4>            
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
ffc105c8:	48 00 3a 55 	bl      ffc1401c <__errno>                     
ffc105cc:	83 a3 00 00 	lwz     r29,0(r3)                              
    close(filsdes[0]);                                                
ffc105d0:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc105d4:	4b ff 5c 0d 	bl      ffc061e0 <close>                       
ffc105d8:	4b ff ff 94 	b       ffc1056c <pipe_create+0xec>            
  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){                                             
ffc105dc:	48 00 3a 41 	bl      ffc1401c <__errno>                     
ffc105e0:	4b ff ff a0 	b       ffc10580 <pipe_create+0x100>           
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
ffc105e4:	48 00 3a 39 	bl      ffc1401c <__errno>                     
ffc105e8:	3b e0 ff ff 	li      r31,-1                                 
ffc105ec:	93 a3 00 00 	stw     r29,0(r3)                              
ffc105f0:	4b ff ff 90 	b       ffc10580 <pipe_create+0x100>           
                                                                      

ffc11e14 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
ffc11e14:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11e18:	7c 08 02 a6 	mflr    r0                                     
ffc11e1c:	90 01 00 14 	stw     r0,20(r1)                              
  if (cmd == FIONREAD) {                                              
ffc11e20:	3c 00 40 04 	lis     r0,16388                               
ffc11e24:	60 00 66 7f 	ori     r0,r0,26239                            
ffc11e28:	7f 84 00 00 	cmpw    cr7,r4,r0                              
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11e2c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc11e30:	7c be 2b 78 	mr      r30,r5                                 
ffc11e34:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11e38:	7c 7f 1b 78 	mr      r31,r3                                 
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
ffc11e3c:	38 60 ff ea 	li      r3,-22                                 
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
ffc11e40:	40 9e 00 40 	bne-    cr7,ffc11e80 <pipe_ioctl+0x6c>         
    if (buffer == NULL)                                               
ffc11e44:	2f 85 00 00 	cmpwi   cr7,r5,0                               
      return -EFAULT;                                                 
ffc11e48:	38 60 ff f2 	li      r3,-14                                 
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc11e4c:	41 9e 00 34 	beq-    cr7,ffc11e80 <pipe_ioctl+0x6c>         
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc11e50:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11e54:	38 80 00 00 	li      r4,0                                   
ffc11e58:	38 a0 00 00 	li      r5,0                                   
ffc11e5c:	4b ff 99 55 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc11e60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return -EINTR;                                                  
ffc11e64:	38 60 ff fc 	li      r3,-4                                  
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc11e68:	40 9e 00 18 	bne-    cr7,ffc11e80 <pipe_ioctl+0x6c>         <== NEVER TAKEN
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc11e6c:	80 1f 00 0c 	lwz     r0,12(r31)                             
    PIPE_UNLOCK(pipe);                                                
ffc11e70:	80 7f 00 28 	lwz     r3,40(r31)                             
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc11e74:	90 1e 00 00 	stw     r0,0(r30)                              
    PIPE_UNLOCK(pipe);                                                
ffc11e78:	4b ff 9a c5 	bl      ffc0b93c <rtems_semaphore_release>     
    return 0;                                                         
ffc11e7c:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
ffc11e80:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11e84:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11e88:	7c 08 03 a6 	mtlr    r0                                     
ffc11e8c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11e90:	38 21 00 10 	addi    r1,r1,16                               
ffc11e94:	4e 80 00 20 	blr                                            
                                                                      

ffc11998 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11998:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1199c:	7c 08 02 a6 	mflr    r0                                     
ffc119a0:	90 01 00 3c 	stw     r0,60(r1)                              
ffc119a4:	93 e1 00 34 	stw     r31,52(r1)                             
ffc119a8:	7c 7f 1b 78 	mr      r31,r3                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc119ac:	80 63 00 28 	lwz     r3,40(r3)                              
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc119b0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc119b4:	7c 9d 23 78 	mr      r29,r4                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc119b8:	38 80 00 00 	li      r4,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc119bc:	93 c1 00 30 	stw     r30,48(r1)                             
ffc119c0:	7c be 2b 78 	mr      r30,r5                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc119c4:	38 a0 00 00 	li      r5,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc119c8:	93 41 00 20 	stw     r26,32(r1)                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
ffc119cc:	3b 40 ff fc 	li      r26,-4                                 
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc119d0:	93 61 00 24 	stw     r27,36(r1)                             
ffc119d4:	7c db 33 78 	mr      r27,r6                                 
ffc119d8:	93 01 00 18 	stw     r24,24(r1)                             
ffc119dc:	93 21 00 1c 	stw     r25,28(r1)                             
ffc119e0:	93 81 00 28 	stw     r28,40(r1)                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc119e4:	4b ff 9d cd 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc119e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc119ec:	40 9e 00 a8 	bne-    cr7,ffc11a94 <pipe_read+0xfc>          <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc119f0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc119f4:	3b 20 00 00 	li      r25,0                                  
ffc119f8:	3b 40 00 00 	li      r26,0                                  
ffc119fc:	41 9e 01 68 	beq-    cr7,ffc11b64 <pipe_read+0x1cc>         <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
ffc11a00:	83 9f 00 0c 	lwz     r28,12(r31)                            
ffc11a04:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc11a08:	40 9e 00 c0 	bne-    cr7,ffc11ac8 <pipe_read+0x130>         
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc11a0c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc11a10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11a14:	41 9e 01 50 	beq-    cr7,ffc11b64 <pipe_read+0x1cc>         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
ffc11a18:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc11a1c:	70 09 00 01 	andi.   r9,r0,1                                
ffc11a20:	40 82 01 4c 	bne-    ffc11b6c <pipe_read+0x1d4>             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc11a24:	81 3f 00 18 	lwz     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
ffc11a28:	3b 80 ff fc 	li      r28,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc11a2c:	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 ++;                                        
ffc11a30:	38 09 00 01 	addi    r0,r9,1                                
ffc11a34:	90 1f 00 18 	stw     r0,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc11a38:	4b ff 9f 05 	bl      ffc0b93c <rtems_semaphore_release>     
      if (! PIPE_READWAIT(pipe))                                      
ffc11a3c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11a40:	38 80 00 00 	li      r4,0                                   
ffc11a44:	48 00 14 49 	bl      ffc12e8c <rtems_barrier_wait>          
ffc11a48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a4c:	40 9e 00 08 	bne-    cr7,ffc11a54 <pipe_read+0xbc>          <== NEVER TAKEN
ffc11a50:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc11a54:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11a58:	38 80 00 00 	li      r4,0                                   
ffc11a5c:	38 a0 00 00 	li      r5,0                                   
ffc11a60:	4b ff 9d 51 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc11a64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a68:	40 9e 01 0c 	bne-    cr7,ffc11b74 <pipe_read+0x1dc>         <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
ffc11a6c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
ffc11a70:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc11a74:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11a78:	90 1f 00 18 	stw     r0,24(r31)                             
      if (ret != 0)                                                   
ffc11a7c:	41 9e ff 84 	beq+    cr7,ffc11a00 <pipe_read+0x68>          <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc11a80:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11a84:	4b ff 9e b9 	bl      ffc0b93c <rtems_semaphore_release>     
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc11a88:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc11a8c:	41 bd 00 08 	bgt+    cr7,ffc11a94 <pipe_read+0xfc>          
    return read;                                                      
  return ret;                                                         
ffc11a90:	7f 9a e3 78 	mr      r26,r28                                
}                                                                     
ffc11a94:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc11a98:	7f 43 d3 78 	mr      r3,r26                                 
ffc11a9c:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11aa0:	7c 08 03 a6 	mtlr    r0                                     
ffc11aa4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11aa8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11aac:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11ab0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11ab4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11ab8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11abc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11ac0:	38 21 00 38 	addi    r1,r1,56                               
ffc11ac4:	4e 80 00 20 	blr                                            
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
ffc11ac8:	7c 19 f0 50 	subf    r0,r25,r30                             
ffc11acc:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc11ad0:	40 9d 00 08 	ble-    cr7,ffc11ad8 <pipe_read+0x140>         
ffc11ad4:	7c 1c 03 78 	mr      r28,r0                                 
    chunk1 = pipe->Size - pipe->Start;                                
ffc11ad8:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc11adc:	83 1f 00 04 	lwz     r24,4(r31)                             
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc11ae0:	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;                                
ffc11ae4:	7f 00 c0 50 	subf    r24,r0,r24                             
    if (chunk > chunk1) {                                             
ffc11ae8:	7f 9c c0 00 	cmpw    cr7,r28,r24                            
ffc11aec:	40 9d 00 90 	ble-    cr7,ffc11b7c <pipe_read+0x1e4>         
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc11af0:	7f 05 c3 78 	mr      r5,r24                                 
ffc11af4:	7c 84 02 14 	add     r4,r4,r0                               
ffc11af8:	7c 7d ca 14 	add     r3,r29,r25                             
ffc11afc:	48 00 42 91 	bl      ffc15d8c <memcpy>                      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
ffc11b00:	7c 79 c2 14 	add     r3,r25,r24                             
ffc11b04:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc11b08:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc11b0c:	7c b8 e0 50 	subf    r5,r24,r28                             
ffc11b10:	48 00 42 7d 	bl      ffc15d8c <memcpy>                      
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc11b14:	81 3f 00 08 	lwz     r9,8(r31)                              
    pipe->Start %= pipe->Size;                                        
ffc11b18:	81 7f 00 04 	lwz     r11,4(r31)                             
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc11b1c:	7d 3c 4a 14 	add     r9,r28,r9                              
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
ffc11b20:	80 1f 00 0c 	lwz     r0,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc11b24:	7d 49 5b 96 	divwu   r10,r9,r11                             
    pipe->Length -= chunk;                                            
ffc11b28:	7c 1c 00 50 	subf    r0,r28,r0                              
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc11b2c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
ffc11b30:	90 1f 00 0c 	stw     r0,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc11b34:	7d 6a 59 d6 	mullw   r11,r10,r11                            
ffc11b38:	7d 2b 48 50 	subf    r9,r11,r9                              
ffc11b3c:	91 3f 00 08 	stw     r9,8(r31)                              
    pipe->Length -= chunk;                                            
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc11b40:	40 9e 00 08 	bne-    cr7,ffc11b48 <pipe_read+0x1b0>         
      pipe->Start = 0;                                                
ffc11b44:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    if (pipe->waitingWriters > 0)                                     
ffc11b48:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc11b4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11b50:	40 9e 00 40 	bne-    cr7,ffc11b90 <pipe_read+0x1f8>         
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
ffc11b54:	7f 5a e2 14 	add     r26,r26,r28                            
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc11b58:	7f 9a f0 40 	cmplw   cr7,r26,r30                            
ffc11b5c:	7f 59 d3 78 	mr      r25,r26                                
ffc11b60:	41 9c fe a0 	blt+    cr7,ffc11a00 <pipe_read+0x68>          <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc11b64:	3b 80 00 00 	li      r28,0                                  
ffc11b68:	4b ff ff 18 	b       ffc11a80 <pipe_read+0xe8>              
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc11b6c:	3b 80 ff f5 	li      r28,-11                                
ffc11b70:	4b ff ff 10 	b       ffc11a80 <pipe_read+0xe8>              
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
ffc11b74:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
ffc11b78:	4b ff ff 10 	b       ffc11a88 <pipe_read+0xf0>              <== 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);       
ffc11b7c:	7c 7d ca 14 	add     r3,r29,r25                             
ffc11b80:	7c 84 02 14 	add     r4,r4,r0                               
ffc11b84:	7f 85 e3 78 	mr      r5,r28                                 
ffc11b88:	48 00 42 05 	bl      ffc15d8c <memcpy>                      
ffc11b8c:	4b ff ff 88 	b       ffc11b14 <pipe_read+0x17c>             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc11b90:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11b94:	38 81 00 08 	addi    r4,r1,8                                
ffc11b98:	48 00 12 61 	bl      ffc12df8 <rtems_barrier_release>       
ffc11b9c:	4b ff ff b8 	b       ffc11b54 <pipe_read+0x1bc>             
                                                                      

ffc113f4 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc113f4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc113f8:	7c 08 02 a6 	mflr    r0                                     
ffc113fc:	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);                                          
ffc11400:	80 04 00 18 	lwz     r0,24(r4)                              
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc11404:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc11408:	7c 7d 1b 78 	mr      r29,r3                                 
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc1140c:	70 09 00 02 	andi.   r9,r0,2                                
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc11410:	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);                                          
ffc11414:	54 1e 07 7c 	rlwinm  r30,r0,0,29,30                         
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc11418:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1141c:	93 81 00 18 	stw     r28,24(r1)                             
  pipe_control_t *pipe = *pipep;                                      
ffc11420:	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)                                        
ffc11424:	41 82 00 10 	beq-    ffc11434 <pipe_release+0x40>           
     pipe->Readers --;                                                
ffc11428:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc1142c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11430:	90 1f 00 10 	stw     r0,16(r31)                             
  if (mode & LIBIO_FLAGS_WRITE)                                       
ffc11434:	73 c0 00 04 	andi.   r0,r30,4                               
ffc11438:	41 82 00 10 	beq-    ffc11448 <pipe_release+0x54>           
     pipe->Writers --;                                                
ffc1143c:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc11440:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11444:	90 1f 00 14 	stw     r0,20(r31)                             
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc11448:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1144c:	4b ff a4 f1 	bl      ffc0b93c <rtems_semaphore_release>     
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc11450:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11454:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11458:	41 9e 00 50 	beq-    cr7,ffc114a8 <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)            
ffc1145c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc11460:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11464:	40 9e 00 18 	bne-    cr7,ffc1147c <pipe_release+0x88>       <== NEVER TAKEN
ffc11468:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc1146c:	41 9e 00 10 	beq-    cr7,ffc1147c <pipe_release+0x88>       <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
ffc11470:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11474:	38 81 00 08 	addi    r4,r1,8                                
ffc11478:	48 00 19 81 	bl      ffc12df8 <rtems_barrier_release>       
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc1147c:	3d 20 00 00 	lis     r9,0                                   
ffc11480:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc11484:	4b ff a4 b9 	bl      ffc0b93c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc11488:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1148c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11490:	7c 08 03 a6 	mtlr    r0                                     
ffc11494:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11498:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1149c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc114a0:	38 21 00 28 	addi    r1,r1,40                               
ffc114a4:	4e 80 00 20 	blr                                            
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc114a8:	83 9f 00 14 	lwz     r28,20(r31)                            
ffc114ac:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc114b0:	41 9e 00 44 	beq-    cr7,ffc114f4 <pipe_release+0x100>      
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
ffc114b4:	2f 9e 00 04 	cmpwi   cr7,r30,4                              
ffc114b8:	41 9e ff c4 	beq+    cr7,ffc1147c <pipe_release+0x88>       <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
ffc114bc:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc114c0:	38 81 00 08 	addi    r4,r1,8                                
ffc114c4:	48 00 19 35 	bl      ffc12df8 <rtems_barrier_release>       
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc114c8:	3d 20 00 00 	lis     r9,0                                   
ffc114cc:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc114d0:	4b ff a4 6d 	bl      ffc0b93c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc114d4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc114d8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc114dc:	7c 08 03 a6 	mtlr    r0                                     
ffc114e0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc114e4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc114e8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc114ec:	38 21 00 28 	addi    r1,r1,40                               
ffc114f0:	4e 80 00 20 	blr                                            
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc114f4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc114f8:	48 00 18 35 	bl      ffc12d2c <rtems_barrier_delete>        
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc114fc:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11500:	48 00 18 2d 	bl      ffc12d2c <rtems_barrier_delete>        
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc11504:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11508:	4b ff a1 cd 	bl      ffc0b6d4 <rtems_semaphore_delete>      
  free(pipe->Buffer);                                                 
ffc1150c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11510:	4b ff 5a 11 	bl      ffc06f20 <free>                        
  free(pipe);                                                         
ffc11514:	7f e3 fb 78 	mr      r3,r31                                 
ffc11518:	4b ff 5a 09 	bl      ffc06f20 <free>                        
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc1151c:	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;                                                    
ffc11520:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc11524:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc11528:	4b ff a4 15 	bl      ffc0b93c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc1152c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11530:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11534:	7c 08 03 a6 	mtlr    r0                                     
ffc11538:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1153c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11540:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11544:	38 21 00 28 	addi    r1,r1,40                               
ffc11548:	4e 80 00 20 	blr                                            
                                                                      

ffc11ba0 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11ba0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc11ba4:	7c 08 02 a6 	mflr    r0                                     
ffc11ba8:	93 c1 00 30 	stw     r30,48(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc11bac:	7c be 2b 79 	mr.     r30,r5                                 
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11bb0:	93 41 00 20 	stw     r26,32(r1)                             
ffc11bb4:	7c da 33 78 	mr      r26,r6                                 
ffc11bb8:	93 61 00 24 	stw     r27,36(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
ffc11bbc:	3b 60 00 00 	li      r27,0                                  
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11bc0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc11bc4:	7c 9d 23 78 	mr      r29,r4                                 
ffc11bc8:	93 e1 00 34 	stw     r31,52(r1)                             
ffc11bcc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11bd0:	90 01 00 3c 	stw     r0,60(r1)                              
ffc11bd4:	93 01 00 18 	stw     r24,24(r1)                             
ffc11bd8:	93 21 00 1c 	stw     r25,28(r1)                             
ffc11bdc:	93 81 00 28 	stw     r28,40(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc11be0:	40 82 00 38 	bne-    ffc11c18 <pipe_write+0x78>             <== ALWAYS TAKEN
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc11be4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc11be8:	7f 63 db 78 	mr      r3,r27                                 
ffc11bec:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11bf0:	7c 08 03 a6 	mtlr    r0                                     
ffc11bf4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11bf8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11bfc:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11c00:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11c04:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11c08:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11c0c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11c10:	38 21 00 38 	addi    r1,r1,56                               
ffc11c14:	4e 80 00 20 	blr                                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11c18:	80 63 00 28 	lwz     r3,40(r3)                              
ffc11c1c:	38 80 00 00 	li      r4,0                                   
ffc11c20:	38 a0 00 00 	li      r5,0                                   
ffc11c24:	4b ff 9b 8d 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
    return -EINTR;                                                    
ffc11c28:	3b 60 ff fc 	li      r27,-4                                 
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11c2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c30:	40 be ff b4 	bne-    cr7,ffc11be4 <pipe_write+0x44>         <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
ffc11c34:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11c38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11c3c:	41 9e 01 9c 	beq-    cr7,ffc11dd8 <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;                            
ffc11c40:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc11c44:	3b 20 00 01 	li      r25,1                                  
ffc11c48:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc11c4c:	40 9d 01 7c 	ble-    cr7,ffc11dc8 <pipe_write+0x228>        <== ALWAYS TAKEN
ffc11c50:	3b 00 00 00 	li      r24,0                                  
ffc11c54:	3b 60 00 00 	li      r27,0                                  
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
ffc11c58:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc11c5c:	7f 80 48 50 	subf    r28,r0,r9                              
ffc11c60:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc11c64:	40 9c 00 8c 	bge-    cr7,ffc11cf0 <pipe_write+0x150>        
      if (LIBIO_NODELAY(iop)) {                                       
ffc11c68:	80 1a 00 18 	lwz     r0,24(r26)                             
ffc11c6c:	70 09 00 01 	andi.   r9,r0,1                                
ffc11c70:	40 82 01 74 	bne-    ffc11de4 <pipe_write+0x244>            
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc11c74:	81 3f 00 1c 	lwz     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc11c78:	3b 80 ff fc 	li      r28,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc11c7c:	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 ++;                                        
ffc11c80:	38 09 00 01 	addi    r0,r9,1                                
ffc11c84:	90 1f 00 1c 	stw     r0,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc11c88:	4b ff 9c b5 	bl      ffc0b93c <rtems_semaphore_release>     
      if (! PIPE_WRITEWAIT(pipe))                                     
ffc11c8c:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11c90:	38 80 00 00 	li      r4,0                                   
ffc11c94:	48 00 11 f9 	bl      ffc12e8c <rtems_barrier_wait>          
ffc11c98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c9c:	40 9e 00 08 	bne-    cr7,ffc11ca4 <pipe_write+0x104>        <== NEVER TAKEN
ffc11ca0:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc11ca4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11ca8:	38 80 00 00 	li      r4,0                                   
ffc11cac:	38 a0 00 00 	li      r5,0                                   
ffc11cb0:	4b ff 9b 01 	bl      ffc0b7b0 <rtems_semaphore_obtain>      
ffc11cb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11cb8:	40 9e 01 34 	bne-    cr7,ffc11dec <pipe_write+0x24c>        <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
ffc11cbc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
ffc11cc0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc11cc4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11cc8:	90 1f 00 1c 	stw     r0,28(r31)                             
      if (ret != 0)                                                   
ffc11ccc:	40 9e 00 b4 	bne-    cr7,ffc11d80 <pipe_write+0x1e0>        <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
ffc11cd0:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11cd4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11cd8:	41 9e 00 f8 	beq-    cr7,ffc11dd0 <pipe_write+0x230>        <== NEVER TAKEN
ffc11cdc:	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) {                                
ffc11ce0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc11ce4:	7f 80 48 50 	subf    r28,r0,r9                              
ffc11ce8:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc11cec:	41 9c ff 7c 	blt+    cr7,ffc11c68 <pipe_write+0xc8>         <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
ffc11cf0:	7d 78 f0 50 	subf    r11,r24,r30                            
ffc11cf4:	7f 9c 58 40 	cmplw   cr7,r28,r11                            
ffc11cf8:	40 9d 00 08 	ble-    cr7,ffc11d00 <pipe_write+0x160>        
ffc11cfc:	7d 7c 5b 78 	mr      r28,r11                                
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc11d00:	81 7f 00 08 	lwz     r11,8(r31)                             
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc11d04:	7c 9d c2 14 	add     r4,r29,r24                             
ffc11d08:	80 7f 00 00 	lwz     r3,0(r31)                              
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc11d0c:	7c 00 5a 14 	add     r0,r0,r11                              
ffc11d10:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc11d14:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc11d18:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc11d1c:	7f 20 48 50 	subf    r25,r0,r9                              
    if (chunk > chunk1) {                                             
ffc11d20:	7f 9c c8 00 	cmpw    cr7,r28,r25                            
ffc11d24:	40 9d 00 d0 	ble-    cr7,ffc11df4 <pipe_write+0x254>        
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc11d28:	7f 25 cb 78 	mr      r5,r25                                 
ffc11d2c:	7c 63 02 14 	add     r3,r3,r0                               
ffc11d30:	48 00 40 5d 	bl      ffc15d8c <memcpy>                      
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
ffc11d34:	7c 99 c2 14 	add     r4,r25,r24                             
ffc11d38:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11d3c:	7c 9d 22 14 	add     r4,r29,r4                              
ffc11d40:	7c b9 e0 50 	subf    r5,r25,r28                             
ffc11d44:	48 00 40 49 	bl      ffc15d8c <memcpy>                      
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
ffc11d48:	81 3f 00 18 	lwz     r9,24(r31)                             
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc11d4c:	80 1f 00 0c 	lwz     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc11d50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc11d54:	7c 00 e2 14 	add     r0,r0,r28                              
ffc11d58:	90 1f 00 0c 	stw     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc11d5c:	40 9e 00 a8 	bne-    cr7,ffc11e04 <pipe_write+0x264>        
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
ffc11d60:	7f 7b e2 14 	add     r27,r27,r28                            
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc11d64:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc11d68:	7f 78 db 78 	mr      r24,r27                                
ffc11d6c:	40 9d 00 10 	ble-    cr7,ffc11d7c <pipe_write+0x1dc>        <== ALWAYS TAKEN
ffc11d70:	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;                                                        
ffc11d74:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
ffc11d78:	4b ff fe e0 	b       ffc11c58 <pipe_write+0xb8>             <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc11d7c:	3b 80 00 00 	li      r28,0                                  
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc11d80:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11d84:	4b ff 9b b9 	bl      ffc0b93c <rtems_semaphore_release>     
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
ffc11d88:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc11d8c:	41 9d fe 58 	bgt+    cr7,ffc11be4 <pipe_write+0x44>         
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc11d90:	80 01 00 3c 	lwz     r0,60(r1)                              
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
ffc11d94:	7f 9b e3 78 	mr      r27,r28                                
}                                                                     
ffc11d98:	7f 63 db 78 	mr      r3,r27                                 
ffc11d9c:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11da0:	7c 08 03 a6 	mtlr    r0                                     
ffc11da4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11da8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11dac:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11db0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11db4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11db8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11dbc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11dc0:	38 21 00 38 	addi    r1,r1,56                               
ffc11dc4:	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;                            
ffc11dc8:	7f d9 f3 78 	mr      r25,r30                                
ffc11dcc:	4b ff fe 84 	b       ffc11c50 <pipe_write+0xb0>             
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
ffc11dd0:	3b 80 ff e0 	li      r28,-32                                <== NOT EXECUTED
ffc11dd4:	4b ff ff ac 	b       ffc11d80 <pipe_write+0x1e0>            <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
ffc11dd8:	3b 80 ff e0 	li      r28,-32                                
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
ffc11ddc:	3b 60 00 00 	li      r27,0                                  
ffc11de0:	4b ff ff a0 	b       ffc11d80 <pipe_write+0x1e0>            
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc11de4:	3b 80 ff f5 	li      r28,-11                                
ffc11de8:	4b ff ff 98 	b       ffc11d80 <pipe_write+0x1e0>            
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
ffc11dec:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
ffc11df0:	4b ff ff 98 	b       ffc11d88 <pipe_write+0x1e8>            <== 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);
ffc11df4:	7c 63 02 14 	add     r3,r3,r0                               
ffc11df8:	7f 85 e3 78 	mr      r5,r28                                 
ffc11dfc:	48 00 3f 91 	bl      ffc15d8c <memcpy>                      
ffc11e00:	4b ff ff 48 	b       ffc11d48 <pipe_write+0x1a8>            
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
ffc11e04:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11e08:	38 81 00 08 	addi    r4,r1,8                                
ffc11e0c:	48 00 0f ed 	bl      ffc12df8 <rtems_barrier_release>       
ffc11e10:	4b ff ff 50 	b       ffc11d60 <pipe_write+0x1c0>            
                                                                      

ffc09964 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
ffc09964:	7c 08 02 a6 	mflr    r0                                     
ffc09968:	94 21 ff f8 	stwu    r1,-8(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc0996c:	3d 60 00 00 	lis     r11,0                                  
ffc09970:	39 6b 33 f0 	addi    r11,r11,13296                          
int posix_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc09974:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09978:	38 04 ff ff 	addi    r0,r4,-1                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc0997c:	81 4b 00 08 	lwz     r10,8(r11)                             
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09980:	7c 08 20 39 	and.    r8,r0,r4                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc09984:	38 0a 00 01 	addi    r0,r10,1                               
ffc09988:	90 0b 00 08 	stw     r0,8(r11)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
    return EINVAL;                                                    
ffc0998c:	38 00 00 16 	li      r0,22                                  
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09990:	41 82 00 18 	beq-    ffc099a8 <posix_memalign+0x44>         <== ALWAYS TAKEN
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
ffc09994:	7c 03 03 78 	mr      r3,r0                                  
ffc09998:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0999c:	38 21 00 08 	addi    r1,r1,8                                
ffc099a0:	7c 08 03 a6 	mtlr    r0                                     
ffc099a4:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc099a8:	2b 84 00 03 	cmplwi  cr7,r4,3                               
ffc099ac:	40 9d ff e8 	ble+    cr7,ffc09994 <posix_memalign+0x30>     
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
ffc099b0:	48 00 03 75 	bl      ffc09d24 <rtems_memalign>              
ffc099b4:	7c 60 1b 78 	mr      r0,r3                                  
ffc099b8:	4b ff ff dc 	b       ffc09994 <posix_memalign+0x30>         
                                                                      

ffc063ac <printk>: * printk * * Kernel printf function requiring minimal infrastructure. */ void printk(const char *fmt, ...) {
ffc063ac:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc063b0:	7c 08 02 a6 	mflr    r0                                     
ffc063b4:	90 81 00 1c 	stw     r4,28(r1)                              
ffc063b8:	90 01 00 7c 	stw     r0,124(r1)                             
ffc063bc:	90 a1 00 20 	stw     r5,32(r1)                              
ffc063c0:	90 c1 00 24 	stw     r6,36(r1)                              
ffc063c4:	90 e1 00 28 	stw     r7,40(r1)                              
ffc063c8:	91 01 00 2c 	stw     r8,44(r1)                              
ffc063cc:	91 21 00 30 	stw     r9,48(r1)                              
ffc063d0:	91 41 00 34 	stw     r10,52(r1)                             
ffc063d4:	40 86 00 24 	bne-    cr1,ffc063f8 <printk+0x4c>             <== ALWAYS TAKEN
ffc063d8:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc063dc:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc063e0:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc063e4:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc063e8:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc063ec:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc063f0:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc063f4:	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 */           
ffc063f8:	38 00 00 01 	li      r0,1                                   
ffc063fc:	98 01 00 08 	stb     r0,8(r1)                               
ffc06400:	38 00 00 00 	li      r0,0                                   
  vprintk(fmt, ap);                                                   
ffc06404:	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 */           
ffc06408:	98 01 00 09 	stb     r0,9(r1)                               
ffc0640c:	38 01 00 80 	addi    r0,r1,128                              
ffc06410:	90 01 00 0c 	stw     r0,12(r1)                              
ffc06414:	38 01 00 18 	addi    r0,r1,24                               
ffc06418:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk(fmt, ap);                                                   
ffc0641c:	48 00 23 1d 	bl      ffc08738 <vprintk>                     
  va_end(ap);        /* clean up when done */                         
}                                                                     
ffc06420:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc06424:	38 21 00 78 	addi    r1,r1,120                              
ffc06428:	7c 08 03 a6 	mtlr    r0                                     
ffc0642c:	4e 80 00 20 	blr                                            
                                                                      

ffc0766c <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
ffc0766c:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc07670:	7c 08 02 a6 	mflr    r0                                     
ffc07674:	90 a1 00 18 	stw     r5,24(r1)                              
ffc07678:	90 01 00 74 	stw     r0,116(r1)                             
ffc0767c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc07680:	90 e1 00 20 	stw     r7,32(r1)                              
ffc07684:	91 01 00 24 	stw     r8,36(r1)                              
ffc07688:	91 21 00 28 	stw     r9,40(r1)                              
ffc0768c:	91 41 00 2c 	stw     r10,44(r1)                             
ffc07690:	40 86 00 24 	bne-    cr1,ffc076b4 <printk_plugin+0x48>      <== ALWAYS TAKEN
ffc07694:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc07698:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0769c:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc076a0:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc076a4:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc076a8:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc076ac:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc076b0:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc076b4:	38 00 00 02 	li      r0,2                                   
ffc076b8:	98 01 00 08 	stb     r0,8(r1)                               
ffc076bc:	38 00 00 00 	li      r0,0                                   
                                                                      
  vprintk( format, arg_pointer );                                     
ffc076c0:	7c 83 23 78 	mr      r3,r4                                  
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc076c4:	98 01 00 09 	stb     r0,9(r1)                               
ffc076c8:	38 01 00 78 	addi    r0,r1,120                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc076cc:	38 81 00 08 	addi    r4,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc076d0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc076d4:	38 01 00 10 	addi    r0,r1,16                               
ffc076d8:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc076dc:	48 00 23 21 	bl      ffc099fc <vprintk>                     
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
ffc076e0:	38 60 00 00 	li      r3,0                                   
ffc076e4:	80 01 00 74 	lwz     r0,116(r1)                             
ffc076e8:	38 21 00 70 	addi    r1,r1,112                              
ffc076ec:	7c 08 03 a6 	mtlr    r0                                     
ffc076f0:	4e 80 00 20 	blr                                            
                                                                      

ffc0ec04 <ramdisk_allocate>: void *area_begin, uint32_t block_size, rtems_blkdev_bnum block_count, bool trace ) {
ffc0ec04:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ec08:	7c 08 02 a6 	mflr    r0                                     
ffc0ec0c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0ec10:	7c 7f 1b 78 	mr      r31,r3                                 
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0ec14:	38 60 00 10 	li      r3,16                                  
  void *area_begin,                                                   
  uint32_t block_size,                                                
  rtems_blkdev_bnum block_count,                                      
  bool trace                                                          
)                                                                     
{                                                                     
ffc0ec18:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ec1c:	7c db 33 78 	mr      r27,r6                                 
ffc0ec20:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ec24:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ec28:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ec2c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0ec30:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ec34:	90 01 00 24 	stw     r0,36(r1)                              
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0ec38:	4b ff 75 01 	bl      ffc06138 <malloc>                      
                                                                      
  if (rd == NULL) {                                                   
ffc0ec3c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0ec40:	41 82 00 2c 	beq-    ffc0ec6c <ramdisk_allocate+0x68>       <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
ffc0ec44:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ec48:	41 9e 00 4c 	beq-    cr7,ffc0ec94 <ramdisk_allocate+0x90>   <== ALWAYS TAKEN
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
ffc0ec4c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0ec50:	98 1c 00 0d 	stb     r0,13(r28)                             <== NOT EXECUTED
  }                                                                   
  rd->block_size = block_size;                                        
  rd->block_num = block_count;                                        
  rd->area = area_begin;                                              
  rd->trace = trace;                                                  
  rd->initialized = true;                                             
ffc0ec54:	38 00 00 01 	li      r0,1                                   
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
  }                                                                   
  rd->block_size = block_size;                                        
ffc0ec58:	93 dc 00 00 	stw     r30,0(r28)                             
  rd->block_num = block_count;                                        
ffc0ec5c:	93 bc 00 04 	stw     r29,4(r28)                             
  rd->area = area_begin;                                              
ffc0ec60:	93 fc 00 08 	stw     r31,8(r28)                             
  rd->trace = trace;                                                  
ffc0ec64:	9b 7c 00 0e 	stb     r27,14(r28)                            
  rd->initialized = true;                                             
ffc0ec68:	98 1c 00 0c 	stb     r0,12(r28)                             
                                                                      
  return rd;                                                          
}                                                                     
ffc0ec6c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ec70:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ec74:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ec78:	7c 08 03 a6 	mtlr    r0                                     
ffc0ec7c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ec80:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ec84:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ec88:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ec8c:	38 21 00 20 	addi    r1,r1,32                               
ffc0ec90:	4e 80 00 20 	blr                                            
  if (rd == NULL) {                                                   
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(block_count, block_size);                     
ffc0ec94:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ec98:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ec9c:	4b ff 6d d5 	bl      ffc05a70 <calloc>                      
    if (area_begin == NULL) {                                         
ffc0eca0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0eca4:	41 82 00 10 	beq-    ffc0ecb4 <ramdisk_allocate+0xb0>       <== NEVER TAKEN
      free(rd);                                                       
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
ffc0eca8:	38 00 00 01 	li      r0,1                                   
ffc0ecac:	98 1c 00 0d 	stb     r0,13(r28)                             
ffc0ecb0:	4b ff ff a4 	b       ffc0ec54 <ramdisk_allocate+0x50>       
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(block_count, block_size);                     
    if (area_begin == NULL) {                                         
      free(rd);                                                       
ffc0ecb4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0ecb8:	4b ff 70 65 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
      return NULL;                                                    
ffc0ecbc:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc0ecc0:	4b ff ff ac 	b       ffc0ec6c <ramdisk_allocate+0x68>       <== NOT EXECUTED
                                                                      

ffc0ecc4 <ramdisk_free>: return rd; } void ramdisk_free(ramdisk *rd) {
ffc0ecc4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ecc8:	7c 08 02 a6 	mflr    r0                                     
ffc0eccc:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (rd != NULL) {                                                   
ffc0ecd0:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
  return rd;                                                          
}                                                                     
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
ffc0ecd4:	90 01 00 14 	stw     r0,20(r1)                              
  if (rd != NULL) {                                                   
ffc0ecd8:	41 82 00 18 	beq-    ffc0ecf0 <ramdisk_free+0x2c>           <== NEVER TAKEN
    if (rd->malloced) {                                               
ffc0ecdc:	88 1f 00 0d 	lbz     r0,13(r31)                             
ffc0ece0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ece4:	40 9e 00 20 	bne-    cr7,ffc0ed04 <ramdisk_free+0x40>       <== ALWAYS TAKEN
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
ffc0ece8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ecec:	4b ff 70 31 	bl      ffc05d1c <free>                        
  }                                                                   
}                                                                     
ffc0ecf0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ecf4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ecf8:	38 21 00 10 	addi    r1,r1,16                               
ffc0ecfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed00:	4e 80 00 20 	blr                                            
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
ffc0ed04:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0ed08:	4b ff 70 15 	bl      ffc05d1c <free>                        
ffc0ed0c:	4b ff ff dc 	b       ffc0ece8 <ramdisk_free+0x24>           
                                                                      

ffc0ea64 <ramdisk_ioctl>: return 0; } int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
ffc0ea64:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ea68:	7c 08 02 a6 	mflr    r0                                     
ffc0ea6c:	90 01 00 24 	stw     r0,36(r1)                              
    switch (req)                                                      
ffc0ea70:	3c 00 c0 18 	lis     r0,-16360                              
ffc0ea74:	60 00 42 01 	ori     r0,r0,16897                            
ffc0ea78:	7f 84 00 00 	cmpw    cr7,r4,r0                              
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
ffc0ea7c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0ea80:	7c be 2b 78 	mr      r30,r5                                 
ffc0ea84:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ea88:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ea8c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ea90:	93 e1 00 1c 	stw     r31,28(r1)                             
    switch (req)                                                      
ffc0ea94:	41 9e 00 2c 	beq-    cr7,ffc0eac0 <ramdisk_ioctl+0x5c>      
            }                                                         
            break;                                                    
        }                                                             
                                                                      
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
ffc0ea98:	48 00 35 79 	bl      ffc12010 <rtems_blkdev_ioctl>          
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0ea9c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0eaa0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0eaa4:	7c 08 03 a6 	mtlr    r0                                     
ffc0eaa8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0eaac:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0eab0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0eab4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0eab8:	38 21 00 20 	addi    r1,r1,32                               
ffc0eabc:	4e 80 00 20 	blr                                            
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
ffc0eac0:	80 05 00 00 	lwz     r0,0(r5)                               
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0eac4:	83 83 00 2c 	lwz     r28,44(r3)                             
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
ffc0eac8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eacc:	40 9e 00 90 	bne-    cr7,ffc0eb5c <ramdisk_ioctl+0xf8>      
#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++)           
ffc0ead0:	80 05 00 10 	lwz     r0,16(r5)                              
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0ead4:	83 7c 00 08 	lwz     r27,8(r28)                             
#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++)           
ffc0ead8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eadc:	41 9e 00 3c 	beq-    cr7,ffc0eb18 <ramdisk_ioctl+0xb4>      <== NEVER TAKEN
ffc0eae0:	3b e5 00 18 	addi    r31,r5,24                              
ffc0eae4:	3b a0 00 00 	li      r29,0                                  
#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);
ffc0eae8:	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++)           
ffc0eaec:	3b bd 00 01 	addi    r29,r29,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);
ffc0eaf0:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0eaf4:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0eaf8:	7c 84 01 d6 	mullw   r4,r4,r0                               
ffc0eafc:	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++)           
ffc0eb00:	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);
ffc0eb04:	7c 9b 22 14 	add     r4,r27,r4                              
ffc0eb08:	48 00 94 15 	bl      ffc17f1c <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++)           
ffc0eb0c:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc0eb10:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0eb14:	41 9c ff d4 	blt+    cr7,ffc0eae8 <ramdisk_ioctl+0x84>      <== NEVER TAKEN
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
ffc0eb18:	38 00 00 00 	li      r0,0                                   
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0eb1c:	80 7e 00 08 	lwz     r3,8(r30)                              
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
ffc0eb20:	90 1e 00 0c 	stw     r0,12(r30)                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0eb24:	38 80 00 00 	li      r4,0                                   
ffc0eb28:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0eb2c:	7c 09 03 a6 	mtctr   r0                                     
ffc0eb30:	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);                      
ffc0eb34:	38 60 00 00 	li      r3,0                                   
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0eb38:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0eb3c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0eb40:	7c 08 03 a6 	mtlr    r0                                     
ffc0eb44:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0eb48:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0eb4c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0eb50:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0eb54:	38 21 00 20 	addi    r1,r1,32                               
ffc0eb58:	4e 80 00 20 	blr                                            
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
ffc0eb5c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0eb60:	41 9e 00 38 	beq-    cr7,ffc0eb98 <ramdisk_ioctl+0x134>     <== ALWAYS TAKEN
                                                                      
                case RTEMS_BLKDEV_REQ_WRITE:                          
                    return ramdisk_write(rd, r);                      
                                                                      
                default:                                              
                    errno = EINVAL;                                   
ffc0eb64:	48 00 87 8d 	bl      ffc172f0 <__errno>                     <== NOT EXECUTED
ffc0eb68:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc0eb6c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                    return -1;                                        
ffc0eb70:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0eb74:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc0eb78:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc0eb7c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0eb80:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc0eb84:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc0eb88:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc0eb8c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc0eb90:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc0eb94:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
#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++)           
ffc0eb98:	80 05 00 10 	lwz     r0,16(r5)                              
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0eb9c:	83 7c 00 08 	lwz     r27,8(r28)                             
                                                                      
#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++)           
ffc0eba0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eba4:	41 be ff 74 	beq-    cr7,ffc0eb18 <ramdisk_ioctl+0xb4>      <== NEVER TAKEN
ffc0eba8:	3b e5 00 18 	addi    r31,r5,24                              
ffc0ebac:	3b a0 00 00 	li      r29,0                                  
#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);
ffc0ebb0:	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++)           
ffc0ebb4:	3b bd 00 01 	addi    r29,r29,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);
ffc0ebb8:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0ebbc:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0ebc0:	7c 63 01 d6 	mullw   r3,r3,r0                               
ffc0ebc4:	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++)           
ffc0ebc8:	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);
ffc0ebcc:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc0ebd0:	48 00 93 4d 	bl      ffc17f1c <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++)           
ffc0ebd4:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc0ebd8:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0ebdc:	41 9c ff d4 	blt+    cr7,ffc0ebb0 <ramdisk_ioctl+0x14c>     
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
ffc0ebe0:	38 00 00 00 	li      r0,0                                   
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0ebe4:	80 7e 00 08 	lwz     r3,8(r30)                              
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
    }                                                                 
    req->status = RTEMS_SUCCESSFUL;                                   
ffc0ebe8:	90 1e 00 0c 	stw     r0,12(r30)                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0ebec:	38 80 00 00 	li      r4,0                                   
ffc0ebf0:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0ebf4:	7c 09 03 a6 	mtctr   r0                                     
ffc0ebf8:	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);                      
ffc0ebfc:	38 60 00 00 	li      r3,0                                   
ffc0ec00:	4b ff ff 38 	b       ffc0eb38 <ramdisk_ioctl+0xd4>          
                                                                      

ffc0ed10 <ramdisk_register>: rtems_blkdev_bnum block_count, bool trace, const char *disk, dev_t *dev_ptr ) {
ffc0ed10:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0ed14:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ed18:	7c 29 0b 78 	mr      r9,r1                                  
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed1c:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ed20:	38 00 00 00 	li      r0,0                                   
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed24:	93 21 00 1c 	stw     r25,28(r1)                             
ffc0ed28:	7c 79 1b 78 	mr      r25,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);             
ffc0ed2c:	38 60 00 00 	li      r3,0                                   
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed30:	93 41 00 20 	stw     r26,32(r1)                             
ffc0ed34:	7c 9a 23 78 	mr      r26,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);             
ffc0ed38:	3c 80 ff c2 	lis     r4,-62                                 
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed3c:	93 61 00 24 	stw     r27,36(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);             
ffc0ed40:	38 84 dd 24 	addi    r4,r4,-8924                            
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed44:	7c db 33 78 	mr      r27,r6                                 
ffc0ed48:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0ed4c:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ed50:	93 c1 00 30 	stw     r30,48(r1)                             
ffc0ed54:	7c fe 3b 78 	mr      r30,r7                                 
ffc0ed58:	93 e1 00 34 	stw     r31,52(r1)                             
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return RTEMS_UNSATISFIED;                                         
ffc0ed5c:	3b e0 00 0d 	li      r31,13                                 
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ed60:	93 81 00 28 	stw     r28,40(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ed64:	94 09 00 08 	stwu    r0,8(r9)                               
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
ffc0ed68:	7d 25 4b 78 	mr      r5,r9                                  
ffc0ed6c:	4b ff be d1 	bl      ffc0ac3c <rtems_io_register_driver>    
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0ed70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ed74:	41 9e 00 34 	beq-    cr7,ffc0eda8 <ramdisk_register+0x98>   <== ALWAYS TAKEN
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0ed78:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0ed7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ed80:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc0ed84:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed88:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0ed8c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc0ed90:	83 81 00 28 	lwz     r28,40(r1)                             
ffc0ed94:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0ed98:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0ed9c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc0eda0:	38 21 00 38 	addi    r1,r1,56                               
ffc0eda4:	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, block_size, block_count, trace);        
ffc0eda8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0edac:	7f 24 cb 78 	mr      r4,r25                                 
ffc0edb0:	7f 45 d3 78 	mr      r5,r26                                 
ffc0edb4:	4b ff fe 51 	bl      ffc0ec04 <ramdisk_allocate>            
  if (rd == NULL) {                                                   
ffc0edb8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0edbc:	41 82 00 4c 	beq-    ffc0ee08 <ramdisk_register+0xf8>       <== NEVER TAKEN
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0edc0:	83 81 00 08 	lwz     r28,8(r1)                              
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  dev = rtems_filesystem_make_dev_t(major, 0);                        
                                                                      
  sc = rtems_disk_create_phys(                                        
ffc0edc4:	3c e0 ff c1 	lis     r7,-63                                 
ffc0edc8:	38 80 00 00 	li      r4,0                                   
ffc0edcc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0edd0:	7f 25 cb 78 	mr      r5,r25                                 
ffc0edd4:	7f 46 d3 78 	mr      r6,r26                                 
ffc0edd8:	38 e7 ea 64 	addi    r7,r7,-5532                            
ffc0eddc:	7f a8 eb 78 	mr      r8,r29                                 
ffc0ede0:	7f 69 db 78 	mr      r9,r27                                 
ffc0ede4:	4b ff 59 51 	bl      ffc04734 <rtems_disk_create_phys>      
    block_count,                                                      
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0ede8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0edec:	40 82 00 14 	bne-    ffc0ee00 <ramdisk_register+0xf0>       <== NEVER TAKEN
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0edf0:	93 9e 00 00 	stw     r28,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0edf4:	3b e0 00 00 	li      r31,0                                  
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0edf8:	90 7e 00 04 	stw     r3,4(r30)                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0edfc:	4b ff ff 7c 	b       ffc0ed78 <ramdisk_register+0x68>       
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    ramdisk_free(rd);                                                 
ffc0ee00:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0ee04:	4b ff fe c1 	bl      ffc0ecc4 <ramdisk_free>                <== NOT EXECUTED
    rtems_io_unregister_driver(major);                                
ffc0ee08:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc0ee0c:	4b ff bf bd 	bl      ffc0adc8 <rtems_io_unregister_driver>  <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0ee10:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc0ee14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0ee18:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc0ee1c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0ee20:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc0ee24:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc0ee28:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc0ee2c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc0ee30:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc0ee34:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc0ee38:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc0ee3c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1d974 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
ffc1d974:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1d978:	7c 08 02 a6 	mflr    r0                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1d97c:	3d 20 00 00 	lis     r9,0                                   
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1d980:	90 01 00 14 	stw     r0,20(r1)                              
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1d984:	80 09 26 fc 	lwz     r0,9980(r9)                            
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1d988:	93 e1 00 0c 	stw     r31,12(r1)                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1d98c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1d990:	40 9c 00 8c 	bge-    cr7,ffc1da1c <read+0xa8>               
  iop = rtems_libio_iop( fd );                                        
ffc1d994:	3d 60 00 00 	lis     r11,0                                  
ffc1d998:	83 eb 27 ac 	lwz     r31,10156(r11)                         
ffc1d99c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1d9a0:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc1d9a4:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc1d9a8:	71 6a 01 00 	andi.   r10,r11,256                            
ffc1d9ac:	41 82 00 70 	beq-    ffc1da1c <read+0xa8>                   
  rtems_libio_check_buffer( buffer );                                 
ffc1d9b0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1d9b4:	41 9e 00 7c 	beq-    cr7,ffc1da30 <read+0xbc>               <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc1d9b8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1d9bc:	38 60 00 00 	li      r3,0                                   
ffc1d9c0:	41 9e 00 48 	beq-    cr7,ffc1da08 <read+0x94>               
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc1d9c4:	71 60 00 02 	andi.   r0,r11,2                               
ffc1d9c8:	41 82 00 54 	beq-    ffc1da1c <read+0xa8>                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
ffc1d9cc:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc1d9d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d9d4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1d9d8:	7c 09 03 a6 	mtctr   r0                                     
ffc1d9dc:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc1d9e0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d9e4:	40 81 00 24 	ble-    ffc1da08 <read+0x94>                   
    iop->offset += rc;                                                
ffc1d9e8:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc1d9ec:	7c 6b 1b 78 	mr      r11,r3                                 
ffc1d9f0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1d9f4:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc1d9f8:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc1d9fc:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc1da00:	91 5f 00 10 	stw     r10,16(r31)                            
ffc1da04:	91 7f 00 14 	stw     r11,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc1da08:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1da0c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1da10:	38 21 00 10 	addi    r1,r1,16                               
ffc1da14:	7c 08 03 a6 	mtlr    r0                                     
ffc1da18:	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 );
ffc1da1c:	4b ff 51 41 	bl      ffc12b5c <__errno>                     
ffc1da20:	38 00 00 09 	li      r0,9                                   
ffc1da24:	90 03 00 00 	stw     r0,0(r3)                               
ffc1da28:	38 60 ff ff 	li      r3,-1                                  
ffc1da2c:	4b ff ff dc 	b       ffc1da08 <read+0x94>                   
  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 );                                 
ffc1da30:	4b ff 51 2d 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc1da34:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1da38:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1da3c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1da40:	4b ff ff c8 	b       ffc1da08 <read+0x94>                   <== NOT EXECUTED
                                                                      

ffc078ec <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
ffc078ec:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc078f0:	7c 08 02 a6 	mflr    r0                                     
ffc078f4:	93 c1 00 30 	stw     r30,48(r1)                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc078f8:	7c 9e 23 79 	mr.     r30,r4                                 
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
ffc078fc:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc07900:	7c 7d 1b 78 	mr      r29,r3                                 
ffc07904:	93 e1 00 34 	stw     r31,52(r1)                             
ffc07908:	7c bf 2b 78 	mr      r31,r5                                 
ffc0790c:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc07910:	41 82 00 a4 	beq-    ffc079b4 <readlink+0xc8>               
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
ffc07914:	48 00 e0 29 	bl      ffc1593c <strlen>                      
ffc07918:	38 a0 00 00 	li      r5,0                                   
ffc0791c:	7c 64 1b 78 	mr      r4,r3                                  
ffc07920:	38 c1 00 08 	addi    r6,r1,8                                
ffc07924:	7f a3 eb 78 	mr      r3,r29                                 
ffc07928:	38 e0 00 00 	li      r7,0                                   
ffc0792c:	4b ff e4 25 	bl      ffc05d50 <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
ffc07930:	3b a0 ff ff 	li      r29,-1                                 
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
ffc07934:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07938:	40 9e 00 48 	bne-    cr7,ffc07980 <readlink+0x94>           <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
ffc0793c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc07940:	38 61 00 08 	addi    r3,r1,8                                
ffc07944:	80 09 00 10 	lwz     r0,16(r9)                              
ffc07948:	7c 09 03 a6 	mtctr   r0                                     
ffc0794c:	4e 80 04 21 	bctrl                                          
ffc07950:	2f 83 00 04 	cmpwi   cr7,r3,4                               
    rtems_filesystem_freenode( &loc );                                
ffc07954:	38 61 00 08 	addi    r3,r1,8                                
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
ffc07958:	40 9e 00 48 	bne-    cr7,ffc079a0 <readlink+0xb4>           
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
ffc0795c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc07960:	7f c4 f3 78 	mr      r4,r30                                 
ffc07964:	7f e5 fb 78 	mr      r5,r31                                 
ffc07968:	80 09 00 3c 	lwz     r0,60(r9)                              
ffc0796c:	7c 09 03 a6 	mtctr   r0                                     
ffc07970:	4e 80 04 21 	bctrl                                          
ffc07974:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc07978:	38 61 00 08 	addi    r3,r1,8                                
ffc0797c:	4b ff e6 b5 	bl      ffc06030 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc07980:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc07984:	7f a3 eb 78 	mr      r3,r29                                 
ffc07988:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0798c:	7c 08 03 a6 	mtlr    r0                                     
ffc07990:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc07994:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc07998:	38 21 00 38 	addi    r1,r1,56                               
ffc0799c:	4e 80 00 20 	blr                                            
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
ffc079a0:	4b ff e6 91 	bl      ffc06030 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc079a4:	48 00 c8 d5 	bl      ffc14278 <__errno>                     
ffc079a8:	38 00 00 16 	li      r0,22                                  
ffc079ac:	90 03 00 00 	stw     r0,0(r3)                               
ffc079b0:	4b ff ff d0 	b       ffc07980 <readlink+0x94>               
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc079b4:	48 00 c8 c5 	bl      ffc14278 <__errno>                     
ffc079b8:	38 00 00 0e 	li      r0,14                                  
ffc079bc:	90 03 00 00 	stw     r0,0(r3)                               
ffc079c0:	3b a0 ff ff 	li      r29,-1                                 
ffc079c4:	4b ff ff bc 	b       ffc07980 <readlink+0x94>               
                                                                      

ffc071b0 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
ffc071b0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc071b4:	7c 08 02 a6 	mflr    r0                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071b8:	3d 20 00 00 	lis     r9,0                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071bc:	90 01 00 2c 	stw     r0,44(r1)                              
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071c0:	80 09 26 dc 	lwz     r0,9948(r9)                            
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071c4:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc071c8:	7c 9d 23 78 	mr      r29,r4                                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071cc:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071d0:	93 01 00 08 	stw     r24,8(r1)                              
ffc071d4:	93 21 00 0c 	stw     r25,12(r1)                             
ffc071d8:	93 41 00 10 	stw     r26,16(r1)                             
ffc071dc:	93 61 00 14 	stw     r27,20(r1)                             
ffc071e0:	93 81 00 18 	stw     r28,24(r1)                             
ffc071e4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc071e8:	93 e1 00 24 	stw     r31,36(r1)                             
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071ec:	40 9c 01 60 	bge-    cr7,ffc0734c <readv+0x19c>             
  iop = rtems_libio_iop( fd );                                        
ffc071f0:	3d 20 00 00 	lis     r9,0                                   
ffc071f4:	83 69 27 88 	lwz     r27,10120(r9)                          
ffc071f8:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc071fc:	7f 7b 1a 14 	add     r27,r27,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc07200:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc07204:	70 09 01 00 	andi.   r9,r0,256                              
ffc07208:	41 82 01 44 	beq-    ffc0734c <readv+0x19c>                 
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc0720c:	70 09 00 02 	andi.   r9,r0,2                                
ffc07210:	41 82 01 3c 	beq-    ffc0734c <readv+0x19c>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc07214:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc07218:	41 9e 00 f0 	beq-    cr7,ffc07308 <readv+0x158>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc0721c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc07220:	40 9d 00 e8 	ble-    cr7,ffc07308 <readv+0x158>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc07224:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc07228:	41 9d 00 e0 	bgt-    cr7,ffc07308 <readv+0x158>             <== NEVER TAKEN
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
ffc0722c:	54 b8 18 38 	rlwinm  r24,r5,3,0,28                          
ffc07230:	39 78 ff f8 	addi    r11,r24,-8                             
ffc07234:	55 6b e8 fe 	rlwinm  r11,r11,29,3,31                        
ffc07238:	39 6b 00 01 	addi    r11,r11,1                              
ffc0723c:	7d 69 03 a6 	mtctr   r11                                    
ffc07240:	39 20 00 00 	li      r9,0                                   
ffc07244:	39 00 00 01 	li      r8,1                                   
ffc07248:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     *  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 )                                       
ffc0724c:	7d 7d 48 2e 	lwzx    r11,r29,r9                             
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
ffc07250:	7d 5d 4a 14 	add     r10,r29,r9                             
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc07254:	39 29 00 08 	addi    r9,r9,8                                
                                                                      
    /*                                                                
     *  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 )                                       
ffc07258:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0725c:	41 9e 00 ac 	beq-    cr7,ffc07308 <readv+0x158>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc07260:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc07264:	7d 6a 02 14 	add     r11,r10,r0                             
    if ( total < old )                                                
ffc07268:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc0726c:	31 4a ff ff 	addic   r10,r10,-1                             
ffc07270:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc07274:	7d 08 50 38 	and     r8,r8,r10                              
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc07278:	7d 60 5b 78 	mr      r0,r11                                 
    if ( total < old )                                                
ffc0727c:	41 9c 00 8c 	blt-    cr7,ffc07308 <readv+0x158>             
   *  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++ ) {                           
ffc07280:	42 00 ff cc 	bdnz+   ffc0724c <readv+0x9c>                  
  /*                                                                  
   *  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 ) {                                          
ffc07284:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    return 0;                                                         
ffc07288:	3b 20 00 00 	li      r25,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 ) {                                          
ffc0728c:	40 9e 00 8c 	bne-    cr7,ffc07318 <readv+0x168>             
ffc07290:	3b 80 00 00 	li      r28,0                                  
ffc07294:	48 00 00 3c 	b       ffc072d0 <readv+0x120>                 
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc07298:	41 82 00 28 	beq-    ffc072c0 <readv+0x110>                 <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc0729c:	81 5b 00 10 	lwz     r10,16(r27)                            
ffc072a0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc072a4:	81 7b 00 14 	lwz     r11,20(r27)                            
ffc072a8:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc072ac:	7f 39 1a 14 	add     r25,r25,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc072b0:	7d 6b f8 14 	addc    r11,r11,r31                            
ffc072b4:	7d 4a f1 14 	adde    r10,r10,r30                            
ffc072b8:	91 5b 00 10 	stw     r10,16(r27)                            
ffc072bc:	91 7b 00 14 	stw     r11,20(r27)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc072c0:	80 1a 00 04 	lwz     r0,4(r26)                              
ffc072c4:	7f 03 00 00 	cmpw    cr6,r3,r0                              
ffc072c8:	40 9a 00 50 	bne-    cr6,ffc07318 <readv+0x168>             <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072cc:	41 9e 00 4c 	beq-    cr7,ffc07318 <readv+0x168>             
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc072d0:	81 3b 00 24 	lwz     r9,36(r27)                             
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
ffc072d4:	7f 5d e2 14 	add     r26,r29,r28                            
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc072d8:	7c 9d e0 2e 	lwzx    r4,r29,r28                             
ffc072dc:	7f 63 db 78 	mr      r3,r27                                 
ffc072e0:	80 09 00 08 	lwz     r0,8(r9)                               
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc072e4:	3b 9c 00 08 	addi    r28,r28,8                              
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc072e8:	80 ba 00 04 	lwz     r5,4(r26)                              
ffc072ec:	7c 09 03 a6 	mtctr   r0                                     
ffc072f0:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072f4:	7f 9c c0 00 	cmpw    cr7,r28,r24                            
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc072f8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc072fc:	40 80 ff 9c 	bge+    ffc07298 <readv+0xe8>                  <== ALWAYS TAKEN
      return -1;                                                      
ffc07300:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
ffc07304:	48 00 00 14 	b       ffc07318 <readv+0x168>                 <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc07308:	48 00 c3 55 	bl      ffc1365c <__errno>                     
ffc0730c:	38 00 00 16 	li      r0,22                                  
ffc07310:	90 03 00 00 	stw     r0,0(r3)                               
ffc07314:	3b 20 ff ff 	li      r25,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc07318:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0731c:	7f 23 cb 78 	mr      r3,r25                                 
ffc07320:	83 01 00 08 	lwz     r24,8(r1)                              
ffc07324:	7c 08 03 a6 	mtlr    r0                                     
ffc07328:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0732c:	83 41 00 10 	lwz     r26,16(r1)                             
ffc07330:	83 61 00 14 	lwz     r27,20(r1)                             
ffc07334:	83 81 00 18 	lwz     r28,24(r1)                             
ffc07338:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0733c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc07340:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc07344:	38 21 00 28 	addi    r1,r1,40                               
ffc07348:	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 );
ffc0734c:	48 00 c3 11 	bl      ffc1365c <__errno>                     
ffc07350:	38 00 00 09 	li      r0,9                                   
ffc07354:	90 03 00 00 	stw     r0,0(r3)                               
ffc07358:	3b 20 ff ff 	li      r25,-1                                 
ffc0735c:	4b ff ff bc 	b       ffc07318 <readv+0x168>                 
                                                                      

ffc1daa8 <realloc>: void *realloc( void *ptr, size_t size ) {
ffc1daa8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1daac:	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())) {                     
ffc1dab0:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1dab4:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1dab8:	80 09 28 04 	lwz     r0,10244(r9)                           
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1dabc:	93 c1 00 20 	stw     r30,32(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1dac0:	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())) {                     
ffc1dac4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1dac8:	3b de 2a e8 	addi    r30,r30,10984                          
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1dacc:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1dad0:	7c 9d 23 78 	mr      r29,r4                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1dad4:	81 3e 00 10 	lwz     r9,16(r30)                             
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1dad8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1dadc:	7c 7f 1b 78 	mr      r31,r3                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1dae0:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1dae4:	93 81 00 18 	stw     r28,24(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1dae8:	91 3e 00 10 	stw     r9,16(r30)                             
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1daec:	41 9e 00 d4 	beq-    cr7,ffc1dbc0 <realloc+0x118>           <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
ffc1daf0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1daf4:	41 9e 01 58 	beq-    cr7,ffc1dc4c <realloc+0x1a4>           
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
ffc1daf8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1dafc:	41 9e 01 2c 	beq-    cr7,ffc1dc28 <realloc+0x180>           <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
ffc1db00:	3f 80 00 00 	lis     r28,0                                  
ffc1db04:	80 7c 26 ec 	lwz     r3,9964(r28)                           
ffc1db08:	7f e4 fb 78 	mr      r4,r31                                 
ffc1db0c:	38 a1 00 08 	addi    r5,r1,8                                
ffc1db10:	48 00 02 1d 	bl      ffc1dd2c <_Protected_heap_Get_block_size>
ffc1db14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1db18:	41 9e 01 20 	beq-    cr7,ffc1dc38 <realloc+0x190>           
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
ffc1db1c:	80 7c 26 ec 	lwz     r3,9964(r28)                           
ffc1db20:	7f e4 fb 78 	mr      r4,r31                                 
ffc1db24:	7f a5 eb 78 	mr      r5,r29                                 
ffc1db28:	48 00 02 69 	bl      ffc1dd90 <_Protected_heap_Resize_block>
ffc1db2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1db30:	41 9e 00 28 	beq-    cr7,ffc1db58 <realloc+0xb0>            
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1db34:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1db38:	7f e3 fb 78 	mr      r3,r31                                 
ffc1db3c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1db40:	7c 08 03 a6 	mtlr    r0                                     
ffc1db44:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1db48:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1db4c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1db50:	38 21 00 28 	addi    r1,r1,40                               
ffc1db54:	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 );                                          
ffc1db58:	7f a3 eb 78 	mr      r3,r29                                 
ffc1db5c:	4b fe 7a 5d 	bl      ffc055b8 <malloc>                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc1db60:	81 3e 00 04 	lwz     r9,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc1db64:	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 */
ffc1db68:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1db6c:	90 1e 00 04 	stw     r0,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc1db70:	41 82 00 70 	beq-    ffc1dbe0 <realloc+0x138>               
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc1db74:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1db78:	7f a5 eb 78 	mr      r5,r29                                 
ffc1db7c:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc1db80:	41 9d 00 88 	bgt-    cr7,ffc1dc08 <realloc+0x160>           <== ALWAYS TAKEN
ffc1db84:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1db88:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1db8c:	4b ff 5d 0d 	bl      ffc13898 <memcpy>                      <== NOT EXECUTED
  free( ptr );                                                        
ffc1db90:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1db94:	4b fe 76 09 	bl      ffc0519c <free>                        <== NOT EXECUTED
                                                                      
  return new_area;                                                    
ffc1db98:	7f 9f e3 78 	mr      r31,r28                                <== NOT EXECUTED
                                                                      
}                                                                     
ffc1db9c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1dba0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1dba4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1dba8:	7c 08 03 a6 	mtlr    r0                                     
ffc1dbac:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1dbb0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1dbb4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1dbb8:	38 21 00 28 	addi    r1,r1,40                               
ffc1dbbc:	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 )                      
ffc1dbc0:	3d 20 00 00 	lis     r9,0                                   
ffc1dbc4:	80 09 27 c8 	lwz     r0,10184(r9)                           
ffc1dbc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1dbcc:	40 9e 00 14 	bne-    cr7,ffc1dbe0 <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)                                          
ffc1dbd0:	3d 20 00 00 	lis     r9,0                                   
ffc1dbd4:	80 09 2d c0 	lwz     r0,11712(r9)                           
ffc1dbd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1dbdc:	41 9e ff 14 	beq+    cr7,ffc1daf0 <realloc+0x48>            <== ALWAYS TAKEN
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1dbe0:	80 01 00 2c 	lwz     r0,44(r1)                              
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
ffc1dbe4:	3b e0 00 00 	li      r31,0                                  
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1dbe8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1dbec:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1dbf0:	7c 08 03 a6 	mtlr    r0                                     
ffc1dbf4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1dbf8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1dbfc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1dc00:	38 21 00 28 	addi    r1,r1,40                               
ffc1dc04:	4e 80 00 20 	blr                                            
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc1dc08:	7f e4 fb 78 	mr      r4,r31                                 
ffc1dc0c:	7c 05 03 78 	mr      r5,r0                                  
ffc1dc10:	7f 83 e3 78 	mr      r3,r28                                 
ffc1dc14:	4b ff 5c 85 	bl      ffc13898 <memcpy>                      
  free( ptr );                                                        
ffc1dc18:	7f e3 fb 78 	mr      r3,r31                                 
ffc1dc1c:	4b fe 75 81 	bl      ffc0519c <free>                        
                                                                      
  return new_area;                                                    
ffc1dc20:	7f 9f e3 78 	mr      r31,r28                                
ffc1dc24:	4b ff ff 78 	b       ffc1db9c <realloc+0xf4>                
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
ffc1dc28:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1dc2c:	4b fe 75 71 	bl      ffc0519c <free>                        <== NOT EXECUTED
    return (void *) 0;                                                
ffc1dc30:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc1dc34:	4b ff ff 00 	b       ffc1db34 <realloc+0x8c>                <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
ffc1dc38:	4b ff 4f 25 	bl      ffc12b5c <__errno>                     
ffc1dc3c:	38 00 00 16 	li      r0,22                                  
ffc1dc40:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc1dc44:	3b e0 00 00 	li      r31,0                                  
ffc1dc48:	4b ff fe ec 	b       ffc1db34 <realloc+0x8c>                
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
ffc1dc4c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1dc50:	4b fe 79 69 	bl      ffc055b8 <malloc>                      
ffc1dc54:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1dc58:	4b ff fe dc 	b       ffc1db34 <realloc+0x8c>                
                                                                      

ffc06378 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
ffc06378:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc0637c:	7c 08 02 a6 	mflr    r0                                     
ffc06380:	93 a1 00 44 	stw     r29,68(r1)                             
ffc06384:	93 c1 00 48 	stw     r30,72(r1)                             
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc06388:	3b c1 00 20 	addi    r30,r1,32                              
#include <rtems/seterr.h>                                             
                                                                      
int rmdir(                                                            
  const char *pathname                                                
)                                                                     
{                                                                     
ffc0638c:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc06390:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06394:	90 01 00 54 	stw     r0,84(r1)                              
ffc06398:	93 61 00 3c 	stw     r27,60(r1)                             
ffc0639c:	93 81 00 40 	stw     r28,64(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
ffc063a0:	4b ff ec f1 	bl      ffc05090 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc063a4:	7c 7d 1b 79 	mr.     r29,r3                                 
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc063a8:	7f e3 fb 78 	mr      r3,r31                                 
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
ffc063ac:	40 82 00 b8 	bne-    ffc06464 <rmdir+0xec>                  
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc063b0:	38 81 00 08 	addi    r4,r1,8                                
ffc063b4:	7f c5 f3 78 	mr      r5,r30                                 
ffc063b8:	48 00 01 79 	bl      ffc06530 <rtems_filesystem_get_start_loc>
ffc063bc:	3b a0 00 00 	li      r29,0                                  
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc063c0:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc063c4:	80 01 00 20 	lwz     r0,32(r1)                              
  name = pathname + parentpathlen;                                    
ffc063c8:	7f ff ea 14 	add     r31,r31,r29                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc063cc:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc063d0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc063d4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc063d8:	90 01 00 10 	stw     r0,16(r1)                              
ffc063dc:	80 01 00 28 	lwz     r0,40(r1)                              
ffc063e0:	90 01 00 14 	stw     r0,20(r1)                              
ffc063e4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc063e8:	90 01 00 18 	stw     r0,24(r1)                              
ffc063ec:	80 01 00 30 	lwz     r0,48(r1)                              
ffc063f0:	90 01 00 1c 	stw     r0,28(r1)                              
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc063f4:	48 00 dd 65 	bl      ffc14158 <strlen>                      
ffc063f8:	7c 64 1b 78 	mr      r4,r3                                  
ffc063fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc06400:	4b ff ec f1 	bl      ffc050f0 <rtems_filesystem_prefix_separators>
ffc06404:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc06408:	7f e3 fb 78 	mr      r3,r31                                 
ffc0640c:	48 00 dd 4d 	bl      ffc14158 <strlen>                      
ffc06410:	38 a0 00 00 	li      r5,0                                   
ffc06414:	7c 64 1b 78 	mr      r4,r3                                  
ffc06418:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0641c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06420:	38 e0 00 00 	li      r7,0                                   
ffc06424:	4b ff eb 45 	bl      ffc04f68 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc06428:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0642c:	41 9e 00 60 	beq-    cr7,ffc0648c <rmdir+0x114>             
    if ( free_parentloc )                                             
ffc06430:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc06434:	3b 60 ff ff 	li      r27,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc06438:	40 9e 00 9c 	bne-    cr7,ffc064d4 <rmdir+0x15c>             
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
ffc0643c:	80 01 00 54 	lwz     r0,84(r1)                              
ffc06440:	7f 63 db 78 	mr      r3,r27                                 
ffc06444:	83 81 00 40 	lwz     r28,64(r1)                             
ffc06448:	7c 08 03 a6 	mtlr    r0                                     
ffc0644c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc06450:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc06454:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc06458:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0645c:	38 21 00 50 	addi    r1,r1,80                               
ffc06460:	4e 80 00 20 	blr                                            
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
ffc06464:	7f a4 eb 78 	mr      r4,r29                                 
ffc06468:	38 a0 00 02 	li      r5,2                                   
ffc0646c:	7f c6 f3 78 	mr      r6,r30                                 
ffc06470:	38 e0 00 00 	li      r7,0                                   
ffc06474:	4b ff eb a1 	bl      ffc05014 <rtems_filesystem_evaluate_path>
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
      return -1;                                                      
ffc06478:	3b 60 ff ff 	li      r27,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
ffc0647c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06480:	40 be ff bc 	bne-    cr7,ffc0643c <rmdir+0xc4>              <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc06484:	3b 80 00 01 	li      r28,1                                  
ffc06488:	4b ff ff 3c 	b       ffc063c4 <rmdir+0x4c>                  
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc0648c:	81 21 00 18 	lwz     r9,24(r1)                              
ffc06490:	38 61 00 0c 	addi    r3,r1,12                               
ffc06494:	80 09 00 10 	lwz     r0,16(r9)                              
ffc06498:	7c 09 03 a6 	mtctr   r0                                     
ffc0649c:	4e 80 04 21 	bctrl                                          
ffc064a0:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc064a4:	40 9e 00 60 	bne-    cr7,ffc06504 <rmdir+0x18c>             
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
ffc064a8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc064ac:	38 81 00 0c 	addi    r4,r1,12                               
ffc064b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc064b4:	80 09 00 34 	lwz     r0,52(r9)                              
ffc064b8:	7c 09 03 a6 	mtctr   r0                                     
ffc064bc:	4e 80 04 21 	bctrl                                          
ffc064c0:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc064c4:	38 61 00 0c 	addi    r3,r1,12                               
ffc064c8:	4b ff ec a9 	bl      ffc05170 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc064cc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc064d0:	41 9e ff 6c 	beq+    cr7,ffc0643c <rmdir+0xc4>              
    rtems_filesystem_freenode( &parentloc );                          
ffc064d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc064d8:	4b ff ec 99 	bl      ffc05170 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc064dc:	80 01 00 54 	lwz     r0,84(r1)                              
ffc064e0:	7f 63 db 78 	mr      r3,r27                                 
ffc064e4:	83 81 00 40 	lwz     r28,64(r1)                             
ffc064e8:	7c 08 03 a6 	mtlr    r0                                     
ffc064ec:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc064f0:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc064f4:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc064f8:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc064fc:	38 21 00 50 	addi    r1,r1,80                               
ffc06500:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
ffc06504:	38 61 00 0c 	addi    r3,r1,12                               
ffc06508:	4b ff ec 69 	bl      ffc05170 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc0650c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06510:	41 be 00 0c 	beq+    cr7,ffc0651c <rmdir+0x1a4>             <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
ffc06514:	7f c3 f3 78 	mr      r3,r30                                 
ffc06518:	4b ff ec 59 	bl      ffc05170 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0651c:	48 00 ca c1 	bl      ffc12fdc <__errno>                     
ffc06520:	38 00 00 14 	li      r0,20                                  
ffc06524:	90 03 00 00 	stw     r0,0(r3)                               
ffc06528:	3b 60 ff ff 	li      r27,-1                                 
ffc0652c:	4b ff ff 10 	b       ffc0643c <rmdir+0xc4>                  
                                                                      

ffc12390 <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc12390:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc12394:	7c 08 02 a6 	mflr    r0                                     
ffc12398:	90 01 00 24 	stw     r0,36(r1)                              
ffc1239c:	38 00 00 20 	li      r0,32                                  
ffc123a0:	93 81 00 10 	stw     r28,16(r1)                             
ffc123a4:	7c 7c 1b 78 	mr      r28,r3                                 
ffc123a8:	93 a1 00 14 	stw     r29,20(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
ffc123ac:	3b a0 00 00 	li      r29,0                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc123b0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc123b4:	7c 9e 23 78 	mr      r30,r4                                 
ffc123b8:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc123bc:	3b e0 00 01 	li      r31,1                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc123c0:	90 01 00 08 	stw     r0,8(r1)                               
ffc123c4:	48 00 00 18 	b       ffc123dc <rtems_assoc_local_by_remote_bitfield+0x4c>
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc123c8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc123cc:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc123d0:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc123d4:	91 21 00 08 	stw     r9,8(r1)                               
ffc123d8:	41 82 00 30 	beq-    ffc12408 <rtems_assoc_local_by_remote_bitfield+0x78>
    if (b & remote_value)                                             
ffc123dc:	7f e9 f0 39 	and.    r9,r31,r30                             
ffc123e0:	41 82 ff e8 	beq+    ffc123c8 <rtems_assoc_local_by_remote_bitfield+0x38>
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc123e4:	7f e4 fb 78 	mr      r4,r31                                 
ffc123e8:	7f 83 e3 78 	mr      r3,r28                                 
ffc123ec:	48 00 00 41 	bl      ffc1242c <rtems_assoc_local_by_remote> 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc123f0:	80 01 00 08 	lwz     r0,8(r1)                               
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc123f4:	7f bd 1b 78 	or      r29,r29,r3                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc123f8:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc123fc:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc12400:	91 21 00 08 	stw     r9,8(r1)                               
ffc12404:	40 82 ff d8 	bne+    ffc123dc <rtems_assoc_local_by_remote_bitfield+0x4c><== ALWAYS TAKEN
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
ffc12408:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1240c:	7f a3 eb 78 	mr      r3,r29                                 
ffc12410:	83 81 00 10 	lwz     r28,16(r1)                             
ffc12414:	7c 08 03 a6 	mtlr    r0                                     
ffc12418:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1241c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc12420:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc12424:	38 21 00 20 	addi    r1,r1,32                               
ffc12428:	4e 80 00 20 	blr                                            
                                                                      

ffc0f128 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
ffc0f128:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f12c:	7c 08 02 a6 	mflr    r0                                     
ffc0f130:	90 01 00 14 	stw     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0f134:	80 03 00 00 	lwz     r0,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
ffc0f138:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0f13c:	7c 7e 1b 78 	mr      r30,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0f140:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
ffc0f144:	93 e1 00 0c 	stw     r31,12(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
ffc0f148:	38 60 00 00 	li      r3,0                                   
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
ffc0f14c:	7c 9f 23 78 	mr      r31,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0f150:	41 9e 00 68 	beq-    cr7,ffc0f1b8 <rtems_assoc_ptr_by_local+0x90>
ffc0f154:	3c 80 ff c2 	lis     r4,-62                                 
ffc0f158:	7c 03 03 78 	mr      r3,r0                                  
ffc0f15c:	38 84 f6 94 	addi    r4,r4,-2412                            
ffc0f160:	48 00 4d 4d 	bl      ffc13eac <strcmp>                      
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;                                
ffc0f164:	39 00 00 00 	li      r8,0                                   
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0f168:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f16c:	41 9e 00 64 	beq-    cr7,ffc0f1d0 <rtems_assoc_ptr_by_local+0xa8>
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
ffc0f170:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0f174:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f178:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0f17c:	41 9e 00 3c 	beq-    cr7,ffc0f1b8 <rtems_assoc_ptr_by_local+0x90>
ffc0f180:	39 3e 00 0c 	addi    r9,r30,12                              
ffc0f184:	7c 1e 00 d0 	neg     r0,r30                                 
ffc0f188:	48 00 00 10 	b       ffc0f198 <rtems_assoc_ptr_by_local+0x70>
ffc0f18c:	81 6a ff f8 	lwz     r11,-8(r10)                            
ffc0f190:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc0f194:	41 9e 00 24 	beq-    cr7,ffc0f1b8 <rtems_assoc_ptr_by_local+0x90>
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
ffc0f198:	7d 63 02 14 	add     r11,r3,r0                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0f19c:	7d 69 58 2e 	lwzx    r11,r9,r11                             
ffc0f1a0:	38 63 00 0c 	addi    r3,r3,12                               
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
ffc0f1a4:	7d 43 02 14 	add     r10,r3,r0                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0f1a8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
ffc0f1ac:	7d 49 52 14 	add     r10,r9,r10                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0f1b0:	40 9e ff dc 	bne+    cr7,ffc0f18c <rtems_assoc_ptr_by_local+0x64>
ffc0f1b4:	7d 03 43 78 	mr      r3,r8                                  
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0f1b8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f1bc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0f1c0:	7c 08 03 a6 	mtlr    r0                                     
ffc0f1c4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f1c8:	38 21 00 10 	addi    r1,r1,16                               
ffc0f1cc:	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++)                                             
ffc0f1d0:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0f1d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f1d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f1dc:	41 be ff dc 	beq-    cr7,ffc0f1b8 <rtems_assoc_ptr_by_local+0x90><== NEVER TAKEN
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc0f1e0:	7f c8 f3 78 	mr      r8,r30                                 
ffc0f1e4:	3b de 00 0c 	addi    r30,r30,12                             
ffc0f1e8:	4b ff ff 88 	b       ffc0f170 <rtems_assoc_ptr_by_local+0x48>
                                                                      

ffc057d4 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
ffc057d4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc057d8:	7c 08 02 a6 	mflr    r0                                     
ffc057dc:	90 01 00 24 	stw     r0,36(r1)                              
ffc057e0:	93 e1 00 1c 	stw     r31,28(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057e4:	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                                           
)                                                                     
{                                                                     
ffc057e8:	93 81 00 10 	stw     r28,16(r1)                             
ffc057ec:	7c 9c 23 78 	mr      r28,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057f0:	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                                           
)                                                                     
{                                                                     
ffc057f4:	93 a1 00 14 	stw     r29,20(r1)                             
ffc057f8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc057fc:	93 c1 00 18 	stw     r30,24(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
ffc05800:	3b c0 00 00 	li      r30,0                                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc05804:	93 41 00 08 	stw     r26,8(r1)                              
ffc05808:	93 61 00 0c 	stw     r27,12(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0580c:	41 9e 00 5c 	beq-    cr7,ffc05868 <rtems_assoc_ptr_by_name+0x94>
ffc05810:	3c 80 ff c2 	lis     r4,-62                                 
ffc05814:	7f e3 fb 78 	mr      r3,r31                                 
ffc05818:	38 84 9d b0 	addi    r4,r4,-25168                           
ffc0581c:	48 00 ec b1 	bl      ffc144cc <strcmp>                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc05820:	3b 40 00 00 	li      r26,0                                  
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc05824:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05828:	41 9e 00 6c 	beq-    cr7,ffc05894 <rtems_assoc_ptr_by_name+0xc0>
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc0582c:	7f a0 eb 78 	mr      r0,r29                                 
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
ffc05830:	3b 7d 00 0c 	addi    r27,r29,12                             
ffc05834:	48 00 00 10 	b       ffc05844 <rtems_assoc_ptr_by_name+0x70>
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05838:	83 e9 ff f4 	lwz     r31,-12(r9)                            
ffc0583c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05840:	41 9e 00 70 	beq-    cr7,ffc058b0 <rtems_assoc_ptr_by_name+0xdc>
    if (strcmp(ap->name, name) == 0)                                  
ffc05844:	7f e3 fb 78 	mr      r3,r31                                 
ffc05848:	7f 84 e3 78 	mr      r4,r28                                 
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc0584c:	7c 1e 03 78 	mr      r30,r0                                 
                                                                      
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
ffc05850:	48 00 ec 7d 	bl      ffc144cc <strcmp>                      
ffc05854:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05858:	38 1e 00 0c 	addi    r0,r30,12                              
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
ffc0585c:	7d 3d 00 50 	subf    r9,r29,r0                              
ffc05860:	7d 29 da 14 	add     r9,r9,r27                              
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
ffc05864:	40 9e ff d4 	bne+    cr7,ffc05838 <rtems_assoc_ptr_by_name+0x64>
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05868:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0586c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05870:	83 41 00 08 	lwz     r26,8(r1)                              
ffc05874:	7c 08 03 a6 	mtlr    r0                                     
ffc05878:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0587c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05880:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc05884:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05888:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0588c:	38 21 00 20 	addi    r1,r1,32                               
ffc05890:	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++)                                             
ffc05894:	83 fd 00 0c 	lwz     r31,12(r29)                            
ffc05898:	7f be eb 78 	mr      r30,r29                                
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc0589c:	7f ba eb 78 	mr      r26,r29                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc058a0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc058a4:	3b bd 00 0c 	addi    r29,r29,12                             
                                                                      
  for ( ; ap->name; ap++)                                             
ffc058a8:	40 9e ff 84 	bne+    cr7,ffc0582c <rtems_assoc_ptr_by_name+0x58><== ALWAYS TAKEN
ffc058ac:	4b ff ff bc 	b       ffc05868 <rtems_assoc_ptr_by_name+0x94><== NOT EXECUTED
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc058b0:	80 01 00 24 	lwz     r0,36(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc058b4:	7f 5e d3 78 	mr      r30,r26                                
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc058b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc058bc:	83 41 00 08 	lwz     r26,8(r1)                              
ffc058c0:	7c 08 03 a6 	mtlr    r0                                     
ffc058c4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc058c8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc058cc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc058d0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc058d4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc058d8:	38 21 00 20 	addi    r1,r1,32                               
ffc058dc:	4e 80 00 20 	blr                                            
                                                                      

ffc12468 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc12468:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1246c:	7c 08 02 a6 	mflr    r0                                     
ffc12470:	90 01 00 14 	stw     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc12474:	80 03 00 00 	lwz     r0,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
ffc12478:	93 c1 00 08 	stw     r30,8(r1)                              
ffc1247c:	7c 7e 1b 78 	mr      r30,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc12480:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
ffc12484:	93 e1 00 0c 	stw     r31,12(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
ffc12488:	38 60 00 00 	li      r3,0                                   
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
ffc1248c:	7c 9f 23 78 	mr      r31,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc12490:	41 9e 00 68 	beq-    cr7,ffc124f8 <rtems_assoc_ptr_by_remote+0x90>
ffc12494:	3c 80 ff c2 	lis     r4,-62                                 
ffc12498:	7c 03 03 78 	mr      r3,r0                                  
ffc1249c:	38 84 f6 94 	addi    r4,r4,-2412                            
ffc124a0:	48 00 1a 0d 	bl      ffc13eac <strcmp>                      
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;                                
ffc124a4:	39 00 00 00 	li      r8,0                                   
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc124a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc124ac:	41 9e 00 64 	beq-    cr7,ffc12510 <rtems_assoc_ptr_by_remote+0xa8>
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
ffc124b0:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc124b4:	7f c3 f3 78 	mr      r3,r30                                 
ffc124b8:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc124bc:	41 9e 00 3c 	beq-    cr7,ffc124f8 <rtems_assoc_ptr_by_remote+0x90>
ffc124c0:	39 3e 00 0c 	addi    r9,r30,12                              
ffc124c4:	7c 1e 00 d0 	neg     r0,r30                                 
ffc124c8:	48 00 00 10 	b       ffc124d8 <rtems_assoc_ptr_by_remote+0x70>
ffc124cc:	81 6a ff fc 	lwz     r11,-4(r10)                            
ffc124d0:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc124d4:	41 9e 00 24 	beq-    cr7,ffc124f8 <rtems_assoc_ptr_by_remote+0x90>
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
ffc124d8:	7d 63 02 14 	add     r11,r3,r0                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc124dc:	7d 69 58 2e 	lwzx    r11,r9,r11                             
ffc124e0:	38 63 00 0c 	addi    r3,r3,12                               
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
ffc124e4:	7d 43 02 14 	add     r10,r3,r0                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc124e8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
#include <rtems.h>                                                    
#include <rtems/assoc.h>                                              
                                                                      
#include <string.h>             /* strcat, strcmp */                  
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
ffc124ec:	7d 49 52 14 	add     r10,r9,r10                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc124f0:	40 9e ff dc 	bne+    cr7,ffc124cc <rtems_assoc_ptr_by_remote+0x64>
ffc124f4:	7d 03 43 78 	mr      r3,r8                                  
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc124f8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc124fc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc12500:	7c 08 03 a6 	mtlr    r0                                     
ffc12504:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12508:	38 21 00 10 	addi    r1,r1,16                               
ffc1250c:	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++)                                             
ffc12510:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc12514:	7f c3 f3 78 	mr      r3,r30                                 
ffc12518:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1251c:	41 be ff dc 	beq-    cr7,ffc124f8 <rtems_assoc_ptr_by_remote+0x90><== NEVER TAKEN
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc12520:	7f c8 f3 78 	mr      r8,r30                                 
ffc12524:	3b de 00 0c 	addi    r30,r30,12                             
ffc12528:	4b ff ff 88 	b       ffc124b0 <rtems_assoc_ptr_by_remote+0x48>
                                                                      

ffc059a4 <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
ffc059a4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc059a8:	7c 08 02 a6 	mflr    r0                                     
ffc059ac:	90 01 00 24 	stw     r0,36(r1)                              
ffc059b0:	38 00 00 20 	li      r0,32                                  
ffc059b4:	93 81 00 10 	stw     r28,16(r1)                             
ffc059b8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc059bc:	93 a1 00 14 	stw     r29,20(r1)                             
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
ffc059c0:	3b a0 00 00 	li      r29,0                                  
                                                                      
uint32_t   rtems_assoc_remote_by_local_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t             local_value                                  
)                                                                     
{                                                                     
ffc059c4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc059c8:	7c 9e 23 78 	mr      r30,r4                                 
ffc059cc:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc059d0:	3b e0 00 01 	li      r31,1                                  
                                                                      
uint32_t   rtems_assoc_remote_by_local_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t             local_value                                  
)                                                                     
{                                                                     
ffc059d4:	90 01 00 08 	stw     r0,8(r1)                               
ffc059d8:	48 00 00 18 	b       ffc059f0 <rtems_assoc_remote_by_local_bitfield+0x4c>
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc059dc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc059e0:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc059e4:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc059e8:	91 21 00 08 	stw     r9,8(r1)                               
ffc059ec:	41 82 00 30 	beq-    ffc05a1c <rtems_assoc_remote_by_local_bitfield+0x78>
    if (b & local_value)                                              
ffc059f0:	7f e9 f0 39 	and.    r9,r31,r30                             
ffc059f4:	41 82 ff e8 	beq+    ffc059dc <rtems_assoc_remote_by_local_bitfield+0x38>
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
ffc059f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc059fc:	7f 83 e3 78 	mr      r3,r28                                 
ffc05a00:	48 00 00 41 	bl      ffc05a40 <rtems_assoc_remote_by_local> 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc05a04:	80 01 00 08 	lwz     r0,8(r1)                               
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
ffc05a08:	7f bd 1b 78 	or      r29,r29,r3                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc05a0c:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc05a10:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc05a14:	91 21 00 08 	stw     r9,8(r1)                               
ffc05a18:	40 82 ff d8 	bne+    ffc059f0 <rtems_assoc_remote_by_local_bitfield+0x4c><== ALWAYS TAKEN
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
ffc05a1c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05a20:	7f a3 eb 78 	mr      r3,r29                                 
ffc05a24:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05a28:	7c 08 03 a6 	mtlr    r0                                     
ffc05a2c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc05a30:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05a34:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05a38:	38 21 00 20 	addi    r1,r1,32                               
ffc05a3c:	4e 80 00 20 	blr                                            
                                                                      

ffc0f4b8 <rtems_bdbuf_add_to_modified_list_after_access>: } } static void rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd) {
ffc0f4b8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f4bc:	7c 08 02 a6 	mflr    r0                                     
ffc0f4c0:	93 c1 00 08 	stw     r30,8(r1)                              
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0f4c4:	3f c0 00 00 	lis     r30,0                                  
ffc0f4c8:	3b de 29 90 	addi    r30,r30,10640                          
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0f4cc:	90 01 00 14 	stw     r0,20(r1)                              
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0f4d0:	88 1e 00 30 	lbz     r0,48(r30)                             
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0f4d4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0f4d8:	7c 7f 1b 78 	mr      r31,r3                                 
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0f4dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f4e0:	41 9e 00 18 	beq-    cr7,ffc0f4f8 <rtems_bdbuf_add_to_modified_list_after_access+0x40><== ALWAYS TAKEN
ffc0f4e4:	81 5e 00 38 	lwz     r10,56(r30)                            <== NOT EXECUTED
ffc0f4e8:	80 03 00 18 	lwz     r0,24(r3)                              <== NOT EXECUTED
ffc0f4ec:	81 7e 00 3c 	lwz     r11,60(r30)                            <== NOT EXECUTED
ffc0f4f0:	7f 80 50 00 	cmpw    cr7,r0,r10                             <== NOT EXECUTED
ffc0f4f4:	41 9e 00 c0 	beq-    cr7,ffc0f5b4 <rtems_bdbuf_add_to_modified_list_after_access+0xfc><== 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                    
ffc0f4f8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0f4fc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0f500:	41 9e 00 6c 	beq-    cr7,ffc0f56c <rtems_bdbuf_add_to_modified_list_after_access+0xb4>
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
ffc0f504:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0f508:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc0f50c:	41 9e 00 60 	beq-    cr7,ffc0f56c <rtems_bdbuf_add_to_modified_list_after_access+0xb4>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0f510:	38 00 00 07 	li      r0,7                                   
ffc0f514:	90 1f 00 28 	stw     r0,40(r31)                             
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc0f518:	38 7e 00 50 	addi    r3,r30,80                              
ffc0f51c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f520:	4b ff bb fd 	bl      ffc0b11c <_Chain_Append>               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
ffc0f524:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0f528:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f52c:	40 9e 00 6c 	bne-    cr7,ffc0f598 <rtems_bdbuf_add_to_modified_list_after_access+0xe0>
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0f530:	80 1e 00 78 	lwz     r0,120(r30)                            
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
ffc0f534:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f538:	40 9e 00 1c 	bne-    cr7,ffc0f554 <rtems_bdbuf_add_to_modified_list_after_access+0x9c>
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0f53c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f540:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0f544:	7c 08 03 a6 	mtlr    r0                                     
ffc0f548:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f54c:	38 21 00 10 	addi    r1,r1,16                               
ffc0f550:	4e 80 00 20 	blr                                            
ffc0f554:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f558:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0f55c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f560:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f564:	38 21 00 10 	addi    r1,r1,16                               
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
ffc0f568:	4b ff fc 40 	b       ffc0f1a8 <rtems_bdbuf_wake_swapper>    
   * 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;                    
ffc0f56c:	3d 20 ff c2 	lis     r9,-62                                 
ffc0f570:	80 09 cf 44 	lwz     r0,-12476(r9)                          
ffc0f574:	38 7e 00 50 	addi    r3,r30,80                              
ffc0f578:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f57c:	90 1f 00 34 	stw     r0,52(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0f580:	38 00 00 07 	li      r0,7                                   
ffc0f584:	90 1f 00 28 	stw     r0,40(r31)                             
ffc0f588:	4b ff bb 95 	bl      ffc0b11c <_Chain_Append>               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
ffc0f58c:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0f590:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f594:	41 9e ff 9c 	beq+    cr7,ffc0f530 <rtems_bdbuf_add_to_modified_list_after_access+0x78>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0f598:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0f59c:	38 7e 00 68 	addi    r3,r30,104                             
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0f5a0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f5a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f5a8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0f5ac:	38 21 00 10 	addi    r1,r1,16                               
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append (&bdbuf_cache.modified, &bd->link);              
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0f5b0:	4b ff fe c4 	b       ffc0f474 <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->dev)  
ffc0f5b4:	80 03 00 1c 	lwz     r0,28(r3)                              <== NOT EXECUTED
ffc0f5b8:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
ffc0f5bc:	40 9e ff 3c 	bne+    cr7,ffc0f4f8 <rtems_bdbuf_add_to_modified_list_after_access+0x40><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
ffc0f5c0:	4b ff fb 3d 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
                                                                      
    /*                                                                
     * Wait for the sync lock.                                        
     */                                                               
    rtems_bdbuf_lock_sync ();                                         
ffc0f5c4:	4b ff f8 f1 	bl      ffc0eeb4 <rtems_bdbuf_lock_sync>       <== NOT EXECUTED
                                                                      
    rtems_bdbuf_unlock_sync ();                                       
ffc0f5c8:	4b ff fb 71 	bl      ffc0f138 <rtems_bdbuf_unlock_sync>     <== NOT EXECUTED
    rtems_bdbuf_lock_cache ();                                        
ffc0f5cc:	4b ff f8 a5 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
ffc0f5d0:	4b ff ff 28 	b       ffc0f4f8 <rtems_bdbuf_add_to_modified_list_after_access+0x40><== NOT EXECUTED
                                                                      

ffc0f304 <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) {
ffc0f304:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f308:	7c 08 02 a6 	mflr    r0                                     
ffc0f30c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0f310:	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)             
{                                                                     
ffc0f314:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0f318:	38 09 00 01 	addi    r0,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)             
{                                                                     
ffc0f31c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0f320:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0f324:	90 03 00 00 	stw     r0,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 ();                      
ffc0f328:	4b ff ff 4d 	bl      ffc0f274 <rtems_bdbuf_disable_preemption>
ffc0f32c:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * Unlock the cache, wait, and lock the cache when we return.       
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
ffc0f330:	4b ff fd cd 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
ffc0f334:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc0f338:	38 80 00 00 	li      r4,0                                   
ffc0f33c:	38 a0 00 00 	li      r5,0                                   
ffc0f340:	4b ff ae 55 	bl      ffc0a194 <rtems_semaphore_obtain>      
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
ffc0f344:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc0f348:	41 9e 00 3c 	beq-    cr7,ffc0f384 <rtems_bdbuf_anonymous_wait+0x80><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
ffc0f34c:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc0f350:	40 9e 00 40 	bne-    cr7,ffc0f390 <rtems_bdbuf_anonymous_wait+0x8c><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0f354:	4b ff fb 1d 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc0f358:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f35c:	4b ff ff 65 	bl      ffc0f2c0 <rtems_bdbuf_restore_preemption>
                                                                      
  --waiters->count;                                                   
ffc0f360:	81 3f 00 00 	lwz     r9,0(r31)                              
}                                                                     
ffc0f364:	83 c1 00 08 	lwz     r30,8(r1)                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
                                                                      
  --waiters->count;                                                   
ffc0f368:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0f36c:	90 1f 00 00 	stw     r0,0(r31)                              
}                                                                     
ffc0f370:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f374:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f378:	38 21 00 10 	addi    r1,r1,16                               
ffc0f37c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f380:	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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
ffc0f384:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f388:	60 63 00 12 	ori     r3,r3,18                               <== NOT EXECUTED
ffc0f38c:	4b ff b7 21 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
ffc0f390:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f394:	60 63 00 10 	ori     r3,r3,16                               <== NOT EXECUTED
ffc0f398:	4b ff b7 15 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f274 <rtems_bdbuf_disable_preemption>: --bd->group->users; } static rtems_mode rtems_bdbuf_disable_preemption (void) {
ffc0f274:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f278:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
ffc0f27c:	38 60 01 00 	li      r3,256                                 
  --bd->group->users;                                                 
}                                                                     
                                                                      
static rtems_mode                                                     
rtems_bdbuf_disable_preemption (void)                                 
{                                                                     
ffc0f280:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
ffc0f284:	7c 25 0b 78 	mr      r5,r1                                  
ffc0f288:	38 00 00 00 	li      r0,0                                   
ffc0f28c:	94 05 00 08 	stwu    r0,8(r5)                               
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
ffc0f290:	38 80 01 00 	li      r4,256                                 
ffc0f294:	48 00 50 f9 	bl      ffc1438c <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f298:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f29c:	40 9e 00 18 	bne-    cr7,ffc0f2b4 <rtems_bdbuf_disable_preemption+0x40><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
                                                                      
  return prev_mode;                                                   
}                                                                     
ffc0f2a0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f2a4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0f2a8:	38 21 00 18 	addi    r1,r1,24                               
ffc0f2ac:	7c 08 03 a6 	mtlr    r0                                     
ffc0f2b0:	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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
ffc0f2b4:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f2b8:	60 63 00 0f 	ori     r3,r3,15                               <== NOT EXECUTED
ffc0f2bc:	4b ff b7 f1 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0fe84 <rtems_bdbuf_execute_transfer_request.isra.9>: req->bufnum = transfer_index; } static rtems_status_code rtems_bdbuf_execute_transfer_request (const rtems_disk_device *dd,
ffc0fe84:	7d 80 00 26 	mfcr    r12                                    
  int result = 0;                                                     
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
ffc0fe88:	2d 86 00 00 	cmpwi   cr3,r6,0                               
                                                                      
  req->bufnum = transfer_index;                                       
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_transfer_request (const rtems_disk_device *dd,    
ffc0fe8c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0fe90:	7c 08 02 a6 	mflr    r0                                     
ffc0fe94:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0fe98:	7c bf 2b 78 	mr      r31,r5                                 
ffc0fe9c:	90 01 00 44 	stw     r0,68(r1)                              
ffc0fea0:	92 c1 00 18 	stw     r22,24(r1)                             
ffc0fea4:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc0fea8:	93 01 00 20 	stw     r24,32(r1)                             
ffc0feac:	93 21 00 24 	stw     r25,36(r1)                             
ffc0feb0:	93 41 00 28 	stw     r26,40(r1)                             
ffc0feb4:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0feb8:	93 81 00 30 	stw     r28,48(r1)                             
ffc0febc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc0fec0:	93 c1 00 38 	stw     r30,56(r1)                             
ffc0fec4:	91 81 00 14 	stw     r12,20(r1)                             
  int result = 0;                                                     
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
ffc0fec8:	40 8e 01 b8 	bne-    cr3,ffc10080 <rtems_bdbuf_execute_transfer_request.isra.9+0x1fc>
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
ffc0fecc:	80 04 00 00 	lwz     r0,0(r4)                               
ffc0fed0:	3c 80 c0 18 	lis     r4,-16360                              
ffc0fed4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0fed8:	60 84 42 01 	ori     r4,r4,16897                            
ffc0fedc:	7f e5 fb 78 	mr      r5,r31                                 
ffc0fee0:	7c 09 03 a6 	mtctr   r0                                     
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);           
    sc = req->status;                                                 
  }                                                                   
  else                                                                
    sc = RTEMS_IO_ERROR;                                              
ffc0fee4:	3b 20 00 1b 	li      r25,27                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
ffc0fee8:	4e 80 04 21 	bctrl                                          
                                                                      
  if (result == 0)                                                    
ffc0feec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fef0:	41 9e 01 80 	beq-    cr7,ffc10070 <rtems_bdbuf_execute_transfer_request.isra.9+0x1ec>
    sc = req->status;                                                 
  }                                                                   
  else                                                                
    sc = RTEMS_IO_ERROR;                                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0fef4:	4b ff ef 7d 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc0fef8:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc0fefc:	2e 19 00 00 	cmpwi   cr4,r25,0                              
ffc0ff00:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ff04:	41 9e 00 c8 	beq-    cr7,ffc0ffcc <rtems_bdbuf_execute_transfer_request.isra.9+0x148><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc0ff08:	3f 40 00 00 	lis     r26,0                                  
ffc0ff0c:	3b 5a 29 90 	addi    r26,r26,10640                          
ffc0ff10:	3b c0 00 01 	li      r30,1                                  
ffc0ff14:	3b 80 00 00 	li      r28,0                                  
ffc0ff18:	3b 60 00 00 	li      r27,0                                  
    bool waiters = bd->waiters;                                       
                                                                      
    if (waiters)                                                      
      wake_transfer_waiters = true;                                   
    else                                                              
      wake_buffer_waiters = true;                                     
ffc0ff1c:	3b a0 00 01 	li      r29,1                                  
ffc0ff20:	3b 5a 00 44 	addi    r26,r26,68                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ff24:	3b 00 00 02 	li      r24,2                                  
ffc0ff28:	48 00 00 48 	b       ffc0ff70 <rtems_bdbuf_execute_transfer_request.isra.9+0xec>
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
    bool waiters = bd->waiters;                                       
                                                                      
    if (waiters)                                                      
      wake_transfer_waiters = true;                                   
ffc0ff2c:	3b 60 00 01 	li      r27,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc0ff30:	81 37 00 30 	lwz     r9,48(r23)                             
ffc0ff34:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0ff38:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0ff3c:	90 09 00 0c 	stw     r0,12(r9)                              
    else                                                              
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_group_release (bd);                                   
                                                                      
    if (sc == RTEMS_SUCCESSFUL && bd->state == RTEMS_BDBUF_STATE_TRANSFER)
ffc0ff40:	40 92 00 10 	bne-    cr4,ffc0ff50 <rtems_bdbuf_execute_transfer_request.isra.9+0xcc>
ffc0ff44:	80 17 00 28 	lwz     r0,40(r23)                             
ffc0ff48:	2f 80 00 09 	cmpwi   cr7,r0,9                               
ffc0ff4c:	41 9e 00 d8 	beq-    cr7,ffc10024 <rtems_bdbuf_execute_transfer_request.isra.9+0x1a0>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ff50:	93 b7 00 28 	stw     r29,40(r23)                            
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc0ff54:	82 d7 00 2c 	lwz     r22,44(r23)                            
ffc0ff58:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0ff5c:	41 9e 00 34 	beq-    cr7,ffc0ff90 <rtems_bdbuf_execute_transfer_request.isra.9+0x10c>
  else                                                                
    sc = RTEMS_IO_ERROR;                                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc0ff60:	7f 8a f0 40 	cmplw   cr7,r10,r30                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0ff64:	38 1e 00 01 	addi    r0,r30,1                               
ffc0ff68:	7c 1e 03 78 	mr      r30,r0                                 
ffc0ff6c:	40 9d 00 50 	ble-    cr7,ffc0ffbc <rtems_bdbuf_execute_transfer_request.isra.9+0x138>
                                                                      
  req->bufnum = transfer_index;                                       
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_transfer_request (const rtems_disk_device *dd,    
ffc0ff70:	57 c9 20 36 	rlwinm  r9,r30,4,0,27                          
ffc0ff74:	7d 3f 4a 14 	add     r9,r31,r9                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
ffc0ff78:	82 e9 00 14 	lwz     r23,20(r9)                             
    bool waiters = bd->waiters;                                       
ffc0ff7c:	80 17 00 2c 	lwz     r0,44(r23)                             
                                                                      
    if (waiters)                                                      
ffc0ff80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ff84:	40 be ff a8 	bne-    cr7,ffc0ff2c <rtems_bdbuf_execute_transfer_request.isra.9+0xa8>
      wake_transfer_waiters = true;                                   
    else                                                              
      wake_buffer_waiters = true;                                     
ffc0ff88:	3b 80 00 01 	li      r28,1                                  
ffc0ff8c:	4b ff ff a4 	b       ffc0ff30 <rtems_bdbuf_execute_transfer_request.isra.9+0xac>
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
  {                                                                   
    rtems_bdbuf_remove_from_tree (bd);                                
ffc0ff90:	7e e3 bb 78 	mr      r3,r23                                 
ffc0ff94:	4b ff f7 81 	bl      ffc0f714 <rtems_bdbuf_remove_from_tree>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ff98:	92 d7 00 28 	stw     r22,40(r23)                            
ffc0ff9c:	7f 43 d3 78 	mr      r3,r26                                 
ffc0ffa0:	7e e4 bb 78 	mr      r4,r23                                 
ffc0ffa4:	48 00 4a 15 	bl      ffc149b8 <_Chain_Insert>               
ffc0ffa8:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc0ffac:	38 1e 00 01 	addi    r0,r30,1                               
  else                                                                
    sc = RTEMS_IO_ERROR;                                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc0ffb0:	7f 8a f0 40 	cmplw   cr7,r10,r30                            
ffc0ffb4:	7c 1e 03 78 	mr      r30,r0                                 
ffc0ffb8:	41 9d ff b8 	bgt+    cr7,ffc0ff70 <rtems_bdbuf_execute_transfer_request.isra.9+0xec><== NEVER TAKEN
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
ffc0ffbc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0ffc0:	40 9e 00 9c 	bne-    cr7,ffc1005c <rtems_bdbuf_execute_transfer_request.isra.9+0x1d8>
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
ffc0ffc4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ffc8:	40 9e 00 7c 	bne-    cr7,ffc10044 <rtems_bdbuf_execute_transfer_request.isra.9+0x1c0>
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  if (!cache_locked)                                                  
ffc0ffcc:	41 8e 00 70 	beq-    cr3,ffc1003c <rtems_bdbuf_execute_transfer_request.isra.9+0x1b8>
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  if (sc == RTEMS_SUCCESSFUL || sc == RTEMS_UNSATISFIED)              
ffc0ffd0:	41 92 00 10 	beq-    cr4,ffc0ffe0 <rtems_bdbuf_execute_transfer_request.isra.9+0x15c>
ffc0ffd4:	2f 99 00 0d 	cmpwi   cr7,r25,13                             
ffc0ffd8:	41 9e 00 08 	beq-    cr7,ffc0ffe0 <rtems_bdbuf_execute_transfer_request.isra.9+0x15c>
    return sc;                                                        
  else                                                                
    return RTEMS_IO_ERROR;                                            
ffc0ffdc:	3b 20 00 1b 	li      r25,27                                 
}                                                                     
ffc0ffe0:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0ffe4:	7f 23 cb 78 	mr      r3,r25                                 
ffc0ffe8:	81 81 00 14 	lwz     r12,20(r1)                             
ffc0ffec:	7c 08 03 a6 	mtlr    r0                                     
ffc0fff0:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc0fff4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0fff8:	7d 81 81 20 	mtcrf   24,r12                                 
ffc0fffc:	83 01 00 20 	lwz     r24,32(r1)                             
ffc10000:	83 21 00 24 	lwz     r25,36(r1)                             
ffc10004:	83 41 00 28 	lwz     r26,40(r1)                             
ffc10008:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1000c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc10010:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc10014:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc10018:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1001c:	38 21 00 40 	addi    r1,r1,64                               
ffc10020:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10024:	93 17 00 28 	stw     r24,40(r23)                            
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc10028:	7f 43 d3 78 	mr      r3,r26                                 
ffc1002c:	7e e4 bb 78 	mr      r4,r23                                 
ffc10030:	4b ff b0 ed 	bl      ffc0b11c <_Chain_Append>               
ffc10034:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc10038:	4b ff ff 28 	b       ffc0ff60 <rtems_bdbuf_execute_transfer_request.isra.9+0xdc>
                                                                      
  if (wake_buffer_waiters)                                            
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  if (!cache_locked)                                                  
    rtems_bdbuf_unlock_cache ();                                      
ffc1003c:	4b ff f0 c1 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
ffc10040:	4b ff ff 90 	b       ffc0ffd0 <rtems_bdbuf_execute_transfer_request.isra.9+0x14c>
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc10044:	3c 60 00 00 	lis     r3,0                                   
ffc10048:	38 63 29 90 	addi    r3,r3,10640                            
ffc1004c:	38 63 00 78 	addi    r3,r3,120                              
ffc10050:	4b ff f4 25 	bl      ffc0f474 <rtems_bdbuf_wake>            
                                                                      
  if (!cache_locked)                                                  
ffc10054:	40 8e ff 7c 	bne+    cr3,ffc0ffd0 <rtems_bdbuf_execute_transfer_request.isra.9+0x14c>
ffc10058:	4b ff ff e4 	b       ffc1003c <rtems_bdbuf_execute_transfer_request.isra.9+0x1b8>
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
ffc1005c:	3c 60 00 00 	lis     r3,0                                   
ffc10060:	38 63 29 90 	addi    r3,r3,10640                            
ffc10064:	38 63 00 70 	addi    r3,r3,112                              
ffc10068:	4b ff f4 0d 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc1006c:	4b ff ff 58 	b       ffc0ffc4 <rtems_bdbuf_execute_transfer_request.isra.9+0x140>
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
                                                                      
  if (result == 0)                                                    
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);           
ffc10070:	38 60 00 02 	li      r3,2                                   
ffc10074:	4b ff f1 a1 	bl      ffc0f214 <rtems_bdbuf_wait_for_event>  
    sc = req->status;                                                 
ffc10078:	83 3f 00 0c 	lwz     r25,12(r31)                            
ffc1007c:	4b ff fe 78 	b       ffc0fef4 <rtems_bdbuf_execute_transfer_request.isra.9+0x70>
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
    rtems_bdbuf_unlock_cache ();                                      
ffc10080:	90 61 00 08 	stw     r3,8(r1)                               
ffc10084:	90 81 00 0c 	stw     r4,12(r1)                              
ffc10088:	4b ff f0 75 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
ffc1008c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc10090:	80 61 00 08 	lwz     r3,8(r1)                               
ffc10094:	4b ff fe 38 	b       ffc0fecc <rtems_bdbuf_execute_transfer_request.isra.9+0x48>
                                                                      

ffc0eef8 <rtems_bdbuf_fatal>: #define RTEMS_BDBUF_AVL_MAX_HEIGHT (32) #endif static void rtems_bdbuf_fatal (rtems_bdbuf_buf_state state, uint32_t error) {
ffc0eef8:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc0eefc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
ffc0ef00:	54 63 80 1e 	rlwinm  r3,r3,16,0,15                          <== NOT EXECUTED
ffc0ef04:	7c 83 1b 78 	or      r3,r4,r3                               <== NOT EXECUTED
#define RTEMS_BDBUF_AVL_MAX_HEIGHT (32)                               
#endif                                                                
                                                                      
static void                                                           
rtems_bdbuf_fatal (rtems_bdbuf_buf_state state, uint32_t error)       
{                                                                     
ffc0ef08:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
ffc0ef0c:	4b ff bb a1 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc11288 <rtems_bdbuf_get>: rtems_blkdev_bnum *media_block_ptr, size_t *bds_per_group_ptr) { rtems_disk_device *dd = NULL; if (!bdbuf_cache.initialised)
ffc11288:	3d 20 00 00 	lis     r9,0                                   
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc1128c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11290:	7c 08 02 a6 	mflr    r0                                     
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11294:	89 29 2a 18 	lbz     r9,10776(r9)                           
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc11298:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_disk_device  *dd = NULL;                                      
ffc1129c:	38 00 00 00 	li      r0,0                                   
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc112a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc112a4:	93 81 00 18 	stw     r28,24(r1)                             
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc112a8:	3b 80 00 16 	li      r28,22                                 
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc112ac:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc112b0:	7c dd 33 78 	mr      r29,r6                                 
ffc112b4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc112b8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc112bc:	93 e1 00 24 	stw     r31,36(r1)                             
ffc112c0:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_disk_device  *dd = NULL;                                      
ffc112c4:	90 01 00 10 	stw     r0,16(r1)                              
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block = 0;                                
ffc112c8:	90 01 00 0c 	stw     r0,12(r1)                              
  size_t              bds_per_group = 0;                              
ffc112cc:	90 01 00 08 	stw     r0,8(r1)                               
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc112d0:	40 9e 00 28 	bne-    cr7,ffc112f8 <rtems_bdbuf_get+0x70>    <== ALWAYS TAKEN
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc112d4:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc112d8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc112dc:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc112e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc112e4:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc112e8:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc112ec:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc112f0:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc112f4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc112f8:	38 c1 00 10 	addi    r6,r1,16                               
ffc112fc:	38 e1 00 0c 	addi    r7,r1,12                               
ffc11300:	39 01 00 08 	addi    r8,r1,8                                
ffc11304:	4b ff e2 d1 	bl      ffc0f5d4 <rtems_bdbuf_obtain_disk.part.8>
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block = 0;                                
  size_t              bds_per_group = 0;                              
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, block, &dd, &media_block, &bds_per_group);
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11308:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1130c:	40 a2 ff c8 	bne-    ffc112d4 <rtems_bdbuf_get+0x4c>        <== NEVER TAKEN
    return sc;                                                        
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11310:	4b ff db 61 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
   */                                                                 
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:get: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",    
            media_block, block, (unsigned) dev);                      
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc11314:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc11318:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc1131c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11320:	7f e4 fb 78 	mr      r4,r31                                 
ffc11324:	4b ff f8 c5 	bl      ffc10be8 <rtems_bdbuf_get_buffer_for_access>
                                                                      
  switch (bd->state)                                                  
ffc11328:	80 03 00 28 	lwz     r0,40(r3)                              
   */                                                                 
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:get: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",    
            media_block, block, (unsigned) dev);                      
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc1132c:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  switch (bd->state)                                                  
ffc11330:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc11334:	41 9e 00 60 	beq-    cr7,ffc11394 <rtems_bdbuf_get+0x10c>   
ffc11338:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc1133c:	41 9e 00 1c 	beq-    cr7,ffc11358 <rtems_bdbuf_get+0xd0>    
ffc11340:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11344:	41 9e 00 5c 	beq-    cr7,ffc113a0 <rtems_bdbuf_get+0x118>   <== ALWAYS TAKEN
       * so just gets the block to fill.                              
       */                                                             
      rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);  
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_2);
ffc11348:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc1134c:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc11350:	60 84 00 1e 	ori     r4,r4,30                               <== NOT EXECUTED
ffc11354:	4b ff db a5 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11358:	38 00 00 04 	li      r0,4                                   
ffc1135c:	90 03 00 28 	stw     r0,40(r3)                              
  {                                                                   
    rtems_bdbuf_show_users ("get", bd);                               
    rtems_bdbuf_show_usage ();                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11360:	4b ff dd 9d 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  rtems_bdbuf_release_disk (dd);                                      
ffc11364:	80 61 00 10 	lwz     r3,16(r1)                              
ffc11368:	4b ff de 0d 	bl      ffc0f174 <rtems_bdbuf_release_disk>    
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc1136c:	80 01 00 2c 	lwz     r0,44(r1)                              
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  *bd_ptr = bd;                                                       
ffc11370:	93 dd 00 00 	stw     r30,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc11374:	7f 83 e3 78 	mr      r3,r28                                 
ffc11378:	7c 08 03 a6 	mtlr    r0                                     
ffc1137c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11380:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11384:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11388:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1138c:	38 21 00 28 	addi    r1,r1,40                               
ffc11390:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11394:	38 00 00 03 	li      r0,3                                   
ffc11398:	90 03 00 28 	stw     r0,40(r3)                              
ffc1139c:	4b ff ff c4 	b       ffc11360 <rtems_bdbuf_get+0xd8>        
ffc113a0:	38 00 00 05 	li      r0,5                                   
ffc113a4:	90 03 00 28 	stw     r0,40(r3)                              
ffc113a8:	4b ff ff b8 	b       ffc11360 <rtems_bdbuf_get+0xd8>        
                                                                      

ffc10be8 <rtems_bdbuf_get_buffer_for_access>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_for_access (dev_t dev, rtems_blkdev_bnum block, size_t bds_per_group) {
ffc10be8:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc10bec:	7c 08 02 a6 	mflr    r0                                     
ffc10bf0:	93 81 00 38 	stw     r28,56(r1)                             
ffc10bf4:	3f 80 00 00 	lis     r28,0                                  
ffc10bf8:	3b 9c 29 90 	addi    r28,r28,10640                          
ffc10bfc:	93 61 00 34 	stw     r27,52(r1)                             
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10c00:	3f 60 ff c2 	lis     r27,-62                                
ffc10c04:	3b 7b dd 68 	addi    r27,r27,-8856                          
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c08:	90 01 00 4c 	stw     r0,76(r1)                              
ffc10c0c:	92 21 00 0c 	stw     r17,12(r1)                             
ffc10c10:	92 41 00 10 	stw     r18,16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc10c14:	3a 5c 00 54 	addi    r18,r28,84                             
ffc10c18:	92 61 00 14 	stw     r19,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);         
ffc10c1c:	3a 7c 00 70 	addi    r19,r28,112                            
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c20:	92 81 00 18 	stw     r20,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);           
ffc10c24:	3a 9c 00 68 	addi    r20,r28,104                            
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c28:	92 a1 00 1c 	stw     r21,28(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10c2c:	3a a0 00 08 	li      r21,8                                  
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c30:	92 c1 00 20 	stw     r22,32(r1)                             
static void                                                           
rtems_bdbuf_request_sync_for_modified_buffer (rtems_bdbuf_buffer *bd) 
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
  rtems_chain_extract (&bd->link);                                    
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
ffc10c34:	3a dc 00 5c 	addi    r22,r28,92                             
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c38:	92 e1 00 24 	stw     r23,36(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10c3c:	3a e0 00 00 	li      r23,0                                  
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c40:	93 01 00 28 	stw     r24,40(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc10c44:	3b 1c 00 44 	addi    r24,r28,68                             
ffc10c48:	93 21 00 2c 	stw     r25,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);             
ffc10c4c:	3b 3c 00 78 	addi    r25,r28,120                            
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc10c50:	93 41 00 30 	stw     r26,48(r1)                             
ffc10c54:	7c da 33 78 	mr      r26,r6                                 
ffc10c58:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc10c5c:	7c bd 2b 78 	mr      r29,r5                                 
ffc10c60:	93 c1 00 40 	stw     r30,64(r1)                             
ffc10c64:	7c 9e 23 78 	mr      r30,r4                                 
ffc10c68:	93 e1 00 44 	stw     r31,68(r1)                             
ffc10c6c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
ffc10c70:	82 3c 00 40 	lwz     r17,64(r28)                            
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc10c74:	2f 91 00 00 	cmpwi   cr7,r17,0                              
ffc10c78:	41 9e 00 28 	beq-    cr7,ffc10ca0 <rtems_bdbuf_get_buffer_for_access+0xb8>
ffc10c7c:	80 11 00 18 	lwz     r0,24(r17)                             
ffc10c80:	81 31 00 1c 	lwz     r9,28(r17)                             
ffc10c84:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc10c88:	41 9e 00 74 	beq-    cr7,ffc10cfc <rtems_bdbuf_get_buffer_for_access+0x114>
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc10c8c:	7f 1f 00 40 	cmplw   cr6,r31,r0                             
ffc10c90:	40 99 00 58 	ble-    cr6,ffc10ce8 <rtems_bdbuf_get_buffer_for_access+0x100>
    {                                                                 
      p = p->avl.right;                                               
ffc10c94:	82 31 00 0c 	lwz     r17,12(r17)                            
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc10c98:	2f 91 00 00 	cmpwi   cr7,r17,0                              
ffc10c9c:	40 9e ff e0 	bne+    cr7,ffc10c7c <rtems_bdbuf_get_buffer_for_access+0x94>
        bd = NULL;                                                    
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
ffc10ca0:	7f e3 fb 78 	mr      r3,r31                                 
ffc10ca4:	7f c4 f3 78 	mr      r4,r30                                 
ffc10ca8:	7f a5 eb 78 	mr      r5,r29                                 
ffc10cac:	7f 46 d3 78 	mr      r6,r26                                 
ffc10cb0:	4b ff fa d9 	bl      ffc10788 <rtems_bdbuf_get_buffer_from_lru_list>
                                                                      
      if (bd == NULL)                                                 
ffc10cb4:	7c 71 1b 79 	mr.     r17,r3                                 
ffc10cb8:	41 82 01 2c 	beq-    ffc10de4 <rtems_bdbuf_get_buffer_for_access+0x1fc>
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10cbc:	3f e0 ff c2 	lis     r31,-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);         
ffc10cc0:	3b dc 00 70 	addi    r30,r28,112                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10cc4:	3b ff dd 94 	addi    r31,r31,-8812                          
        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);           
ffc10cc8:	3b 9c 00 68 	addi    r28,r28,104                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10ccc:	80 11 00 28 	lwz     r0,40(r17)                             
ffc10cd0:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc10cd4:	40 9d 00 fc 	ble-    cr7,ffc10dd0 <rtems_bdbuf_get_buffer_for_access+0x1e8><== 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 (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_7);
ffc10cd8:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc10cdc:	80 71 00 28 	lwz     r3,40(r17)                             <== NOT EXECUTED
ffc10ce0:	60 84 00 05 	ori     r4,r4,5                                <== NOT EXECUTED
ffc10ce4:	4b ff e2 15 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc10ce8:	40 9e 00 0c 	bne-    cr7,ffc10cf4 <rtems_bdbuf_get_buffer_for_access+0x10c><== ALWAYS TAKEN
ffc10cec:	7f 9e 48 40 	cmplw   cr7,r30,r9                             <== NOT EXECUTED
ffc10cf0:	41 9d ff a4 	bgt+    cr7,ffc10c94 <rtems_bdbuf_get_buffer_for_access+0xac><== NOT EXECUTED
    {                                                                 
      p = p->avl.right;                                               
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
ffc10cf4:	82 31 00 08 	lwz     r17,8(r17)                             
ffc10cf8:	4b ff ff a0 	b       ffc10c98 <rtems_bdbuf_get_buffer_for_access+0xb0>
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc10cfc:	7f 1e 48 00 	cmpw    cr6,r30,r9                             
ffc10d00:	40 9a ff 8c 	bne+    cr6,ffc10c8c <rtems_bdbuf_get_buffer_for_access+0xa4><== NEVER TAKEN
ffc10d04:	80 11 00 20 	lwz     r0,32(r17)                             
ffc10d08:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc10d0c:	41 9e 00 14 	beq-    cr7,ffc10d20 <rtems_bdbuf_get_buffer_for_access+0x138>
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc10d10:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc10d14:	41 bd ff 80 	bgt-    cr7,ffc10c94 <rtems_bdbuf_get_buffer_for_access+0xac>
    {                                                                 
      p = p->avl.right;                                               
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
ffc10d18:	82 31 00 08 	lwz     r17,8(r17)                             
ffc10d1c:	4b ff ff 7c 	b       ffc10c98 <rtems_bdbuf_get_buffer_for_access+0xb0>
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
                                                                      
    if (bd != NULL)                                                   
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
ffc10d20:	81 31 00 30 	lwz     r9,48(r17)                             
ffc10d24:	80 09 00 08 	lwz     r0,8(r9)                               
ffc10d28:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc10d2c:	41 be ff 90 	beq-    cr7,ffc10cbc <rtems_bdbuf_get_buffer_for_access+0xd4>
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10d30:	80 11 00 28 	lwz     r0,40(r17)                             
ffc10d34:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc10d38:	40 9d 00 14 	ble-    cr7,ffc10d4c <rtems_bdbuf_get_buffer_for_access+0x164><== 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 (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_8);
ffc10d3c:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc10d40:	80 71 00 28 	lwz     r3,40(r17)                             <== NOT EXECUTED
ffc10d44:	60 84 00 06 	ori     r4,r4,6                                <== NOT EXECUTED
ffc10d48:	4b ff e1 b1 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10d4c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc10d50:	7c 1b 00 2e 	lwzx    r0,r27,r0                              
ffc10d54:	7c 00 da 14 	add     r0,r0,r27                              
ffc10d58:	7c 09 03 a6 	mtctr   r0                                     
ffc10d5c:	4e 80 04 20 	bctr                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10d60:	92 b1 00 28 	stw     r21,40(r17)                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc10d64:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc10d68:	4b ff a3 e5 	bl      ffc0b14c <_Chain_Extract>              <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc10d6c:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc10d70:	7e 24 8b 78 	mr      r4,r17                                 <== NOT EXECUTED
ffc10d74:	4b ff a3 a9 	bl      ffc0b11c <_Chain_Append>               <== NOT EXECUTED
rtems_bdbuf_request_sync_for_modified_buffer (rtems_bdbuf_buffer *bd) 
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
  rtems_chain_extract (&bd->link);                                    
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
  rtems_bdbuf_wake_swapper ();                                        
ffc10d78:	4b ff e4 31 	bl      ffc0f1a8 <rtems_bdbuf_wake_swapper>    <== NOT EXECUTED
ffc10d7c:	4b ff ff b4 	b       ffc10d30 <rtems_bdbuf_get_buffer_for_access+0x148><== 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);           
ffc10d80:	7e 23 8b 78 	mr      r3,r17                                 
ffc10d84:	7e 84 a3 78 	mr      r4,r20                                 
ffc10d88:	4b ff e6 15 	bl      ffc0f39c <rtems_bdbuf_wait>            
ffc10d8c:	4b ff ff a4 	b       ffc10d30 <rtems_bdbuf_get_buffer_for_access+0x148>
      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)                                         
ffc10d90:	80 11 00 2c 	lwz     r0,44(r17)                             
ffc10d94:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10d98:	40 9e 00 5c 	bne-    cr7,ffc10df4 <rtems_bdbuf_get_buffer_for_access+0x20c><== ALWAYS TAKEN
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
      {                                                               
        if (rtems_bdbuf_wait_for_recycle (bd))                        
        {                                                             
          rtems_bdbuf_remove_from_tree_and_lru_list (bd);             
ffc10d9c:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc10da0:	4b ff ed b1 	bl      ffc0fb50 <rtems_bdbuf_remove_from_tree_and_lru_list><== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10da4:	92 f1 00 28 	stw     r23,40(r17)                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc10da8:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc10dac:	7e 24 8b 78 	mr      r4,r17                                 <== NOT EXECUTED
ffc10db0:	48 00 3c 09 	bl      ffc149b8 <_Chain_Insert>               <== 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);             
ffc10db4:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc10db8:	4b ff e6 bd 	bl      ffc0f474 <rtems_bdbuf_wake>            <== NOT EXECUTED
ffc10dbc:	4b ff fe b4 	b       ffc10c70 <rtems_bdbuf_get_buffer_for_access+0x88><== NOT EXECUTED
        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);         
ffc10dc0:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc10dc4:	7e 64 9b 78 	mr      r4,r19                                 <== NOT EXECUTED
ffc10dc8:	4b ff e5 d5 	bl      ffc0f39c <rtems_bdbuf_wait>            <== NOT EXECUTED
ffc10dcc:	4b ff ff 64 	b       ffc10d30 <rtems_bdbuf_get_buffer_for_access+0x148><== NOT EXECUTED
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10dd0:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc10dd4:	7c 1f 00 2e 	lwzx    r0,r31,r0                              
ffc10dd8:	7c 00 fa 14 	add     r0,r0,r31                              
ffc10ddc:	7c 09 03 a6 	mtctr   r0                                     
ffc10de0:	4e 80 04 20 	bctr                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
ffc10de4:	80 1c 00 50 	lwz     r0,80(r28)                             
ffc10de8:	7f 80 90 00 	cmpw    cr7,r0,r18                             
ffc10dec:	41 9e 00 08 	beq-    cr7,ffc10df4 <rtems_bdbuf_get_buffer_for_access+0x20c>
    rtems_bdbuf_wake_swapper ();                                      
ffc10df0:	4b ff e3 b9 	bl      ffc0f1a8 <rtems_bdbuf_wake_swapper>    
                                                                      
  rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);           
ffc10df4:	7f 23 cb 78 	mr      r3,r25                                 
ffc10df8:	4b ff e5 0d 	bl      ffc0f304 <rtems_bdbuf_anonymous_wait>  
ffc10dfc:	4b ff fe 74 	b       ffc10c70 <rtems_bdbuf_get_buffer_for_access+0x88>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc10e00:	81 31 00 30 	lwz     r9,48(r17)                             
ffc10e04:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc10e08:	30 00 ff ff 	addic   r0,r0,-1                               
ffc10e0c:	90 09 00 0c 	stw     r0,12(r9)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc10e10:	7e 23 8b 78 	mr      r3,r17                                 
ffc10e14:	4b ff a3 39 	bl      ffc0b14c <_Chain_Extract>              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10e18:	81 31 00 30 	lwz     r9,48(r17)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10e1c:	7e 23 8b 78 	mr      r3,r17                                 
ffc10e20:	82 41 00 10 	lwz     r18,16(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10e24:	81 69 00 0c 	lwz     r11,12(r9)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10e28:	82 21 00 0c 	lwz     r17,12(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10e2c:	38 0b 00 01 	addi    r0,r11,1                               
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10e30:	82 61 00 14 	lwz     r19,20(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10e34:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10e38:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc10e3c:	82 81 00 18 	lwz     r20,24(r1)                             
ffc10e40:	7c 08 03 a6 	mtlr    r0                                     
ffc10e44:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc10e48:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc10e4c:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc10e50:	83 01 00 28 	lwz     r24,40(r1)                             
ffc10e54:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc10e58:	83 41 00 30 	lwz     r26,48(r1)                             
ffc10e5c:	83 61 00 34 	lwz     r27,52(r1)                             
ffc10e60:	83 81 00 38 	lwz     r28,56(r1)                             
ffc10e64:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc10e68:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc10e6c:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc10e70:	38 21 00 48 	addi    r1,r1,72                               
ffc10e74:	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);         
ffc10e78:	7e 23 8b 78 	mr      r3,r17                                 
ffc10e7c:	7f c4 f3 78 	mr      r4,r30                                 
ffc10e80:	4b ff e5 1d 	bl      ffc0f39c <rtems_bdbuf_wait>            
ffc10e84:	4b ff fe 48 	b       ffc10ccc <rtems_bdbuf_get_buffer_for_access+0xe4>
        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);           
ffc10e88:	7e 23 8b 78 	mr      r3,r17                                 
ffc10e8c:	7f 84 e3 78 	mr      r4,r28                                 
ffc10e90:	4b ff e5 0d 	bl      ffc0f39c <rtems_bdbuf_wait>            
ffc10e94:	4b ff fe 38 	b       ffc10ccc <rtems_bdbuf_get_buffer_for_access+0xe4>
                                                                      

ffc10788 <rtems_bdbuf_get_buffer_from_lru_list>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_from_lru_list (dev_t dev, rtems_blkdev_bnum block, size_t bds_per_group) {
ffc10788:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc1078c:	7c 08 02 a6 	mflr    r0                                     
ffc10790:	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;                              
ffc10794:	3f 80 00 00 	lis     r28,0                                  
ffc10798:	3b 9c 29 90 	addi    r28,r28,10640                          
ffc1079c:	93 e1 00 bc 	stw     r31,188(r1)                            
ffc107a0:	83 fc 00 44 	lwz     r31,68(r28)                            
ffc107a4:	93 a1 00 b4 	stw     r29,180(r1)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc107a8:	3b bc 00 48 	addi    r29,r28,72                             
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
ffc107ac:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_from_lru_list (dev_t             dev,          
                                      rtems_blkdev_bnum block,        
                                      size_t            bds_per_group)
{                                                                     
ffc107b0:	92 61 00 8c 	stw     r19,140(r1)                            
ffc107b4:	7c d3 33 78 	mr      r19,r6                                 
ffc107b8:	93 41 00 a8 	stw     r26,168(r1)                            
ffc107bc:	7c ba 2b 78 	mr      r26,r5                                 
ffc107c0:	93 61 00 ac 	stw     r27,172(r1)                            
ffc107c4:	7c 9b 23 78 	mr      r27,r4                                 
ffc107c8:	93 c1 00 b8 	stw     r30,184(r1)                            
ffc107cc:	7c 7e 1b 78 	mr      r30,r3                                 
ffc107d0:	90 01 00 c4 	stw     r0,196(r1)                             
ffc107d4:	92 41 00 88 	stw     r18,136(r1)                            
ffc107d8:	92 81 00 90 	stw     r20,144(r1)                            
ffc107dc:	92 a1 00 94 	stw     r21,148(r1)                            
ffc107e0:	92 c1 00 98 	stw     r22,152(r1)                            
ffc107e4:	92 e1 00 9c 	stw     r23,156(r1)                            
ffc107e8:	93 01 00 a0 	stw     r24,160(r1)                            
ffc107ec:	93 21 00 a4 	stw     r25,164(r1)                            
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
ffc107f0:	41 9e 00 e0 	beq-    cr7,ffc108d0 <rtems_bdbuf_get_buffer_from_lru_list+0x148>
ffc107f4:	3a 9c 00 44 	addi    r20,r28,68                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc107f8:	3a a0 00 00 	li      r21,0                                  
       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);                   
ffc107fc:	3a 5c 00 78 	addi    r18,r28,120                            
              bd->group->bds_per_group, bds_per_group);               
                                                                      
    /*                                                                
     * If nobody waits for this BD, we may recycle it.                
     */                                                               
    if (bd->waiters == 0)                                             
ffc10800:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc10804:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10808:	40 9e 00 bc 	bne-    cr7,ffc108c4 <rtems_bdbuf_get_buffer_from_lru_list+0x13c>
    {                                                                 
      if (bd->group->bds_per_group == bds_per_group)                  
ffc1080c:	82 ff 00 30 	lwz     r23,48(r31)                            
ffc10810:	80 17 00 08 	lwz     r0,8(r23)                              
ffc10814:	7f 80 98 00 	cmpw    cr7,r0,r19                             
ffc10818:	41 9e 01 08 	beq-    cr7,ffc10920 <rtems_bdbuf_get_buffer_from_lru_list+0x198>
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
                                                                      
        empty_bd = bd;                                                
      }                                                               
      else if (bd->group->users == 0)                                 
ffc1081c:	81 37 00 0c 	lwz     r9,12(r23)                             
ffc10820:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10824:	40 9e 00 a0 	bne-    cr7,ffc108c4 <rtems_bdbuf_get_buffer_from_lru_list+0x13c>
            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;                                      
ffc10828:	2f 80 00 00 	cmpwi   cr7,r0,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; 
ffc1082c:	82 dc 00 20 	lwz     r22,32(r28)                            
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
ffc10830:	83 37 00 10 	lwz     r25,16(r23)                            
ffc10834:	41 9e 00 30 	beq-    cr7,ffc10864 <rtems_bdbuf_get_buffer_from_lru_list+0xdc><== NEVER TAKEN
  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; 
ffc10838:	7e d6 03 96 	divwu   r22,r22,r0                             
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
ffc1083c:	3b 00 00 00 	li      r24,0                                  
ffc10840:	56 d6 30 32 	rlwinm  r22,r22,6,0,25                         
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
ffc10844:	7f 23 cb 78 	mr      r3,r25                                 
ffc10848:	4b ff f3 09 	bl      ffc0fb50 <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;                                      
ffc1084c:	80 17 00 08 	lwz     r0,8(r23)                              
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc10850:	3b 18 00 01 	addi    r24,r24,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;                                      
ffc10854:	7f 98 00 40 	cmplw   cr7,r24,r0                             
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc10858:	7f 39 b2 14 	add     r25,r25,r22                            
            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;                                      
ffc1085c:	41 9c ff e8 	blt+    cr7,ffc10844 <rtems_bdbuf_get_buffer_from_lru_list+0xbc>
ffc10860:	83 37 00 10 	lwz     r25,16(r23)                            
    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;                        
ffc10864:	2b 93 00 01 	cmplwi  cr7,r19,1                              
  for (b = 0, bd = group->bdbuf;                                      
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
                                                                      
  group->bds_per_group = new_bds_per_group;                           
ffc10868:	92 77 00 08 	stw     r19,8(r23)                             
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
ffc1086c:	82 dc 00 20 	lwz     r22,32(r28)                            
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc10870:	40 9d 00 4c 	ble-    cr7,ffc108bc <rtems_bdbuf_get_buffer_from_lru_list+0x134>
       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;    
ffc10874:	7e d6 9b 96 	divwu   r22,r22,r19                            
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc10878:	56 d6 30 32 	rlwinm  r22,r22,6,0,25                         
ffc1087c:	7f 39 b2 14 	add     r25,r25,r22                            
ffc10880:	3b 00 00 01 	li      r24,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10884:	92 b9 00 28 	stw     r21,40(r25)                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc10888:	7f 24 cb 78 	mr      r4,r25                                 
ffc1088c:	7e 83 a3 78 	mr      r3,r20                                 
ffc10890:	48 00 41 29 	bl      ffc149b8 <_Chain_Insert>               
    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;                        
ffc10894:	80 17 00 08 	lwz     r0,8(r23)                              
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc10898:	3b 18 00 01 	addi    r24,r24,1                              
    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;                        
ffc1089c:	7f 98 00 40 	cmplw   cr7,r24,r0                             
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc108a0:	7f 39 b2 14 	add     r25,r25,r22                            
    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;                        
ffc108a4:	41 9c ff e0 	blt+    cr7,ffc10884 <rtems_bdbuf_get_buffer_from_lru_list+0xfc><== NEVER TAKEN
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
ffc108a8:	2b 98 00 01 	cmplwi  cr7,r24,1                              
ffc108ac:	40 9d 00 0c 	ble-    cr7,ffc108b8 <rtems_bdbuf_get_buffer_from_lru_list+0x130><== NEVER TAKEN
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc108b0:	7e 43 93 78 	mr      r3,r18                                 
ffc108b4:	4b ff eb c1 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc108b8:	83 37 00 10 	lwz     r25,16(r23)                            
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
ffc108bc:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc108c0:	40 9e 00 74 	bne-    cr7,ffc10934 <rtems_bdbuf_get_buffer_from_lru_list+0x1ac><== ALWAYS TAKEN
rtems_bdbuf_purge_major (rtems_device_major_number major)             
{                                                                     
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
}                                                                     
ffc108c4:	83 ff 00 00 	lwz     r31,0(r31)                             
                                      rtems_blkdev_bnum block,        
                                      size_t            bds_per_group)
{                                                                     
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
ffc108c8:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc108cc:	40 9e ff 34 	bne+    cr7,ffc10800 <rtems_bdbuf_get_buffer_from_lru_list+0x78>
    }                                                                 
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
ffc108d0:	3b 20 00 00 	li      r25,0                                  
}                                                                     
ffc108d4:	80 01 00 c4 	lwz     r0,196(r1)                             
ffc108d8:	7f 23 cb 78 	mr      r3,r25                                 
ffc108dc:	82 41 00 88 	lwz     r18,136(r1)                            
ffc108e0:	7c 08 03 a6 	mtlr    r0                                     
ffc108e4:	82 61 00 8c 	lwz     r19,140(r1)                            
ffc108e8:	82 81 00 90 	lwz     r20,144(r1)                            
ffc108ec:	82 a1 00 94 	lwz     r21,148(r1)                            
ffc108f0:	82 c1 00 98 	lwz     r22,152(r1)                            
ffc108f4:	82 e1 00 9c 	lwz     r23,156(r1)                            
ffc108f8:	83 01 00 a0 	lwz     r24,160(r1)                            
ffc108fc:	83 21 00 a4 	lwz     r25,164(r1)                            
ffc10900:	83 41 00 a8 	lwz     r26,168(r1)                            
ffc10904:	83 61 00 ac 	lwz     r27,172(r1)                            
ffc10908:	83 81 00 b0 	lwz     r28,176(r1)                            
ffc1090c:	83 a1 00 b4 	lwz     r29,180(r1)                            
ffc10910:	83 c1 00 b8 	lwz     r30,184(r1)                            
ffc10914:	83 e1 00 bc 	lwz     r31,188(r1)                            
ffc10918:	38 21 00 c0 	addi    r1,r1,192                              
ffc1091c:	4e 80 00 20 	blr                                            
     */                                                               
    if (bd->waiters == 0)                                             
    {                                                                 
      if (bd->group->bds_per_group == bds_per_group)                  
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
ffc10920:	7f e3 fb 78 	mr      r3,r31                                 
ffc10924:	7f f9 fb 78 	mr      r25,r31                                
ffc10928:	4b ff f2 29 	bl      ffc0fb50 <rtems_bdbuf_remove_from_tree_and_lru_list>
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
ffc1092c:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc10930:	41 9e ff 94 	beq+    cr7,ffc108c4 <rtems_bdbuf_get_buffer_from_lru_list+0x13c><== NEVER TAKEN
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
ffc10934:	38 00 00 00 	li      r0,0                                   
ffc10938:	90 19 00 08 	stw     r0,8(r25)                              
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc1093c:	38 c1 00 08 	addi    r6,r1,8                                
ffc10940:	7c cb 33 78 	mr      r11,r6                                 
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
ffc10944:	90 19 00 0c 	stw     r0,12(r25)                             
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
ffc10948:	38 e0 00 01 	li      r7,1                                   
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc1094c:	38 a0 ff ff 	li      r5,-1                                  
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc10950:	81 3c 00 40 	lwz     r9,64(r28)                             
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
ffc10954:	93 d9 00 18 	stw     r30,24(r25)                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc10958:	2f 89 00 00 	cmpwi   cr7,r9,0                               
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
ffc1095c:	93 79 00 1c 	stw     r27,28(r25)                            
  bd->block     = block;                                              
ffc10960:	93 59 00 20 	stw     r26,32(r25)                            
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
ffc10964:	90 19 00 2c 	stw     r0,44(r25)                             
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc10968:	41 9e 02 6c 	beq-    cr7,ffc10bd4 <rtems_bdbuf_get_buffer_from_lru_list+0x44c>
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc1096c:	80 09 00 18 	lwz     r0,24(r9)                              
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc10970:	39 4b 00 04 	addi    r10,r11,4                              
ffc10974:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc10978:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1097c:	81 09 00 1c 	lwz     r8,28(r9)                              
ffc10980:	41 9d 00 14 	bgt-    cr7,ffc10994 <rtems_bdbuf_get_buffer_from_lru_list+0x20c><== NEVER TAKEN
ffc10984:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc10988:	40 9e 00 28 	bne-    cr7,ffc109b0 <rtems_bdbuf_get_buffer_from_lru_list+0x228><== NEVER TAKEN
ffc1098c:	7f 1b 40 40 	cmplw   cr6,r27,r8                             
ffc10990:	40 99 00 20 	ble-    cr6,ffc109b0 <rtems_bdbuf_get_buffer_from_lru_list+0x228><== ALWAYS TAKEN
    {                                                                 
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
ffc10994:	80 09 00 0c 	lwz     r0,12(r9)                              
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
ffc10998:	98 e9 00 10 	stb     r7,16(r9)                              
      q = p->avl.right;                                               
      if (q == NULL)                                                  
ffc1099c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc109a0:	41 9e 02 10 	beq-    cr7,ffc10bb0 <rtems_bdbuf_get_buffer_from_lru_list+0x428>
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
      if (q == NULL)                                                  
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
ffc109a4:	7d 4b 53 78 	mr      r11,r10                                
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc109a8:	7c 09 03 78 	mr      r9,r0                                  
ffc109ac:	4b ff ff c0 	b       ffc1096c <rtems_bdbuf_get_buffer_from_lru_list+0x1e4>
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc109b0:	41 9e 00 8c 	beq-    cr7,ffc10a3c <rtems_bdbuf_get_buffer_from_lru_list+0x2b4><== ALWAYS TAKEN
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
ffc109b4:	80 09 00 08 	lwz     r0,8(r9)                               
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc109b8:	98 a9 00 10 	stb     r5,16(r9)                              
      q = p->avl.left;                                                
      if (q == NULL)                                                  
ffc109bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc109c0:	40 9e ff e4 	bne+    cr7,ffc109a4 <rtems_bdbuf_get_buffer_from_lru_list+0x21c>
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
ffc109c4:	93 29 00 08 	stw     r25,8(r9)                              
ffc109c8:	38 00 ff ff 	li      r0,-1                                  
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc109cc:	39 40 00 00 	li      r10,0                                  
ffc109d0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc109d4:	91 59 00 0c 	stw     r10,12(r25)                            
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc109d8:	38 a0 00 01 	li      r5,1                                   
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc109dc:	91 59 00 08 	stw     r10,8(r25)                             
            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;                                             
ffc109e0:	38 e0 00 00 	li      r7,0                                   
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
ffc109e4:	99 59 00 11 	stb     r10,17(r25)                            
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc109e8:	41 9e 00 ac 	beq-    cr7,ffc10a94 <rtems_bdbuf_get_buffer_from_lru_list+0x30c>
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc109ec:	88 09 00 11 	lbz     r0,17(r9)                              
ffc109f0:	7c 00 07 75 	extsb.  r0,r0                                  
ffc109f4:	40 82 00 70 	bne-    ffc10a64 <rtems_bdbuf_get_buffer_from_lru_list+0x2dc>
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc109f8:	98 a9 00 11 	stb     r5,17(r9)                              
ffc109fc:	7d 2a 4b 78 	mr      r10,r9                                 
ffc10a00:	39 00 00 01 	li      r8,1                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc10a04:	7f 86 58 40 	cmplw   cr7,r6,r11                             
ffc10a08:	40 9c 00 7c 	bge-    cr7,ffc10a84 <rtems_bdbuf_get_buffer_from_lru_list+0x2fc>
    {                                                                 
      p = *--buf_prev;                                                
ffc10a0c:	81 2b ff fc 	lwz     r9,-4(r11)                             
                                                                      
      if (p->avl.cache == -1)                                         
ffc10a10:	88 09 00 10 	lbz     r0,16(r9)                              
ffc10a14:	7c 00 07 74 	extsb   r0,r0                                  
ffc10a18:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc10a1c:	41 9e 00 94 	beq-    cr7,ffc10ab0 <rtems_bdbuf_get_buffer_from_lru_list+0x328>
      {                                                               
        p->avl.left = q;                                              
      }                                                               
      else                                                            
      {                                                               
        p->avl.right = q;                                             
ffc10a20:	91 49 00 0c 	stw     r10,12(r9)                             
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc10a24:	2f 08 00 00 	cmpwi   cr6,r8,0                               
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc10a28:	39 6b ff fc 	addi    r11,r11,-4                             
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc10a2c:	40 9a ff bc 	bne+    cr6,ffc109e8 <rtems_bdbuf_get_buffer_from_lru_list+0x260>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10a30:	38 00 00 01 	li      r0,1                                   
ffc10a34:	90 19 00 28 	stw     r0,40(r25)                             
                                                                      
    if (empty_bd != NULL)                                             
    {                                                                 
      rtems_bdbuf_setup_empty_buffer (empty_bd, dev, block);          
                                                                      
      return empty_bd;                                                
ffc10a38:	4b ff fe 9c 	b       ffc108d4 <rtems_bdbuf_get_buffer_from_lru_list+0x14c>
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc10a3c:	7f 9b 40 00 	cmpw    cr7,r27,r8                             
ffc10a40:	40 9e ff 74 	bne+    cr7,ffc109b4 <rtems_bdbuf_get_buffer_from_lru_list+0x22c><== NEVER TAKEN
ffc10a44:	80 09 00 20 	lwz     r0,32(r9)                              
ffc10a48:	7f 9a 00 40 	cmplw   cr7,r26,r0                             
ffc10a4c:	41 bd ff 48 	bgt-    cr7,ffc10994 <rtems_bdbuf_get_buffer_from_lru_list+0x20c>
        q = node;                                                     
        p->avl.right = q = node;                                      
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
ffc10a50:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc10a54:	40 9e ff 60 	bne+    cr7,ffc109b4 <rtems_bdbuf_get_buffer_from_lru_list+0x22c><== ALWAYS TAKEN
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
                                                                      
  if (rtems_bdbuf_avl_insert (&bdbuf_cache.tree, bd) != 0)            
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_RECYCLE);    
ffc10a58:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc10a5c:	60 63 00 1b 	ori     r3,r3,27                               <== NOT EXECUTED
ffc10a60:	4b ff a0 4d 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc10a64:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc10a68:	41 9e 00 60 	beq-    cr7,ffc10ac8 <rtems_bdbuf_get_buffer_from_lru_list+0x340>
ffc10a6c:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc10a70:	41 9e 00 48 	beq-    cr7,ffc10ab8 <rtems_bdbuf_get_buffer_from_lru_list+0x330><== ALWAYS TAKEN
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc10a74:	7f 86 58 40 	cmplw   cr7,r6,r11                             <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc10a78:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
ffc10a7c:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc10a80:	41 9c ff 8c 	blt+    cr7,ffc10a0c <rtems_bdbuf_get_buffer_from_lru_list+0x284><== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10a84:	38 00 00 01 	li      r0,1                                   
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc10a88:	91 5c 00 40 	stw     r10,64(r28)                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10a8c:	90 19 00 28 	stw     r0,40(r25)                             
ffc10a90:	4b ff fe 44 	b       ffc108d4 <rtems_bdbuf_get_buffer_from_lru_list+0x14c>
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
ffc10a94:	89 49 00 11 	lbz     r10,17(r9)                             
ffc10a98:	7d 4a 07 75 	extsb.  r10,r10                                
ffc10a9c:	40 82 00 90 	bne-    ffc10b2c <rtems_bdbuf_get_buffer_from_lru_list+0x3a4>
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = -1;                                            
ffc10aa0:	98 09 00 11 	stb     r0,17(r9)                              
ffc10aa4:	7d 2a 4b 78 	mr      r10,r9                                 
ffc10aa8:	39 00 00 01 	li      r8,1                                   
ffc10aac:	4b ff ff 58 	b       ffc10a04 <rtems_bdbuf_get_buffer_from_lru_list+0x27c>
    {                                                                 
      p = *--buf_prev;                                                
                                                                      
      if (p->avl.cache == -1)                                         
      {                                                               
        p->avl.left = q;                                              
ffc10ab0:	91 49 00 08 	stw     r10,8(r9)                              
ffc10ab4:	4b ff ff 70 	b       ffc10a24 <rtems_bdbuf_get_buffer_from_lru_list+0x29c>
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
ffc10ab8:	98 e9 00 11 	stb     r7,17(r9)                              
ffc10abc:	7d 2a 4b 78 	mr      r10,r9                                 
          modified = false;                                           
ffc10ac0:	39 00 00 00 	li      r8,0                                   
ffc10ac4:	4b ff ff 40 	b       ffc10a04 <rtems_bdbuf_get_buffer_from_lru_list+0x27c>
        case 0:                                                       
          p->avl.bal = 1;                                             
          break;                                                      
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
ffc10ac8:	81 09 00 0c 	lwz     r8,12(r9)                              
          if (p1->avl.bal == 1) /* simple RR-turn */                  
ffc10acc:	88 08 00 11 	lbz     r0,17(r8)                              
ffc10ad0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc10ad4:	41 9e 00 bc 	beq-    cr7,ffc10b90 <rtems_bdbuf_get_buffer_from_lru_list+0x408><== ALWAYS TAKEN
            p->avl.bal = 0;                                           
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
ffc10ad8:	81 48 00 08 	lwz     r10,8(r8)                              <== 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;
ffc10adc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc10ae0:	88 6a 00 11 	lbz     r3,17(r10)                             <== NOT EXECUTED
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
ffc10ae4:	80 8a 00 0c 	lwz     r4,12(r10)                             <== NOT EXECUTED
            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;
ffc10ae8:	2f 83 00 01 	cmpwi   cr7,r3,1                               <== NOT EXECUTED
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc10aec:	91 0a 00 0c 	stw     r8,12(r10)                             <== NOT EXECUTED
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
ffc10af0:	90 88 00 08 	stw     r4,8(r8)                               <== NOT EXECUTED
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc10af4:	80 8a 00 08 	lwz     r4,8(r10)                              <== NOT EXECUTED
            p2->avl.left = p;                                         
ffc10af8:	91 2a 00 08 	stw     r9,8(r10)                              <== NOT EXECUTED
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc10afc:	90 89 00 0c 	stw     r4,12(r9)                              <== NOT EXECUTED
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc10b00:	41 9e 00 a8 	beq-    cr7,ffc10ba8 <rtems_bdbuf_get_buffer_from_lru_list+0x420><== NOT EXECUTED
ffc10b04:	98 09 00 11 	stb     r0,17(r9)                              <== NOT EXECUTED
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
ffc10b08:	88 0a 00 11 	lbz     r0,17(r10)                             <== NOT EXECUTED
ffc10b0c:	2f 80 00 ff 	cmpwi   cr7,r0,255                             <== NOT EXECUTED
ffc10b10:	41 9e 00 14 	beq-    cr7,ffc10b24 <rtems_bdbuf_get_buffer_from_lru_list+0x39c><== NOT EXECUTED
ffc10b14:	98 e8 00 11 	stb     r7,17(r8)                              
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
ffc10b18:	98 ea 00 11 	stb     r7,17(r10)                             
          modified = false;                                           
ffc10b1c:	39 00 00 00 	li      r8,0                                   
ffc10b20:	4b ff fe e4 	b       ffc10a04 <rtems_bdbuf_get_buffer_from_lru_list+0x27c>
            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;
ffc10b24:	98 a8 00 11 	stb     r5,17(r8)                              <== NOT EXECUTED
ffc10b28:	4b ff ff f0 	b       ffc10b18 <rtems_bdbuf_get_buffer_from_lru_list+0x390><== NOT EXECUTED
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
ffc10b2c:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc10b30:	41 be ff 88 	beq-    cr7,ffc10ab8 <rtems_bdbuf_get_buffer_from_lru_list+0x330>
ffc10b34:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc10b38:	40 9e ff 3c 	bne+    cr7,ffc10a74 <rtems_bdbuf_get_buffer_from_lru_list+0x2ec><== NEVER TAKEN
        case 0:                                                       
          p->avl.bal = -1;                                            
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc10b3c:	81 09 00 08 	lwz     r8,8(r9)                               
          if (p1->avl.bal == -1) /* simple LL-turn */                 
ffc10b40:	89 48 00 11 	lbz     r10,17(r8)                             
ffc10b44:	2f 8a 00 ff 	cmpwi   cr7,r10,255                            
ffc10b48:	41 9e 00 74 	beq-    cr7,ffc10bbc <rtems_bdbuf_get_buffer_from_lru_list+0x434><== NEVER TAKEN
            p->avl.bal = 0;                                           
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
ffc10b4c:	81 48 00 0c 	lwz     r10,12(r8)                             
            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;
ffc10b50:	88 8a 00 11 	lbz     r4,17(r10)                             
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc10b54:	80 6a 00 08 	lwz     r3,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;
ffc10b58:	68 84 00 ff 	xori    r4,r4,255                              
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
ffc10b5c:	91 0a 00 08 	stw     r8,8(r10)                              
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
ffc10b60:	7c 84 00 34 	cntlzw  r4,r4                                  
ffc10b64:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc10b68:	90 68 00 0c 	stw     r3,12(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;
ffc10b6c:	98 89 00 11 	stb     r4,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc10b70:	88 8a 00 11 	lbz     r4,17(r10)                             
ffc10b74:	2f 84 00 01 	cmpwi   cr7,r4,1                               
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc10b78:	80 8a 00 0c 	lwz     r4,12(r10)                             
            p2->avl.right = p;                                        
ffc10b7c:	91 2a 00 0c 	stw     r9,12(r10)                             
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc10b80:	90 89 00 08 	stw     r4,8(r9)                               
            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;
ffc10b84:	40 9e ff 90 	bne+    cr7,ffc10b14 <rtems_bdbuf_get_buffer_from_lru_list+0x38c><== ALWAYS TAKEN
ffc10b88:	98 08 00 11 	stb     r0,17(r8)                              <== NOT EXECUTED
ffc10b8c:	4b ff ff 8c 	b       ffc10b18 <rtems_bdbuf_get_buffer_from_lru_list+0x390><== NOT EXECUTED
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10b90:	80 08 00 08 	lwz     r0,8(r8)                               
            p1->avl.left = p;                                         
            p->avl.bal = 0;                                           
ffc10b94:	7d 0a 43 78 	mr      r10,r8                                 
ffc10b98:	98 e9 00 11 	stb     r7,17(r9)                              
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10b9c:	90 09 00 0c 	stw     r0,12(r9)                              
            p1->avl.left = p;                                         
ffc10ba0:	91 28 00 08 	stw     r9,8(r8)                               
ffc10ba4:	4b ff ff 74 	b       ffc10b18 <rtems_bdbuf_get_buffer_from_lru_list+0x390>
            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;
ffc10ba8:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc10bac:	4b ff ff 58 	b       ffc10b04 <rtems_bdbuf_get_buffer_from_lru_list+0x37c><== NOT EXECUTED
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
      if (q == NULL)                                                  
      {                                                               
        q = node;                                                     
        p->avl.right = q = node;                                      
ffc10bb0:	93 29 00 0c 	stw     r25,12(r9)                             
ffc10bb4:	38 00 00 01 	li      r0,1                                   
ffc10bb8:	4b ff fe 14 	b       ffc109cc <rtems_bdbuf_get_buffer_from_lru_list+0x244>
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc10bbc:	80 08 00 0c 	lwz     r0,12(r8)                              <== NOT EXECUTED
            p1->avl.right = p;                                        
            p->avl.bal = 0;                                           
ffc10bc0:	7d 0a 43 78 	mr      r10,r8                                 <== NOT EXECUTED
ffc10bc4:	98 e9 00 11 	stb     r7,17(r9)                              <== NOT EXECUTED
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc10bc8:	90 09 00 08 	stw     r0,8(r9)                               <== NOT EXECUTED
            p1->avl.right = p;                                        
ffc10bcc:	91 28 00 0c 	stw     r9,12(r8)                              <== NOT EXECUTED
ffc10bd0:	4b ff ff 48 	b       ffc10b18 <rtems_bdbuf_get_buffer_from_lru_list+0x390><== NOT EXECUTED
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
  {                                                                   
    *root = node;                                                     
ffc10bd4:	93 3c 00 40 	stw     r25,64(r28)                            
    node->avl.left = NULL;                                            
ffc10bd8:	91 39 00 08 	stw     r9,8(r25)                              
    node->avl.right = NULL;                                           
ffc10bdc:	91 39 00 0c 	stw     r9,12(r25)                             
    node->avl.bal = 0;                                                
ffc10be0:	99 39 00 11 	stb     r9,17(r25)                             
ffc10be4:	4b ff fe 4c 	b       ffc10a30 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8>
                                                                      

ffc10e98 <rtems_bdbuf_init>: * * @return rtems_status_code The initialisation status. */ rtems_status_code rtems_bdbuf_init (void) {
ffc10e98:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc10e9c:	7c 08 02 a6 	mflr    r0                                     
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc10ea0:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc10ea4:	90 01 00 3c 	stw     r0,60(r1)                              
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
    return RTEMS_CALLED_FROM_ISR;                                     
ffc10ea8:	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())                               
ffc10eac:	80 09 2e 60 	lwz     r0,11872(r9)                           
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc10eb0:	92 a1 00 0c 	stw     r21,12(r1)                             
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc10eb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc10eb8:	92 c1 00 10 	stw     r22,16(r1)                             
ffc10ebc:	92 e1 00 14 	stw     r23,20(r1)                             
ffc10ec0:	93 01 00 18 	stw     r24,24(r1)                             
ffc10ec4:	93 21 00 1c 	stw     r25,28(r1)                             
ffc10ec8:	93 41 00 20 	stw     r26,32(r1)                             
ffc10ecc:	93 61 00 24 	stw     r27,36(r1)                             
ffc10ed0:	93 81 00 28 	stw     r28,40(r1)                             
ffc10ed4:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc10ed8:	93 c1 00 30 	stw     r30,48(r1)                             
ffc10edc:	93 e1 00 34 	stw     r31,52(r1)                             
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc10ee0:	41 9e 00 40 	beq-    cr7,ffc10f20 <rtems_bdbuf_init+0x88>   <== ALWAYS TAKEN
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
ffc10ee4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc10ee8:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc10eec:	7c 08 03 a6 	mtlr    r0                                     
ffc10ef0:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc10ef4:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc10ef8:	83 01 00 18 	lwz     r24,24(r1)                             
ffc10efc:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc10f00:	83 41 00 20 	lwz     r26,32(r1)                             
ffc10f04:	83 61 00 24 	lwz     r27,36(r1)                             
ffc10f08:	83 81 00 28 	lwz     r28,40(r1)                             
ffc10f0c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc10f10:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc10f14:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc10f18:	38 21 00 38 	addi    r1,r1,56                               
ffc10f1c:	4e 80 00 20 	blr                                            
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc10f20:	3f 80 ff c2 	lis     r28,-62                                
ffc10f24:	3b 9c cf 34 	addi    r28,r28,-12492                         
ffc10f28:	80 1c 00 24 	lwz     r0,36(r28)                             
    return RTEMS_INVALID_NUMBER;                                      
ffc10f2c:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc10f30:	83 bc 00 20 	lwz     r29,32(r28)                            
ffc10f34:	7f 60 eb 96 	divwu   r27,r0,r29                             
ffc10f38:	7d 3b e9 d6 	mullw   r9,r27,r29                             
ffc10f3c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc10f40:	40 9e ff a4 	bne+    cr7,ffc10ee4 <rtems_bdbuf_init+0x4c>   <== NEVER TAKEN
   * 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)                                        
ffc10f44:	3f c0 00 00 	lis     r30,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 ();                      
ffc10f48:	4b ff e3 2d 	bl      ffc0f274 <rtems_bdbuf_disable_preemption>
  if (bdbuf_cache.initialised)                                        
ffc10f4c:	3b fe 29 90 	addi    r31,r30,10640                          
ffc10f50:	8b 5f 00 88 	lbz     r26,136(r31)                           
  /*                                                                  
   * 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 ();                      
ffc10f54:	7c 79 1b 78 	mr      r25,r3                                 
  if (bdbuf_cache.initialised)                                        
ffc10f58:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc10f5c:	41 9e 00 10 	beq-    cr7,ffc10f6c <rtems_bdbuf_init+0xd4>   <== ALWAYS TAKEN
  {                                                                   
    rtems_bdbuf_restore_preemption (prev_mode);                       
ffc10f60:	4b ff e3 61 	bl      ffc0f2c0 <rtems_bdbuf_restore_preemption><== NOT EXECUTED
    return RTEMS_RESOURCE_IN_USE;                                     
ffc10f64:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc10f68:	4b ff ff 7c 	b       ffc10ee4 <rtems_bdbuf_init+0x4c>       <== NOT EXECUTED
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
ffc10f6c:	38 80 00 00 	li      r4,0                                   
ffc10f70:	38 a0 00 90 	li      r5,144                                 
ffc10f74:	7f e3 fb 78 	mr      r3,r31                                 
ffc10f78:	48 00 70 89 	bl      ffc18000 <memset>                      
  bdbuf_cache.initialised = true;                                     
ffc10f7c:	38 00 00 01 	li      r0,1                                   
ffc10f80:	98 1f 00 88 	stb     r0,136(r31)                            
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc10f84:	7f 23 cb 78 	mr      r3,r25                                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10f88:	3a df 00 0c 	addi    r22,r31,12                             
ffc10f8c:	4b ff e3 35 	bl      ffc0f2c0 <rtems_bdbuf_restore_preemption>
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc10f90:	3a ff 00 08 	addi    r23,r31,8                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10f94:	39 9f 00 54 	addi    r12,r31,84                             
ffc10f98:	92 df 00 08 	stw     r22,8(r31)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc10f9c:	39 1f 00 50 	addi    r8,r31,80                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10fa0:	39 3f 00 60 	addi    r9,r31,96                              
  head->previous = NULL;                                              
ffc10fa4:	93 5f 00 0c 	stw     r26,12(r31)                            
  tail->previous = head;                                              
ffc10fa8:	38 1f 00 5c 	addi    r0,r31,92                              
   */                                                                 
  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;                        
ffc10fac:	39 40 ff ff 	li      r10,-1                                 
ffc10fb0:	92 ff 00 10 	stw     r23,16(r31)                            
ffc10fb4:	39 60 ff ff 	li      r11,-1                                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10fb8:	3b 1f 00 48 	addi    r24,r31,72                             
ffc10fbc:	91 5f 00 38 	stw     r10,56(r31)                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc10fc0:	3b 3f 00 44 	addi    r25,r31,68                             
  rtems_chain_initialize_empty (&bdbuf_cache.sync);                   
                                                                      
  /*                                                                  
   * Create the locks for the cache.                                  
   */                                                                 
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'l'), 
ffc10fc4:	3c 60 42 44 	lis     r3,16964                               
   */                                                                 
  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;                        
ffc10fc8:	91 7f 00 3c 	stw     r11,60(r31)                            
  rtems_chain_initialize_empty (&bdbuf_cache.sync);                   
                                                                      
  /*                                                                  
   * Create the locks for the cache.                                  
   */                                                                 
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'l'), 
ffc10fcc:	60 63 43 6c 	ori     r3,r3,17260                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10fd0:	93 1f 00 44 	stw     r24,68(r31)                            
ffc10fd4:	38 80 00 01 	li      r4,1                                   
ffc10fd8:	38 a0 00 54 	li      r5,84                                  
  head->previous = NULL;                                              
ffc10fdc:	93 5f 00 48 	stw     r26,72(r31)                            
ffc10fe0:	38 c0 00 00 	li      r6,0                                   
ffc10fe4:	38 ff 00 28 	addi    r7,r31,40                              
  tail->previous = head;                                              
ffc10fe8:	93 3f 00 4c 	stw     r25,76(r31)                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10fec:	91 9f 00 50 	stw     r12,80(r31)                            
  head->previous = NULL;                                              
ffc10ff0:	93 5f 00 54 	stw     r26,84(r31)                            
  tail->previous = head;                                              
ffc10ff4:	91 1f 00 58 	stw     r8,88(r31)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10ff8:	91 3f 00 5c 	stw     r9,92(r31)                             
  head->previous = NULL;                                              
ffc10ffc:	93 5f 00 60 	stw     r26,96(r31)                            
  tail->previous = head;                                              
ffc11000:	90 1f 00 64 	stw     r0,100(r31)                            
ffc11004:	4b ff 8e b9 	bl      ffc09ebc <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11008:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1100c:	41 9e 00 7c 	beq-    cr7,ffc11088 <rtems_bdbuf_init+0x1f0>  <== ALWAYS TAKEN
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
ffc11010:	80 7e 29 90 	lwz     r3,10640(r30)                          <== NOT EXECUTED
ffc11014:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11018:	40 9e 00 58 	bne-    cr7,ffc11070 <rtems_bdbuf_init+0x1d8>  <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.swapout);                          
                                                                      
  free (bdbuf_cache.buffers);                                         
ffc1101c:	80 7f 00 18 	lwz     r3,24(r31)                             <== NOT EXECUTED
ffc11020:	4b ff 4c fd 	bl      ffc05d1c <free>                        <== NOT EXECUTED
  free (bdbuf_cache.groups);                                          
ffc11024:	80 7f 00 84 	lwz     r3,132(r31)                            <== NOT EXECUTED
ffc11028:	4b ff 4c f5 	bl      ffc05d1c <free>                        <== NOT EXECUTED
  free (bdbuf_cache.bds);                                             
ffc1102c:	80 7f 00 14 	lwz     r3,20(r31)                             <== NOT EXECUTED
ffc11030:	4b ff 4c ed 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
  rtems_semaphore_delete (bdbuf_cache.buffer_waiters.sema);           
ffc11034:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc11038:	4b ff 90 81 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.access_waiters.sema);           
ffc1103c:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc11040:	4b ff 90 79 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
ffc11044:	80 7f 00 74 	lwz     r3,116(r31)                            <== NOT EXECUTED
ffc11048:	4b ff 90 71 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
ffc1104c:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc11050:	4b ff 90 69 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.lock != 0)                                          
ffc11054:	80 1f 00 28 	lwz     r0,40(r31)                             <== NOT EXECUTED
ffc11058:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1105c:	40 9e 00 1c 	bne-    cr7,ffc11078 <rtems_bdbuf_init+0x1e0>  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
    rtems_semaphore_delete (bdbuf_cache.lock);                        
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
ffc11060:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc11064:	98 1f 00 88 	stb     r0,136(r31)                            <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
ffc11068:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
ffc1106c:	4b ff fe 78 	b       ffc10ee4 <rtems_bdbuf_init+0x4c>       <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
    rtems_task_delete (bdbuf_cache.swapout);                          
ffc11070:	4b ff 95 09 	bl      ffc0a578 <rtems_task_delete>           <== NOT EXECUTED
ffc11074:	4b ff ff a8 	b       ffc1101c <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 ();                                      
ffc11078:	4b ff e0 85 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
    rtems_semaphore_delete (bdbuf_cache.lock);                        
ffc1107c:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc11080:	4b ff 90 39 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
ffc11084:	4b ff ff dc 	b       ffc11060 <rtems_bdbuf_init+0x1c8>      <== NOT EXECUTED
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto error;                                                       
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11088:	4b ff dd e9 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 's'), 
ffc1108c:	3c 60 42 44 	lis     r3,16964                               
ffc11090:	60 63 43 73 	ori     r3,r3,17267                            
ffc11094:	38 80 00 01 	li      r4,1                                   
ffc11098:	38 a0 00 54 	li      r5,84                                  
ffc1109c:	38 c0 00 00 	li      r6,0                                   
ffc110a0:	38 ff 00 2c 	addi    r7,r31,44                              
ffc110a4:	4b ff 8e 19 	bl      ffc09ebc <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.sync_lock);               
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc110a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc110ac:	40 9e ff 64 	bne+    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'a'), 
ffc110b0:	3c 60 42 44 	lis     r3,16964                               
ffc110b4:	60 63 43 61 	ori     r3,r3,17249                            
ffc110b8:	38 80 00 00 	li      r4,0                                   
ffc110bc:	38 a0 00 24 	li      r5,36                                  
ffc110c0:	38 c0 00 00 	li      r6,0                                   
ffc110c4:	38 ff 00 6c 	addi    r7,r31,108                             
ffc110c8:	4b ff 8d f5 	bl      ffc09ebc <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.access_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc110cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc110d0:	40 9e ff 40 	bne+    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 't'), 
ffc110d4:	3c 60 42 44 	lis     r3,16964                               
ffc110d8:	60 63 43 74 	ori     r3,r3,17268                            
ffc110dc:	38 80 00 00 	li      r4,0                                   
ffc110e0:	38 a0 00 24 	li      r5,36                                  
ffc110e4:	38 c0 00 00 	li      r6,0                                   
ffc110e8:	38 ff 00 74 	addi    r7,r31,116                             
ffc110ec:	4b ff 8d d1 	bl      ffc09ebc <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.transfer_waiters.sema);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc110f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc110f4:	40 9e ff 1c 	bne+    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'b'), 
ffc110f8:	3c 60 42 44 	lis     r3,16964                               
ffc110fc:	60 63 43 62 	ori     r3,r3,17250                            
ffc11100:	38 80 00 00 	li      r4,0                                   
ffc11104:	38 a0 00 24 	li      r5,36                                  
ffc11108:	38 c0 00 00 	li      r6,0                                   
ffc1110c:	38 ff 00 7c 	addi    r7,r31,124                             
ffc11110:	4b ff 8d ad 	bl      ffc09ebc <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.buffer_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11114:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11118:	40 9e fe f8 	bne+    cr7,ffc11010 <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;                      
ffc1111c:	83 5c 00 1c 	lwz     r26,28(r28)                            
    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),              
ffc11120:	38 60 00 40 	li      r3,64                                  
  /*                                                                  
   * 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 =                                     
ffc11124:	93 7f 00 20 	stw     r27,32(r31)                            
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
ffc11128:	7f 5a eb 96 	divwu   r26,r26,r29                            
  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;     
ffc1112c:	7f 7a db 96 	divwu   r27,r26,r27                            
    goto error;                                                       
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
ffc11130:	93 5f 00 1c 	stw     r26,28(r31)                            
    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 =                                           
ffc11134:	93 7f 00 80 	stw     r27,128(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),              
ffc11138:	7f 44 d3 78 	mr      r4,r26                                 
ffc1113c:	4b ff 49 35 	bl      ffc05a70 <calloc>                      
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc11140:	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),              
ffc11144:	90 7f 00 14 	stw     r3,20(r31)                             
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc11148:	41 be fe c8 	beq-    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.groups = calloc (sizeof (rtems_bdbuf_group),            
ffc1114c:	38 60 00 14 	li      r3,20                                  
ffc11150:	7f 64 db 78 	mr      r4,r27                                 
ffc11154:	4b ff 49 1d 	bl      ffc05a70 <calloc>                      
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc11158:	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),            
ffc1115c:	90 7f 00 84 	stw     r3,132(r31)                            
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc11160:	41 be fe b0 	beq-    cr7,ffc11010 <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,                 
ffc11164:	7c ba e9 d6 	mullw   r5,r26,r29                             
ffc11168:	38 7f 00 18 	addi    r3,r31,24                              
ffc1116c:	38 80 00 20 	li      r4,32                                  
ffc11170:	48 00 2d dd 	bl      ffc13f4c <rtems_memalign>              
ffc11174:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11178:	40 9e fe 98 	bne+    cr7,ffc11010 <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,                             
ffc1117c:	82 bf 00 84 	lwz     r21,132(r31)                           
ffc11180:	3a e0 00 00 	li      r23,0                                  
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
ffc11184:	83 1f 00 14 	lwz     r24,20(r31)                            
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
ffc11188:	3b 40 ff ff 	li      r26,-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;          
ffc1118c:	82 df 00 18 	lwz     r22,24(r31)                            
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
ffc11190:	3b 60 ff ff 	li      r27,-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,                             
ffc11194:	80 1f 00 1c 	lwz     r0,28(r31)                             
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc11198:	7f 04 c3 78 	mr      r4,r24                                 
ffc1119c:	7f 23 cb 78 	mr      r3,r25                                 
ffc111a0:	7f 97 00 40 	cmplw   cr7,r23,r0                             
ffc111a4:	40 9c 00 48 	bge-    cr7,ffc111ec <rtems_bdbuf_init+0x354>  
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
ffc111a8:	92 d8 00 24 	stw     r22,36(r24)                            
   * 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)                  
ffc111ac:	7e d6 ea 14 	add     r22,r22,r29                            
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
    bd->group  = group;                                               
ffc111b0:	92 b8 00 30 	stw     r21,48(r24)                            
  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->dev    = BDBUF_INVALID_DEV;                                   
ffc111b4:	93 58 00 18 	stw     r26,24(r24)                            
ffc111b8:	93 78 00 1c 	stw     r27,28(r24)                            
   * 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)                  
ffc111bc:	3b 18 00 40 	addi    r24,r24,64                             
ffc111c0:	4b ff 9f 5d 	bl      ffc0b11c <_Chain_Append>               
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc111c4:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc111c8:	7c 17 4b 96 	divwu   r0,r23,r9                              
ffc111cc:	7c 00 49 d6 	mullw   r0,r0,r9                               
        (bdbuf_cache.max_bds_per_group - 1))                          
ffc111d0:	39 29 ff ff 	addi    r9,r9,-1                               
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc111d4:	7c 00 b8 50 	subf    r0,r0,r23                              
ffc111d8:	7f 80 48 00 	cmpw    cr7,r0,r9                              
   * 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)                  
ffc111dc:	3a f7 00 01 	addi    r23,r23,1                              
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc111e0:	40 9e ff b4 	bne+    cr7,ffc11194 <rtems_bdbuf_init+0x2fc>  
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
ffc111e4:	3a b5 00 14 	addi    r21,r21,20                             
ffc111e8:	4b ff ff ac 	b       ffc11194 <rtems_bdbuf_init+0x2fc>      
  }                                                                   
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
ffc111ec:	81 5f 00 80 	lwz     r10,128(r31)                           
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
ffc111f0:	81 7f 00 20 	lwz     r11,32(r31)                            
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
ffc111f4:	39 4a 00 01 	addi    r10,r10,1                              
         group = bdbuf_cache.groups,                                  
ffc111f8:	81 3f 00 84 	lwz     r9,132(r31)                            
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
ffc111fc:	7d 49 03 a6 	mtctr   r10                                    
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
ffc11200:	80 1f 00 14 	lwz     r0,20(r31)                             
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
ffc11204:	55 68 30 32 	rlwinm  r8,r11,6,0,25                          
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
ffc11208:	42 40 00 18 	bdz-    ffc11220 <rtems_bdbuf_init+0x388>      
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
    group->bdbuf = bd;                                                
ffc1120c:	90 09 00 10 	stw     r0,16(r9)                              
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
ffc11210:	7c 00 42 14 	add     r0,r0,r8                               
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
ffc11214:	91 69 00 08 	stw     r11,8(r9)                              
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
ffc11218:	39 29 00 14 	addi    r9,r9,20                               
ffc1121c:	4b ff ff ec 	b       ffc11208 <rtems_bdbuf_init+0x370>      
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
                          bdbuf_config.swapout_priority ?             
ffc11220:	80 9c 00 08 	lwz     r4,8(r28)                              
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
ffc11224:	38 00 00 01 	li      r0,1                                   
ffc11228:	98 1f 00 04 	stb     r0,4(r31)                              
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
ffc1122c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc11230:	40 9e 00 08 	bne-    cr7,ffc11238 <rtems_bdbuf_init+0x3a0>  <== ALWAYS TAKEN
ffc11234:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
ffc11238:	3c 60 42 53 	lis     r3,16979                               
ffc1123c:	60 63 57 50 	ori     r3,r3,22352                            
ffc11240:	38 a0 20 00 	li      r5,8192                                
ffc11244:	38 c0 04 00 	li      r6,1024                                
ffc11248:	38 e0 00 00 	li      r7,0                                   
ffc1124c:	7f e8 fb 78 	mr      r8,r31                                 
ffc11250:	4b ff 91 b1 	bl      ffc0a400 <rtems_task_create>           
                            RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT,
                          SWAPOUT_TASK_STACK_SIZE,                    
                          RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                          RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,      
                          &bdbuf_cache.swapout);                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11254:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11258:	40 9e fd b8 	bne+    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_task_start (bdbuf_cache.swapout,                         
ffc1125c:	3d 20 00 00 	lis     r9,0                                   
ffc11260:	80 69 29 90 	lwz     r3,10640(r9)                           
ffc11264:	3c 80 ff c1 	lis     r4,-63                                 
ffc11268:	38 84 02 b0 	addi    r4,r4,688                              
ffc1126c:	7f e5 fb 78 	mr      r5,r31                                 
ffc11270:	4b ff 94 e1 	bl      ffc0a750 <rtems_task_start>            
                         rtems_bdbuf_swapout_task,                    
                         (rtems_task_argument) &bdbuf_cache);         
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11274:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11278:	40 9e fd 98 	bne+    cr7,ffc11010 <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc1127c:	4b ff de 81 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc11280:	38 60 00 00 	li      r3,0                                   
ffc11284:	4b ff fc 60 	b       ffc10ee4 <rtems_bdbuf_init+0x4c>       
                                                                      

ffc0ee70 <rtems_bdbuf_lock_cache>: * Lock the cache. A single task can nest calls. */ static void rtems_bdbuf_lock_cache (void) { rtems_bdbuf_lock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_LOCK);
ffc0ee70:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Lock the cache. A single task can nest calls.                      
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
ffc0ee74:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0ee78:	7c 08 02 a6 	mflr    r0                                     
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0ee7c:	38 80 00 00 	li      r4,0                                   
ffc0ee80:	80 69 29 b8 	lwz     r3,10680(r9)                           
ffc0ee84:	38 a0 00 00 	li      r5,0                                   
/**                                                                   
 * Lock the cache. A single task can nest calls.                      
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
ffc0ee88:	90 01 00 0c 	stw     r0,12(r1)                              
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0ee8c:	4b ff b3 09 	bl      ffc0a194 <rtems_semaphore_obtain>      
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0ee90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ee94:	40 9e 00 14 	bne-    cr7,ffc0eea8 <rtems_bdbuf_lock_cache+0x38><== NEVER TAKEN
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
  rtems_bdbuf_lock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_LOCK);
}                                                                     
ffc0ee98:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0ee9c:	38 21 00 08 	addi    r1,r1,8                                
ffc0eea0:	7c 08 03 a6 	mtlr    r0                                     
ffc0eea4:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0eea8:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0eeac:	60 63 00 0d 	ori     r3,r3,13                               <== NOT EXECUTED
ffc0eeb0:	4b ff bb fd 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0eeb4 <rtems_bdbuf_lock_sync>: * Lock the cache's sync. A single task can nest calls. */ static void rtems_bdbuf_lock_sync (void) { rtems_bdbuf_lock (bdbuf_cache.sync_lock, RTEMS_BLKDEV_FATAL_BDBUF_SYNC_LOCK);
ffc0eeb4:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Lock the cache's sync. A single task can nest calls.               
 */                                                                   
static void                                                           
rtems_bdbuf_lock_sync (void)                                          
{                                                                     
ffc0eeb8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0eebc:	7c 08 02 a6 	mflr    r0                                     
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0eec0:	38 80 00 00 	li      r4,0                                   
ffc0eec4:	80 69 29 bc 	lwz     r3,10684(r9)                           
ffc0eec8:	38 a0 00 00 	li      r5,0                                   
/**                                                                   
 * Lock the cache's sync. A single task can nest calls.               
 */                                                                   
static void                                                           
rtems_bdbuf_lock_sync (void)                                          
{                                                                     
ffc0eecc:	90 01 00 0c 	stw     r0,12(r1)                              
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code)           
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0eed0:	4b ff b2 c5 	bl      ffc0a194 <rtems_semaphore_obtain>      
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0eed4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eed8:	40 9e 00 14 	bne-    cr7,ffc0eeec <rtems_bdbuf_lock_sync+0x38><== NEVER TAKEN
 */                                                                   
static void                                                           
rtems_bdbuf_lock_sync (void)                                          
{                                                                     
  rtems_bdbuf_lock (bdbuf_cache.sync_lock, RTEMS_BLKDEV_FATAL_BDBUF_SYNC_LOCK);
}                                                                     
ffc0eedc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0eee0:	38 21 00 08 	addi    r1,r1,8                                
ffc0eee4:	7c 08 03 a6 	mtlr    r0                                     
ffc0eee8:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0eeec:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0eef0:	60 63 00 0b 	ori     r3,r3,11                               <== NOT EXECUTED
ffc0eef4:	4b ff bb b9 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f5d4 <rtems_bdbuf_obtain_disk.part.8>: return bd; } static rtems_status_code rtems_bdbuf_obtain_disk (dev_t dev,
ffc0f5d4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f5d8:	7c 08 02 a6 	mflr    r0                                     
ffc0f5dc:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0f5e0:	7d 1b 43 78 	mr      r27,r8                                 
ffc0f5e4:	93 81 00 10 	stw     r28,16(r1)                             
ffc0f5e8:	7c dc 33 78 	mr      r28,r6                                 
ffc0f5ec:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0f5f0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0f5f4:	7c be 2b 78 	mr      r30,r5                                 
ffc0f5f8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0f5fc:	7c ff 3b 78 	mr      r31,r7                                 
ffc0f600:	90 01 00 24 	stw     r0,36(r1)                              
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  /*                                                                  
   * Do not hold the cache lock when obtaining the disk table.        
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
ffc0f604:	4b ff 56 4d 	bl      ffc04c50 <rtems_disk_obtain>           
  if (dd == NULL)                                                     
ffc0f608:	7c 7d 1b 79 	mr.     r29,r3                                 
    return RTEMS_INVALID_ID;                                          
ffc0f60c:	38 60 00 04 	li      r3,4                                   
                                                                      
  /*                                                                  
   * Do not hold the cache lock when obtaining the disk table.        
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
  if (dd == NULL)                                                     
ffc0f610:	41 82 00 b0 	beq-    ffc0f6c0 <rtems_bdbuf_obtain_disk.part.8+0xec><== NEVER TAKEN
    return RTEMS_INVALID_ID;                                          
                                                                      
  *dd_ptr = dd;                                                       
                                                                      
  if (media_block_ptr != NULL)                                        
ffc0f614:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
  if (dd == NULL)                                                     
    return RTEMS_INVALID_ID;                                          
                                                                      
  *dd_ptr = dd;                                                       
ffc0f618:	93 bc 00 00 	stw     r29,0(r28)                             
                                                                      
  if (media_block_ptr != NULL)                                        
ffc0f61c:	41 9e 00 3c 	beq-    cr7,ffc0f658 <rtems_bdbuf_obtain_disk.part.8+0x84>
     * 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.                                                      
     */                                                               
    rtems_blkdev_bnum mb = rtems_bdbuf_media_block (block,            
                                                    dd->block_size,   
ffc0f620:	80 7d 00 20 	lwz     r3,32(r29)                             
rtems_bdbuf_media_block (rtems_blkdev_bnum block,                     
                         size_t            block_size,                
                         size_t            media_block_size)          
{                                                                     
  return (rtems_blkdev_bnum)                                          
    ((((uint64_t) block) * block_size) / media_block_size);           
ffc0f624:	38 a0 00 00 	li      r5,0                                   
ffc0f628:	80 dd 00 24 	lwz     r6,36(r29)                             
ffc0f62c:	7d 5e 19 d6 	mullw   r10,r30,r3                             
ffc0f630:	7d 3e 18 16 	mulhwu  r9,r30,r3                              
ffc0f634:	7d 44 53 78 	mr      r4,r10                                 
ffc0f638:	7d 23 4b 78 	mr      r3,r9                                  
ffc0f63c:	48 00 c3 49 	bl      ffc1b984 <__udivdi3>                   
     * the user.                                                      
     */                                                               
    rtems_blkdev_bnum mb = rtems_bdbuf_media_block (block,            
                                                    dd->block_size,   
                                                    dd->media_block_size);
    if (mb >= dd->size)                                               
ffc0f640:	80 1d 00 1c 	lwz     r0,28(r29)                             
ffc0f644:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0f648:	40 9c 00 9c 	bge-    cr7,ffc0f6e4 <rtems_bdbuf_obtain_disk.part.8+0x110><== NEVER TAKEN
    {                                                                 
      rtems_disk_release(dd);                                         
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    *media_block_ptr = mb + dd->start;                                
ffc0f64c:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc0f650:	7c 84 02 14 	add     r4,r4,r0                               
ffc0f654:	90 9f 00 00 	stw     r4,0(r31)                              
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
ffc0f658:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
    }                                                                 
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f65c:	38 60 00 00 	li      r3,0                                   
    }                                                                 
                                                                      
    *media_block_ptr = mb + dd->start;                                
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
ffc0f660:	41 9e 00 60 	beq-    cr7,ffc0f6c0 <rtems_bdbuf_obtain_disk.part.8+0xec>
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
ffc0f664:	3d 20 ff c2 	lis     r9,-62                                 
    *media_block_ptr = mb + dd->start;                                
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
ffc0f668:	81 7d 00 20 	lwz     r11,32(r29)                            
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
ffc0f66c:	39 29 cf 34 	addi    r9,r9,-12492                           
ffc0f670:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0f674:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0f678:	41 9d 00 6c 	bgt-    cr7,ffc0f6e4 <rtems_bdbuf_obtain_disk.part.8+0x110><== NEVER TAKEN
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
ffc0f67c:	80 09 00 20 	lwz     r0,32(r9)                              
ffc0f680:	39 2b ff ff 	addi    r9,r11,-1                              
ffc0f684:	7d 29 03 96 	divwu   r9,r9,r0                               
ffc0f688:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
  for (bds_per_size = 1;                                              
ffc0f68c:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc0f690:	38 00 00 01 	li      r0,1                                   
ffc0f694:	40 9d 00 10 	ble-    cr7,ffc0f6a4 <rtems_bdbuf_obtain_disk.part.8+0xd0>
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
ffc0f698:	54 00 08 3c 	rlwinm  r0,r0,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;                                              
ffc0f69c:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc0f6a0:	41 9d ff f8 	bgt+    cr7,ffc0f698 <rtems_bdbuf_obtain_disk.part.8+0xc4><== NEVER TAKEN
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
    ;                                                                 
                                                                      
  return bdbuf_cache.max_bds_per_group / bds_per_size;                
ffc0f6a4:	3d 20 00 00 	lis     r9,0                                   
ffc0f6a8:	81 29 29 b0 	lwz     r9,10672(r9)                           
ffc0f6ac:	7c 09 03 96 	divwu   r0,r9,r0                               
                                                                      
  if (bds_per_group_ptr != NULL)                                      
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
                                                                      
    if (bds_per_group == 0)                                           
ffc0f6b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f6b4:	41 9e 00 30 	beq-    cr7,ffc0f6e4 <rtems_bdbuf_obtain_disk.part.8+0x110><== NEVER TAKEN
    {                                                                 
      rtems_disk_release (dd);                                        
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
ffc0f6b8:	90 1b 00 00 	stw     r0,0(r27)                              
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f6bc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0f6c0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f6c4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f6c8:	7c 08 03 a6 	mtlr    r0                                     
ffc0f6cc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f6d0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f6d4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f6d8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f6dc:	38 21 00 20 	addi    r1,r1,32                               
ffc0f6e0:	4e 80 00 20 	blr                                            
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
                                                                      
    if (bds_per_group == 0)                                           
    {                                                                 
      rtems_disk_release (dd);                                        
ffc0f6e4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0f6e8:	4b ff 56 1d 	bl      ffc04d04 <rtems_disk_release>          <== NOT EXECUTED
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f6ec:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    size_t bds_per_group = rtems_bdbuf_bds_per_group (dd->block_size);
                                                                      
    if (bds_per_group == 0)                                           
    {                                                                 
      rtems_disk_release (dd);                                        
      return RTEMS_INVALID_NUMBER;                                    
ffc0f6f0:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f6f4:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc0f6f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0f6fc:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc0f700:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc0f704:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc0f708:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc0f70c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc0f710:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0fc40 <rtems_bdbuf_purge>: } } static void rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev) {
ffc0fc40:	94 21 ff 38 	stwu    r1,-200(r1)                            
ffc0fc44:	7c 08 02 a6 	mflr    r0                                     
ffc0fc48:	93 21 00 ac 	stw     r25,172(r1)                            
                              rtems_bdbuf_purge_compare compare,      
                              dev_t dev)                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
ffc0fc4c:	3f 20 00 00 	lis     r25,0                                  
ffc0fc50:	3b 39 29 90 	addi    r25,r25,10640                          
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev)      
{                                                                     
ffc0fc54:	90 01 00 cc 	stw     r0,204(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fc58:	38 01 00 0c 	addi    r0,r1,12                               
ffc0fc5c:	93 41 00 b0 	stw     r26,176(r1)                            
  head->previous = NULL;                                              
ffc0fc60:	3b 40 00 00 	li      r26,0                                  
ffc0fc64:	93 61 00 b4 	stw     r27,180(r1)                            
  tail->previous = head;                                              
ffc0fc68:	3b 61 00 08 	addi    r27,r1,8                               
ffc0fc6c:	93 81 00 b8 	stw     r28,184(r1)                            
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
ffc0fc70:	7c 3c 0b 78 	mr      r28,r1                                 
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev)      
{                                                                     
ffc0fc74:	93 a1 00 bc 	stw     r29,188(r1)                            
ffc0fc78:	93 c1 00 c0 	stw     r30,192(r1)                            
ffc0fc7c:	7c be 2b 78 	mr      r30,r5                                 
ffc0fc80:	93 e1 00 c4 	stw     r31,196(r1)                            
ffc0fc84:	7c df 33 78 	mr      r31,r6                                 
ffc0fc88:	92 c1 00 a0 	stw     r22,160(r1)                            
ffc0fc8c:	92 e1 00 a4 	stw     r23,164(r1)                            
ffc0fc90:	93 01 00 a8 	stw     r24,168(r1)                            
ffc0fc94:	90 61 00 98 	stw     r3,152(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fc98:	90 01 00 08 	stw     r0,8(r1)                               
  head->previous = NULL;                                              
ffc0fc9c:	93 41 00 0c 	stw     r26,12(r1)                             
  tail->previous = head;                                              
ffc0fca0:	93 61 00 10 	stw     r27,16(r1)                             
  rtems_chain_control purge_list;                                     
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
ffc0fca4:	4b ff f1 cd 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                              rtems_bdbuf_purge_compare compare,      
                              dev_t dev)                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
ffc0fca8:	83 b9 00 40 	lwz     r29,64(r25)                            
                                                                      
  *prev = NULL;                                                       
ffc0fcac:	97 5c 00 14 	stwu    r26,20(r28)                            
                                                                      
  while (cur != NULL)                                                 
ffc0fcb0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0fcb4:	41 9e 01 08 	beq-    cr7,ffc0fdbc <rtems_bdbuf_purge+0x17c> <== NEVER TAKEN
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
    {                                                                 
      switch (cur->state)                                             
ffc0fcb8:	3f 40 ff c2 	lis     r26,-62                                
ffc0fcbc:	3b 5a dd 3c 	addi    r26,r26,-8900                          
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fcc0:	3a c0 00 06 	li      r22,6                                  
ffc0fcc4:	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);           
ffc0fcc8:	3b 19 00 70 	addi    r24,r25,112                            
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
ffc0fccc:	80 01 00 98 	lwz     r0,152(r1)                             
ffc0fcd0:	7f c5 f3 78 	mr      r5,r30                                 
ffc0fcd4:	80 7d 00 18 	lwz     r3,24(r29)                             
ffc0fcd8:	7f e6 fb 78 	mr      r6,r31                                 
ffc0fcdc:	80 9d 00 1c 	lwz     r4,28(r29)                             
ffc0fce0:	7c 09 03 a6 	mtctr   r0                                     
ffc0fce4:	4e 80 04 21 	bctrl                                          
ffc0fce8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fcec:	41 9e 00 20 	beq-    cr7,ffc0fd0c <rtems_bdbuf_purge+0xcc>  <== NEVER TAKEN
    {                                                                 
      switch (cur->state)                                             
ffc0fcf0:	80 1d 00 28 	lwz     r0,40(r29)                             
ffc0fcf4:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc0fcf8:	40 9d 00 30 	ble-    cr7,ffc0fd28 <rtems_bdbuf_purge+0xe8>  <== 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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
ffc0fcfc:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0fd00:	60 63 00 01 	ori     r3,r3,1                                <== NOT EXECUTED
ffc0fd04:	4b ff ad a9 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fd08:	92 fd 00 28 	stw     r23,40(r29)                            
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
ffc0fd0c:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc0fd10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fd14:	41 9e 00 60 	beq-    cr7,ffc0fd74 <rtems_bdbuf_purge+0x134> <== ALWAYS TAKEN
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
      *prev = cur;                                                    
ffc0fd18:	93 bc 00 04 	stw     r29,4(r28)                             <== NOT EXECUTED
ffc0fd1c:	7c 1d 03 78 	mr      r29,r0                                 <== NOT EXECUTED
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
ffc0fd20:	3b 9c 00 04 	addi    r28,r28,4                              <== NOT EXECUTED
ffc0fd24:	4b ff ff a8 	b       ffc0fccc <rtems_bdbuf_purge+0x8c>      <== NOT EXECUTED
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
    {                                                                 
      switch (cur->state)                                             
ffc0fd28:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0fd2c:	7c 1a 00 2e 	lwzx    r0,r26,r0                              
ffc0fd30:	7c 00 d2 14 	add     r0,r0,r26                              
ffc0fd34:	7c 09 03 a6 	mtctr   r0                                     
ffc0fd38:	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);           
ffc0fd3c:	7f 03 c3 78 	mr      r3,r24                                 
ffc0fd40:	4b ff f7 35 	bl      ffc0f474 <rtems_bdbuf_wake>            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc0fd44:	81 3d 00 30 	lwz     r9,48(r29)                             
ffc0fd48:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0fd4c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0fd50:	90 09 00 0c 	stw     r0,12(r9)                              
ffc0fd54:	7f a3 eb 78 	mr      r3,r29                                 
ffc0fd58:	4b ff b3 f5 	bl      ffc0b14c <_Chain_Extract>              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc0fd5c:	7f 63 db 78 	mr      r3,r27                                 
ffc0fd60:	7f a4 eb 78 	mr      r4,r29                                 
ffc0fd64:	4b ff b3 b9 	bl      ffc0b11c <_Chain_Append>               
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
ffc0fd68:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc0fd6c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fd70:	40 9e ff a8 	bne+    cr7,ffc0fd18 <rtems_bdbuf_purge+0xd8>  <== NEVER TAKEN
      /* Left */                                                      
      ++prev;                                                         
      *prev = cur;                                                    
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
ffc0fd74:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc0fd78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fd7c:	40 9e ff 9c 	bne+    cr7,ffc0fd18 <rtems_bdbuf_purge+0xd8>  <== NEVER TAKEN
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
ffc0fd80:	81 7c 00 00 	lwz     r11,0(r28)                             
ffc0fd84:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0fd88:	41 9e 00 34 	beq-    cr7,ffc0fdbc <rtems_bdbuf_purge+0x17c> <== ALWAYS TAKEN
ffc0fd8c:	80 0b 00 0c 	lwz     r0,12(r11)                             <== NOT EXECUTED
ffc0fd90:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc0fd94:	41 be 00 1c 	beq+    cr7,ffc0fdb0 <rtems_bdbuf_purge+0x170> <== NOT EXECUTED
ffc0fd98:	48 00 00 dc 	b       ffc0fe74 <rtems_bdbuf_purge+0x234>     <== NOT EXECUTED
ffc0fd9c:	80 09 00 0c 	lwz     r0,12(r9)                              <== NOT EXECUTED
      {                                                               
        /* Up */                                                      
        cur = *prev;                                                  
        --prev;                                                       
ffc0fda0:	3b 9c ff fc 	addi    r28,r28,-4                             <== NOT EXECUTED
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
ffc0fda4:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
ffc0fda8:	40 9e 00 cc 	bne-    cr7,ffc0fe74 <rtems_bdbuf_purge+0x234> <== NOT EXECUTED
ffc0fdac:	7d 2b 4b 78 	mr      r11,r9                                 <== NOT EXECUTED
ffc0fdb0:	81 3c ff fc 	lwz     r9,-4(r28)                             <== NOT EXECUTED
ffc0fdb4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc0fdb8:	40 9e ff e4 	bne+    cr7,ffc0fd9c <rtems_bdbuf_purge+0x15c> <== NOT EXECUTED
  while ((node = rtems_chain_get (purge_list)) != NULL)               
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
      wake_buffer_waiters = true;                                     
ffc0fdbc:	3b a0 00 00 	li      r29,0                                  
ffc0fdc0:	3b c0 00 01 	li      r30,1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc0fdc4:	3b 99 00 44 	addi    r28,r25,68                             
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc0fdc8:	7f 63 db 78 	mr      r3,r27                                 
ffc0fdcc:	4b ff b3 a9 	bl      ffc0b174 <_Chain_Get>                  
rtems_bdbuf_purge_list (rtems_chain_control *purge_list)              
{                                                                     
  bool wake_buffer_waiters = false;                                   
  rtems_chain_node *node = NULL;                                      
                                                                      
  while ((node = rtems_chain_get (purge_list)) != NULL)               
ffc0fdd0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0fdd4:	41 82 00 4c 	beq-    ffc0fe20 <rtems_bdbuf_purge+0x1e0>     
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
ffc0fdd8:	80 1a 00 2c 	lwz     r0,44(r26)                             
ffc0fddc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fde0:	40 9e 00 08 	bne-    cr7,ffc0fde8 <rtems_bdbuf_purge+0x1a8> 
      wake_buffer_waiters = true;                                     
ffc0fde4:	3b a0 00 01 	li      r29,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fde8:	93 da 00 28 	stw     r30,40(r26)                            
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc0fdec:	83 1a 00 2c 	lwz     r24,44(r26)                            
ffc0fdf0:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc0fdf4:	40 9e ff d4 	bne+    cr7,ffc0fdc8 <rtems_bdbuf_purge+0x188> 
  {                                                                   
    rtems_bdbuf_remove_from_tree (bd);                                
ffc0fdf8:	7f 43 d3 78 	mr      r3,r26                                 
ffc0fdfc:	4b ff f9 19 	bl      ffc0f714 <rtems_bdbuf_remove_from_tree>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fe00:	93 1a 00 28 	stw     r24,40(r26)                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0fe04:	7f 44 d3 78 	mr      r4,r26                                 
ffc0fe08:	7f 83 e3 78 	mr      r3,r28                                 
ffc0fe0c:	48 00 4b ad 	bl      ffc149b8 <_Chain_Insert>               
ffc0fe10:	7f 63 db 78 	mr      r3,r27                                 
ffc0fe14:	4b ff b3 61 	bl      ffc0b174 <_Chain_Get>                  
rtems_bdbuf_purge_list (rtems_chain_control *purge_list)              
{                                                                     
  bool wake_buffer_waiters = false;                                   
  rtems_chain_node *node = NULL;                                      
                                                                      
  while ((node = rtems_chain_get (purge_list)) != NULL)               
ffc0fe18:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0fe1c:	40 82 ff bc 	bne+    ffc0fdd8 <rtems_bdbuf_purge+0x198>     <== NEVER TAKEN
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_discard_buffer (bd);                                  
  }                                                                   
                                                                      
  if (wake_buffer_waiters)                                            
ffc0fe20:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0fe24:	41 be 00 0c 	beq+    cr7,ffc0fe30 <rtems_bdbuf_purge+0x1f0> 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc0fe28:	38 79 00 78 	addi    r3,r25,120                             
ffc0fe2c:	4b ff f6 49 	bl      ffc0f474 <rtems_bdbuf_wake>            
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_gather_for_purge (&purge_list, compare, dev);           
  rtems_bdbuf_purge_list (&purge_list);                               
  rtems_bdbuf_unlock_cache ();                                        
ffc0fe30:	4b ff f2 cd 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
}                                                                     
ffc0fe34:	80 01 00 cc 	lwz     r0,204(r1)                             
ffc0fe38:	82 c1 00 a0 	lwz     r22,160(r1)                            
ffc0fe3c:	7c 08 03 a6 	mtlr    r0                                     
ffc0fe40:	82 e1 00 a4 	lwz     r23,164(r1)                            
ffc0fe44:	83 01 00 a8 	lwz     r24,168(r1)                            
ffc0fe48:	83 21 00 ac 	lwz     r25,172(r1)                            
ffc0fe4c:	83 41 00 b0 	lwz     r26,176(r1)                            
ffc0fe50:	83 61 00 b4 	lwz     r27,180(r1)                            
ffc0fe54:	83 81 00 b8 	lwz     r28,184(r1)                            
ffc0fe58:	83 a1 00 bc 	lwz     r29,188(r1)                            
ffc0fe5c:	83 c1 00 c0 	lwz     r30,192(r1)                            
ffc0fe60:	83 e1 00 c4 	lwz     r31,196(r1)                            
ffc0fe64:	38 21 00 c8 	addi    r1,r1,200                              
ffc0fe68:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fe6c:	92 dd 00 28 	stw     r22,40(r29)                            
ffc0fe70:	4b ff fe 9c 	b       ffc0fd0c <rtems_bdbuf_purge+0xcc>      
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
ffc0fe74:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0fe78:	41 9e ff 44 	beq+    cr7,ffc0fdbc <rtems_bdbuf_purge+0x17c> <== NOT EXECUTED
ffc0fe7c:	7c 1d 03 78 	mr      r29,r0                                 <== NOT EXECUTED
ffc0fe80:	4b ff fe 4c 	b       ffc0fccc <rtems_bdbuf_purge+0x8c>      <== NOT EXECUTED
                                                                      

ffc0ee60 <rtems_bdbuf_purge_compare_major>: static bool rtems_bdbuf_purge_compare_major (dev_t a, dev_t b) { return rtems_filesystem_dev_major_t (a) == rtems_filesystem_dev_major_t (b); }
ffc0ee60:	7c 63 2a 78 	xor     r3,r3,r5                               <== NOT EXECUTED
ffc0ee64:	7c 63 00 34 	cntlzw  r3,r3                                  <== NOT EXECUTED
ffc0ee68:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          <== NOT EXECUTED
ffc0ee6c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc11b34 <rtems_bdbuf_purge_major>: return rtems_filesystem_dev_major_t (a) == rtems_filesystem_dev_major_t (b); } void rtems_bdbuf_purge_major (rtems_device_major_number major) {
ffc11b34:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
ffc11b38:	3c 60 ff c1 	lis     r3,-63                                 <== NOT EXECUTED
ffc11b3c:	38 63 ee 60 	addi    r3,r3,-4512                            <== NOT EXECUTED
ffc11b40:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc11b44:	4b ff e0 fc 	b       ffc0fc40 <rtems_bdbuf_purge>           <== NOT EXECUTED
                                                                      

ffc113ac <rtems_bdbuf_read>: rtems_status_code rtems_bdbuf_read (dev_t dev, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
ffc113ac:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc113b0:	7c 08 02 a6 	mflr    r0                                     
ffc113b4:	93 c1 00 50 	stw     r30,80(r1)                             
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc113b8:	3f c0 00 00 	lis     r30,0                                  
ffc113bc:	3b de 29 90 	addi    r30,r30,10640                          
ffc113c0:	89 3e 00 88 	lbz     r9,136(r30)                            
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc113c4:	90 01 00 5c 	stw     r0,92(r1)                              
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_disk_device    *dd = NULL;                                    
ffc113c8:	38 00 00 00 	li      r0,0                                   
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc113cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc113d0:	93 e1 00 54 	stw     r31,84(r1)                             
ffc113d4:	7c 3f 0b 78 	mr      r31,r1                                 
ffc113d8:	92 e1 00 34 	stw     r23,52(r1)                             
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc113dc:	3a e0 00 16 	li      r23,22                                 
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc113e0:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc113e4:	7c dd 33 78 	mr      r29,r6                                 
ffc113e8:	92 01 00 18 	stw     r16,24(r1)                             
ffc113ec:	92 21 00 1c 	stw     r17,28(r1)                             
ffc113f0:	92 41 00 20 	stw     r18,32(r1)                             
ffc113f4:	92 61 00 24 	stw     r19,36(r1)                             
ffc113f8:	92 81 00 28 	stw     r20,40(r1)                             
ffc113fc:	92 a1 00 2c 	stw     r21,44(r1)                             
ffc11400:	92 c1 00 30 	stw     r22,48(r1)                             
ffc11404:	93 01 00 38 	stw     r24,56(r1)                             
ffc11408:	93 21 00 3c 	stw     r25,60(r1)                             
ffc1140c:	93 41 00 40 	stw     r26,64(r1)                             
ffc11410:	93 61 00 44 	stw     r27,68(r1)                             
ffc11414:	93 81 00 48 	stw     r28,72(r1)                             
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_disk_device    *dd = NULL;                                    
ffc11418:	90 1f 00 10 	stw     r0,16(r31)                             
  rtems_blkdev_request *req = NULL;                                   
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block = 0;                              
ffc1141c:	90 1f 00 0c 	stw     r0,12(r31)                             
  size_t                bds_per_group = 0;                            
ffc11420:	90 1f 00 08 	stw     r0,8(r31)                              
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11424:	40 9e 00 5c 	bne-    cr7,ffc11480 <rtems_bdbuf_read+0xd4>   <== ALWAYS TAKEN
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  return sc;                                                          
}                                                                     
ffc11428:	39 7f 00 58 	addi    r11,r31,88                             
ffc1142c:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc11430:	7e e3 bb 78 	mr      r3,r23                                 
ffc11434:	82 0b ff c0 	lwz     r16,-64(r11)                           
ffc11438:	7c 08 03 a6 	mtlr    r0                                     
ffc1143c:	82 2b ff c4 	lwz     r17,-60(r11)                           
ffc11440:	82 4b ff c8 	lwz     r18,-56(r11)                           
ffc11444:	82 6b ff cc 	lwz     r19,-52(r11)                           
ffc11448:	82 8b ff d0 	lwz     r20,-48(r11)                           
ffc1144c:	82 ab ff d4 	lwz     r21,-44(r11)                           
ffc11450:	82 cb ff d8 	lwz     r22,-40(r11)                           
ffc11454:	82 eb ff dc 	lwz     r23,-36(r11)                           
ffc11458:	83 0b ff e0 	lwz     r24,-32(r11)                           
ffc1145c:	83 2b ff e4 	lwz     r25,-28(r11)                           
ffc11460:	83 4b ff e8 	lwz     r26,-24(r11)                           
ffc11464:	83 6b ff ec 	lwz     r27,-20(r11)                           
ffc11468:	83 8b ff f0 	lwz     r28,-16(r11)                           
ffc1146c:	83 ab ff f4 	lwz     r29,-12(r11)                           
ffc11470:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc11474:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc11478:	7d 61 5b 78 	mr      r1,r11                                 
ffc1147c:	4e 80 00 20 	blr                                            
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11480:	38 df 00 10 	addi    r6,r31,16                              
ffc11484:	38 ff 00 0c 	addi    r7,r31,12                              
ffc11488:	39 1f 00 08 	addi    r8,r31,8                               
ffc1148c:	4b ff e1 49 	bl      ffc0f5d4 <rtems_bdbuf_obtain_disk.part.8>
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block = 0;                              
  size_t                bds_per_group = 0;                            
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, block, &dd, &media_block, &bds_per_group);
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11490:	7c 77 1b 79 	mr.     r23,r3                                 
ffc11494:	40 a2 ff 94 	bne-    ffc11428 <rtems_bdbuf_read+0x7c>       <== NEVER TAKEN
  /*                                                                  
   * 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) +                  
ffc11498:	3d 60 ff c2 	lis     r11,-62                                
ffc1149c:	81 21 00 00 	lwz     r9,0(r1)                               
ffc114a0:	83 0b cf 34 	lwz     r24,-12492(r11)                        
ffc114a4:	3b 18 00 01 	addi    r24,r24,1                              
ffc114a8:	57 00 20 36 	rlwinm  r0,r24,4,0,27                          
ffc114ac:	20 00 ff d0 	subfic  r0,r0,-48                              
ffc114b0:	7d 21 01 6e 	stwux   r9,r1,r0                               
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",   
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc114b4:	4b ff d9 bd 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
ffc114b8:	81 3f 00 10 	lwz     r9,16(r31)                             
  /*                                                                  
   * 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) +                  
ffc114bc:	3b 21 00 17 	addi    r25,r1,23                              
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",   
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
ffc114c0:	83 7f 00 0c 	lwz     r27,12(r31)                            
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
ffc114c4:	82 69 00 20 	lwz     r19,32(r9)                             
  /*                                                                  
   * 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) +                  
ffc114c8:	57 39 00 36 	rlwinm  r25,r25,0,0,27                         
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
ffc114cc:	82 89 00 24 	lwz     r20,36(r9)                             
  dev_t               dev = dd->dev;                                  
ffc114d0:	83 89 00 00 	lwz     r28,0(r9)                              
ffc114d4:	83 49 00 04 	lwz     r26,4(r9)                              
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
ffc114d8:	7e 93 a3 96 	divwu   r20,r19,r20                            
                                 size_t                   bds_per_group,
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
ffc114dc:	82 a9 00 18 	lwz     r21,24(r9)                             
ffc114e0:	82 29 00 1c 	lwz     r17,28(r9)                             
  uint32_t            transfer_count = bdbuf_config.max_read_ahead_blocks + 1;
                                                                      
  if (media_block_end - media_block < transfer_count)                 
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
ffc114e4:	92 f9 00 00 	stw     r23,0(r25)                             
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
ffc114e8:	93 39 00 08 	stw     r25,8(r25)                             
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",   
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
ffc114ec:	82 5f 00 08 	lwz     r18,8(r31)                             
                                                                      
  if (media_block_end - media_block < transfer_count)                 
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
ffc114f0:	3d 20 ff c1 	lis     r9,-63                                 
ffc114f4:	38 09 f1 e8 	addi    r0,r9,-3608                            
ffc114f8:	90 19 00 04 	stw     r0,4(r25)                              
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
ffc114fc:	48 00 30 ad 	bl      ffc145a8 <rtems_task_self>             
  req->status = RTEMS_RESOURCE_IN_USE;                                
ffc11500:	38 00 00 0c 	li      r0,12                                  
    transfer_count = media_block_end - media_block;                   
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
ffc11504:	90 79 00 14 	stw     r3,20(r25)                             
  req->status = RTEMS_RESOURCE_IN_USE;                                
  req->bufnum = 0;                                                    
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc11508:	7f 44 d3 78 	mr      r4,r26                                 
ffc1150c:	7f 83 e3 78 	mr      r3,r28                                 
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
  req->status = RTEMS_RESOURCE_IN_USE;                                
ffc11510:	90 19 00 0c 	stw     r0,12(r25)                             
  req->bufnum = 0;                                                    
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc11514:	7f 65 db 78 	mr      r5,r27                                 
ffc11518:	7e 46 93 78 	mr      r6,r18                                 
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
  req->status = RTEMS_RESOURCE_IN_USE;                                
  req->bufnum = 0;                                                    
ffc1151c:	92 f9 00 10 	stw     r23,16(r25)                            
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc11520:	4b ff f6 c9 	bl      ffc10be8 <rtems_bdbuf_get_buffer_for_access>
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc11524:	80 03 00 28 	lwz     r0,40(r3)                              
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
  req->status = RTEMS_RESOURCE_IN_USE;                                
  req->bufnum = 0;                                                    
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc11528:	7c 76 1b 78 	mr      r22,r3                                 
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
ffc1152c:	90 79 00 24 	stw     r3,36(r25)                             
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc11530:	2f 80 00 02 	cmpwi   cr7,r0,2                               
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
  req->bufs [0].buffer = bd->buffer;                                  
ffc11534:	81 23 00 24 	lwz     r9,36(r3)                              
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
ffc11538:	93 79 00 18 	stw     r27,24(r25)                            
  req->bufs [0].length = block_size;                                  
ffc1153c:	92 79 00 1c 	stw     r19,28(r25)                            
  req->bufs [0].buffer = bd->buffer;                                  
ffc11540:	91 39 00 20 	stw     r9,32(r25)                             
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc11544:	41 9e 01 44 	beq-    cr7,ffc11688 <rtems_bdbuf_read+0x2dc>  
ffc11548:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc1154c:	41 9e 01 3c 	beq-    cr7,ffc11688 <rtems_bdbuf_read+0x2dc>  
ffc11550:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11554:	41 9e 00 14 	beq-    cr7,ffc11568 <rtems_bdbuf_read+0x1bc>  <== ALWAYS TAKEN
      return;                                                         
    case RTEMS_BDBUF_STATE_EMPTY:                                     
      rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);         
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
ffc11558:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc1155c:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc11560:	60 84 00 1d 	ori     r4,r4,29                               <== NOT EXECUTED
ffc11564:	4b ff d9 95 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                 size_t                   bds_per_group,
                                 rtems_blkdev_request    *req,        
                                 rtems_bdbuf_buffer     **bd_ptr)     
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
ffc11568:	7e 31 aa 14 	add     r17,r17,r21                            
  dev_t               dev = dd->dev;                                  
  uint32_t            block_size = dd->block_size;                    
  uint32_t            transfer_index = 1;                             
  uint32_t            transfer_count = bdbuf_config.max_read_ahead_blocks + 1;
                                                                      
  if (media_block_end - media_block < transfer_count)                 
ffc1156c:	7e 3b 88 50 	subf    r17,r27,r17                            
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc11570:	7f 91 c0 40 	cmplw   cr7,r17,r24                            
ffc11574:	40 9d 00 08 	ble-    cr7,ffc1157c <rtems_bdbuf_read+0x1d0>  
ffc11578:	7f 11 c3 78 	mr      r17,r24                                
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
ffc1157c:	2b 91 00 01 	cmplwi  cr7,r17,1                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11580:	38 00 00 09 	li      r0,9                                   
ffc11584:	90 16 00 28 	stw     r0,40(r22)                             
      return;                                                         
    case RTEMS_BDBUF_STATE_EMPTY:                                     
      rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);         
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
ffc11588:	7f 38 cb 78 	mr      r24,r25                                
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block_end = dd->start + dd->size;         
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
  dev_t               dev = dd->dev;                                  
  uint32_t            block_size = dd->block_size;                    
  uint32_t            transfer_index = 1;                             
ffc1158c:	3a a0 00 01 	li      r21,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11590:	3a 00 00 09 	li      r16,9                                  
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
ffc11594:	40 9d 00 8c 	ble-    cr7,ffc11620 <rtems_bdbuf_read+0x274>  
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
ffc11598:	81 3e 00 40 	lwz     r9,64(r30)                             
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
  {                                                                   
    media_block += media_block_count;                                 
ffc1159c:	7f 7b a2 14 	add     r27,r27,r20                            
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc115a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc115a4:	41 9e 00 28 	beq-    cr7,ffc115cc <rtems_bdbuf_read+0x220>  <== NEVER TAKEN
ffc115a8:	80 09 00 18 	lwz     r0,24(r9)                              
ffc115ac:	81 69 00 1c 	lwz     r11,28(r9)                             
ffc115b0:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc115b4:	41 9e 00 b0 	beq-    cr7,ffc11664 <rtems_bdbuf_read+0x2b8>  <== ALWAYS TAKEN
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc115b8:	7f 1c 00 40 	cmplw   cr6,r28,r0                             <== NOT EXECUTED
ffc115bc:	40 99 00 94 	ble-    cr6,ffc11650 <rtems_bdbuf_read+0x2a4>  <== NOT EXECUTED
    {                                                                 
      p = p->avl.right;                                               
ffc115c0:	81 29 00 0c 	lwz     r9,12(r9)                              
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc115c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc115c8:	40 9e ff e0 	bne+    cr7,ffc115a8 <rtems_bdbuf_read+0x1fc>  <== NEVER TAKEN
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
                                                                      
  if (bd == NULL)                                                     
  {                                                                   
    bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
ffc115cc:	7f 83 e3 78 	mr      r3,r28                                 
ffc115d0:	7f 44 d3 78 	mr      r4,r26                                 
ffc115d4:	7f 65 db 78 	mr      r5,r27                                 
ffc115d8:	7e 46 93 78 	mr      r6,r18                                 
ffc115dc:	4b ff f1 ad 	bl      ffc10788 <rtems_bdbuf_get_buffer_from_lru_list>
                                                                      
    if (bd != NULL)                                                   
ffc115e0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc115e4:	41 82 00 3c 	beq-    ffc11620 <rtems_bdbuf_read+0x274>      <== ALWAYS TAKEN
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc115e8:	81 23 00 30 	lwz     r9,48(r3)                              <== NOT EXECUTED
    req->bufs [transfer_index].buffer = bd->buffer;                   
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
ffc115ec:	3a b5 00 01 	addi    r21,r21,1                              <== NOT EXECUTED
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
ffc115f0:	7f 95 88 00 	cmpw    cr7,r21,r17                            <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc115f4:	81 69 00 0c 	lwz     r11,12(r9)                             <== NOT EXECUTED
ffc115f8:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc115fc:	90 09 00 0c 	stw     r0,12(r9)                              <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11600:	92 03 00 28 	stw     r16,40(r3)                             <== NOT EXECUTED
    if (bd == NULL)                                                   
      break;                                                          
                                                                      
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
ffc11604:	90 78 00 34 	stw     r3,52(r24)                             <== NOT EXECUTED
    req->bufs [transfer_index].block  = media_block;                  
ffc11608:	93 78 00 28 	stw     r27,40(r24)                            <== NOT EXECUTED
    req->bufs [transfer_index].length = block_size;                   
ffc1160c:	92 78 00 2c 	stw     r19,44(r24)                            <== NOT EXECUTED
    req->bufs [transfer_index].buffer = bd->buffer;                   
ffc11610:	80 03 00 24 	lwz     r0,36(r3)                              <== NOT EXECUTED
ffc11614:	90 18 00 30 	stw     r0,48(r24)                             <== NOT EXECUTED
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
ffc11618:	3b 18 00 10 	addi    r24,r24,16                             <== NOT EXECUTED
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
ffc1161c:	40 9e ff 7c 	bne+    cr7,ffc11598 <rtems_bdbuf_read+0x1ec>  <== NOT EXECUTED
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
  }                                                                   
                                                                      
  req->bufnum = transfer_index;                                       
ffc11620:	92 b9 00 10 	stw     r21,16(r25)                            
            media_block + dd->start, block, (unsigned) dev);          
                                                                      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
                                                                      
  if (req->bufnum > 0)                                                
ffc11624:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc11628:	40 9e 00 68 	bne-    cr7,ffc11690 <rtems_bdbuf_read+0x2e4>  
    }                                                                 
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
  {                                                                   
    switch (bd->state)                                                
ffc1162c:	80 16 00 28 	lwz     r0,40(r22)                             
ffc11630:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc11634:	41 9e 00 a8 	beq-    cr7,ffc116dc <rtems_bdbuf_read+0x330>  
ffc11638:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc1163c:	41 9e 00 90 	beq-    cr7,ffc116cc <rtems_bdbuf_read+0x320>  <== ALWAYS TAKEN
        break;                                                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_4);
ffc11640:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc11644:	80 76 00 28 	lwz     r3,40(r22)                             <== NOT EXECUTED
ffc11648:	60 84 00 02 	ori     r4,r4,2                                <== NOT EXECUTED
ffc1164c:	4b ff d8 ad 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc11650:	40 9e 00 0c 	bne-    cr7,ffc1165c <rtems_bdbuf_read+0x2b0>  <== NOT EXECUTED
ffc11654:	7f 9a 58 40 	cmplw   cr7,r26,r11                            <== NOT EXECUTED
ffc11658:	41 9d ff 68 	bgt+    cr7,ffc115c0 <rtems_bdbuf_read+0x214>  <== NOT EXECUTED
    {                                                                 
      p = p->avl.right;                                               
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
ffc1165c:	81 29 00 08 	lwz     r9,8(r9)                               <== NOT EXECUTED
ffc11660:	4b ff ff 64 	b       ffc115c4 <rtems_bdbuf_read+0x218>      <== NOT EXECUTED
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc11664:	7f 1a 58 00 	cmpw    cr6,r26,r11                            
ffc11668:	40 9a ff 50 	bne+    cr6,ffc115b8 <rtems_bdbuf_read+0x20c>  <== NEVER TAKEN
ffc1166c:	80 09 00 20 	lwz     r0,32(r9)                              
ffc11670:	7f 9b 00 00 	cmpw    cr7,r27,r0                             
ffc11674:	41 be ff ac 	beq-    cr7,ffc11620 <rtems_bdbuf_read+0x274>  <== NEVER TAKEN
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc11678:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc1167c:	41 bd ff 44 	bgt-    cr7,ffc115c0 <rtems_bdbuf_read+0x214>  <== ALWAYS TAKEN
    {                                                                 
      p = p->avl.right;                                               
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
ffc11680:	81 29 00 08 	lwz     r9,8(r9)                               <== NOT EXECUTED
ffc11684:	4b ff ff 40 	b       ffc115c4 <rtems_bdbuf_read+0x218>      <== NOT EXECUTED
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc11688:	82 b9 00 10 	lwz     r21,16(r25)                            
ffc1168c:	4b ff ff 98 	b       ffc11624 <rtems_bdbuf_read+0x278>      
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
                                                                      
  if (req->bufnum > 0)                                                
  {                                                                   
    sc = rtems_bdbuf_execute_transfer_request (dd, req, true);        
ffc11690:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc11694:	7f 25 cb 78 	mr      r5,r25                                 
ffc11698:	38 c0 00 01 	li      r6,1                                   
ffc1169c:	38 64 00 08 	addi    r3,r4,8                                
ffc116a0:	38 84 00 28 	addi    r4,r4,40                               
ffc116a4:	4b ff e7 e1 	bl      ffc0fe84 <rtems_bdbuf_execute_transfer_request.isra.9>
    if (sc == RTEMS_SUCCESSFUL)                                       
ffc116a8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc116ac:	41 82 00 40 	beq-    ffc116ec <rtems_bdbuf_read+0x340>      
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
  }                                                                   
  else                                                                
    *bd_ptr = NULL;                                                   
ffc116b0:	38 00 00 00 	li      r0,0                                   
ffc116b4:	90 1d 00 00 	stw     r0,0(r29)                              
ffc116b8:	7c 77 1b 78 	mr      r23,r3                                 
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc116bc:	4b ff da 41 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
  rtems_bdbuf_release_disk (dd);                                      
ffc116c0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc116c4:	4b ff da b1 	bl      ffc0f174 <rtems_bdbuf_release_disk>    
                                                                      
  return sc;                                                          
ffc116c8:	4b ff fd 60 	b       ffc11428 <rtems_bdbuf_read+0x7c>       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc116cc:	38 00 00 04 	li      r0,4                                   
ffc116d0:	90 16 00 28 	stw     r0,40(r22)                             
    {                                                                 
      rtems_bdbuf_show_users ("read", bd);                            
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
ffc116d4:	92 dd 00 00 	stw     r22,0(r29)                             
ffc116d8:	4b ff ff e4 	b       ffc116bc <rtems_bdbuf_read+0x310>      
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc116dc:	38 00 00 03 	li      r0,3                                   
ffc116e0:	90 16 00 28 	stw     r0,40(r22)                             
    {                                                                 
      rtems_bdbuf_show_users ("read", bd);                            
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
ffc116e4:	92 dd 00 00 	stw     r22,0(r29)                             
ffc116e8:	4b ff ff d4 	b       ffc116bc <rtems_bdbuf_read+0x310>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc116ec:	7e c3 b3 78 	mr      r3,r22                                 
ffc116f0:	4b ff 9a 5d 	bl      ffc0b14c <_Chain_Extract>              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc116f4:	81 36 00 30 	lwz     r9,48(r22)                             
ffc116f8:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc116fc:	30 00 00 01 	addic   r0,r0,1                                
ffc11700:	90 09 00 0c 	stw     r0,12(r9)                              
ffc11704:	4b ff ff 28 	b       ffc1162c <rtems_bdbuf_read+0x280>      
                                                                      

ffc11708 <rtems_bdbuf_release>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release (rtems_bdbuf_buffer *bd) {
ffc11708:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1170c:	7c 08 02 a6 	mflr    r0                                     
ffc11710:	93 c1 00 08 	stw     r30,8(r1)                              
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc11714:	3f c0 00 00 	lis     r30,0                                  
ffc11718:	3b de 29 90 	addi    r30,r30,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release (rtems_bdbuf_buffer *bd)                          
{                                                                     
ffc1171c:	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 (!bdbuf_cache.initialised)                                       
ffc11720:	88 1e 00 88 	lbz     r0,136(r30)                            
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release (rtems_bdbuf_buffer *bd)                          
{                                                                     
ffc11724:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11728:	7c 7f 1b 78 	mr      r31,r3                                 
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc1172c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return RTEMS_NOT_CONFIGURED;                                      
ffc11730:	38 60 00 16 	li      r3,22                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc11734:	41 9e 00 3c 	beq-    cr7,ffc11770 <rtems_bdbuf_release+0x68><== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc11738:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1173c:	41 9e 00 4c 	beq-    cr7,ffc11788 <rtems_bdbuf_release+0x80><== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc11740:	4b ff d7 31 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc11744:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc11748:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1174c:	41 9e 00 70 	beq-    cr7,ffc117bc <rtems_bdbuf_release+0xb4>
ffc11750:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc11754:	40 9d 00 50 	ble-    cr7,ffc117a4 <rtems_bdbuf_release+0x9c>
ffc11758:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc1175c:	41 9d 00 50 	bgt-    cr7,ffc117ac <rtems_bdbuf_release+0xa4><== 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);                   
ffc11760:	7f e3 fb 78 	mr      r3,r31                                 
ffc11764:	4b ff e4 45 	bl      ffc0fba8 <rtems_bdbuf_discard_buffer_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11768:	4b ff d9 95 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc1176c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11770:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11774:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11778:	7c 08 03 a6 	mtlr    r0                                     
ffc1177c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11780:	38 21 00 10 	addi    r1,r1,16                               
ffc11784:	4e 80 00 20 	blr                                            
ffc11788:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc1178c:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc11790:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc11794:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11798:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1179c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc117a0:	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)                                                  
ffc117a4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc117a8:	41 9e 00 20 	beq-    cr7,ffc117c8 <rtems_bdbuf_release+0xc0><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_0);
ffc117ac:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc117b0:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc117b4:	60 84 00 1c 	ori     r4,r4,28                               <== NOT EXECUTED
ffc117b8:	4b ff d7 41 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
ffc117bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc117c0:	4b ff dc f9 	bl      ffc0f4b8 <rtems_bdbuf_add_to_modified_list_after_access>
      break;                                                          
ffc117c4:	4b ff ff a4 	b       ffc11768 <rtems_bdbuf_release+0x60>    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc117c8:	81 3f 00 30 	lwz     r9,48(r31)                             
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc117cc:	38 7e 00 44 	addi    r3,r30,68                              
ffc117d0:	7f e4 fb 78 	mr      r4,r31                                 
ffc117d4:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc117d8:	38 0b ff ff 	addi    r0,r11,-1                              
ffc117dc:	90 09 00 0c 	stw     r0,12(r9)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc117e0:	38 00 00 02 	li      r0,2                                   
ffc117e4:	90 1f 00 28 	stw     r0,40(r31)                             
ffc117e8:	4b ff 99 35 	bl      ffc0b11c <_Chain_Append>               
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)                                                    
ffc117ec:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc117f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc117f4:	41 9e 00 10 	beq-    cr7,ffc11804 <rtems_bdbuf_release+0xfc>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc117f8:	38 7e 00 68 	addi    r3,r30,104                             
ffc117fc:	4b ff dc 79 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc11800:	4b ff ff 68 	b       ffc11768 <rtems_bdbuf_release+0x60>    
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc11804:	38 7e 00 78 	addi    r3,r30,120                             
ffc11808:	4b ff dc 6d 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc1180c:	4b ff ff 5c 	b       ffc11768 <rtems_bdbuf_release+0x60>    
                                                                      

ffc0f174 <rtems_bdbuf_release_disk>: return RTEMS_SUCCESSFUL; } static void rtems_bdbuf_release_disk (rtems_disk_device *dd) {
ffc0f174:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f178:	7c 08 02 a6 	mflr    r0                                     
ffc0f17c:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_disk_release (dd);                                       
ffc0f180:	4b ff 5b 85 	bl      ffc04d04 <rtems_disk_release>          
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f184:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f188:	40 9e 00 14 	bne-    cr7,ffc0f19c <rtems_bdbuf_release_disk+0x28><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_DISK_REL);   
}                                                                     
ffc0f18c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f190:	38 21 00 08 	addi    r1,r1,8                                
ffc0f194:	7c 08 03 a6 	mtlr    r0                                     
ffc0f198:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_disk_release (dd);                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_DISK_REL);   
ffc0f19c:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f1a0:	60 63 00 1f 	ori     r3,r3,31                               <== NOT EXECUTED
ffc0f1a4:	4b ff b9 09 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc11810 <rtems_bdbuf_release_modified>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd) {
ffc11810:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11814:	7c 08 02 a6 	mflr    r0                                     
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc11818:	3d 20 00 00 	lis     r9,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc1181c:	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 (!bdbuf_cache.initialised)                                       
ffc11820:	88 09 2a 18 	lbz     r0,10776(r9)                           
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc11824:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11828:	7c 7f 1b 78 	mr      r31,r3                                 
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc1182c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return RTEMS_NOT_CONFIGURED;                                      
ffc11830:	38 60 00 16 	li      r3,22                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc11834:	41 9e 00 4c 	beq-    cr7,ffc11880 <rtems_bdbuf_release_modified+0x70><== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc11838:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1183c:	41 9e 00 58 	beq-    cr7,ffc11894 <rtems_bdbuf_release_modified+0x84><== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc11840:	4b ff d6 31 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc11844:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc11848:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc1184c:	41 9c 00 14 	blt-    cr7,ffc11860 <rtems_bdbuf_release_modified+0x50><== NEVER TAKEN
ffc11850:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc11854:	40 9d 00 58 	ble-    cr7,ffc118ac <rtems_bdbuf_release_modified+0x9c>
ffc11858:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc1185c:	41 9e 00 14 	beq-    cr7,ffc11870 <rtems_bdbuf_release_modified+0x60><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_6);
ffc11860:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc11864:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc11868:	60 84 00 04 	ori     r4,r4,4                                <== NOT EXECUTED
ffc1186c:	4b ff d6 8d 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
    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);                   
ffc11870:	7f e3 fb 78 	mr      r3,r31                                 
ffc11874:	4b ff e3 35 	bl      ffc0fba8 <rtems_bdbuf_discard_buffer_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11878:	4b ff d8 85 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc1187c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11880:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11884:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11888:	38 21 00 10 	addi    r1,r1,16                               
ffc1188c:	7c 08 03 a6 	mtlr    r0                                     
ffc11890:	4e 80 00 20 	blr                                            
ffc11894:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc11898:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc1189c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc118a0:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc118a4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc118a8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  switch (bd->state)                                                  
  {                                                                   
    case RTEMS_BDBUF_STATE_ACCESS_CACHED:                             
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
ffc118ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc118b0:	4b ff dc 09 	bl      ffc0f4b8 <rtems_bdbuf_add_to_modified_list_after_access>
      break;                                                          
ffc118b4:	4b ff ff c4 	b       ffc11878 <rtems_bdbuf_release_modified+0x68>
                                                                      

ffc0f714 <rtems_bdbuf_remove_from_tree>: return bdbuf_cache.buffer_waiters.count; } static void rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd) {
ffc0f714:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc0f718:	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));                           
ffc0f71c:	38 80 00 00 	li      r4,0                                   
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f720:	93 21 00 8c 	stw     r25,140(r1)                            
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0f724:	3f 20 00 00 	lis     r25,0                                  
ffc0f728:	3b 39 29 90 	addi    r25,r25,10640                          
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f72c:	90 01 00 ac 	stw     r0,172(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));                           
ffc0f730:	38 a0 00 80 	li      r5,128                                 
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f734:	93 61 00 94 	stw     r27,148(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));                           
ffc0f738:	3b 61 00 08 	addi    r27,r1,8                               
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f73c:	93 e1 00 a4 	stw     r31,164(r1)                            
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0f740:	83 f9 00 40 	lwz     r31,64(r25)                            
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f744:	93 41 00 90 	stw     r26,144(r1)                            
ffc0f748:	7c 7a 1b 78 	mr      r26,r3                                 
  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));                           
ffc0f74c:	7f 63 db 78 	mr      r3,r27                                 
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0f750:	93 81 00 98 	stw     r28,152(r1)                            
ffc0f754:	93 a1 00 9c 	stw     r29,156(r1)                            
ffc0f758:	93 c1 00 a0 	stw     r30,160(r1)                            
 */                                                                   
static int                                                            
rtems_bdbuf_avl_remove(rtems_bdbuf_buffer**      root,                
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
ffc0f75c:	83 ba 00 1c 	lwz     r29,28(r26)                            
ffc0f760:	83 da 00 18 	lwz     r30,24(r26)                            
  rtems_blkdev_bnum block = node->block;                              
ffc0f764:	83 9a 00 20 	lwz     r28,32(r26)                            
  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));                           
ffc0f768:	48 00 88 99 	bl      ffc18000 <memset>                      
                                                                      
  while (p != NULL)                                                   
ffc0f76c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f770:	41 9e 00 64 	beq-    cr7,ffc0f7d4 <rtems_bdbuf_remove_from_tree+0xc0><== NEVER TAKEN
ffc0f774:	7f 6b db 78 	mr      r11,r27                                
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
ffc0f778:	39 00 00 01 	li      r8,1                                   
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc0f77c:	38 e0 ff ff 	li      r7,-1                                  
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0f780:	80 1f 00 18 	lwz     r0,24(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0f784:	39 2b 00 04 	addi    r9,r11,4                               
ffc0f788:	93 eb 00 00 	stw     r31,0(r11)                             
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0f78c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0f790:	81 5f 00 1c 	lwz     r10,28(r31)                            
ffc0f794:	41 9d 00 14 	bgt-    cr7,ffc0f7a8 <rtems_bdbuf_remove_from_tree+0x94><== NEVER TAKEN
ffc0f798:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc0f79c:	40 9e 00 24 	bne-    cr7,ffc0f7c0 <rtems_bdbuf_remove_from_tree+0xac><== NEVER TAKEN
ffc0f7a0:	7f 1d 50 40 	cmplw   cr6,r29,r10                            
ffc0f7a4:	40 99 00 1c 	ble-    cr6,ffc0f7c0 <rtems_bdbuf_remove_from_tree+0xac><== ALWAYS TAKEN
    {                                                                 
      p->avl.cache = 1;                                               
ffc0f7a8:	99 1f 00 10 	stb     r8,16(r31)                             
      p = p->avl.right;                                               
ffc0f7ac:	83 ff 00 0c 	lwz     r31,12(r31)                            
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
ffc0f7b0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f7b4:	41 9e 00 20 	beq-    cr7,ffc0f7d4 <rtems_bdbuf_remove_from_tree+0xc0><== NEVER TAKEN
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0f7b8:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0f7bc:	4b ff ff c4 	b       ffc0f780 <rtems_bdbuf_remove_from_tree+0x6c>
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0f7c0:	41 9e 00 24 	beq-    cr7,ffc0f7e4 <rtems_bdbuf_remove_from_tree+0xd0><== ALWAYS TAKEN
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc0f7c4:	98 ff 00 10 	stb     r7,16(r31)                             
      p = p->avl.left;                                                
ffc0f7c8:	83 ff 00 08 	lwz     r31,8(r31)                             
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
ffc0f7cc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f7d0:	40 9e ff e8 	bne+    cr7,ffc0f7b8 <rtems_bdbuf_remove_from_tree+0xa4><== 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 (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
ffc0f7d4:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0f7d8:	80 7a 00 28 	lwz     r3,40(r26)                             <== NOT EXECUTED
ffc0f7dc:	60 84 00 09 	ori     r4,r4,9                                <== NOT EXECUTED
ffc0f7e0:	4b ff f7 19 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0f7e4:	7f 9d 50 00 	cmpw    cr7,r29,r10                            
ffc0f7e8:	40 9e ff dc 	bne+    cr7,ffc0f7c4 <rtems_bdbuf_remove_from_tree+0xb0><== NEVER TAKEN
ffc0f7ec:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0f7f0:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc0f7f4:	41 bd ff b4 	bgt-    cr7,ffc0f7a8 <rtems_bdbuf_remove_from_tree+0x94>
    {                                                                 
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
ffc0f7f8:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0f7fc:	40 9e ff c8 	bne+    cr7,ffc0f7c4 <rtems_bdbuf_remove_from_tree+0xb0>
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc0f800:	7f 9b 58 40 	cmplw   cr7,r27,r11                            
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0f804:	7d 24 4b 78 	mr      r4,r9                                  
  {                                                                   
    p = *(buf_prev - 1);                                              
  }                                                                   
  else                                                                
  {                                                                   
    p = NULL;                                                         
ffc0f808:	38 c0 00 00 	li      r6,0                                   
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc0f80c:	40 9c 00 08 	bge-    cr7,ffc0f814 <rtems_bdbuf_remove_from_tree+0x100>
  {                                                                   
    p = *(buf_prev - 1);                                              
ffc0f810:	80 c9 ff f8 	lwz     r6,-8(r9)                              
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
ffc0f814:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc0f818:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0f81c:	41 9e 02 f0 	beq-    cr7,ffc0fb0c <rtems_bdbuf_remove_from_tree+0x3f8>
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
ffc0f820:	81 47 00 08 	lwz     r10,8(r7)                              
ffc0f824:	7c eb 3b 78 	mr      r11,r7                                 
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc0f828:	39 00 ff ff 	li      r8,-1                                  
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
ffc0f82c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0f830:	40 be 00 10 	bne+    cr7,ffc0f840 <rtems_bdbuf_remove_from_tree+0x12c>
ffc0f834:	48 00 02 f0 	b       ffc0fb24 <rtems_bdbuf_remove_from_tree+0x410>
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc0f838:	7d 4b 53 78 	mr      r11,r10                                
ffc0f83c:	7c 0a 03 78 	mr      r10,r0                                 
ffc0f840:	80 0a 00 08 	lwz     r0,8(r10)                              
      {                                                               
        *buf_prev++ = r = s;                                          
ffc0f844:	91 69 00 00 	stw     r11,0(r9)                              
ffc0f848:	39 29 00 04 	addi    r9,r9,4                                
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc0f84c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc0f850:	99 0b 00 10 	stb     r8,16(r11)                             
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc0f854:	40 9e ff e4 	bne+    cr7,ffc0f838 <rtems_bdbuf_remove_from_tree+0x124>
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
ffc0f858:	88 1f 00 11 	lbz     r0,17(r31)                             
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc0f85c:	80 bf 00 08 	lwz     r5,8(r31)                              
      r->avl.left = s->avl.right;                                     
ffc0f860:	81 0a 00 0c 	lwz     r8,12(r10)                             
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
ffc0f864:	98 0a 00 11 	stb     r0,17(r10)                             
      s->avl.cache = 1;                                               
ffc0f868:	38 00 00 01 	li      r0,1                                   
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc0f86c:	90 aa 00 08 	stw     r5,8(r10)                              
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
ffc0f870:	90 ea 00 0c 	stw     r7,12(r10)                             
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
ffc0f874:	91 0b 00 08 	stw     r8,8(r11)                              
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
ffc0f878:	98 0a 00 10 	stb     r0,16(r10)                             
                                                                      
      *t = q = s;                                                     
ffc0f87c:	91 44 ff fc 	stw     r10,-4(r4)                             
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
ffc0f880:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0f884:	41 9e 02 80 	beq-    cr7,ffc0fb04 <rtems_bdbuf_remove_from_tree+0x3f0>
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc0f888:	88 06 00 10 	lbz     r0,16(r6)                              
ffc0f88c:	2f 80 00 ff 	cmpwi   cr7,r0,255                             
ffc0f890:	41 9e 02 18 	beq-    cr7,ffc0faa8 <rtems_bdbuf_remove_from_tree+0x394>
    {                                                                 
      p->avl.left = q;                                                
    }                                                                 
    else                                                              
    {                                                                 
      p->avl.right = q;                                               
ffc0f894:	91 46 00 0c 	stw     r10,12(r6)                             
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
ffc0f898:	7f 9b 48 40 	cmplw   cr7,r27,r9                             
ffc0f89c:	40 9c 00 78 	bge-    cr7,ffc0f914 <rtems_bdbuf_remove_from_tree+0x200>
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc0f8a0:	7d 2a 4b 78 	mr      r10,r9                                 
ffc0f8a4:	85 2a ff fc 	lwzu    r9,-4(r10)                             
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
ffc0f8a8:	21 7b 00 03 	subfic  r11,r27,3                              
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc0f8ac:	38 a0 ff ff 	li      r5,-1                                  
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
ffc0f8b0:	7d 6b 52 14 	add     r11,r11,r10                            
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc0f8b4:	88 09 00 10 	lbz     r0,16(r9)                              
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
            {                                                         
              p1->avl.bal = 1;                                        
ffc0f8b8:	55 6b f0 be 	rlwinm  r11,r11,30,2,31                        
ffc0f8bc:	39 6b 00 01 	addi    r11,r11,1                              
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc0f8c0:	7c 00 07 74 	extsb   r0,r0                                  
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
            {                                                         
              p1->avl.bal = 1;                                        
ffc0f8c4:	7d 69 03 a6 	mtctr   r11                                    
ffc0f8c8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
ffc0f8cc:	38 e0 00 00 	li      r7,0                                   
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
            {                                                         
              p1->avl.bal = 1;                                        
ffc0f8d0:	38 60 00 01 	li      r3,1                                   
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc0f8d4:	41 9e 00 b8 	beq-    cr7,ffc0f98c <rtems_bdbuf_remove_from_tree+0x278>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc0f8d8:	88 09 00 11 	lbz     r0,17(r9)                              
ffc0f8dc:	7c 00 07 75 	extsb.  r0,r0                                  
ffc0f8e0:	40 82 00 60 	bne-    ffc0f940 <rtems_bdbuf_remove_from_tree+0x22c>
        case +1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
                                                                      
        case  0:                                                      
          p->avl.bal = -1;                                            
ffc0f8e4:	98 a9 00 11 	stb     r5,17(r9)                              
ffc0f8e8:	7d 2b 4b 78 	mr      r11,r9                                 
          modified = false;                                           
ffc0f8ec:	39 00 00 00 	li      r8,0                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc0f8f0:	42 40 00 6c 	bdz-    ffc0f95c <rtems_bdbuf_remove_from_tree+0x248>
    {                                                                 
      q = *(buf_prev - 1);                                            
ffc0f8f4:	85 2a ff fc 	lwzu    r9,-4(r10)                             
                                                                      
      if (q->avl.cache == -1)                                         
ffc0f8f8:	88 09 00 10 	lbz     r0,16(r9)                              
ffc0f8fc:	7c 00 07 74 	extsb   r0,r0                                  
ffc0f900:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0f904:	41 9e 00 a4 	beq-    cr7,ffc0f9a8 <rtems_bdbuf_remove_from_tree+0x294>
      {                                                               
        q->avl.left = p;                                              
      }                                                               
      else                                                            
      {                                                               
        q->avl.right = p;                                             
ffc0f908:	91 69 00 0c 	stw     r11,12(r9)                             
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
ffc0f90c:	2f 08 00 00 	cmpwi   cr6,r8,0                               
ffc0f910:	40 9a ff c4 	bne+    cr6,ffc0f8d4 <rtems_bdbuf_remove_from_tree+0x1c0>
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
}                                                                     
ffc0f914:	80 01 00 ac 	lwz     r0,172(r1)                             
ffc0f918:	83 21 00 8c 	lwz     r25,140(r1)                            
ffc0f91c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f920:	83 41 00 90 	lwz     r26,144(r1)                            
ffc0f924:	83 61 00 94 	lwz     r27,148(r1)                            
ffc0f928:	83 81 00 98 	lwz     r28,152(r1)                            
ffc0f92c:	83 a1 00 9c 	lwz     r29,156(r1)                            
ffc0f930:	83 c1 00 a0 	lwz     r30,160(r1)                            
ffc0f934:	83 e1 00 a4 	lwz     r31,164(r1)                            
ffc0f938:	38 21 00 a8 	addi    r1,r1,168                              
ffc0f93c:	4e 80 00 20 	blr                                            
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc0f940:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0f944:	41 9e 00 7c 	beq-    cr7,ffc0f9c0 <rtems_bdbuf_remove_from_tree+0x2ac>
ffc0f948:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0f94c:	41 9e 00 84 	beq-    cr7,ffc0f9d0 <rtems_bdbuf_remove_from_tree+0x2bc><== ALWAYS TAKEN
ffc0f950:	7d 2b 4b 78 	mr      r11,r9                                 <== NOT EXECUTED
ffc0f954:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc0f958:	42 00 ff 9c 	bdnz+   ffc0f8f4 <rtems_bdbuf_remove_from_tree+0x1e0><== 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 (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
}                                                                     
ffc0f95c:	80 01 00 ac 	lwz     r0,172(r1)                             
        q->avl.right = p;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc0f960:	91 79 00 40 	stw     r11,64(r25)                            
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
}                                                                     
ffc0f964:	7c 08 03 a6 	mtlr    r0                                     
ffc0f968:	83 21 00 8c 	lwz     r25,140(r1)                            
ffc0f96c:	83 41 00 90 	lwz     r26,144(r1)                            
ffc0f970:	83 61 00 94 	lwz     r27,148(r1)                            
ffc0f974:	83 81 00 98 	lwz     r28,152(r1)                            
ffc0f978:	83 a1 00 9c 	lwz     r29,156(r1)                            
ffc0f97c:	83 c1 00 a0 	lwz     r30,160(r1)                            
ffc0f980:	83 e1 00 a4 	lwz     r31,164(r1)                            
ffc0f984:	38 21 00 a8 	addi    r1,r1,168                              
ffc0f988:	4e 80 00 20 	blr                                            
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc0f98c:	89 69 00 11 	lbz     r11,17(r9)                             
ffc0f990:	7d 6b 07 75 	extsb.  r11,r11                                
ffc0f994:	40 82 00 1c 	bne-    ffc0f9b0 <rtems_bdbuf_remove_from_tree+0x29c>
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
        case  0:                                                      
          p->avl.bal = 1;                                             
ffc0f998:	98 69 00 11 	stb     r3,17(r9)                              
ffc0f99c:	7d 2b 4b 78 	mr      r11,r9                                 
          modified = false;                                           
ffc0f9a0:	39 00 00 00 	li      r8,0                                   
ffc0f9a4:	4b ff ff 4c 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc>
    {                                                                 
      q = *(buf_prev - 1);                                            
                                                                      
      if (q->avl.cache == -1)                                         
      {                                                               
        q->avl.left = p;                                              
ffc0f9a8:	91 69 00 08 	stw     r11,8(r9)                              
ffc0f9ac:	4b ff ff 60 	b       ffc0f90c <rtems_bdbuf_remove_from_tree+0x1f8>
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc0f9b0:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc0f9b4:	41 9e 00 7c 	beq-    cr7,ffc0fa30 <rtems_bdbuf_remove_from_tree+0x31c>
ffc0f9b8:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc0f9bc:	40 9e ff 94 	bne+    cr7,ffc0f950 <rtems_bdbuf_remove_from_tree+0x23c><== NEVER TAKEN
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
ffc0f9c0:	98 e9 00 11 	stb     r7,17(r9)                              
ffc0f9c4:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0f9c8:	39 00 00 01 	li      r8,1                                   
ffc0f9cc:	4b ff ff 24 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc>
          p->avl.bal = -1;                                            
          modified = false;                                           
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc0f9d0:	81 09 00 08 	lwz     r8,8(r9)                               
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
ffc0f9d4:	88 08 00 11 	lbz     r0,17(r8)                              
ffc0f9d8:	7c 0b 07 75 	extsb.  r11,r0                                 
ffc0f9dc:	40 81 00 80 	ble-    ffc0fa5c <rtems_bdbuf_remove_from_tree+0x348><== NEVER TAKEN
            }                                                         
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
ffc0f9e0:	81 68 00 0c 	lwz     r11,12(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;
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc0f9e4:	38 c0 00 00 	li      r6,0                                   
            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;
ffc0f9e8:	88 0b 00 11 	lbz     r0,17(r11)                             
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc0f9ec:	80 8b 00 08 	lwz     r4,8(r11)                              
            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;
ffc0f9f0:	68 00 00 ff 	xori    r0,r0,255                              
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
ffc0f9f4:	91 0b 00 08 	stw     r8,8(r11)                              
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
ffc0f9f8:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0f9fc:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc0fa00:	90 88 00 0c 	stw     r4,12(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;
ffc0fa04:	98 09 00 11 	stb     r0,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc0fa08:	88 0b 00 11 	lbz     r0,17(r11)                             
ffc0fa0c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0fa10:	80 0b 00 0c 	lwz     r0,12(r11)                             
            p2->avl.right = p;                                        
ffc0fa14:	91 2b 00 0c 	stw     r9,12(r11)                             
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0fa18:	90 09 00 08 	stw     r0,8(r9)                               
            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;
ffc0fa1c:	41 9e 00 60 	beq-    cr7,ffc0fa7c <rtems_bdbuf_remove_from_tree+0x368>
ffc0fa20:	98 c8 00 11 	stb     r6,17(r8)                              
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc0fa24:	39 00 00 01 	li      r8,1                                   
ffc0fa28:	98 eb 00 11 	stb     r7,17(r11)                             
ffc0fa2c:	4b ff fe c4 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc>
          p->avl.bal = 1;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
ffc0fa30:	81 69 00 0c 	lwz     r11,12(r9)                             
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
ffc0fa34:	89 0b 00 11 	lbz     r8,17(r11)                             
ffc0fa38:	7d 06 07 75 	extsb.  r6,r8                                  
ffc0fa3c:	41 80 00 74 	blt-    ffc0fab0 <rtems_bdbuf_remove_from_tree+0x39c><== NEVER TAKEN
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc0fa40:	81 0b 00 08 	lwz     r8,8(r11)                              
            p1->avl.left = p;                                         
ffc0fa44:	91 2b 00 08 	stw     r9,8(r11)                              
        case +1:                                                      
          p1 = p->avl.right;                                          
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc0fa48:	91 09 00 0c 	stw     r8,12(r9)                              
            p1->avl.left = p;                                         
                                                                      
            if (p1->avl.bal == 0)                                     
ffc0fa4c:	40 82 00 38 	bne-    ffc0fa84 <rtems_bdbuf_remove_from_tree+0x370>
            {                                                         
              p1->avl.bal = -1;                                       
ffc0fa50:	98 0b 00 11 	stb     r0,17(r11)                             
              modified = false;                                       
ffc0fa54:	39 00 00 00 	li      r8,0                                   
ffc0fa58:	4b ff fe 98 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc>
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc0fa5c:	80 08 00 0c 	lwz     r0,12(r8)                              <== NOT EXECUTED
            p1->avl.right = p;                                        
ffc0fa60:	91 28 00 0c 	stw     r9,12(r8)                              <== NOT EXECUTED
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc0fa64:	90 09 00 08 	stw     r0,8(r9)                               <== NOT EXECUTED
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
ffc0fa68:	40 82 00 2c 	bne-    ffc0fa94 <rtems_bdbuf_remove_from_tree+0x380><== NOT EXECUTED
            {                                                         
              p1->avl.bal = 1;                                        
ffc0fa6c:	98 68 00 11 	stb     r3,17(r8)                              <== NOT EXECUTED
ffc0fa70:	7d 0b 43 78 	mr      r11,r8                                 <== NOT EXECUTED
              modified = false;                                       
ffc0fa74:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
ffc0fa78:	4b ff fe 78 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc><== NOT EXECUTED
            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;
ffc0fa7c:	38 c0 ff ff 	li      r6,-1                                  
ffc0fa80:	4b ff ff a0 	b       ffc0fa20 <rtems_bdbuf_remove_from_tree+0x30c>
              p1->avl.bal = -1;                                       
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
ffc0fa84:	98 e9 00 11 	stb     r7,17(r9)                              
              p1->avl.bal = 0;                                        
ffc0fa88:	39 00 00 01 	li      r8,1                                   
ffc0fa8c:	98 eb 00 11 	stb     r7,17(r11)                             
ffc0fa90:	4b ff fe 60 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc>
              p1->avl.bal = 1;                                        
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
ffc0fa94:	98 e9 00 11 	stb     r7,17(r9)                              <== NOT EXECUTED
              p1->avl.bal = 0;                                        
ffc0fa98:	7d 0b 43 78 	mr      r11,r8                                 <== NOT EXECUTED
ffc0fa9c:	98 e8 00 11 	stb     r7,17(r8)                              <== NOT EXECUTED
ffc0faa0:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc0faa4:	4b ff fe 4c 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc><== NOT EXECUTED
                                                                      
  if (p != NULL)                                                      
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      p->avl.left = q;                                                
ffc0faa8:	91 46 00 08 	stw     r10,8(r6)                              
ffc0faac:	4b ff fd ec 	b       ffc0f898 <rtems_bdbuf_remove_from_tree+0x184>
            }                                                         
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
ffc0fab0:	80 cb 00 08 	lwz     r6,8(r11)                              <== 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;
ffc0fab4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0fab8:	88 86 00 11 	lbz     r4,17(r6)                              <== NOT EXECUTED
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc0fabc:	81 06 00 0c 	lwz     r8,12(r6)                              <== NOT EXECUTED
            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;
ffc0fac0:	2f 84 00 01 	cmpwi   cr7,r4,1                               <== NOT EXECUTED
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc0fac4:	91 66 00 0c 	stw     r11,12(r6)                             <== NOT EXECUTED
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc0fac8:	91 0b 00 08 	stw     r8,8(r11)                              <== NOT EXECUTED
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0facc:	81 06 00 08 	lwz     r8,8(r6)                               <== NOT EXECUTED
            p2->avl.left = p;                                         
ffc0fad0:	91 26 00 08 	stw     r9,8(r6)                               <== NOT EXECUTED
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0fad4:	91 09 00 0c 	stw     r8,12(r9)                              <== NOT EXECUTED
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc0fad8:	41 9e 00 70 	beq-    cr7,ffc0fb48 <rtems_bdbuf_remove_from_tree+0x434><== NOT EXECUTED
ffc0fadc:	98 09 00 11 	stb     r0,17(r9)                              <== NOT EXECUTED
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc0fae0:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
            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;
ffc0fae4:	88 06 00 11 	lbz     r0,17(r6)                              <== NOT EXECUTED
ffc0fae8:	68 00 00 ff 	xori    r0,r0,255                              <== NOT EXECUTED
ffc0faec:	7c 00 00 34 	cntlzw  r0,r0                                  <== NOT EXECUTED
ffc0faf0:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          <== NOT EXECUTED
ffc0faf4:	98 0b 00 11 	stb     r0,17(r11)                             <== NOT EXECUTED
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc0faf8:	7c cb 33 78 	mr      r11,r6                                 <== NOT EXECUTED
ffc0fafc:	98 e6 00 11 	stb     r7,17(r6)                              <== NOT EXECUTED
ffc0fb00:	4b ff fd f0 	b       ffc0f8f0 <rtems_bdbuf_remove_from_tree+0x1dc><== NOT EXECUTED
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc0fb04:	91 59 00 40 	stw     r10,64(r25)                            
ffc0fb08:	4b ff fd 90 	b       ffc0f898 <rtems_bdbuf_remove_from_tree+0x184>
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
  {                                                                   
    r = q->avl.left;                                                  
ffc0fb0c:	81 5f 00 08 	lwz     r10,8(r31)                             
    if (r != NULL)                                                    
ffc0fb10:	7d 69 5b 78 	mr      r9,r11                                 
ffc0fb14:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0fb18:	41 be fd 68 	beq-    cr7,ffc0f880 <rtems_bdbuf_remove_from_tree+0x16c>
    {                                                                 
      r->avl.bal = 0;                                                 
ffc0fb1c:	98 ea 00 11 	stb     r7,17(r10)                             
ffc0fb20:	4b ff fd 60 	b       ffc0f880 <rtems_bdbuf_remove_from_tree+0x16c>
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
ffc0fb24:	88 1f 00 11 	lbz     r0,17(r31)                             
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
ffc0fb28:	7c ea 3b 78 	mr      r10,r7                                 
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc0fb2c:	81 7f 00 08 	lwz     r11,8(r31)                             
      r->avl.bal = q->avl.bal;                                        
ffc0fb30:	98 07 00 11 	stb     r0,17(r7)                              
      r->avl.cache = 1;                                               
ffc0fb34:	38 00 00 01 	li      r0,1                                   
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc0fb38:	91 67 00 08 	stw     r11,8(r7)                              
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
ffc0fb3c:	98 07 00 10 	stb     r0,16(r7)                              
      *buf_prev++ = q = r;                                            
ffc0fb40:	90 e9 ff fc 	stw     r7,-4(r9)                              
ffc0fb44:	4b ff fd 3c 	b       ffc0f880 <rtems_bdbuf_remove_from_tree+0x16c>
            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;
ffc0fb48:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc0fb4c:	4b ff ff 90 	b       ffc0fadc <rtems_bdbuf_remove_from_tree+0x3c8><== NOT EXECUTED
                                                                      

ffc0fb50 <rtems_bdbuf_remove_from_tree_and_lru_list>: rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM); } static void rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd) {
ffc0fb50:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fb54:	7c 08 02 a6 	mflr    r0                                     
ffc0fb58:	90 01 00 14 	stw     r0,20(r1)                              
  switch (bd->state)                                                  
ffc0fb5c:	80 03 00 28 	lwz     r0,40(r3)                              
    rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM);  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd)    
{                                                                     
ffc0fb60:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0fb64:	7c 7f 1b 78 	mr      r31,r3                                 
  switch (bd->state)                                                  
ffc0fb68:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fb6c:	41 9e 00 20 	beq-    cr7,ffc0fb8c <rtems_bdbuf_remove_from_tree_and_lru_list+0x3c>
ffc0fb70:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0fb74:	41 9e 00 14 	beq-    cr7,ffc0fb88 <rtems_bdbuf_remove_from_tree_and_lru_list+0x38><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_10);
ffc0fb78:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0fb7c:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0fb80:	60 84 00 08 	ori     r4,r4,8                                <== NOT EXECUTED
ffc0fb84:	4b ff f3 75 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
  switch (bd->state)                                                  
  {                                                                   
    case RTEMS_BDBUF_STATE_FREE:                                      
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
ffc0fb88:	4b ff fb 8d 	bl      ffc0f714 <rtems_bdbuf_remove_from_tree>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0fb8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fb90:	4b ff b5 bd 	bl      ffc0b14c <_Chain_Extract>              
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_10);
  }                                                                   
                                                                      
  rtems_chain_extract (&bd->link);                                    
}                                                                     
ffc0fb94:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fb98:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fb9c:	38 21 00 10 	addi    r1,r1,16                               
ffc0fba0:	7c 08 03 a6 	mtlr    r0                                     
ffc0fba4:	4e 80 00 20 	blr                                            
                                                                      

ffc0f2c0 <rtems_bdbuf_restore_preemption>: return prev_mode; } static void rtems_bdbuf_restore_preemption (rtems_mode prev_mode) {
ffc0f2c0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f2c4:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
ffc0f2c8:	38 80 00 00 	li      r4,0                                   
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0f2cc:	7c 25 0b 78 	mr      r5,r1                                  
ffc0f2d0:	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); 
ffc0f2d4:	60 84 ff ff 	ori     r4,r4,65535                            
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0f2d8:	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); 
ffc0f2dc:	48 00 50 b1 	bl      ffc1438c <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f2e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f2e4:	40 9e 00 14 	bne-    cr7,ffc0f2f8 <rtems_bdbuf_restore_preemption+0x38><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_RST);
}                                                                     
ffc0f2e8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f2ec:	38 21 00 10 	addi    r1,r1,16                               
ffc0f2f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0f2f4:	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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_RST);
ffc0f2f8:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f2fc:	60 63 00 11 	ori     r3,r3,17                               <== NOT EXECUTED
ffc0f300:	4b ff b7 ad 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0ef10 <rtems_bdbuf_swapout_modified_processing>: rtems_chain_control* chain, rtems_chain_control* transfer, bool sync_active, bool update_timers, uint32_t timer_delta) {
ffc0ef10:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0ef14:	7c 08 02 a6 	mflr    r0                                     
ffc0ef18:	7d 80 00 26 	mfcr    r12                                    
ffc0ef1c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0ef20:	93 c1 00 30 	stw     r30,48(r1)                             
ffc0ef24:	7c 9e 23 78 	mr      r30,r4                                 
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0ef28:	3b de 00 04 	addi    r30,r30,4                              
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0ef2c:	80 84 00 00 	lwz     r4,0(r4)                               
ffc0ef30:	93 41 00 20 	stw     r26,32(r1)                             
ffc0ef34:	7d 1a 43 78 	mr      r26,r8                                 
  if (!rtems_chain_is_empty (chain))                                  
ffc0ef38:	7f 84 f0 00 	cmpw    cr7,r4,r30                             
                                         rtems_chain_control* chain,  
                                         rtems_chain_control* transfer,
                                         bool                 sync_active,
                                         bool                 update_timers,
                                         uint32_t             timer_delta)
{                                                                     
ffc0ef3c:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0ef40:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ef44:	93 e1 00 34 	stw     r31,52(r1)                             
ffc0ef48:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ef4c:	93 01 00 18 	stw     r24,24(r1)                             
ffc0ef50:	93 21 00 1c 	stw     r25,28(r1)                             
ffc0ef54:	93 61 00 24 	stw     r27,36(r1)                             
ffc0ef58:	93 81 00 28 	stw     r28,40(r1)                             
ffc0ef5c:	91 81 00 14 	stw     r12,20(r1)                             
  if (!rtems_chain_is_empty (chain))                                  
ffc0ef60:	41 9e 00 b0 	beq-    cr7,ffc0f010 <rtems_bdbuf_swapout_modified_processing+0x100>
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
ffc0ef64:	2d 86 00 00 	cmpwi   cr3,r6,0                               
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
ffc0ef68:	38 00 00 00 	li      r0,0                                   
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
ffc0ef6c:	40 8e 01 74 	bne-    cr3,ffc0f0e0 <rtems_bdbuf_swapout_modified_processing+0x1d0>
       * or someone waits for a buffer written force all the timers to 0.
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
ffc0ef70:	2e 00 00 00 	cmpwi   cr4,r0,0                               
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
      {                                                               
        if (update_timers)                                            
ffc0ef74:	2d 07 00 00 	cmpwi   cr2,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 && (*dev == bd->dev))              
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
ffc0ef78:	3b 80 00 00 	li      r28,0                                  
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0ef7c:	3f 60 00 00 	lis     r27,0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ef80:	3b 00 00 09 	li      r24,9                                  
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
ffc0ef84:	7f 84 f0 00 	cmpw    cr7,r4,r30                             
ffc0ef88:	41 9e 00 88 	beq-    cr7,ffc0f010 <rtems_bdbuf_swapout_modified_processing+0x100>
       * or someone waits for a buffer written force all the timers to 0.
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
ffc0ef8c:	40 92 00 cc 	bne-    cr4,ffc0f058 <rtems_bdbuf_swapout_modified_processing+0x148>
ffc0ef90:	41 8e 00 14 	beq-    cr3,ffc0efa4 <rtems_bdbuf_swapout_modified_processing+0x94>
ffc0ef94:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0ef98:	80 04 00 18 	lwz     r0,24(r4)                              
ffc0ef9c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0efa0:	41 9e 00 a8 	beq-    cr7,ffc0f048 <rtems_bdbuf_swapout_modified_processing+0x138>
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0efa4:	39 3b 29 90 	addi    r9,r27,10640                           
ffc0efa8:	80 09 00 78 	lwz     r0,120(r9)                             
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
          || rtems_bdbuf_has_buffer_waiters ())                       
ffc0efac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0efb0:	40 9e 00 a8 	bne-    cr7,ffc0f058 <rtems_bdbuf_swapout_modified_processing+0x148>
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
ffc0efb4:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0efb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0efbc:	41 9e 00 2c 	beq-    cr7,ffc0efe8 <rtems_bdbuf_swapout_modified_processing+0xd8>
      {                                                               
        if (update_timers)                                            
ffc0efc0:	41 8a 00 1c 	beq-    cr2,ffc0efdc <rtems_bdbuf_swapout_modified_processing+0xcc>
        {                                                             
          if (bd->hold_timer > timer_delta)                           
ffc0efc4:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0efc8:	7f 80 d0 40 	cmplw   cr7,r0,r26                             
ffc0efcc:	40 9d 01 0c 	ble-    cr7,ffc0f0d8 <rtems_bdbuf_swapout_modified_processing+0x1c8>
            bd->hold_timer -= timer_delta;                            
ffc0efd0:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0efd4:	7c 1a 00 50 	subf    r0,r26,r0                              
ffc0efd8:	90 04 00 34 	stw     r0,52(r4)                              
          else                                                        
            bd->hold_timer = 0;                                       
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
ffc0efdc:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0efe0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0efe4:	40 9e 00 20 	bne-    cr7,ffc0f004 <rtems_bdbuf_swapout_modified_processing+0xf4>
      /*                                                              
       * This assumes we can set dev_t to BDBUF_INVALID_DEV which is just an
       * assumption. Cannot use the transfer list being empty the sync dev
       * calls sets the dev to use.                                   
       */                                                             
      if (*dev == BDBUF_INVALID_DEV)                                  
ffc0efe8:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0efec:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc0eff0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0eff4:	41 9e 00 c8 	beq-    cr7,ffc0f0bc <rtems_bdbuf_swapout_modified_processing+0x1ac>
        *dev = bd->dev;                                               
                                                                      
      if (bd->dev == *dev)                                            
ffc0eff8:	81 24 00 18 	lwz     r9,24(r4)                              
ffc0effc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0f000:	41 9e 00 60 	beq-    cr7,ffc0f060 <rtems_bdbuf_swapout_modified_processing+0x150><== ALWAYS TAKEN
                                                                      
        node = next_node;                                             
      }                                                               
      else                                                            
      {                                                               
        node = node->next;                                            
ffc0f004:	80 84 00 00 	lwz     r4,0(r4)                               
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
ffc0f008:	7f 84 f0 00 	cmpw    cr7,r4,r30                             
ffc0f00c:	40 9e ff 80 	bne+    cr7,ffc0ef8c <rtems_bdbuf_swapout_modified_processing+0x7c>
      {                                                               
        node = node->next;                                            
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f010:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0f014:	81 81 00 14 	lwz     r12,20(r1)                             
ffc0f018:	7c 08 03 a6 	mtlr    r0                                     
ffc0f01c:	83 01 00 18 	lwz     r24,24(r1)                             
ffc0f020:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc0f024:	7d 83 81 20 	mtcrf   56,r12                                 
ffc0f028:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0f02c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc0f030:	83 81 00 28 	lwz     r28,40(r1)                             
ffc0f034:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0f038:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0f03c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc0f040:	38 21 00 38 	addi    r1,r1,56                               
ffc0f044:	4e 80 00 20 	blr                                            
       * or someone waits for a buffer written force all the timers to 0.
       *                                                              
       * @note Lots of sync requests will skew this timer. It should be based
       *       on TOD to be accurate. Does it matter ?                
       */                                                             
      if (sync_all || (sync_active && (*dev == bd->dev))              
ffc0f048:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0f04c:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc0f050:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0f054:	40 9e ff 50 	bne+    cr7,ffc0efa4 <rtems_bdbuf_swapout_modified_processing+0x94><== NEVER TAKEN
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
ffc0f058:	93 84 00 34 	stw     r28,52(r4)                             
ffc0f05c:	4b ff ff 58 	b       ffc0efb4 <rtems_bdbuf_swapout_modified_processing+0xa4>
       * calls sets the dev to use.                                   
       */                                                             
      if (*dev == BDBUF_INVALID_DEV)                                  
        *dev = bd->dev;                                               
                                                                      
      if (bd->dev == *dev)                                            
ffc0f060:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc0f064:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc0f068:	40 9e ff 9c 	bne+    cr7,ffc0f004 <rtems_bdbuf_swapout_modified_processing+0xf4><== NEVER TAKEN
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0f06c:	93 04 00 28 	stw     r24,40(r4)                             
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0f070:	7c 83 23 78 	mr      r3,r4                                  
      if (*dev == BDBUF_INVALID_DEV)                                  
        *dev = bd->dev;                                               
                                                                      
      if (bd->dev == *dev)                                            
      {                                                               
        rtems_chain_node* next_node = node->next;                     
ffc0f074:	83 24 00 00 	lwz     r25,0(r4)                              
ffc0f078:	90 81 00 08 	stw     r4,8(r1)                               
ffc0f07c:	4b ff c0 d1 	bl      ffc0b14c <_Chain_Extract>              
                                                                      
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);       
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
ffc0f080:	80 7d 00 08 	lwz     r3,8(r29)                              
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0f084:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0f088:	7f 9d 18 00 	cmpw    cr7,r29,r3                             
ffc0f08c:	41 9e 00 20 	beq-    cr7,ffc0f0ac <rtems_bdbuf_swapout_modified_processing+0x19c>
ffc0f090:	81 24 00 20 	lwz     r9,32(r4)                              
        {                                                             
          rtems_bdbuf_buffer* tbd = (rtems_bdbuf_buffer*) tnode;      
                                                                      
          if (bd->block > tbd->block)                                 
ffc0f094:	80 03 00 20 	lwz     r0,32(r3)                              
ffc0f098:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc0f09c:	41 9d 00 14 	bgt-    cr7,ffc0f0b0 <rtems_bdbuf_swapout_modified_processing+0x1a0>
          {                                                           
            rtems_chain_insert (tnode, node);                         
            node = NULL;                                              
          }                                                           
          else                                                        
            tnode = tnode->previous;                                  
ffc0f0a0:	80 63 00 04 	lwz     r3,4(r3)                               
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0f0a4:	7f 9d 18 00 	cmpw    cr7,r29,r3                             
ffc0f0a8:	40 9e ff ec 	bne+    cr7,ffc0f094 <rtems_bdbuf_swapout_modified_processing+0x184>
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0f0ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f0b0:	48 00 59 09 	bl      ffc149b8 <_Chain_Insert>               
        }                                                             
                                                                      
        if (node)                                                     
          rtems_chain_prepend (transfer, node);                       
                                                                      
        node = next_node;                                             
ffc0f0b4:	7f 24 cb 78 	mr      r4,r25                                 
ffc0f0b8:	4b ff fe cc 	b       ffc0ef84 <rtems_bdbuf_swapout_modified_processing+0x74>
      /*                                                              
       * This assumes we can set dev_t to BDBUF_INVALID_DEV which is just an
       * assumption. Cannot use the transfer list being empty the sync dev
       * calls sets the dev to use.                                   
       */                                                             
      if (*dev == BDBUF_INVALID_DEV)                                  
ffc0f0bc:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc0f0c0:	40 9e ff 38 	bne+    cr7,ffc0eff8 <rtems_bdbuf_swapout_modified_processing+0xe8><== NEVER TAKEN
        *dev = bd->dev;                                               
ffc0f0c4:	80 04 00 18 	lwz     r0,24(r4)                              
ffc0f0c8:	81 64 00 1c 	lwz     r11,28(r4)                             
ffc0f0cc:	90 1f 00 00 	stw     r0,0(r31)                              
ffc0f0d0:	91 7f 00 04 	stw     r11,4(r31)                             
ffc0f0d4:	4b ff ff 24 	b       ffc0eff8 <rtems_bdbuf_swapout_modified_processing+0xe8>
        if (update_timers)                                            
        {                                                             
          if (bd->hold_timer > timer_delta)                           
            bd->hold_timer -= timer_delta;                            
          else                                                        
            bd->hold_timer = 0;                                       
ffc0f0d8:	93 84 00 34 	stw     r28,52(r4)                             
ffc0f0dc:	4b ff ff 00 	b       ffc0efdc <rtems_bdbuf_swapout_modified_processing+0xcc>
 * @param update_timers If true update the timers.                    
 * @param timer_delta It update_timers is true update the timers by this
 *                    amount.                                         
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_modified_processing (dev_t*               dev,    
ffc0f0e0:	80 03 00 04 	lwz     r0,4(r3)                               
ffc0f0e4:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0f0e8:	7d 29 00 38 	and     r9,r9,r0                               
ffc0f0ec:	38 09 00 01 	addi    r0,r9,1                                
ffc0f0f0:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0f0f4:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0f0f8:	4b ff fe 78 	b       ffc0ef70 <rtems_bdbuf_swapout_modified_processing+0x60>
                                                                      

ffc102b0 <rtems_bdbuf_swapout_task>: * not this. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_task (rtems_task_argument arg) {
ffc102b0:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc102b4:	7c 08 02 a6 	mflr    r0                                     
ffc102b8:	93 41 00 60 	stw     r26,96(r1)                             
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
ffc102bc:	3f 40 ff c2 	lis     r26,-62                                
ffc102c0:	3b 5a cf 34 	addi    r26,r26,-12492                         
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc102c4:	93 21 00 5c 	stw     r25,92(r1)                             
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
ffc102c8:	83 3a 00 0c 	lwz     r25,12(r26)                            
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc102cc:	90 01 00 7c 	stw     r0,124(r1)                             
ffc102d0:	92 21 00 3c 	stw     r17,60(r1)                             
ffc102d4:	92 41 00 40 	stw     r18,64(r1)                             
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc102d8:	1e 59 03 e8 	mulli   r18,r25,1000                           
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc102dc:	92 e1 00 54 	stw     r23,84(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc102e0:	3a e1 00 10 	addi    r23,r1,16                              
ffc102e4:	92 61 00 44 	stw     r19,68(r1)                             
ffc102e8:	92 81 00 48 	stw     r20,72(r1)                             
ffc102ec:	92 a1 00 4c 	stw     r21,76(r1)                             
ffc102f0:	92 c1 00 50 	stw     r22,80(r1)                             
ffc102f4:	93 01 00 58 	stw     r24,88(r1)                             
ffc102f8:	93 61 00 64 	stw     r27,100(r1)                            
ffc102fc:	93 81 00 68 	stw     r28,104(r1)                            
ffc10300:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc10304:	93 c1 00 70 	stw     r30,112(r1)                            
ffc10308:	93 e1 00 74 	stw     r31,116(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 ();         
ffc1030c:	4b ff f0 f9 	bl      ffc0f404 <rtems_bdbuf_swapout_writereq_alloc>
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc10310:	3d 20 00 00 	lis     r9,0                                   
ffc10314:	80 09 20 10 	lwz     r0,8208(r9)                            
ffc10318:	39 61 00 14 	addi    r11,r1,20                              
  head->previous = NULL;                                              
ffc1031c:	39 20 00 00 	li      r9,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10320:	91 61 00 10 	stw     r11,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.dev = BDBUF_INVALID_DEV;                                   
ffc10324:	39 40 ff ff 	li      r10,-1                                 
ffc10328:	39 60 ff ff 	li      r11,-1                                 
  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 ();         
ffc1032c:	90 61 00 2c 	stw     r3,44(r1)                              
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc10330:	7e 52 03 96 	divwu   r18,r18,r0                             
  head->previous = NULL;                                              
ffc10334:	91 21 00 14 	stw     r9,20(r1)                              
  tail->previous = head;                                              
ffc10338:	92 e1 00 18 	stw     r23,24(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.dev = BDBUF_INVALID_DEV;                                   
ffc1033c:	91 41 00 20 	stw     r10,32(r1)                             
ffc10340:	91 61 00 24 	stw     r11,36(r1)                             
  transfer.syncing = false;                                           
ffc10344:	99 21 00 28 	stb     r9,40(r1)                              
rtems_bdbuf_swapout_workers_open (void)                               
{                                                                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc10348:	4b ff eb 29 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc1034c:	82 3a 00 14 	lwz     r17,20(r26)                            
ffc10350:	2f 91 00 00 	cmpwi   cr7,r17,0                              
ffc10354:	41 9e 03 28 	beq-    cr7,ffc1067c <rtems_bdbuf_swapout_task+0x3cc><== ALWAYS TAKEN
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
ffc10358:	3f 00 00 00 	lis     r24,0                                  <== NOT EXECUTED
ffc1035c:	3b 18 29 90 	addi    r24,r24,10640                          <== NOT EXECUTED
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
                                                                      
    sc = rtems_task_start (worker->id,                                
ffc10360:	3e c0 ff c1 	lis     r22,-63                                <== NOT EXECUTED
 * @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)                    
ffc10364:	3a 31 00 61 	addi    r17,r17,97                             <== NOT EXECUTED
ffc10368:	3b 60 00 61 	li      r27,97                                 <== NOT EXECUTED
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
ffc1036c:	3a 78 00 08 	addi    r19,r24,8                              <== NOT EXECUTED
    worker->enabled = true;                                           
ffc10370:	3a 80 00 01 	li      r20,1                                  <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc10374:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
ffc10378:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc1037c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
                                                                      
    sc = rtems_task_start (worker->id,                                
ffc10380:	3a d6 06 ac 	addi    r22,r22,1708                           <== NOT EXECUTED
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
ffc10384:	38 60 00 38 	li      r3,56                                  <== NOT EXECUTED
ffc10388:	4b ff 5d b1 	bl      ffc06138 <malloc>                      <== NOT EXECUTED
    if (!worker)                                                      
ffc1038c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc10390:	41 82 03 04 	beq-    ffc10694 <rtems_bdbuf_swapout_task+0x3e4><== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc10394:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc10398:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc1039c:	4b ff ad 81 	bl      ffc0b11c <_Chain_Append>               <== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
ffc103a0:	9a 9d 00 0c 	stb     r20,12(r29)                            <== NOT EXECUTED
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
ffc103a4:	7f 1c c3 78 	mr      r28,r24                                <== NOT EXECUTED
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
ffc103a8:	4b ff f0 5d 	bl      ffc0f404 <rtems_bdbuf_swapout_writereq_alloc><== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
                            (bdbuf_config.swapout_priority ?          
ffc103ac:	80 9a 00 08 	lwz     r4,8(r26)                              <== 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 );                        
ffc103b0:	38 1d 00 10 	addi    r0,r29,16                              <== NOT EXECUTED
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
ffc103b4:	90 7d 00 2c 	stw     r3,44(r29)                             <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
ffc103b8:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
ffc103bc:	39 3d 00 14 	addi    r9,r29,20                              <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc103c0:	92 bd 00 14 	stw     r21,20(r29)                            <== NOT EXECUTED
ffc103c4:	67 6b 42 44 	oris    r11,r27,16964                          <== NOT EXECUTED
ffc103c8:	61 63 6f 00 	ori     r3,r11,28416                           <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc103cc:	91 3d 00 10 	stw     r9,16(r29)                             <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc103d0:	90 1d 00 18 	stw     r0,24(r29)                             <== NOT EXECUTED
    rtems_chain_append (&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.dev = BDBUF_INVALID_DEV;                         
ffc103d4:	93 dd 00 20 	stw     r30,32(r29)                            <== NOT EXECUTED
ffc103d8:	93 fd 00 24 	stw     r31,36(r29)                            <== NOT EXECUTED
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
ffc103dc:	40 9e 00 08 	bne-    cr7,ffc103e4 <rtems_bdbuf_swapout_task+0x134><== NOT EXECUTED
ffc103e0:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
ffc103e4:	38 a0 20 00 	li      r5,8192                                <== NOT EXECUTED
ffc103e8:	38 c0 04 00 	li      r6,1024                                <== NOT EXECUTED
ffc103ec:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc103f0:	39 1d 00 08 	addi    r8,r29,8                               <== NOT EXECUTED
ffc103f4:	4b ff a0 0d 	bl      ffc0a400 <rtems_task_create>           <== NOT EXECUTED
                             RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT),
                            SWAPOUT_TASK_STACK_SIZE,                  
                            RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc103f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc103fc:	40 9e 02 8c 	bne-    cr7,ffc10688 <rtems_bdbuf_swapout_task+0x3d8><== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
                                                                      
    sc = rtems_task_start (worker->id,                                
ffc10400:	80 7d 00 08 	lwz     r3,8(r29)                              <== NOT EXECUTED
ffc10404:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc10408:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc1040c:	4b ff a3 45 	bl      ffc0a750 <rtems_task_start>            <== NOT EXECUTED
                           rtems_bdbuf_swapout_worker_task,           
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10410:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc10414:	40 9e 02 8c 	bne-    cr7,ffc106a0 <rtems_bdbuf_swapout_task+0x3f0><== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
ffc10418:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc1041c:	7f 9b 88 00 	cmpw    cr7,r27,r17                            <== NOT EXECUTED
ffc10420:	40 9e ff 64 	bne+    cr7,ffc10384 <rtems_bdbuf_swapout_task+0xd4><== NOT EXECUTED
ffc10424:	3e c0 00 00 	lis     r22,0                                  
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc10428:	4b ff ec d5 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
ffc1042c:	3a d6 29 ec 	addi    r22,r22,10732                          
ffc10430:	3a 96 ff f4 	addi    r20,r22,-12                            
   * 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)                                        
    worker = NULL;                                                    
ffc10434:	3a a0 00 00 	li      r21,0                                  
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get (&bdbuf_cache.swapout_workers);                 
ffc10438:	3a 7c 00 08 	addi    r19,r28,8                              
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
ffc1043c:	3b c0 ff ff 	li      r30,-1                                 
ffc10440:	3b e0 ff ff 	li      r31,-1                                 
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc10444:	88 1c 00 04 	lbz     r0,4(r28)                              
ffc10448:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1044c:	41 9e 01 90 	beq-    cr7,ffc105dc <rtems_bdbuf_swapout_task+0x32c><== NEVER TAKEN
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc10450:	4b ff ea 21 	bl      ffc0ee70 <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)                                        
ffc10454:	88 1c 00 30 	lbz     r0,48(r28)                             
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc10458:	3b 00 00 01 	li      r24,1                                  
   * 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)                                        
ffc1045c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    worker = NULL;                                                    
ffc10460:	3b 60 00 00 	li      r27,0                                  
      /*                                                              
       * Extact all the buffers we find for a specific device. The device is
       * the first one we find on a modified list. Process the sync queue of
       * buffers first.                                               
       */                                                             
      if (rtems_bdbuf_swapout_processing (timer_delta,                
ffc10464:	7e fd bb 78 	mr      r29,r23                                
   * 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)                                        
ffc10468:	41 9e 00 dc 	beq-    cr7,ffc10544 <rtems_bdbuf_swapout_task+0x294>
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc1046c:	88 1c 00 30 	lbz     r0,48(r28)                             
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 );                        
ffc10470:	3b 5d 00 04 	addi    r26,r29,4                              
  /*                                                                  
   * 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)                                        
ffc10474:	89 3c 00 30 	lbz     r9,48(r28)                             
                                                                      
  head->next = tail;                                                  
ffc10478:	93 5d 00 00 	stw     r26,0(r29)                             
ffc1047c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  head->previous = NULL;                                              
ffc10480:	92 bd 00 04 	stw     r21,4(r29)                             
  tail->previous = head;                                              
ffc10484:	93 bd 00 08 	stw     r29,8(r29)                             
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
ffc10488:	93 dd 00 10 	stw     r30,16(r29)                            
ffc1048c:	93 fd 00 14 	stw     r31,20(r29)                            
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc10490:	98 1d 00 18 	stb     r0,24(r29)                             
  /*                                                                  
   * 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)                                        
ffc10494:	41 9e 00 14 	beq-    cr7,ffc104a8 <rtems_bdbuf_swapout_task+0x1f8>
    transfer->dev = bdbuf_cache.sync_device;                          
ffc10498:	81 5c 00 38 	lwz     r10,56(r28)                            
ffc1049c:	81 7c 00 3c 	lwz     r11,60(r28)                            
ffc104a0:	91 5d 00 10 	stw     r10,16(r29)                            
ffc104a4:	91 7d 00 14 	stw     r11,20(r29)                            
                                                                      
  /*                                                                  
   * If we have any buffers in the sync queue move them to the modified
   * list. The first sync buffer will select the device we use.       
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
ffc104a8:	3a 3d 00 10 	addi    r17,r29,16                             
ffc104ac:	38 c0 00 01 	li      r6,1                                   
ffc104b0:	38 e0 00 00 	li      r7,0                                   
ffc104b4:	7f 28 cb 78 	mr      r8,r25                                 
ffc104b8:	7e 23 8b 78 	mr      r3,r17                                 
ffc104bc:	7e c4 b3 78 	mr      r4,r22                                 
ffc104c0:	7f a5 eb 78 	mr      r5,r29                                 
ffc104c4:	4b ff ea 4d 	bl      ffc0ef10 <rtems_bdbuf_swapout_modified_processing>
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
ffc104c8:	88 dc 00 30 	lbz     r6,48(r28)                             
ffc104cc:	7e 23 8b 78 	mr      r3,r17                                 
ffc104d0:	7e 84 a3 78 	mr      r4,r20                                 
ffc104d4:	7f a5 eb 78 	mr      r5,r29                                 
ffc104d8:	7f 07 c3 78 	mr      r7,r24                                 
ffc104dc:	7f 28 cb 78 	mr      r8,r25                                 
ffc104e0:	4b ff ea 31 	bl      ffc0ef10 <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 ();                                        
ffc104e4:	4b ff ec 19 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc104e8:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc104ec:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc104f0:	41 9e 00 d4 	beq-    cr7,ffc105c4 <rtems_bdbuf_swapout_task+0x314>
  {                                                                   
    if (worker)                                                       
ffc104f4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc104f8:	41 9e 00 d4 	beq-    cr7,ffc105cc <rtems_bdbuf_swapout_task+0x31c><== ALWAYS TAKEN
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
ffc104fc:	80 7b 00 08 	lwz     r3,8(r27)                              <== NOT EXECUTED
ffc10500:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc10504:	4b ff 97 3d 	bl      ffc09c40 <rtems_event_send>            <== NOT EXECUTED
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc10508:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1050c:	40 9e 01 64 	bne-    cr7,ffc10670 <rtems_bdbuf_swapout_task+0x3c0><== NOT EXECUTED
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
ffc10510:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
ffc10514:	88 1c 00 30 	lbz     r0,48(r28)                             
ffc10518:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1051c:	41 9e 00 98 	beq-    cr7,ffc105b4 <rtems_bdbuf_swapout_task+0x304>
ffc10520:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc10524:	41 9e 00 38 	beq-    cr7,ffc1055c <rtems_bdbuf_swapout_task+0x2ac>
      /*                                                              
       * Extact all the buffers we find for a specific device. The device is
       * the first one we find on a modified list. Process the sync queue of
       * buffers first.                                               
       */                                                             
      if (rtems_bdbuf_swapout_processing (timer_delta,                
ffc10528:	3b 00 00 00 	li      r24,0                                  
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc1052c:	4b ff e9 45 	bl      ffc0ee70 <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)                                        
ffc10530:	88 1c 00 30 	lbz     r0,48(r28)                             
    worker = NULL;                                                    
ffc10534:	3b 60 00 00 	li      r27,0                                  
   * 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)                                        
ffc10538:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      /*                                                              
       * Extact all the buffers we find for a specific device. The device is
       * the first one we find on a modified list. Process the sync queue of
       * buffers first.                                               
       */                                                             
      if (rtems_bdbuf_swapout_processing (timer_delta,                
ffc1053c:	7e fd bb 78 	mr      r29,r23                                
   * 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)                                        
ffc10540:	40 9e ff 2c 	bne+    cr7,ffc1046c <rtems_bdbuf_swapout_task+0x1bc>
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc10544:	7e 63 9b 78 	mr      r3,r19                                 
ffc10548:	4b ff ac 2d 	bl      ffc0b174 <_Chain_Get>                  
    worker = NULL;                                                    
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get (&bdbuf_cache.swapout_workers);                 
    if (worker)                                                       
ffc1054c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc10550:	41 a2 ff 1c 	beq-    ffc1046c <rtems_bdbuf_swapout_task+0x1bc><== ALWAYS TAKEN
      transfer = &worker->transfer;                                   
ffc10554:	3b bb 00 10 	addi    r29,r27,16                             <== NOT EXECUTED
ffc10558:	4b ff ff 14 	b       ffc1046c <rtems_bdbuf_swapout_task+0x1bc><== NOT EXECUTED
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
ffc1055c:	4b ff e9 15 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
    sync_requester = bdbuf_cache.sync_requester;                      
ffc10560:	83 7c 00 34 	lwz     r27,52(r28)                            
    bdbuf_cache.sync_active = false;                                  
ffc10564:	9b bc 00 30 	stb     r29,48(r28)                            
    bdbuf_cache.sync_requester = 0;                                   
ffc10568:	93 bc 00 34 	stw     r29,52(r28)                            
    rtems_bdbuf_unlock_cache ();                                      
ffc1056c:	4b ff eb 91 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
    if (sync_requester)                                               
ffc10570:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc10574:	41 be 00 10 	beq+    cr7,ffc10584 <rtems_bdbuf_swapout_task+0x2d4><== NEVER TAKEN
      rtems_event_send (sync_requester, RTEMS_BDBUF_TRANSFER_SYNC);   
ffc10578:	7f 63 db 78 	mr      r3,r27                                 
ffc1057c:	38 80 00 02 	li      r4,2                                   
ffc10580:	4b ff 96 c1 	bl      ffc09c40 <rtems_event_send>            
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
ffc10584:	38 60 00 04 	li      r3,4                                   
ffc10588:	38 80 00 00 	li      r4,0                                   
ffc1058c:	7e 45 93 78 	mr      r5,r18                                 
ffc10590:	38 c1 00 08 	addi    r6,r1,8                                
ffc10594:	4b ff 94 a5 	bl      ffc09a38 <rtems_event_receive>         
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
ffc10598:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1059c:	41 a2 fe a8 	beq-    ffc10444 <rtems_bdbuf_swapout_task+0x194>
ffc105a0:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc105a4:	41 9e fe a0 	beq+    cr7,ffc10444 <rtems_bdbuf_swapout_task+0x194><== ALWAYS TAKEN
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
ffc105a8:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc105ac:	60 63 00 18 	ori     r3,r3,24                               <== NOT EXECUTED
ffc105b0:	4b ff a4 fd 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
      /*                                                              
       * Extact all the buffers we find for a specific device. The device is
       * the first one we find on a modified list. Process the sync queue of
       * buffers first.                                               
       */                                                             
      if (rtems_bdbuf_swapout_processing (timer_delta,                
ffc105b4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc105b8:	41 9e ff cc 	beq+    cr7,ffc10584 <rtems_bdbuf_swapout_task+0x2d4>
ffc105bc:	3b 00 00 00 	li      r24,0                                  
ffc105c0:	4b ff ff 6c 	b       ffc1052c <rtems_bdbuf_swapout_task+0x27c>
rtems_bdbuf_swapout_processing (unsigned long                 timer_delta,
                                bool                          update_timers,
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
ffc105c4:	3b a0 00 00 	li      r29,0                                  
ffc105c8:	4b ff ff 4c 	b       ffc10514 <rtems_bdbuf_swapout_task+0x264>
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
    }                                                                 
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
ffc105cc:	7f a3 eb 78 	mr      r3,r29                                 
ffc105d0:	4b ff fa c9 	bl      ffc10098 <rtems_bdbuf_swapout_write>   
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
ffc105d4:	3b a0 00 01 	li      r29,1                                  
ffc105d8:	4b ff ff 3c 	b       ffc10514 <rtems_bdbuf_swapout_task+0x264>
static void                                                           
rtems_bdbuf_swapout_workers_close (void)                              
{                                                                     
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc105dc:	4b ff e8 95 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc105e0:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc105e4:	3b 9c 00 0c 	addi    r28,r28,12                             <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
ffc105e8:	7f 9e e0 00 	cmpw    cr7,r30,r28                            <== NOT EXECUTED
ffc105ec:	41 9e 00 24 	beq-    cr7,ffc10610 <rtems_bdbuf_swapout_task+0x360><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
ffc105f0:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc105f4:	9b be 00 0c 	stb     r29,12(r30)                            <== NOT EXECUTED
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
ffc105f8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc105fc:	80 7e 00 08 	lwz     r3,8(r30)                              <== NOT EXECUTED
ffc10600:	4b ff 96 41 	bl      ffc09c40 <rtems_event_send>            <== NOT EXECUTED
rtems_bdbuf_purge_major (rtems_device_major_number major)             
{                                                                     
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
}                                                                     
ffc10604:	83 de 00 00 	lwz     r30,0(r30)                             <== 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))   
ffc10608:	7f 9e e0 00 	cmpw    cr7,r30,r28                            <== NOT EXECUTED
ffc1060c:	40 9e ff e8 	bne+    cr7,ffc105f4 <rtems_bdbuf_swapout_task+0x344><== NOT EXECUTED
    worker->enabled = false;                                          
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc10610:	4b ff ea ed 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
  }                                                                   
                                                                      
  rtems_bdbuf_swapout_workers_close ();                               
                                                                      
  free (transfer.write_req);                                          
ffc10614:	80 61 00 2c 	lwz     r3,44(r1)                              <== NOT EXECUTED
ffc10618:	4b ff 57 05 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc1061c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc10620:	4b ff 9f 59 	bl      ffc0a578 <rtems_task_delete>           <== NOT EXECUTED
}                                                                     
ffc10624:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc10628:	82 21 00 3c 	lwz     r17,60(r1)                             <== NOT EXECUTED
ffc1062c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc10630:	82 41 00 40 	lwz     r18,64(r1)                             <== NOT EXECUTED
ffc10634:	82 61 00 44 	lwz     r19,68(r1)                             <== NOT EXECUTED
ffc10638:	82 81 00 48 	lwz     r20,72(r1)                             <== NOT EXECUTED
ffc1063c:	82 a1 00 4c 	lwz     r21,76(r1)                             <== NOT EXECUTED
ffc10640:	82 c1 00 50 	lwz     r22,80(r1)                             <== NOT EXECUTED
ffc10644:	82 e1 00 54 	lwz     r23,84(r1)                             <== NOT EXECUTED
ffc10648:	83 01 00 58 	lwz     r24,88(r1)                             <== NOT EXECUTED
ffc1064c:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc10650:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc10654:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc10658:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc1065c:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc10660:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc10664:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc10668:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc1066c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    if (worker)                                                       
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
ffc10670:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc10674:	60 63 00 14 	ori     r3,r3,20                               <== NOT EXECUTED
ffc10678:	4b ff a4 35 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
ffc1067c:	3f 80 00 00 	lis     r28,0                                  
ffc10680:	3b 9c 29 90 	addi    r28,r28,10640                          
ffc10684:	4b ff fd a0 	b       ffc10424 <rtems_bdbuf_swapout_task+0x174>
                            SWAPOUT_TASK_STACK_SIZE,                  
                            RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                            RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,    
                            &worker->id);                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
ffc10688:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc1068c:	60 63 00 16 	ori     r3,r3,22                               <== NOT EXECUTED
ffc10690:	4b ff a4 1d 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
ffc10694:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc10698:	60 63 00 15 	ori     r3,r3,21                               <== NOT EXECUTED
ffc1069c:	4b ff a4 11 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
    sc = rtems_task_start (worker->id,                                
                           rtems_bdbuf_swapout_worker_task,           
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
ffc106a0:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc106a4:	60 63 00 17 	ori     r3,r3,23                               <== NOT EXECUTED
ffc106a8:	4b ff a4 05 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc106ac <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) {
ffc106ac:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc106b0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc106b4:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc106b8:	88 03 00 0c 	lbz     r0,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)             
{                                                                     
ffc106bc:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
ffc106c0:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc106c4:	2f 80 00 00 	cmpwi   cr7,r0,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)             
{                                                                     
ffc106c8:	93 21 00 0c 	stw     r25,12(r1)                             <== NOT EXECUTED
ffc106cc:	93 41 00 10 	stw     r26,16(r1)                             <== NOT EXECUTED
ffc106d0:	93 61 00 14 	stw     r27,20(r1)                             <== NOT EXECUTED
ffc106d4:	93 81 00 18 	stw     r28,24(r1)                             <== NOT EXECUTED
ffc106d8:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc106dc:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc106e0:	41 9e 00 64 	beq-    cr7,ffc10744 <rtems_bdbuf_swapout_worker_task+0x98><== NOT EXECUTED
ffc106e4:	3f 40 00 00 	lis     r26,0                                  <== NOT EXECUTED
ffc106e8:	3b 83 00 10 	addi    r28,r3,16                              <== NOT EXECUTED
ffc106ec:	3b 23 00 14 	addi    r25,r3,20                              <== NOT EXECUTED
ffc106f0:	3b 5a 29 98 	addi    r26,r26,10648                          <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc106f4:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
    rtems_bdbuf_swapout_write (&worker->transfer);                    
                                                                      
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
ffc106f8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc106fc:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
ffc10700:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc10704:	4b ff eb 11 	bl      ffc0f214 <rtems_bdbuf_wait_for_event>  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
ffc10708:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1070c:	4b ff f9 8d 	bl      ffc10098 <rtems_bdbuf_swapout_write>   <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
ffc10710:	4b ff e7 61 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc10714:	93 3d 00 10 	stw     r25,16(r29)                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc10718:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
  head->previous = NULL;                                              
ffc1071c:	93 7d 00 14 	stw     r27,20(r29)                            <== NOT EXECUTED
ffc10720:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
  tail->previous = head;                                              
ffc10724:	93 9d 00 18 	stw     r28,24(r29)                            <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
ffc10728:	93 dd 00 20 	stw     r30,32(r29)                            <== NOT EXECUTED
ffc1072c:	93 fd 00 24 	stw     r31,36(r29)                            <== NOT EXECUTED
ffc10730:	4b ff a9 ed 	bl      ffc0b11c <_Chain_Append>               <== NOT EXECUTED
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
ffc10734:	4b ff e9 c9 	bl      ffc0f0fc <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)                                             
ffc10738:	88 1d 00 0c 	lbz     r0,12(r29)                             <== NOT EXECUTED
ffc1073c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc10740:	40 9e ff c0 	bne+    cr7,ffc10700 <rtems_bdbuf_swapout_worker_task+0x54><== NOT EXECUTED
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
ffc10744:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc10748:	4b ff 55 d5 	bl      ffc05d1c <free>                        <== NOT EXECUTED
  free (worker);                                                      
ffc1074c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10750:	4b ff 55 cd 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc10754:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc10758:	4b ff 9e 21 	bl      ffc0a578 <rtems_task_delete>           <== NOT EXECUTED
}                                                                     
ffc1075c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc10760:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc10764:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc10768:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc1076c:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc10770:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc10774:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc10778:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc1077c:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc10780:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc10784:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc10098 <rtems_bdbuf_swapout_write>: * * @param transfer The transfer transaction. */ static void rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer) {
ffc10098:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1009c:	7c 08 02 a6 	mflr    r0                                     
ffc100a0:	90 01 00 3c 	stw     r0,60(r1)                              
    printf ("bdbuf:swapout transfer: %08x\n", (unsigned) transfer->dev);
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc100a4:	80 03 00 00 	lwz     r0,0(r3)                               
 *                                                                    
 * @param transfer The transfer transaction.                          
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer)    
{                                                                     
ffc100a8:	93 81 00 28 	stw     r28,40(r1)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc100ac:	3b 83 00 04 	addi    r28,r3,4                               
    printf ("bdbuf:swapout transfer: %08x\n", (unsigned) transfer->dev);
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc100b0:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
 *                                                                    
 * @param transfer The transfer transaction.                          
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer)    
{                                                                     
ffc100b4:	93 e1 00 34 	stw     r31,52(r1)                             
ffc100b8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc100bc:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc100c0:	92 c1 00 10 	stw     r22,16(r1)                             
ffc100c4:	92 e1 00 14 	stw     r23,20(r1)                             
ffc100c8:	93 01 00 18 	stw     r24,24(r1)                             
ffc100cc:	93 21 00 1c 	stw     r25,28(r1)                             
ffc100d0:	93 41 00 20 	stw     r26,32(r1)                             
ffc100d4:	93 61 00 24 	stw     r27,36(r1)                             
ffc100d8:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc100dc:	93 c1 00 30 	stw     r30,48(r1)                             
    printf ("bdbuf:swapout transfer: %08x\n", (unsigned) transfer->dev);
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc100e0:	41 9e 01 20 	beq-    cr7,ffc10200 <rtems_bdbuf_swapout_write+0x168><== NEVER TAKEN
                                                                      
    /*                                                                
     * Obtain the disk device. The cache's mutex has been released to avoid a
     * dead lock.                                                     
     */                                                               
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
ffc100e4:	80 63 00 10 	lwz     r3,16(r3)                              
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
ffc100e8:	3e a0 00 00 	lis     r21,0                                  
                                                                      
    /*                                                                
     * Obtain the disk device. The cache's mutex has been released to avoid a
     * dead lock.                                                     
     */                                                               
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
ffc100ec:	80 9f 00 14 	lwz     r4,20(r31)                             
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
ffc100f0:	3a b5 21 a0 	addi    r21,r21,8608                           
                                                                      
    /*                                                                
     * Obtain the disk device. The cache's mutex has been released to avoid a
     * dead lock.                                                     
     */                                                               
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
ffc100f4:	4b ff 4b 5d 	bl      ffc04c50 <rtems_disk_obtain>           
                                                                      
    if (dd == NULL)                                                   
ffc100f8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc100fc:	41 82 01 ac 	beq-    ffc102a8 <rtems_bdbuf_swapout_write+0x210>
      dd = &null_disk;                                                
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
ffc10100:	3f 60 ff c2 	lis     r27,-62                                
ffc10104:	82 de 00 20 	lwz     r22,32(r30)                            
ffc10108:	3b 7b cf 34 	addi    r27,r27,-12492                         
     * 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;              
ffc1010c:	81 3f 00 1c 	lwz     r9,28(r31)                             
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
ffc10110:	80 1b 00 20 	lwz     r0,32(r27)                             
  {                                                                   
    /*                                                                
     * The last block number used when the driver only supports       
     * continuous blocks in a single request.                         
     */                                                               
    uint32_t last_block = 0;                                          
ffc10114:	3b a0 00 00 	li      r29,0                                  
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
ffc10118:	3a e0 00 00 	li      r23,0                                  
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
ffc1011c:	7e d6 03 96 	divwu   r22,r22,r0                             
     * 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;              
ffc10120:	38 00 00 0c 	li      r0,12                                  
ffc10124:	90 09 00 0c 	stw     r0,12(r9)                              
    transfer->write_req->bufnum = 0;                                  
ffc10128:	38 00 00 00 	li      r0,0                                   
rtems_bdbuf_purge_major (rtems_device_major_number major)             
{                                                                     
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
}                                                                     
ffc1012c:	3b 1e 00 08 	addi    r24,r30,8                              
     * 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;              
    transfer->write_req->bufnum = 0;                                  
ffc10130:	90 09 00 10 	stw     r0,16(r9)                              
rtems_bdbuf_purge_major (rtems_device_major_number major)             
{                                                                     
  dev_t dev = rtems_filesystem_make_dev_t (major, 0);                 
                                                                      
  rtems_bdbuf_purge (rtems_bdbuf_purge_compare_major, dev);           
}                                                                     
ffc10134:	3b 3e 00 28 	addi    r25,r30,40                             
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc10138:	3b 40 00 0c 	li      r26,12                                 
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc1013c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10140:	4b ff b0 35 	bl      ffc0b174 <_Chain_Get>                  
     * trouble waiting to happen.                                     
     */                                                               
    transfer->write_req->status = RTEMS_RESOURCE_IN_USE;              
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
ffc10144:	7c 64 1b 79 	mr.     r4,r3                                  
ffc10148:	41 82 00 9c 	beq-    ffc101e4 <rtems_bdbuf_swapout_write+0x14c><== NEVER TAKEN
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
ffc1014c:	81 3e 00 08 	lwz     r9,8(r30)                              
          transfer->write_req->bufnum &&                              
ffc10150:	80 bf 00 1c 	lwz     r5,28(r31)                             
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
ffc10154:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc10158:	70 09 00 01 	andi.   r9,r0,1                                
ffc1015c:	41 82 00 e0 	beq-    ffc1023c <rtems_bdbuf_swapout_write+0x1a4><== ALWAYS TAKEN
          transfer->write_req->bufnum &&                              
ffc10160:	81 25 00 10 	lwz     r9,16(r5)                              <== NOT EXECUTED
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
ffc10164:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc10168:	40 9e 00 ec 	bne-    cr7,ffc10254 <rtems_bdbuf_swapout_write+0x1bc><== NOT EXECUTED
ffc1016c:	83 a4 00 20 	lwz     r29,32(r4)                             <== NOT EXECUTED
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc10170:	38 09 00 01 	addi    r0,r9,1                                
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
ffc10174:	81 1e 00 20 	lwz     r8,32(r30)                             
        buf->buffer = bd->buffer;                                     
ffc10178:	81 44 00 24 	lwz     r10,36(r4)                             
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc1017c:	54 0b 20 36 	rlwinm  r11,r0,4,0,27                          
ffc10180:	7d 65 5a 14 	add     r11,r5,r11                             
        transfer->write_req->bufnum++;                                
ffc10184:	90 05 00 10 	stw     r0,16(r5)                              
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
ffc10188:	38 e0 00 00 	li      r7,0                                   
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
ffc1018c:	90 8b 00 14 	stw     r4,20(r11)                             
        buf->block  = bd->block;                                      
ffc10190:	93 ab 00 08 	stw     r29,8(r11)                             
        buf->length = dd->block_size;                                 
ffc10194:	91 0b 00 0c 	stw     r8,12(r11)                             
        buf->buffer = bd->buffer;                                     
ffc10198:	91 4b 00 10 	stw     r10,16(r11)                            
      /*                                                              
       * 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) ||                    
ffc1019c:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc101a0:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc101a4:	41 9e 00 14 	beq-    cr7,ffc101b8 <rtems_bdbuf_swapout_write+0x120>
ffc101a8:	81 25 00 10 	lwz     r9,16(r5)                              
ffc101ac:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc101b0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc101b4:	41 9c 00 94 	blt-    cr7,ffc10248 <rtems_bdbuf_swapout_write+0x1b0>
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
ffc101b8:	7f 24 cb 78 	mr      r4,r25                                 
ffc101bc:	38 c0 00 00 	li      r6,0                                   
ffc101c0:	7f 03 c3 78 	mr      r3,r24                                 
ffc101c4:	4b ff fc c1 	bl      ffc0fe84 <rtems_bdbuf_execute_transfer_request.isra.9>
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc101c8:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc101cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc101d0:	93 49 00 0c 	stw     r26,12(r9)                             
        transfer->write_req->bufnum = 0;                              
ffc101d4:	92 e9 00 10 	stw     r23,16(r9)                             
ffc101d8:	4b ff af 9d 	bl      ffc0b174 <_Chain_Get>                  
     * trouble waiting to happen.                                     
     */                                                               
    transfer->write_req->status = RTEMS_RESOURCE_IN_USE;              
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
ffc101dc:	7c 64 1b 79 	mr.     r4,r3                                  
ffc101e0:	40 82 ff 6c 	bne+    ffc1014c <rtems_bdbuf_swapout_write+0xb4>
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
        transfer->write_req->bufnum = 0;                              
      }                                                               
    }                                                                 
                                                                      
    if (dd != &null_disk)                                             
ffc101e4:	7f 9e a8 00 	cmpw    cr7,r30,r21                            
ffc101e8:	41 9e 00 18 	beq-    cr7,ffc10200 <rtems_bdbuf_swapout_write+0x168><== NEVER TAKEN
    {                                                                 
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
ffc101ec:	88 1f 00 18 	lbz     r0,24(r31)                             
ffc101f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc101f4:	40 9e 00 8c 	bne-    cr7,ffc10280 <rtems_bdbuf_swapout_write+0x1e8>
      {                                                               
        /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
        /* How should the error be handled ? */                       
      }                                                               
                                                                      
      rtems_disk_release (dd);                                        
ffc101f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc101fc:	4b ff 4b 09 	bl      ffc04d04 <rtems_disk_release>          
    }                                                                 
  }                                                                   
}                                                                     
ffc10200:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc10204:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc10208:	7c 08 03 a6 	mtlr    r0                                     
ffc1020c:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc10210:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc10214:	83 01 00 18 	lwz     r24,24(r1)                             
ffc10218:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1021c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc10220:	83 61 00 24 	lwz     r27,36(r1)                             
ffc10224:	83 81 00 28 	lwz     r28,40(r1)                             
ffc10228:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1022c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc10230:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc10234:	38 21 00 38 	addi    r1,r1,56                               
ffc10238:	4e 80 00 20 	blr                                            
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
          transfer->write_req->bufnum &&                              
          (bd->block != (last_block + bufs_per_bd)))                  
      {                                                               
        rtems_chain_prepend (&transfer->bds, &bd->link);              
        write = true;                                                 
ffc1023c:	83 a4 00 20 	lwz     r29,32(r4)                             
ffc10240:	81 25 00 10 	lwz     r9,16(r5)                              
ffc10244:	4b ff ff 2c 	b       ffc10170 <rtems_bdbuf_swapout_write+0xd8>
                                                                      
      if (rtems_chain_is_empty (&transfer->bds) ||                    
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
ffc10248:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc1024c:	41 9e fe f0 	beq+    cr7,ffc1013c <rtems_bdbuf_swapout_write+0xa4><== ALWAYS TAKEN
ffc10250:	4b ff ff 68 	b       ffc101b8 <rtems_bdbuf_swapout_write+0x120><== NOT EXECUTED
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
          transfer->write_req->bufnum &&                              
          (bd->block != (last_block + bufs_per_bd)))                  
ffc10254:	80 04 00 20 	lwz     r0,32(r4)                              <== NOT EXECUTED
ffc10258:	7d 7d b2 14 	add     r11,r29,r22                            <== NOT EXECUTED
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
          transfer->write_req->bufnum &&                              
ffc1025c:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
ffc10260:	41 9e 00 18 	beq-    cr7,ffc10278 <rtems_bdbuf_swapout_write+0x1e0><== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc10264:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10268:	48 00 47 51 	bl      ffc149b8 <_Chain_Insert>               <== NOT EXECUTED
ffc1026c:	80 bf 00 1c 	lwz     r5,28(r31)                             <== NOT EXECUTED
          (bd->block != (last_block + bufs_per_bd)))                  
      {                                                               
        rtems_chain_prepend (&transfer->bds, &bd->link);              
        write = true;                                                 
ffc10270:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
ffc10274:	4b ff ff 28 	b       ffc1019c <rtems_bdbuf_swapout_write+0x104><== NOT EXECUTED
                bd->block, transfer->write_req->bufnum,               
                dd->phys_dev->capabilities &                          
                RTEMS_BLKDEV_CAP_MULTISECTOR_CONT ? "MULIT" : "SCAT");
                                                                      
      if ((dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) &&
          transfer->write_req->bufnum &&                              
ffc10278:	7c 1d 03 78 	mr      r29,r0                                 <== NOT EXECUTED
ffc1027c:	4b ff fe f4 	b       ffc10170 <rtems_bdbuf_swapout_write+0xd8><== NOT EXECUTED
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
ffc10280:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc10284:	80 03 00 0c 	lwz     r0,12(r3)                              
    {                                                                 
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
ffc10288:	70 09 00 02 	andi.   r9,r0,2                                
ffc1028c:	41 82 ff 6c 	beq+    ffc101f8 <rtems_bdbuf_swapout_write+0x160><== ALWAYS TAKEN
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
      {                                                               
        /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc10290:	80 1e 00 28 	lwz     r0,40(r30)                             <== NOT EXECUTED
ffc10294:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc10298:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1029c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc102a0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc102a4:	4b ff ff 54 	b       ffc101f8 <rtems_bdbuf_swapout_write+0x160><== NOT EXECUTED
     * dead lock.                                                     
     */                                                               
    rtems_disk_device *dd = rtems_disk_obtain (transfer->dev);        
                                                                      
    if (dd == NULL)                                                   
      dd = &null_disk;                                                
ffc102a8:	7e be ab 78 	mr      r30,r21                                
ffc102ac:	4b ff fe 54 	b       ffc10100 <rtems_bdbuf_swapout_write+0x68>
                                                                      

ffc0f404 <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)));
ffc0f404:	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)                             
{                                                                     
ffc0f408:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f40c:	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)));
ffc0f410:	80 69 cf 38 	lwz     r3,-12488(r9)                          
 *                                                                    
 * @return rtems_blkdev_request* The write reference memory.          
 */                                                                   
static rtems_blkdev_request*                                          
rtems_bdbuf_swapout_writereq_alloc (void)                             
{                                                                     
ffc0f414:	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)));
ffc0f418:	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 =                                   
ffc0f41c:	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)                             
{                                                                     
ffc0f420:	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 =                                   
ffc0f424:	4b ff 6d 15 	bl      ffc06138 <malloc>                      
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
ffc0f428:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0f42c:	41 82 00 3c 	beq-    ffc0f468 <rtems_bdbuf_swapout_writereq_alloc+0x64><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
ffc0f430:	38 00 00 01 	li      r0,1                                   
  write_req->req_done = rtems_bdbuf_transfer_done;                    
  write_req->done_arg = write_req;                                    
ffc0f434:	93 ff 00 08 	stw     r31,8(r31)                             
                                                                      
  if (!write_req)                                                     
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
  write_req->req_done = rtems_bdbuf_transfer_done;                    
ffc0f438:	3d 20 ff c1 	lis     r9,-63                                 
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
ffc0f43c:	90 1f 00 00 	stw     r0,0(r31)                              
  write_req->req_done = rtems_bdbuf_transfer_done;                    
ffc0f440:	38 09 f1 e8 	addi    r0,r9,-3608                            
ffc0f444:	90 1f 00 04 	stw     r0,4(r31)                              
  write_req->done_arg = write_req;                                    
  write_req->io_task = rtems_task_self ();                            
ffc0f448:	48 00 51 61 	bl      ffc145a8 <rtems_task_self>             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0f44c:	80 01 00 14 	lwz     r0,20(r1)                              
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
  write_req->req_done = rtems_bdbuf_transfer_done;                    
  write_req->done_arg = write_req;                                    
  write_req->io_task = rtems_task_self ();                            
ffc0f450:	90 7f 00 14 	stw     r3,20(r31)                             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0f454:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f458:	7c 08 03 a6 	mtlr    r0                                     
ffc0f45c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f460:	38 21 00 10 	addi    r1,r1,16                               
ffc0f464:	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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
ffc0f468:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f46c:	60 63 00 15 	ori     r3,r3,21                               <== NOT EXECUTED
ffc0f470:	4b ff b6 3d 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc118b8 <rtems_bdbuf_sync>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_sync (rtems_bdbuf_buffer *bd) {
ffc118b8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc118bc:	7c 08 02 a6 	mflr    r0                                     
ffc118c0:	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 (!bdbuf_cache.initialised)                                       
ffc118c4:	3f c0 00 00 	lis     r30,0                                  
ffc118c8:	3b de 29 90 	addi    r30,r30,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
ffc118cc:	90 01 00 1c 	stw     r0,28(r1)                              
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc118d0:	88 1e 00 88 	lbz     r0,136(r30)                            
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
ffc118d4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc118d8:	7c 7f 1b 78 	mr      r31,r3                                 
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc118dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
ffc118e0:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc118e4:	38 60 00 16 	li      r3,22                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc118e8:	41 9e 00 4c 	beq-    cr7,ffc11934 <rtems_bdbuf_sync+0x7c>   <== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc118ec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc118f0:	41 9e 00 60 	beq-    cr7,ffc11950 <rtems_bdbuf_sync+0x98>   <== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc118f4:	4b ff d5 7d 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc118f8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc118fc:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc11900:	41 9c 00 14 	blt-    cr7,ffc11914 <rtems_bdbuf_sync+0x5c>   <== NEVER TAKEN
ffc11904:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc11908:	40 9d 00 68 	ble-    cr7,ffc11970 <rtems_bdbuf_sync+0xb8>   
ffc1190c:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc11910:	41 9e 00 14 	beq-    cr7,ffc11924 <rtems_bdbuf_sync+0x6c>   <== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_5);
ffc11914:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc11918:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc1191c:	60 84 00 03 	ori     r4,r4,3                                <== NOT EXECUTED
ffc11920:	4b ff d5 d9 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
    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);                   
ffc11924:	7f e3 fb 78 	mr      r3,r31                                 
ffc11928:	4b ff e2 81 	bl      ffc0fba8 <rtems_bdbuf_discard_buffer_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc1192c:	4b ff d7 d1 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc11930:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11934:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc11938:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1193c:	7c 08 03 a6 	mtlr    r0                                     
ffc11940:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc11944:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc11948:	38 21 00 18 	addi    r1,r1,24                               
ffc1194c:	4e 80 00 20 	blr                                            
ffc11950:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc11954:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc11958:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc1195c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11960:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc11964:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc11968:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1196c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11970:	38 00 00 08 	li      r0,8                                   
ffc11974:	90 1f 00 28 	stw     r0,40(r31)                             
ffc11978:	38 7e 00 5c 	addi    r3,r30,92                              
ffc1197c:	7f e4 fb 78 	mr      r4,r31                                 
ffc11980:	4b ff 97 9d 	bl      ffc0b11c <_Chain_Append>               
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
                                                                      
  if (bd->waiters)                                                    
ffc11984:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc11988:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1198c:	40 9e 00 84 	bne-    cr7,ffc11a10 <rtems_bdbuf_sync+0x158>  
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
ffc11990:	4b ff d8 19 	bl      ffc0f1a8 <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);         
ffc11994:	3b be 00 70 	addi    r29,r30,112                            
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc11998:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc1199c:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc119a0:	40 9c 00 14 	bge-    cr7,ffc119b4 <rtems_bdbuf_sync+0xfc>   <== 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 (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_9);
ffc119a4:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc119a8:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc119ac:	60 84 00 07 	ori     r4,r4,7                                <== NOT EXECUTED
ffc119b0:	4b ff d5 49 	bl      ffc0eef8 <rtems_bdbuf_fatal>           <== NOT EXECUTED
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc119b4:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc119b8:	40 9d 00 1c 	ble-    cr7,ffc119d4 <rtems_bdbuf_sync+0x11c>  
ffc119bc:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc119c0:	41 bd ff e4 	bgt-    cr7,ffc119a4 <rtems_bdbuf_sync+0xec>   <== NEVER TAKEN
      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);         
ffc119c4:	7f e3 fb 78 	mr      r3,r31                                 
ffc119c8:	7f a4 eb 78 	mr      r4,r29                                 
ffc119cc:	4b ff d9 d1 	bl      ffc0f39c <rtems_bdbuf_wait>            
ffc119d0:	4b ff ff c8 	b       ffc11998 <rtems_bdbuf_sync+0xe0>       
  rtems_bdbuf_wait_for_sync_done (bd);                                
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
ffc119d4:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc119d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc119dc:	40 be ff 50 	bne-    cr7,ffc1192c <rtems_bdbuf_sync+0x74>   
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
ffc119e0:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc119e4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc119e8:	41 9e 00 10 	beq-    cr7,ffc119f8 <rtems_bdbuf_sync+0x140>  
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
ffc119ec:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc119f0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc119f4:	40 9e ff 38 	bne+    cr7,ffc1192c <rtems_bdbuf_sync+0x74>   <== NEVER TAKEN
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
ffc119f8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc119fc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11a00:	41 9e 00 1c 	beq-    cr7,ffc11a1c <rtems_bdbuf_sync+0x164>  
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
      rtems_bdbuf_make_free_and_add_to_lru_list (bd);                 
    }                                                                 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc11a04:	38 7e 00 78 	addi    r3,r30,120                             
ffc11a08:	4b ff da 6d 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc11a0c:	4b ff ff 20 	b       ffc1192c <rtems_bdbuf_sync+0x74>       
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc11a10:	38 7e 00 68 	addi    r3,r30,104                             
ffc11a14:	4b ff da 61 	bl      ffc0f474 <rtems_bdbuf_wake>            
ffc11a18:	4b ff ff 78 	b       ffc11990 <rtems_bdbuf_sync+0xd8>       
        && (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);                              
ffc11a1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11a20:	4b ff dc f5 	bl      ffc0f714 <rtems_bdbuf_remove_from_tree>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11a24:	38 00 00 00 	li      r0,0                                   
ffc11a28:	90 1f 00 28 	stw     r0,40(r31)                             
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc11a2c:	38 7e 00 44 	addi    r3,r30,68                              
ffc11a30:	7f e4 fb 78 	mr      r4,r31                                 
ffc11a34:	48 00 2f 85 	bl      ffc149b8 <_Chain_Insert>               
ffc11a38:	4b ff ff cc 	b       ffc11a04 <rtems_bdbuf_sync+0x14c>      
                                                                      

ffc11a3c <rtems_bdbuf_syncdev>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_syncdev (dev_t dev) {
ffc11a3c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11a40:	7c 08 02 a6 	mflr    r0                                     
ffc11a44:	93 a1 00 1c 	stw     r29,28(r1)                             
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11a48:	3f a0 00 00 	lis     r29,0                                  
ffc11a4c:	3b bd 29 90 	addi    r29,r29,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc11a50:	90 01 00 2c 	stw     r0,44(r1)                              
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11a54:	88 1d 00 88 	lbz     r0,136(r29)                            
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc11a58:	93 81 00 18 	stw     r28,24(r1)                             
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc11a5c:	3b 80 00 16 	li      r28,22                                 
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11a60:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
  rtems_status_code  sc = RTEMS_SUCCESSFUL;                           
  rtems_disk_device *dd = NULL;                                       
ffc11a64:	38 00 00 00 	li      r0,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc11a68:	93 c1 00 20 	stw     r30,32(r1)                             
ffc11a6c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc11a70:	93 e1 00 24 	stw     r31,36(r1)                             
ffc11a74:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code  sc = RTEMS_SUCCESSFUL;                           
  rtems_disk_device *dd = NULL;                                       
ffc11a78:	90 01 00 08 	stw     r0,8(r1)                               
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11a7c:	40 9e 00 28 	bne-    cr7,ffc11aa4 <rtems_bdbuf_syncdev+0x68><== ALWAYS TAKEN
  rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);             
  rtems_bdbuf_unlock_sync ();                                         
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc11a80:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc11a84:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc11a88:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc11a8c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11a90:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc11a94:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc11a98:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc11a9c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc11aa0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc11aa4:	38 a0 00 00 	li      r5,0                                   
ffc11aa8:	38 c1 00 08 	addi    r6,r1,8                                
ffc11aac:	38 e0 00 00 	li      r7,0                                   
ffc11ab0:	39 00 00 00 	li      r8,0                                   
ffc11ab4:	4b ff db 21 	bl      ffc0f5d4 <rtems_bdbuf_obtain_disk.part.8>
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:syncdev: %08x\n", (unsigned) dev);                 
                                                                      
  sc = rtems_bdbuf_obtain_disk (dev, 0, &dd, NULL, NULL);             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11ab8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc11abc:	40 a2 ff c4 	bne-    ffc11a80 <rtems_bdbuf_syncdev+0x44>    <== NEVER TAKEN
   * Take the sync lock before locking the cache. Once we have the sync lock we
   * can lock the cache. If another thread has the sync lock it will cause this
   * thread to block until it owns the sync lock then it can own the cache. The
   * sync lock can only be obtained with the cache unlocked.          
   */                                                                 
  rtems_bdbuf_lock_sync ();                                           
ffc11ac0:	4b ff d3 f5 	bl      ffc0eeb4 <rtems_bdbuf_lock_sync>       
  rtems_bdbuf_lock_cache ();                                          
ffc11ac4:	4b ff d3 ad 	bl      ffc0ee70 <rtems_bdbuf_lock_cache>      
   * out task know the id of the requester to wake when done.         
   *                                                                  
   * The swap out task will negate the sync active flag when no more buffers
   * for the device are held on the "modified for sync" queues.       
   */                                                                 
  bdbuf_cache.sync_active    = true;                                  
ffc11ac8:	38 00 00 01 	li      r0,1                                   
ffc11acc:	98 1d 00 30 	stb     r0,48(r29)                             
  bdbuf_cache.sync_requester = rtems_task_self ();                    
ffc11ad0:	48 00 2a d9 	bl      ffc145a8 <rtems_task_self>             
ffc11ad4:	90 7d 00 34 	stw     r3,52(r29)                             
  bdbuf_cache.sync_device    = dev;                                   
ffc11ad8:	93 dd 00 38 	stw     r30,56(r29)                            
ffc11adc:	93 fd 00 3c 	stw     r31,60(r29)                            
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
ffc11ae0:	4b ff d6 c9 	bl      ffc0f1a8 <rtems_bdbuf_wake_swapper>    
  rtems_bdbuf_unlock_cache ();                                        
ffc11ae4:	4b ff d6 19 	bl      ffc0f0fc <rtems_bdbuf_unlock_cache>    
  rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);             
ffc11ae8:	38 60 00 02 	li      r3,2                                   
ffc11aec:	4b ff d7 29 	bl      ffc0f214 <rtems_bdbuf_wait_for_event>  
  rtems_bdbuf_unlock_sync ();                                         
ffc11af0:	4b ff d6 49 	bl      ffc0f138 <rtems_bdbuf_unlock_sync>     
  rtems_bdbuf_release_disk (dd);                                      
ffc11af4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc11af8:	4b ff d6 7d 	bl      ffc0f174 <rtems_bdbuf_release_disk>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc11afc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11b00:	7f 83 e3 78 	mr      r3,r28                                 
ffc11b04:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11b08:	7c 08 03 a6 	mtlr    r0                                     
ffc11b0c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11b10:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11b14:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11b18:	38 21 00 28 	addi    r1,r1,40                               
ffc11b1c:	4e 80 00 20 	blr                                            
                                                                      

ffc0f0fc <rtems_bdbuf_unlock_cache>: * Unlock the cache. */ static void rtems_bdbuf_unlock_cache (void) { rtems_bdbuf_unlock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_UNLOCK);
ffc0f0fc:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Unlock the cache.                                                  
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
ffc0f100:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f104:	7c 08 02 a6 	mflr    r0                                     
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
ffc0f108:	80 69 29 b8 	lwz     r3,10680(r9)                           
/**                                                                   
 * Unlock the cache.                                                  
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
ffc0f10c:	90 01 00 0c 	stw     r0,12(r1)                              
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
ffc0f110:	4b ff b2 11 	bl      ffc0a320 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f114:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f118:	40 9e 00 14 	bne-    cr7,ffc0f12c <rtems_bdbuf_unlock_cache+0x30><== NEVER TAKEN
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
  rtems_bdbuf_unlock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_UNLOCK);
}                                                                     
ffc0f11c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f120:	38 21 00 08 	addi    r1,r1,8                                
ffc0f124:	7c 08 03 a6 	mtlr    r0                                     
ffc0f128:	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_fatal_error_occurred (fatal_error_code);                    
ffc0f12c:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f130:	60 63 00 0e 	ori     r3,r3,14                               <== NOT EXECUTED
ffc0f134:	4b ff b9 79 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f138 <rtems_bdbuf_unlock_sync>: * 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,
ffc0f138:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Unlock the cache's sync lock. Any blocked writers are woken.       
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_sync (void)                                        
{                                                                     
ffc0f13c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f140:	7c 08 02 a6 	mflr    r0                                     
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
ffc0f144:	80 69 29 bc 	lwz     r3,10684(r9)                           
/**                                                                   
 * Unlock the cache's sync lock. Any blocked writers are woken.       
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_sync (void)                                        
{                                                                     
ffc0f148:	90 01 00 0c 	stw     r0,12(r1)                              
 * @param fatal_error_code The error code if the call fails.          
 */                                                                   
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
ffc0f14c:	4b ff b1 d5 	bl      ffc0a320 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f150:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f154:	40 9e 00 14 	bne-    cr7,ffc0f168 <rtems_bdbuf_unlock_sync+0x30><== NEVER TAKEN
static void                                                           
rtems_bdbuf_unlock_sync (void)                                        
{                                                                     
  rtems_bdbuf_unlock (bdbuf_cache.sync_lock,                          
                      RTEMS_BLKDEV_FATAL_BDBUF_SYNC_UNLOCK);          
}                                                                     
ffc0f158:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f15c:	38 21 00 08 	addi    r1,r1,8                                
ffc0f160:	7c 08 03 a6 	mtlr    r0                                     
ffc0f164:	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_fatal_error_occurred (fatal_error_code);                    
ffc0f168:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f16c:	60 63 00 0c 	ori     r3,r3,12                               <== NOT EXECUTED
ffc0f170:	4b ff b9 3d 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f214 <rtems_bdbuf_wait_for_event>: return RTEMS_UNSATISFIED; } static void rtems_bdbuf_wait_for_event (rtems_event_set event) {
ffc0f214:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f218:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0f21c:	38 80 00 00 	li      r4,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0f220:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0f224:	7c 26 0b 78 	mr      r6,r1                                  
ffc0f228:	38 00 00 00 	li      r0,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0f22c:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0f230:	38 a0 00 00 	li      r5,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0f234:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0f238:	94 06 00 08 	stwu    r0,8(r6)                               
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0f23c:	4b ff a7 fd 	bl      ffc09a38 <rtems_event_receive>         
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
ffc0f240:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f244:	40 9e 00 24 	bne-    cr7,ffc0f268 <rtems_bdbuf_wait_for_event+0x54><== NEVER TAKEN
ffc0f248:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0f24c:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0f250:	40 9e 00 18 	bne-    cr7,ffc0f268 <rtems_bdbuf_wait_for_event+0x54><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_WAIT_EVNT);  
}                                                                     
ffc0f254:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f258:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f25c:	38 21 00 20 	addi    r1,r1,32                               
ffc0f260:	7c 08 03 a6 	mtlr    r0                                     
ffc0f264:	4e 80 00 20 	blr                                            
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_WAIT_EVNT);  
ffc0f268:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f26c:	60 63 00 1a 	ori     r3,r3,26                               <== NOT EXECUTED
ffc0f270:	4b ff b8 3d 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f474 <rtems_bdbuf_wake>: * Wake a blocked resource. The resource has a counter that lets us know if * there are any waiters. */ static void rtems_bdbuf_wake (const rtems_bdbuf_waiters *waiters) {
ffc0f474:	7c 08 02 a6 	mflr    r0                                     
ffc0f478:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f47c:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
ffc0f480:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0f484:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f488:	40 9e 00 14 	bne-    cr7,ffc0f49c <rtems_bdbuf_wake+0x28>   
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAKE);
  }                                                                   
}                                                                     
ffc0f48c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f490:	38 21 00 08 	addi    r1,r1,8                                
ffc0f494:	7c 08 03 a6 	mtlr    r0                                     
ffc0f498:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
ffc0f49c:	80 63 00 04 	lwz     r3,4(r3)                               
ffc0f4a0:	48 00 4e 29 	bl      ffc142c8 <rtems_semaphore_flush>       
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0f4a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f4a8:	41 9e ff e4 	beq+    cr7,ffc0f48c <rtems_bdbuf_wake+0x18>   <== ALWAYS TAKEN
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAKE);
ffc0f4ac:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f4b0:	60 63 00 13 	ori     r3,r3,19                               <== NOT EXECUTED
ffc0f4b4:	4b ff b5 f9 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f1a8 <rtems_bdbuf_wake_swapper>: } static void rtems_bdbuf_wake_swapper (void) { rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,
ffc0f1a8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0f1ac:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f1b0:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0f1b4:	38 80 00 04 	li      r4,4                                   
ffc0f1b8:	80 69 29 90 	lwz     r3,10640(r9)                           
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0f1bc:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0f1c0:	4b ff aa 81 	bl      ffc09c40 <rtems_event_send>            
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0f1c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f1c8:	40 9e 00 14 	bne-    cr7,ffc0f1dc <rtems_bdbuf_wake_swapper+0x34><== NEVER TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);    
}                                                                     
ffc0f1cc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f1d0:	38 21 00 08 	addi    r1,r1,8                                
ffc0f1d4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f1d8:	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_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);    
ffc0f1dc:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0f1e0:	60 63 00 14 	ori     r3,r3,20                               <== NOT EXECUTED
ffc0f1e4:	4b ff b8 c9 	bl      ffc0aaac <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc11e78 <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) {
ffc11e78:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11e7c:	7c 08 02 a6 	mflr    r0                                     
ffc11e80:	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;                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc11e84:	3c 00 40 04 	lis     r0,16388                               
ffc11e88:	60 00 42 03 	ori     r0,r0,16899                            
ffc11e8c:	80 85 00 04 	lwz     r4,4(r5)                               
    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;                               
ffc11e90:	81 25 00 00 	lwz     r9,0(r5)                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc11e94:	7f 84 00 00 	cmpw    cr7,r4,r0                              
rtems_device_driver                                                   
rtems_blkdev_generic_ioctl(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11e98:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11e9c:	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;                               
ffc11ea0:	81 29 00 38 	lwz     r9,56(r9)                              
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc11ea4:	41 9e 01 40 	beq-    cr7,ffc11fe4 <rtems_blkdev_generic_ioctl+0x16c><== NEVER TAKEN
ffc11ea8:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc11eac:	40 9d 00 58 	ble-    cr7,ffc11f04 <rtems_blkdev_generic_ioctl+0x8c><== NEVER TAKEN
ffc11eb0:	6c 80 80 04 	xoris   r0,r4,32772                            
ffc11eb4:	2f 80 42 04 	cmpwi   cr7,r0,16900                           
ffc11eb8:	41 9e 00 b0 	beq-    cr7,ffc11f68 <rtems_blkdev_generic_ioctl+0xf0><== ALWAYS TAKEN
ffc11ebc:	6c 80 c0 18 	xoris   r0,r4,49176                            <== NOT EXECUTED
ffc11ec0:	2f 80 42 01 	cmpwi   cr7,r0,16897                           <== NOT EXECUTED
ffc11ec4:	41 9e 00 84 	beq-    cr7,ffc11f48 <rtems_blkdev_generic_ioctl+0xd0><== NOT EXECUTED
ffc11ec8:	6c 80 40 04 	xoris   r0,r4,16388                            <== NOT EXECUTED
ffc11ecc:	2f 80 42 05 	cmpwi   cr7,r0,16901                           <== NOT EXECUTED
ffc11ed0:	41 9e 00 c4 	beq-    cr7,ffc11f94 <rtems_blkdev_generic_ioctl+0x11c><== NOT EXECUTED
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
            break;                                                    
                                                                      
        default:                                                      
            args->ioctl_return = (uint32_t) dd->ioctl(dd->phys_dev,   
ffc11ed4:	80 09 00 28 	lwz     r0,40(r9)                              <== NOT EXECUTED
ffc11ed8:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc11edc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc11ee0:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc11ee4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11ee8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
            break;                                                    
                                                                      
        default:                                                      
            args->ioctl_return = (uint32_t) dd->ioctl(dd->phys_dev,   
ffc11eec:	90 7f 00 0c 	stw     r3,12(r31)                             <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11ef0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11ef4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11ef8:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11efc:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11f00:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc11f04:	6c 80 20 00 	xoris   r0,r4,8192                             <== NOT EXECUTED
ffc11f08:	2f 80 42 06 	cmpwi   cr7,r0,16902                           <== NOT EXECUTED
ffc11f0c:	41 9e 00 b4 	beq-    cr7,ffc11fc0 <rtems_blkdev_generic_ioctl+0x148><== NOT EXECUTED
ffc11f10:	6c 80 40 04 	xoris   r0,r4,16388                            <== NOT EXECUTED
ffc11f14:	2f 80 42 02 	cmpwi   cr7,r0,16898                           <== NOT EXECUTED
ffc11f18:	40 9e ff bc 	bne+    cr7,ffc11ed4 <rtems_blkdev_generic_ioctl+0x5c><== NOT EXECUTED
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *((uint32_t *) args->buffer) = dd->media_block_size;      
ffc11f1c:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f20:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    int rc;                                                           
                                                                      
    switch (args->command)                                            
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *((uint32_t *) args->buffer) = dd->media_block_size;      
ffc11f24:	81 25 00 08 	lwz     r9,8(r5)                               <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f28:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
    int rc;                                                           
                                                                      
    switch (args->command)                                            
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *((uint32_t *) args->buffer) = dd->media_block_size;      
ffc11f2c:	90 09 00 00 	stw     r0,0(r9)                               <== NOT EXECUTED
            args->ioctl_return = 0;                                   
ffc11f30:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc11f34:	90 05 00 0c 	stw     r0,12(r5)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f38:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11f3c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11f40:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11f44:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        case RTEMS_BLKIO_REQUEST:                                     
            /*                                                        
             * It is not allowed to directly access the driver circumventing
             * the cache.                                             
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
ffc11f48:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc11f4c:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f50:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11f54:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11f58:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11f5c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11f60:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11f64:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            *((uint32_t *) args->buffer) = dd->block_size;            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *((uint32_t *) args->buffer);            
ffc11f68:	81 65 00 08 	lwz     r11,8(r5)                              
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f6c:	38 60 00 00 	li      r3,0                                   
ffc11f70:	83 e1 00 0c 	lwz     r31,12(r1)                             
            *((uint32_t *) args->buffer) = dd->block_size;            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *((uint32_t *) args->buffer);            
ffc11f74:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc11f78:	90 09 00 20 	stw     r0,32(r9)                              
            args->ioctl_return = 0;                                   
ffc11f7c:	38 00 00 00 	li      r0,0                                   
ffc11f80:	90 05 00 0c 	stw     r0,12(r5)                              
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f84:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11f88:	38 21 00 10 	addi    r1,r1,16                               
ffc11f8c:	7c 08 03 a6 	mtlr    r0                                     
ffc11f90:	4e 80 00 20 	blr                                            
            dd->block_size = *((uint32_t *) args->buffer);            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
ffc11f94:	80 09 00 1c 	lwz     r0,28(r9)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11f98:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
            dd->block_size = *((uint32_t *) args->buffer);            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
ffc11f9c:	81 25 00 08 	lwz     r9,8(r5)                               <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11fa0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
            dd->block_size = *((uint32_t *) args->buffer);            
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
ffc11fa4:	90 09 00 00 	stw     r0,0(r9)                               <== NOT EXECUTED
            args->ioctl_return = 0;                                   
ffc11fa8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc11fac:	90 05 00 0c 	stw     r0,12(r5)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11fb0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11fb4:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11fb8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11fbc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            rc = rtems_bdbuf_syncdev(dd->dev);                        
ffc11fc0:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc11fc4:	80 89 00 04 	lwz     r4,4(r9)                               <== NOT EXECUTED
ffc11fc8:	4b ff fa 75 	bl      ffc11a3c <rtems_bdbuf_syncdev>         <== NOT EXECUTED
            args->ioctl_return = (uint32_t) (rc == RTEMS_SUCCESSFUL ? 0 : -1);
ffc11fcc:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc11fd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11fd4:	40 9e ff 78 	bne+    cr7,ffc11f4c <rtems_blkdev_generic_ioctl+0xd4><== NOT EXECUTED
ffc11fd8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
        case RTEMS_BLKIO_REQUEST:                                     
            /*                                                        
             * It is not allowed to directly access the driver circumventing
             * the cache.                                             
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
ffc11fdc:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
ffc11fe0:	4b ff ff 70 	b       ffc11f50 <rtems_blkdev_generic_ioctl+0xd8><== NOT EXECUTED
            *((uint32_t *) args->buffer) = dd->media_block_size;      
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
ffc11fe4:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11fe8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
            *((uint32_t *) args->buffer) = dd->media_block_size;      
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
ffc11fec:	81 25 00 08 	lwz     r9,8(r5)                               <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11ff0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
            *((uint32_t *) args->buffer) = dd->media_block_size;      
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
ffc11ff4:	90 09 00 00 	stw     r0,0(r9)                               <== NOT EXECUTED
            args->ioctl_return = 0;                                   
ffc11ff8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc11ffc:	90 05 00 0c 	stw     r0,12(r5)                              <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12000:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc12004:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc12008:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1200c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc11b48 <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) {
ffc11b48:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11b4c:	7c 08 02 a6 	mflr    r0                                     
ffc11b50:	90 01 00 44 	stw     r0,68(r1)                              
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
ffc11b54:	38 00 00 00 	li      r0,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11b58:	93 61 00 2c 	stw     r27,44(r1)                             
    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;                                     
ffc11b5c:	83 65 00 14 	lwz     r27,20(r5)                             
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
ffc11b60:	81 25 00 00 	lwz     r9,0(r5)                               
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11b64:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11b68:	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;                               
ffc11b6c:	81 29 00 38 	lwz     r9,56(r9)                              
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11b70:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11b74:	93 e1 00 3c 	stw     r31,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;                               
    uint32_t block_size = dd->block_size;                             
ffc11b78:	82 e9 00 20 	lwz     r23,32(r9)                             
    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);         
    dev_t dev = dd->dev;                                              
ffc11b7c:	83 c9 00 00 	lwz     r30,0(r9)                              
ffc11b80:	83 e9 00 04 	lwz     r31,4(r9)                              
                                                                      
    args->bytes_moved = 0;                                            
ffc11b84:	39 20 00 00 	li      r9,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11b88:	93 01 00 20 	stw     r24,32(r1)                             
ffc11b8c:	7c b8 2b 78 	mr      r24,r5                                 
ffc11b90:	93 21 00 24 	stw     r25,36(r1)                             
ffc11b94:	93 81 00 30 	stw     r28,48(r1)                             
ffc11b98:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11b9c:	93 41 00 28 	stw     r26,40(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;                             
    char *buf = args->buffer;                                         
ffc11ba0:	83 25 00 10 	lwz     r25,16(r5)                             
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc11ba4:	83 85 00 08 	lwz     r28,8(r5)                              
ffc11ba8:	83 a5 00 0c 	lwz     r29,12(r5)                             
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
ffc11bac:	91 25 00 1c 	stw     r9,28(r5)                              
                                                                      
    while (count > 0)                                                 
ffc11bb0:	41 9e 00 b0 	beq-    cr7,ffc11c60 <rtems_blkdev_generic_read+0x118><== NEVER TAKEN
    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);
ffc11bb4:	38 a0 00 00 	li      r5,0                                   
ffc11bb8:	7e e6 bb 78 	mr      r6,r23                                 
ffc11bbc:	7f 83 e3 78 	mr      r3,r28                                 
ffc11bc0:	7f a4 eb 78 	mr      r4,r29                                 
ffc11bc4:	48 00 95 59 	bl      ffc1b11c <__divdi3>                    
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc11bc8:	7f 83 e3 78 	mr      r3,r28                                 
    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);
ffc11bcc:	7c 9a 23 78 	mr      r26,r4                                 
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc11bd0:	38 a0 00 00 	li      r5,0                                   
ffc11bd4:	7f a4 eb 78 	mr      r4,r29                                 
ffc11bd8:	7e e6 bb 78 	mr      r6,r23                                 
ffc11bdc:	48 00 99 81 	bl      ffc1b55c <__moddi3>                    
ffc11be0:	7c 9c 23 78 	mr      r28,r4                                 
ffc11be4:	48 00 00 50 	b       ffc11c34 <rtems_blkdev_generic_read+0xec>
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc11be8:	81 21 00 08 	lwz     r9,8(r1)                               
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
ffc11bec:	40 9d 00 08 	ble-    cr7,ffc11bf4 <rtems_blkdev_generic_read+0xac><== ALWAYS TAKEN
ffc11bf0:	7f 7d db 78 	mr      r29,r27                                <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc11bf4:	80 89 00 24 	lwz     r4,36(r9)                              
ffc11bf8:	7f a5 eb 78 	mr      r5,r29                                 
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11bfc:	7f 7d d8 50 	subf    r27,r29,r27                            
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc11c00:	7c 84 e2 14 	add     r4,r4,r28                              
ffc11c04:	48 00 63 19 	bl      ffc17f1c <memcpy>                      
        rc = rtems_bdbuf_release(diskbuf);                            
ffc11c08:	80 61 00 08 	lwz     r3,8(r1)                               
        args->bytes_moved += copy;                                    
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
ffc11c0c:	7f 39 ea 14 	add     r25,r25,r29                            
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
ffc11c10:	4b ff fa f9 	bl      ffc11708 <rtems_bdbuf_release>         
        args->bytes_moved += copy;                                    
ffc11c14:	81 38 00 1c 	lwz     r9,28(r24)                             
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11c18:	7c 60 1b 79 	mr.     r0,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;                                    
ffc11c1c:	7f a9 ea 14 	add     r29,r9,r29                             
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11c20:	2f 9b 00 00 	cmpwi   cr7,r27,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;                                    
ffc11c24:	93 b8 00 1c 	stw     r29,28(r24)                            
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11c28:	40 82 00 38 	bne-    ffc11c60 <rtems_blkdev_generic_read+0x118><== NEVER TAKEN
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11c2c:	41 9e 00 34 	beq-    cr7,ffc11c60 <rtems_blkdev_generic_read+0x118><== ALWAYS TAKEN
        args->bytes_moved += copy;                                    
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
ffc11c30:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
    while (count > 0)                                                 
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
ffc11c34:	7f 45 d3 78 	mr      r5,r26                                 
ffc11c38:	38 c1 00 08 	addi    r6,r1,8                                
ffc11c3c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11c40:	7f e4 fb 78 	mr      r4,r31                                 
ffc11c44:	4b ff f7 69 	bl      ffc113ac <rtems_bdbuf_read>            
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
ffc11c48:	7f bc b8 50 	subf    r29,r28,r23                            
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11c4c:	7c 60 1b 79 	mr.     r0,r3                                  
            break;                                                    
        copy = block_size - blkofs;                                   
ffc11c50:	7f 9d d8 40 	cmplw   cr7,r29,r27                            
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc11c54:	7f 23 cb 78 	mr      r3,r25                                 
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
        block++;                                                      
ffc11c58:	3b 5a 00 01 	addi    r26,r26,1                              
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11c5c:	41 82 ff 8c 	beq+    ffc11be8 <rtems_blkdev_generic_read+0xa0><== ALWAYS TAKEN
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc11c60:	7c 03 03 78 	mr      r3,r0                                  
ffc11c64:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11c68:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11c6c:	7c 08 03 a6 	mtlr    r0                                     
ffc11c70:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11c74:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11c78:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11c7c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11c80:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11c84:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11c88:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11c8c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11c90:	38 21 00 40 	addi    r1,r1,64                               
ffc11c94:	4e 80 00 20 	blr                                            
                                                                      

ffc11c98 <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) {
ffc11c98:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11c9c:	7c 08 02 a6 	mflr    r0                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
ffc11ca0:	38 60 00 00 	li      r3,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11ca4:	90 01 00 44 	stw     r0,68(r1)                              
    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);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
ffc11ca8:	38 00 00 00 	li      r0,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11cac:	93 61 00 2c 	stw     r27,44(r1)                             
    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;                                     
ffc11cb0:	83 65 00 14 	lwz     r27,20(r5)                             
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
ffc11cb4:	81 25 00 00 	lwz     r9,0(r5)                               
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11cb8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11cbc:	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;                               
ffc11cc0:	81 29 00 38 	lwz     r9,56(r9)                              
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc11cc4:	93 01 00 20 	stw     r24,32(r1)                             
ffc11cc8:	7c b8 2b 78 	mr      r24,r5                                 
ffc11ccc:	93 21 00 24 	stw     r25,36(r1)                             
ffc11cd0:	93 81 00 30 	stw     r28,48(r1)                             
ffc11cd4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11cd8:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11cdc:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11ce0:	92 c1 00 18 	stw     r22,24(r1)                             
ffc11ce4:	93 41 00 28 	stw     r26,40(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;                             
ffc11ce8:	82 e9 00 20 	lwz     r23,32(r9)                             
    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);         
    dev_t dev = dd->dev;                                              
ffc11cec:	83 c9 00 00 	lwz     r30,0(r9)                              
ffc11cf0:	83 e9 00 04 	lwz     r31,4(r9)                              
    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;                                         
ffc11cf4:	83 25 00 10 	lwz     r25,16(r5)                             
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc11cf8:	83 85 00 08 	lwz     r28,8(r5)                              
ffc11cfc:	83 a5 00 0c 	lwz     r29,12(r5)                             
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
ffc11d00:	90 05 00 1c 	stw     r0,28(r5)                              
                                                                      
    while (count > 0)                                                 
ffc11d04:	41 9e 00 d4 	beq-    cr7,ffc11dd8 <rtems_blkdev_generic_write+0x140><== NEVER TAKEN
    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);
ffc11d08:	38 a0 00 00 	li      r5,0                                   
ffc11d0c:	7e e6 bb 78 	mr      r6,r23                                 
ffc11d10:	7f 83 e3 78 	mr      r3,r28                                 
ffc11d14:	7f a4 eb 78 	mr      r4,r29                                 
ffc11d18:	48 00 94 05 	bl      ffc1b11c <__divdi3>                    
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc11d1c:	7f 83 e3 78 	mr      r3,r28                                 
    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);
ffc11d20:	7c 9a 23 78 	mr      r26,r4                                 
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc11d24:	38 a0 00 00 	li      r5,0                                   
ffc11d28:	7f a4 eb 78 	mr      r4,r29                                 
ffc11d2c:	7e e6 bb 78 	mr      r6,r23                                 
ffc11d30:	48 00 98 2d 	bl      ffc1b55c <__moddi3>                    
ffc11d34:	3b a1 00 08 	addi    r29,r1,8                               
    while (count > 0)                                                 
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc11d38:	7c 9c 23 79 	mr.     r28,r4                                 
ffc11d3c:	41 a2 00 78 	beq+    ffc11db4 <rtems_blkdev_generic_write+0x11c><== ALWAYS TAKEN
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
        else                                                          
            rc = rtems_bdbuf_read(dev, block, &diskbuf);              
ffc11d40:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11d44:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc11d48:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc11d4c:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc11d50:	4b ff f6 5d 	bl      ffc113ac <rtems_bdbuf_read>            <== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11d54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11d58:	40 9e 00 80 	bne-    cr7,ffc11dd8 <rtems_blkdev_generic_write+0x140><== NOT EXECUTED
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
ffc11d5c:	7e dc b8 50 	subf    r22,r28,r23                            
ffc11d60:	7f 96 d8 40 	cmplw   cr7,r22,r27                            
ffc11d64:	40 9d 00 08 	ble-    cr7,ffc11d6c <rtems_blkdev_generic_write+0xd4><== ALWAYS TAKEN
ffc11d68:	7f 76 db 78 	mr      r22,r27                                <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
ffc11d6c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc11d70:	7f 24 cb 78 	mr      r4,r25                                 
ffc11d74:	7e c5 b3 78 	mr      r5,r22                                 
ffc11d78:	80 69 00 24 	lwz     r3,36(r9)                              
ffc11d7c:	7c 63 e2 14 	add     r3,r3,r28                              
ffc11d80:	48 00 61 9d 	bl      ffc17f1c <memcpy>                      
        args->bytes_moved += copy;                                    
ffc11d84:	80 18 00 1c 	lwz     r0,28(r24)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc11d88:	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;                                    
ffc11d8c:	7c 00 b2 14 	add     r0,r0,r22                              
ffc11d90:	90 18 00 1c 	stw     r0,28(r24)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc11d94:	4b ff fa 7d 	bl      ffc11810 <rtems_bdbuf_release_modified>
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11d98:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11d9c:	40 82 00 3c 	bne-    ffc11dd8 <rtems_blkdev_generic_write+0x140><== NEVER TAKEN
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11da0:	7f 76 d8 51 	subf.   r27,r22,r27                            
        rc = rtems_bdbuf_release_modified(diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
ffc11da4:	7f 39 b2 14 	add     r25,r25,r22                            
        blkofs = 0;                                                   
        block++;                                                      
ffc11da8:	3b 5a 00 01 	addi    r26,r26,1                              
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
ffc11dac:	3b 80 00 00 	li      r28,0                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc11db0:	41 82 00 28 	beq-    ffc11dd8 <rtems_blkdev_generic_write+0x140><== ALWAYS TAKEN
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc11db4:	7f 97 d8 40 	cmplw   cr7,r23,r27                            
ffc11db8:	41 9d ff 88 	bgt+    cr7,ffc11d40 <rtems_blkdev_generic_write+0xa8><== NEVER TAKEN
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
ffc11dbc:	7f c3 f3 78 	mr      r3,r30                                 
ffc11dc0:	7f e4 fb 78 	mr      r4,r31                                 
ffc11dc4:	7f 45 d3 78 	mr      r5,r26                                 
ffc11dc8:	7f a6 eb 78 	mr      r6,r29                                 
ffc11dcc:	4b ff f4 bd 	bl      ffc11288 <rtems_bdbuf_get>             
        else                                                          
            rc = rtems_bdbuf_read(dev, block, &diskbuf);              
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc11dd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11dd4:	41 9e ff 88 	beq+    cr7,ffc11d5c <rtems_blkdev_generic_write+0xc4><== ALWAYS TAKEN
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc11dd8:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11ddc:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc11de0:	7c 08 03 a6 	mtlr    r0                                     
ffc11de4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11de8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11dec:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11df0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11df4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11df8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11dfc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11e00:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11e04:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11e08:	38 21 00 40 	addi    r1,r1,64                               
ffc11e0c:	4e 80 00 20 	blr                                            
                                                                      

ffc12010 <rtems_blkdev_ioctl>: int rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
ffc12010:	7c 08 02 a6 	mflr    r0                                     
ffc12014:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc12018:	7c 69 1b 78 	mr      r9,r3                                  
ffc1201c:	90 01 00 0c 	stw     r0,12(r1)                              
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc12020:	3c 00 40 04 	lis     r0,16388                               
ffc12024:	60 00 42 03 	ori     r0,r0,16899                            
ffc12028:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc1202c:	41 9e 00 8c 	beq-    cr7,ffc120b8 <rtems_blkdev_ioctl+0xa8> <== NEVER TAKEN
ffc12030:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc12034:	3c 00 40 04 	lis     r0,16388                               
ffc12038:	41 9d 00 30 	bgt-    cr7,ffc12068 <rtems_blkdev_ioctl+0x58> 
ffc1203c:	60 00 42 02 	ori     r0,r0,16898                            
ffc12040:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc12044:	41 9e 00 90 	beq-    cr7,ffc120d4 <rtems_blkdev_ioctl+0xc4> <== NEVER TAKEN
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc12048:	48 00 52 a9 	bl      ffc172f0 <__errno>                     
ffc1204c:	38 00 00 16 	li      r0,22                                  
ffc12050:	90 03 00 00 	stw     r0,0(r3)                               
            rc = -1;                                                  
ffc12054:	38 60 ff ff 	li      r3,-1                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12058:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1205c:	38 21 00 08 	addi    r1,r1,8                                
ffc12060:	7c 08 03 a6 	mtlr    r0                                     
ffc12064:	4e 80 00 20 	blr                                            
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc12068:	60 00 42 05 	ori     r0,r0,16901                            
ffc1206c:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc12070:	41 9e 00 2c 	beq-    cr7,ffc1209c <rtems_blkdev_ioctl+0x8c> <== NEVER TAKEN
ffc12074:	6c 80 80 04 	xoris   r0,r4,32772                            
ffc12078:	2f 80 42 04 	cmpwi   cr7,r0,16900                           
ffc1207c:	40 9e ff cc 	bne+    cr7,ffc12048 <rtems_blkdev_ioctl+0x38> <== NEVER TAKEN
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
ffc12080:	80 05 00 00 	lwz     r0,0(r5)                               
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
ffc12084:	38 60 00 00 	li      r3,0                                   
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
ffc12088:	90 09 00 20 	stw     r0,32(r9)                              
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1208c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc12090:	38 21 00 08 	addi    r1,r1,8                                
ffc12094:	7c 08 03 a6 	mtlr    r0                                     
ffc12098:	4e 80 00 20 	blr                                            
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
ffc1209c:	80 03 00 1c 	lwz     r0,28(r3)                              <== NOT EXECUTED
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
ffc120a0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
ffc120a4:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc120a8:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc120ac:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc120b0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc120b4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
ffc120b8:	80 03 00 20 	lwz     r0,32(r3)                              <== NOT EXECUTED
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
ffc120bc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
ffc120c0:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc120c4:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc120c8:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc120cc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc120d0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
ffc120d4:	80 03 00 24 	lwz     r0,36(r3)                              <== NOT EXECUTED
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
ffc120d8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
    switch (req)                                                      
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
ffc120dc:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc120e0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc120e4:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc120e8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc120ec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc041b0 <rtems_bsp_cmdline_get_param>: size_t length ) { const char *p; if ( !name )
ffc041b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
ffc041b4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc041b8:	7c 08 02 a6 	mflr    r0                                     
ffc041bc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc041c0:	7c be 2b 78 	mr      r30,r5                                 
ffc041c4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc041c8:	7c 9f 23 78 	mr      r31,r4                                 
ffc041cc:	90 01 00 14 	stw     r0,20(r1)                              
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
ffc041d0:	41 9e 00 c8 	beq-    cr7,ffc04298 <rtems_bsp_cmdline_get_param+0xe8>
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
ffc041d4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc041d8:	41 9e 00 a4 	beq-    cr7,ffc0427c <rtems_bsp_cmdline_get_param+0xcc>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
ffc041dc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc041e0:	41 9e 00 b8 	beq-    cr7,ffc04298 <rtems_bsp_cmdline_get_param+0xe8>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
ffc041e4:	38 00 00 00 	li      r0,0                                   
ffc041e8:	98 04 00 00 	stb     r0,0(r4)                               
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
ffc041ec:	48 00 00 cd 	bl      ffc042b8 <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
ffc041f0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc041f4:	41 82 00 a4 	beq-    ffc04298 <rtems_bsp_cmdline_get_param+0xe8>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc041f8:	88 03 00 00 	lbz     r0,0(r3)                               
ffc041fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04200:	41 9e 00 7c 	beq-    cr7,ffc0427c <rtems_bsp_cmdline_get_param+0xcc><== NEVER TAKEN
ffc04204:	34 fe ff ff 	addic.  r7,r30,-1                              
ffc04208:	7c e9 03 a6 	mtctr   r7                                     
ffc0420c:	41 82 00 70 	beq-    ffc0427c <rtems_bsp_cmdline_get_param+0xcc><== NEVER TAKEN
ffc04210:	39 60 00 00 	li      r11,0                                  
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
ffc04214:	39 20 00 00 	li      r9,0                                   
ffc04218:	39 40 00 00 	li      r10,0                                  
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc0421c:	39 00 00 00 	li      r8,0                                   
ffc04220:	48 00 00 30 	b       ffc04250 <rtems_bsp_cmdline_get_param+0xa0>
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc04224:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc04228:	40 82 00 08 	bne-    ffc04230 <rtems_bsp_cmdline_get_param+0x80>
ffc0422c:	41 9e 00 50 	beq-    cr7,ffc0427c <rtems_bsp_cmdline_get_param+0xcc>
      break;                                                          
    value[i++] = *p++;                                                
ffc04230:	39 29 00 01 	addi    r9,r9,1                                
ffc04234:	7c 1f 59 ae 	stbx    r0,r31,r11                             
    value[i] = '\0';                                                  
ffc04238:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0423c:	7d 1f 49 ae 	stbx    r8,r31,r9                              
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04240:	8c 03 00 01 	lbzu    r0,1(r3)                               
ffc04244:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04248:	41 9e 00 34 	beq-    cr7,ffc0427c <rtems_bsp_cmdline_get_param+0xcc>
ffc0424c:	42 40 00 30 	bdz-    ffc0427c <rtems_bsp_cmdline_get_param+0xcc>
    if ( *p == '\"' ) {                                               
ffc04250:	2f 80 00 22 	cmpwi   cr7,r0,34                              
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc04254:	71 47 00 01 	andi.   r7,r10,1                               
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
ffc04258:	40 9e ff cc 	bne+    cr7,ffc04224 <rtems_bsp_cmdline_get_param+0x74>
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
ffc0425c:	39 29 00 01 	addi    r9,r9,1                                
ffc04260:	7c 1f 59 ae 	stbx    r0,r31,r11                             
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
ffc04264:	39 4a 00 01 	addi    r10,r10,1                              
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc04268:	7d 1f 49 ae 	stbx    r8,r31,r9                              
ffc0426c:	7d 2b 4b 78 	mr      r11,r9                                 
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04270:	8c 03 00 01 	lbzu    r0,1(r3)                               
ffc04274:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04278:	40 9e ff d4 	bne+    cr7,ffc0424c <rtems_bsp_cmdline_get_param+0x9c><== ALWAYS TAKEN
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
ffc0427c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04280:	7f e3 fb 78 	mr      r3,r31                                 
ffc04284:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04288:	7c 08 03 a6 	mtlr    r0                                     
ffc0428c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04290:	38 21 00 10 	addi    r1,r1,16                               
ffc04294:	4e 80 00 20 	blr                                            
ffc04298:	80 01 00 14 	lwz     r0,20(r1)                              
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    return NULL;                                                      
ffc0429c:	3b e0 00 00 	li      r31,0                                  
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
ffc042a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc042a4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc042a8:	7c 08 03 a6 	mtlr    r0                                     
ffc042ac:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc042b0:	38 21 00 10 	addi    r1,r1,16                               
ffc042b4:	4e 80 00 20 	blr                                            
                                                                      

ffc09e40 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc09e40:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc09e44:	7c 08 02 a6 	mflr    r0                                     
ffc09e48:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc09e4c:	90 01 00 34 	stw     r0,52(r1)                              
ffc09e50:	93 61 00 1c 	stw     r27,28(r1)                             
ffc09e54:	7c db 33 78 	mr      r27,r6                                 
ffc09e58:	93 81 00 20 	stw     r28,32(r1)                             
ffc09e5c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc09e60:	93 a1 00 24 	stw     r29,36(r1)                             
ffc09e64:	7c 9d 23 78 	mr      r29,r4                                 
ffc09e68:	93 c1 00 28 	stw     r30,40(r1)                             
ffc09e6c:	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 );                                     
ffc09e70:	7f 83 e3 78 	mr      r3,r28                                 
ffc09e74:	48 00 07 89 	bl      ffc0a5fc <_Chain_Get>                  
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e78:	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                    
ffc09e7c:	7c 7f 1b 79 	mr.     r31,r3                                 
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e80:	7f c5 f3 78 	mr      r5,r30                                 
ffc09e84:	38 c1 00 08 	addi    r6,r1,8                                
ffc09e88:	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                    
ffc09e8c:	40 82 00 38 	bne-    ffc09ec4 <rtems_chain_get_with_wait+0x84>
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e90:	4b ff ef f9 	bl      ffc08e88 <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc09e94:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09e98:	41 82 ff d8 	beq+    ffc09e70 <rtems_chain_get_with_wait+0x30><== NEVER TAKEN
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09e9c:	80 01 00 34 	lwz     r0,52(r1)                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc09ea0:	93 fb 00 00 	stw     r31,0(r27)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc09ea4:	7c 08 03 a6 	mtlr    r0                                     
ffc09ea8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09eac:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09eb0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09eb4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09eb8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09ebc:	38 21 00 30 	addi    r1,r1,48                               
ffc09ec0:	4e 80 00 20 	blr                                            
ffc09ec4:	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                    
ffc09ec8:	38 60 00 00 	li      r3,0                                   
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc09ecc:	93 fb 00 00 	stw     r31,0(r27)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc09ed0:	7c 08 03 a6 	mtlr    r0                                     
ffc09ed4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09ed8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09edc:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09ee0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09ee4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09ee8:	38 21 00 30 	addi    r1,r1,48                               
ffc09eec:	4e 80 00 20 	blr                                            
                                                                      

ffc05138 <rtems_cpu_usage_report_with_plugin>: */ void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc05138:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc0513c:	7c 08 02 a6 	mflr    r0                                     
ffc05140:	90 01 00 94 	stw     r0,148(r1)                             
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc05144:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc05148:	93 a1 00 84 	stw     r29,132(r1)                            
ffc0514c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc05150:	92 a1 00 64 	stw     r21,100(r1)                            
ffc05154:	92 c1 00 68 	stw     r22,104(r1)                            
ffc05158:	92 e1 00 6c 	stw     r23,108(r1)                            
ffc0515c:	93 01 00 70 	stw     r24,112(r1)                            
ffc05160:	93 21 00 74 	stw     r25,116(r1)                            
ffc05164:	93 41 00 78 	stw     r26,120(r1)                            
ffc05168:	93 61 00 7c 	stw     r27,124(r1)                            
ffc0516c:	93 81 00 80 	stw     r28,128(r1)                            
ffc05170:	93 c1 00 88 	stw     r30,136(r1)                            
ffc05174:	93 e1 00 8c 	stw     r31,140(r1)                            
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc05178:	90 01 00 58 	stw     r0,88(r1)                              
ffc0517c:	41 82 01 e8 	beq-    ffc05364 <rtems_cpu_usage_report_with_plugin+0x22c><== NEVER TAKEN
   *  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;            
ffc05180:	3d 20 00 00 	lis     r9,0                                   
ffc05184:	39 29 28 94 	addi    r9,r9,10388                            
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
ffc05188:	38 00 00 00 	li      r0,0                                   
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
ffc0518c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc05190:	81 69 00 04 	lwz     r11,4(r9)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc05194:	3c 80 ff c2 	lis     r4,-62                                 
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
ffc05198:	90 01 00 30 	stw     r0,48(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc0519c:	38 84 16 30 	addi    r4,r4,5680                             
ffc051a0:	3f 00 00 00 	lis     r24,0                                  
   *  When not using nanosecond CPU usage resolution, we have to count
   *  the number of "ticks" we gave credit for to give the user a rough
   *  guideline as to what each number means proportionally.          
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &total );                                 
ffc051a4:	90 01 00 34 	stw     r0,52(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc051a8:	3b 18 30 00 	addi    r24,r24,12288                          
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc051ac:	3f 40 ff c2 	lis     r26,-62                                
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc051b0:	80 01 00 58 	lwz     r0,88(r1)                              
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc051b4:	3f 60 ff c2 	lis     r27,-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;            
ffc051b8:	91 41 00 20 	stw     r10,32(r1)                             
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc051bc:	3f 80 10 62 	lis     r28,4194                               
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc051c0:	7c 09 03 a6 	mtctr   r0                                     
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc051c4:	3f 20 00 00 	lis     r25,0                                  
   *  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;            
ffc051c8:	91 61 00 24 	stw     r11,36(r1)                             
#endif                                                                
                                                                      
/*                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
ffc051cc:	3a f8 00 0c 	addi    r23,r24,12                             
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc051d0:	3b 5a 17 a4 	addi    r26,r26,6052                           
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc051d4:	3b 7b 17 b8 	addi    r27,r27,6072                           
ffc051d8:	63 9c 4d d3 	ori     r28,r28,19923                          
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc051dc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc051e0:	4e 80 04 21 	bctrl                                          
     "------------+----------------------------------------+---------------+---------\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 ] )                 
ffc051e4:	85 38 00 04 	lwzu    r9,4(r24)                              
ffc051e8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc051ec:	41 9e 01 3c 	beq-    cr7,ffc05328 <rtems_cpu_usage_report_with_plugin+0x1f0>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc051f0:	83 c9 00 04 	lwz     r30,4(r9)                              
    if ( information ) {                                              
ffc051f4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc051f8:	41 9e 01 30 	beq-    cr7,ffc05328 <rtems_cpu_usage_report_with_plugin+0x1f0><== NEVER TAKEN
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc051fc:	a1 7e 00 10 	lhz     r11,16(r30)                            
ffc05200:	71 60 ff ff 	andi.   r0,r11,65535                           
ffc05204:	41 82 01 24 	beq-    ffc05328 <rtems_cpu_usage_report_with_plugin+0x1f0><== NEVER TAKEN
ffc05208:	3b e0 00 01 	li      r31,1                                  
ffc0520c:	48 00 00 70 	b       ffc0527c <rtems_cpu_usage_report_with_plugin+0x144>
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
ffc05210:	48 00 6f 89 	bl      ffc0c198 <_TOD_Get_uptime>             
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
ffc05214:	38 61 00 20 	addi    r3,r1,32                               
ffc05218:	38 81 00 38 	addi    r4,r1,56                               
ffc0521c:	38 a1 00 30 	addi    r5,r1,48                               
ffc05220:	48 00 9d b1 	bl      ffc0efd0 <_Timespec_Subtract>          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc05224:	7e a3 ab 78 	mr      r3,r21                                 
ffc05228:	38 81 00 30 	addi    r4,r1,48                               
ffc0522c:	38 a1 00 0c 	addi    r5,r1,12                               
ffc05230:	38 c1 00 08 	addi    r6,r1,8                                
ffc05234:	48 00 9c 91 	bl      ffc0eec4 <_Timespec_Divide>            
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc05238:	80 c1 00 2c 	lwz     r6,44(r1)                              
ffc0523c:	80 01 00 58 	lwz     r0,88(r1)                              
ffc05240:	7f a3 eb 78 	mr      r3,r29                                 
ffc05244:	7c c6 e0 16 	mulhwu  r6,r6,r28                              
ffc05248:	80 a1 00 28 	lwz     r5,40(r1)                              
ffc0524c:	80 e1 00 0c 	lwz     r7,12(r1)                              
ffc05250:	7c 09 03 a6 	mtctr   r0                                     
ffc05254:	7f 64 db 78 	mr      r4,r27                                 
ffc05258:	81 01 00 08 	lwz     r8,8(r1)                               
ffc0525c:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc05260:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05264:	4e 80 04 21 	bctrl                                          
ffc05268:	a1 7e 00 10 	lhz     r11,16(r30)                            
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc0526c:	3b ff 00 01 	addi    r31,r31,1                              
ffc05270:	55 60 04 3e 	clrlwi  r0,r11,16                              
ffc05274:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc05278:	41 9c 00 b0 	blt-    cr7,ffc05328 <rtems_cpu_usage_report_with_plugin+0x1f0>
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc0527c:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc05280:	57 e0 10 3a 	rlwinm  r0,r31,2,0,29                          
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc05284:	38 a1 00 40 	addi    r5,r1,64                               
    #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 ]; 
ffc05288:	7e c9 00 2e 	lwzx    r22,r9,r0                              
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc0528c:	38 80 00 0d 	li      r4,13                                  
ffc05290:	3a a1 00 28 	addi    r21,r1,40                              
    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 )                                            
ffc05294:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc05298:	41 be ff d4 	beq-    cr7,ffc0526c <rtems_cpu_usage_report_with_plugin+0x134><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc0529c:	80 76 00 08 	lwz     r3,8(r22)                              
ffc052a0:	48 00 54 45 	bl      ffc0a6e4 <rtems_object_get_name>       
                                                                      
        (*print)(                                                     
ffc052a4:	80 01 00 58 	lwz     r0,88(r1)                              
ffc052a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc052ac:	80 b6 00 08 	lwz     r5,8(r22)                              
ffc052b0:	7c 09 03 a6 	mtctr   r0                                     
ffc052b4:	7f 44 d3 78 	mr      r4,r26                                 
ffc052b8:	38 c1 00 40 	addi    r6,r1,64                               
ffc052bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc052c0:	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 ) {  
ffc052c4:	39 39 32 18 	addi    r9,r25,12824                           
ffc052c8:	81 69 00 0c 	lwz     r11,12(r9)                             
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
ffc052cc:	38 61 00 38 	addi    r3,r1,56                               
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc052d0:	81 16 00 08 	lwz     r8,8(r22)                              
ffc052d4:	80 0b 00 08 	lwz     r0,8(r11)                              
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc052d8:	81 56 00 84 	lwz     r10,132(r22)                           
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc052dc:	7f 88 00 00 	cmpw    cr7,r8,r0                              
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc052e0:	81 76 00 88 	lwz     r11,136(r22)                           
ffc052e4:	91 41 00 28 	stw     r10,40(r1)                             
ffc052e8:	91 61 00 2c 	stw     r11,44(r1)                             
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc052ec:	40 9e ff 24 	bne+    cr7,ffc05210 <rtems_cpu_usage_report_with_plugin+0xd8>
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
ffc052f0:	81 49 00 1c 	lwz     r10,28(r9)                             
          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 );             
            _Timestamp_Add_to( &ran, &used );                         
ffc052f4:	3a a1 00 28 	addi    r21,r1,40                              
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
ffc052f8:	81 69 00 20 	lwz     r11,32(r9)                             
ffc052fc:	91 41 00 18 	stw     r10,24(r1)                             
ffc05300:	91 61 00 1c 	stw     r11,28(r1)                             
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( is_executing_on_a_core( the_thread, &last ) ) {        
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
ffc05304:	48 00 6e 95 	bl      ffc0c198 <_TOD_Get_uptime>             
            _Timestamp_Subtract( &last, &uptime, &used );             
ffc05308:	38 61 00 18 	addi    r3,r1,24                               
ffc0530c:	38 81 00 38 	addi    r4,r1,56                               
ffc05310:	38 a1 00 10 	addi    r5,r1,16                               
ffc05314:	48 00 9c bd 	bl      ffc0efd0 <_Timespec_Subtract>          
            _Timestamp_Add_to( &ran, &used );                         
ffc05318:	7e a3 ab 78 	mr      r3,r21                                 
ffc0531c:	38 81 00 10 	addi    r4,r1,16                               
ffc05320:	48 00 9b 49 	bl      ffc0ee68 <_Timespec_Add_to>            
ffc05324:	4b ff fe f0 	b       ffc05214 <rtems_cpu_usage_report_with_plugin+0xdc>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc05328:	7f 98 b8 00 	cmpw    cr7,r24,r23                            
ffc0532c:	40 9e fe b8 	bne+    cr7,ffc051e4 <rtems_cpu_usage_report_with_plugin+0xac>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
ffc05330:	3c 00 10 62 	lis     r0,4194                                
ffc05334:	80 c1 00 34 	lwz     r6,52(r1)                              
ffc05338:	60 00 4d d3 	ori     r0,r0,19923                            
ffc0533c:	80 a1 00 30 	lwz     r5,48(r1)                              
ffc05340:	7c c6 00 16 	mulhwu  r6,r6,r0                               
ffc05344:	80 01 00 58 	lwz     r0,88(r1)                              
ffc05348:	3c 80 ff c2 	lis     r4,-62                                 
ffc0534c:	7c 09 03 a6 	mtctr   r0                                     
ffc05350:	7f a3 eb 78 	mr      r3,r29                                 
ffc05354:	38 84 17 d0 	addi    r4,r4,6096                             
ffc05358:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc0535c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05360:	4e 80 04 21 	bctrl                                          
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
ffc05364:	80 01 00 94 	lwz     r0,148(r1)                             
ffc05368:	82 a1 00 64 	lwz     r21,100(r1)                            
ffc0536c:	7c 08 03 a6 	mtlr    r0                                     
ffc05370:	82 c1 00 68 	lwz     r22,104(r1)                            
ffc05374:	82 e1 00 6c 	lwz     r23,108(r1)                            
ffc05378:	83 01 00 70 	lwz     r24,112(r1)                            
ffc0537c:	83 21 00 74 	lwz     r25,116(r1)                            
ffc05380:	83 41 00 78 	lwz     r26,120(r1)                            
ffc05384:	83 61 00 7c 	lwz     r27,124(r1)                            
ffc05388:	83 81 00 80 	lwz     r28,128(r1)                            
ffc0538c:	83 a1 00 84 	lwz     r29,132(r1)                            
ffc05390:	83 c1 00 88 	lwz     r30,136(r1)                            
ffc05394:	83 e1 00 8c 	lwz     r31,140(r1)                            
ffc05398:	38 21 00 90 	addi    r1,r1,144                              
ffc0539c:	4e 80 00 20 	blr                                            
                                                                      

ffc12ae4 <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
ffc12ae4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12ae8:	7c 08 02 a6 	mflr    r0                                     
ffc12aec:	90 01 00 14 	stw     r0,20(r1)                              
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc12af0:	7c 60 1b 79 	mr.     r0,r3                                  
    return 0;                                                         
ffc12af4:	38 60 00 00 	li      r3,0                                   
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc12af8:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc12afc:	40 82 00 18 	bne-    ffc12b14 <rtems_deviceio_errno+0x30>   
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
ffc12b00:	80 01 00 14 	lwz     r0,20(r1)                              
ffc12b04:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12b08:	38 21 00 10 	addi    r1,r1,16                               
ffc12b0c:	7c 08 03 a6 	mtlr    r0                                     
ffc12b10:	4e 80 00 20 	blr                                            
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc12b14:	2b 80 00 1c 	cmplwi  cr7,r0,28                              
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
ffc12b18:	3b e0 00 16 	li      r31,22                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc12b1c:	41 9d 00 14 	bgt-    cr7,ffc12b30 <rtems_deviceio_errno+0x4c><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
ffc12b20:	3d 20 ff c2 	lis     r9,-62                                 
ffc12b24:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc12b28:	39 29 f7 44 	addi    r9,r9,-2236                            
ffc12b2c:	7f e9 00 2e 	lwzx    r31,r9,r0                              
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc12b30:	48 00 00 2d 	bl      ffc12b5c <__errno>                     
ffc12b34:	93 e3 00 00 	stw     r31,0(r3)                              
                                                                      
    return -1;                                                        
ffc12b38:	38 60 ff ff 	li      r3,-1                                  
ffc12b3c:	4b ff ff c4 	b       ffc12b00 <rtems_deviceio_errno+0x1c>   
                                                                      

ffc04844 <rtems_disk_create_log>: dev_t phys, rtems_blkdev_bnum begin_block, rtems_blkdev_bnum block_count, const char *name ) {
ffc04844:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc04848:	7c 08 02 a6 	mflr    r0                                     
ffc0484c:	90 01 00 44 	stw     r0,68(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
ffc04850:	38 00 00 00 	li      r0,0                                   
  dev_t phys,                                                         
  rtems_blkdev_bnum begin_block,                                      
  rtems_blkdev_bnum block_count,                                      
  const char *name                                                    
)                                                                     
{                                                                     
ffc04854:	93 21 00 24 	stw     r25,36(r1)                             
ffc04858:	7d 39 4b 78 	mr      r25,r9                                 
ffc0485c:	93 41 00 28 	stw     r26,40(r1)                             
ffc04860:	7c ba 2b 78 	mr      r26,r5                                 
ffc04864:	93 61 00 2c 	stw     r27,44(r1)                             
ffc04868:	7c db 33 78 	mr      r27,r6                                 
ffc0486c:	93 81 00 30 	stw     r28,48(r1)                             
ffc04870:	7d 1c 43 78 	mr      r28,r8                                 
ffc04874:	93 a1 00 34 	stw     r29,52(r1)                             
ffc04878:	7c fd 3b 78 	mr      r29,r7                                 
ffc0487c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc04880:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04884:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc04888:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
ffc0488c:	90 01 00 08 	stw     r0,8(r1)                               
  rtems_blkdev_bnum end_block = begin_block + block_count;            
                                                                      
  sc = disk_lock();                                                   
ffc04890:	4b ff fb c9 	bl      ffc04458 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04894:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04898:	41 82 00 30 	beq-    ffc048c8 <rtems_disk_create_log+0x84>  <== ALWAYS TAKEN
  ++physical_disk->uses;                                              
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0489c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc048a0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc048a4:	7c 08 03 a6 	mtlr    r0                                     
ffc048a8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc048ac:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc048b0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc048b4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc048b8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc048bc:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc048c0:	38 21 00 40 	addi    r1,r1,64                               
ffc048c4:	4e 80 00 20 	blr                                            
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
ffc048c8:	7f 43 d3 78 	mr      r3,r26                                 
ffc048cc:	7f 64 db 78 	mr      r4,r27                                 
ffc048d0:	38 a0 00 01 	li      r5,1                                   
ffc048d4:	4b ff fa 8d 	bl      ffc04360 <get_disk_entry>              
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
ffc048d8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc048dc:	41 82 00 10 	beq-    ffc048ec <rtems_disk_create_log+0xa8>  
ffc048e0:	80 1a 00 08 	lwz     r0,8(r26)                              
ffc048e4:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc048e8:	41 9e 00 38 	beq-    cr7,ffc04920 <rtems_disk_create_log+0xdc>
    disk_unlock();                                                    
ffc048ec:	4b ff fb d5 	bl      ffc044c0 <disk_unlock>                 
  ++physical_disk->uses;                                              
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc048f0:	80 01 00 44 	lwz     r0,68(r1)                              
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
ffc048f4:	38 60 00 04 	li      r3,4                                   
  ++physical_disk->uses;                                              
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc048f8:	83 21 00 24 	lwz     r25,36(r1)                             
ffc048fc:	7c 08 03 a6 	mtlr    r0                                     
ffc04900:	83 41 00 28 	lwz     r26,40(r1)                             
ffc04904:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc04908:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0490c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04910:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04914:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc04918:	38 21 00 40 	addi    r1,r1,64                               
ffc0491c:	4e 80 00 20 	blr                                            
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  if (                                                                
    begin_block >= physical_disk->size                                
ffc04920:	80 1a 00 1c 	lwz     r0,28(r26)                             
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  if (                                                                
ffc04924:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc04928:	40 9c 00 10 	bge-    cr7,ffc04938 <rtems_disk_create_log+0xf4>
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_blkdev_bnum end_block = begin_block + block_count;            
ffc0492c:	7d 3c ea 14 	add     r9,r28,r29                             
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  if (                                                                
    begin_block >= physical_disk->size                                
      || end_block <= begin_block                                     
ffc04930:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc04934:	41 9c 00 10 	blt-    cr7,ffc04944 <rtems_disk_create_log+0x100><== ALWAYS TAKEN
      || end_block > physical_disk->size                              
  ) {                                                                 
    disk_unlock();                                                    
ffc04938:	4b ff fb 89 	bl      ffc044c0 <disk_unlock>                 
                                                                      
    return RTEMS_INVALID_NUMBER;                                      
ffc0493c:	38 60 00 0a 	li      r3,10                                  
ffc04940:	4b ff ff 5c 	b       ffc0489c <rtems_disk_create_log+0x58>  
  }                                                                   
                                                                      
  if (                                                                
    begin_block >= physical_disk->size                                
      || end_block <= begin_block                                     
      || end_block > physical_disk->size                              
ffc04944:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc04948:	41 9d ff f0 	bgt+    cr7,ffc04938 <rtems_disk_create_log+0xf4>
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
ffc0494c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04950:	7f e4 fb 78 	mr      r4,r31                                 
ffc04954:	7f 25 cb 78 	mr      r5,r25                                 
ffc04958:	38 c1 00 08 	addi    r6,r1,8                                
ffc0495c:	4b ff fb ad 	bl      ffc04508 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04960:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04964:	40 82 00 3c 	bne-    ffc049a0 <rtems_disk_create_log+0x15c> 
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
  dd->ioctl = physical_disk->ioctl;                                   
  dd->driver_data = physical_disk->driver_data;                       
                                                                      
  ++physical_disk->uses;                                              
ffc04968:	81 7a 00 14 	lwz     r11,20(r26)                            
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
ffc0496c:	81 21 00 08 	lwz     r9,8(r1)                               
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
ffc04970:	80 1a 00 20 	lwz     r0,32(r26)                             
  dd->ioctl = physical_disk->ioctl;                                   
  dd->driver_data = physical_disk->driver_data;                       
                                                                      
  ++physical_disk->uses;                                              
ffc04974:	39 6b 00 01 	addi    r11,r11,1                              
                                                                      
  dd->phys_dev = physical_disk;                                       
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
  dd->ioctl = physical_disk->ioctl;                                   
ffc04978:	81 1a 00 28 	lwz     r8,40(r26)                             
  dd->driver_data = physical_disk->driver_data;                       
ffc0497c:	81 5a 00 2c 	lwz     r10,44(r26)                            
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
ffc04980:	93 49 00 08 	stw     r26,8(r9)                              
  dd->start = begin_block;                                            
ffc04984:	93 a9 00 18 	stw     r29,24(r9)                             
  dd->size = block_count;                                             
ffc04988:	93 89 00 1c 	stw     r28,28(r9)                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
ffc0498c:	90 09 00 24 	stw     r0,36(r9)                              
ffc04990:	90 09 00 20 	stw     r0,32(r9)                              
  dd->ioctl = physical_disk->ioctl;                                   
ffc04994:	91 09 00 28 	stw     r8,40(r9)                              
  dd->driver_data = physical_disk->driver_data;                       
ffc04998:	91 49 00 2c 	stw     r10,44(r9)                             
                                                                      
  ++physical_disk->uses;                                              
ffc0499c:	91 7a 00 14 	stw     r11,20(r26)                            
                                                                      
  disk_unlock();                                                      
ffc049a0:	90 61 00 18 	stw     r3,24(r1)                              
ffc049a4:	4b ff fb 1d 	bl      ffc044c0 <disk_unlock>                 
ffc049a8:	80 61 00 18 	lwz     r3,24(r1)                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc049ac:	4b ff fe f0 	b       ffc0489c <rtems_disk_create_log+0x58>  
                                                                      

ffc04734 <rtems_disk_create_phys>: rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name ) {
ffc04734:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04738:	7c 08 02 a6 	mflr    r0                                     
ffc0473c:	93 c1 00 30 	stw     r30,48(r1)                             
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
ffc04740:	7c fe 3b 79 	mr.     r30,r7                                 
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc04744:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_disk_device *dd = NULL;                                       
ffc04748:	38 00 00 00 	li      r0,0                                   
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc0474c:	93 41 00 20 	stw     r26,32(r1)                             
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc04750:	3b 40 00 09 	li      r26,9                                  
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc04754:	93 61 00 24 	stw     r27,36(r1)                             
ffc04758:	7c db 33 78 	mr      r27,r6                                 
ffc0475c:	93 81 00 28 	stw     r28,40(r1)                             
ffc04760:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04764:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04768:	7c 9d 23 78 	mr      r29,r4                                 
ffc0476c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04770:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_disk_device *dd = NULL;                                       
ffc04774:	90 01 00 08 	stw     r0,8(r1)                               
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
ffc04778:	41 82 00 10 	beq-    ffc04788 <rtems_disk_create_phys+0x54> 
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  if (block_size == 0) {                                              
ffc0477c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_NUMBER;                                      
ffc04780:	3b 40 00 0a 	li      r26,10                                 
                                                                      
  if (handler == NULL) {                                              
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  if (block_size == 0) {                                              
ffc04784:	40 9e 00 30 	bne-    cr7,ffc047b4 <rtems_disk_create_phys+0x80>
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04788:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0478c:	7f 43 d3 78 	mr      r3,r26                                 
ffc04790:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04794:	7c 08 03 a6 	mtlr    r0                                     
ffc04798:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0479c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc047a0:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc047a4:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc047a8:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc047ac:	38 21 00 38 	addi    r1,r1,56                               
ffc047b0:	4e 80 00 20 	blr                                            
                                                                      
  if (block_size == 0) {                                              
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc047b4:	91 21 00 18 	stw     r9,24(r1)                              
ffc047b8:	91 01 00 1c 	stw     r8,28(r1)                              
ffc047bc:	4b ff fc 9d 	bl      ffc04458 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc047c0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc047c4:	81 21 00 18 	lwz     r9,24(r1)                              
ffc047c8:	40 82 ff c0 	bne+    ffc04788 <rtems_disk_create_phys+0x54> <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
ffc047cc:	7f 83 e3 78 	mr      r3,r28                                 
ffc047d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc047d4:	7d 25 4b 78 	mr      r5,r9                                  
ffc047d8:	38 c1 00 08 	addi    r6,r1,8                                
ffc047dc:	4b ff fd 2d 	bl      ffc04508 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc047e0:	81 01 00 1c 	lwz     r8,28(r1)                              
ffc047e4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc047e8:	40 82 00 44 	bne-    ffc0482c <rtems_disk_create_phys+0xf8> 
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
ffc047ec:	81 21 00 08 	lwz     r9,8(r1)                               
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = block_size;                 
  dd->ioctl = handler;                                                
  dd->driver_data = driver_data;                                      
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
ffc047f0:	3c 80 20 00 	lis     r4,8192                                
ffc047f4:	60 84 42 08 	ori     r4,r4,16904                            
ffc047f8:	7f c9 03 a6 	mtctr   r30                                    
ffc047fc:	7d 23 4b 78 	mr      r3,r9                                  
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
ffc04800:	91 29 00 08 	stw     r9,8(r9)                               
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = block_size;                 
  dd->ioctl = handler;                                                
  dd->driver_data = driver_data;                                      
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
ffc04804:	38 a9 00 0c 	addi    r5,r9,12                               
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
  dd->start = 0;                                                      
ffc04808:	93 49 00 18 	stw     r26,24(r9)                             
  dd->size = block_count;                                             
ffc0480c:	93 69 00 1c 	stw     r27,28(r9)                             
  dd->block_size = dd->media_block_size = block_size;                 
ffc04810:	93 e9 00 24 	stw     r31,36(r9)                             
ffc04814:	93 e9 00 20 	stw     r31,32(r9)                             
  dd->ioctl = handler;                                                
ffc04818:	93 c9 00 28 	stw     r30,40(r9)                             
  dd->driver_data = driver_data;                                      
ffc0481c:	91 09 00 2c 	stw     r8,44(r9)                              
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
ffc04820:	4e 80 04 21 	bctrl                                          
ffc04824:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04828:	41 9c 00 0c 	blt-    cr7,ffc04834 <rtems_disk_create_phys+0x100><== ALWAYS TAKEN
    dd->capabilities = 0;                                             
  }                                                                   
                                                                      
  disk_unlock();                                                      
ffc0482c:	4b ff fc 95 	bl      ffc044c0 <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04830:	4b ff ff 58 	b       ffc04788 <rtems_disk_create_phys+0x54> 
  dd->block_size = dd->media_block_size = block_size;                 
  dd->ioctl = handler;                                                
  dd->driver_data = driver_data;                                      
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
    dd->capabilities = 0;                                             
ffc04834:	81 21 00 08 	lwz     r9,8(r1)                               
ffc04838:	93 49 00 0c 	stw     r26,12(r9)                             
  }                                                                   
                                                                      
  disk_unlock();                                                      
ffc0483c:	4b ff fc 85 	bl      ffc044c0 <disk_unlock>                 
ffc04840:	4b ff ff 48 	b       ffc04788 <rtems_disk_create_phys+0x54> 
                                                                      

ffc049b0 <rtems_disk_delete>: } } rtems_status_code rtems_disk_delete(dev_t dev) {
ffc049b0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc049b4:	7c 08 02 a6 	mflr    r0                                     
ffc049b8:	93 81 00 28 	stw     r28,40(r1)                             
ffc049bc:	7c 7c 1b 78 	mr      r28,r3                                 
ffc049c0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc049c4:	7c 9d 23 78 	mr      r29,r4                                 
ffc049c8:	93 e1 00 34 	stw     r31,52(r1)                             
ffc049cc:	90 01 00 3c 	stw     r0,60(r1)                              
ffc049d0:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc049d4:	92 c1 00 10 	stw     r22,16(r1)                             
ffc049d8:	92 e1 00 14 	stw     r23,20(r1)                             
ffc049dc:	93 01 00 18 	stw     r24,24(r1)                             
ffc049e0:	93 21 00 1c 	stw     r25,28(r1)                             
ffc049e4:	93 41 00 20 	stw     r26,32(r1)                             
ffc049e8:	93 61 00 24 	stw     r27,36(r1)                             
ffc049ec:	93 c1 00 30 	stw     r30,48(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
                                                                      
  sc = disk_lock();                                                   
ffc049f0:	4b ff fa 69 	bl      ffc04458 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc049f4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc049f8:	41 82 00 44 	beq-    ffc04a3c <rtems_disk_delete+0x8c>      <== ALWAYS TAKEN
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc049fc:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc04a00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04a04:	82 a1 00 0c 	lwz     r21,12(r1)                             <== NOT EXECUTED
ffc04a08:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04a0c:	82 c1 00 10 	lwz     r22,16(r1)                             <== NOT EXECUTED
ffc04a10:	82 e1 00 14 	lwz     r23,20(r1)                             <== NOT EXECUTED
ffc04a14:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc04a18:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc04a1c:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc04a20:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc04a24:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc04a28:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc04a2c:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc04a30:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc04a34:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc04a38:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
ffc04a3c:	7f 83 e3 78 	mr      r3,r28                                 
ffc04a40:	7f a4 eb 78 	mr      r4,r29                                 
ffc04a44:	38 a0 00 01 	li      r5,1                                   
ffc04a48:	4b ff f9 19 	bl      ffc04360 <get_disk_entry>              
  if (dd == NULL) {                                                   
ffc04a4c:	7c 69 1b 79 	mr.     r9,r3                                  
ffc04a50:	41 82 01 88 	beq-    ffc04bd8 <rtems_disk_delete+0x228>     <== NEVER TAKEN
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc04a54:	38 00 00 01 	li      r0,1                                   
}                                                                     
                                                                      
static void                                                           
rtems_disk_cleanup(rtems_disk_device *disk_to_remove)                 
{                                                                     
  rtems_disk_device *const physical_disk = disk_to_remove->phys_dev;  
ffc04a58:	83 49 00 08 	lwz     r26,8(r9)                              
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc04a5c:	98 09 00 30 	stb     r0,48(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) {                                       
ffc04a60:	88 1a 00 30 	lbz     r0,48(r26)                             
ffc04a64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04a68:	41 9e 01 18 	beq-    cr7,ffc04b80 <rtems_disk_delete+0x1d0> 
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a6c:	3e a0 00 00 	lis     r21,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;                                   
ffc04a70:	83 ba 00 00 	lwz     r29,0(r26)                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a74:	80 15 28 70 	lwz     r0,10352(r21)                          
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
ffc04a78:	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;                                   
ffc04a7c:	83 3a 00 04 	lwz     r25,4(r26)                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04a84:	41 9e 00 a4 	beq-    cr7,ffc04b28 <rtems_disk_delete+0x178> <== NEVER TAKEN
ffc04a88:	7f f6 fb 78 	mr      r22,r31                                
ffc04a8c:	3b 60 00 00 	li      r27,0                                  
ffc04a90:	3b 15 28 70 	addi    r24,r21,10352                          
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
ffc04a94:	3a e0 00 01 	li      r23,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;                
ffc04a98:	83 d8 00 04 	lwz     r30,4(r24)                             
ffc04a9c:	57 60 18 38 	rlwinm  r0,r27,3,0,28                          
ffc04aa0:	7f de 02 14 	add     r30,r30,r0                             
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
ffc04aa4:	81 1e 00 04 	lwz     r8,4(r30)                              
ffc04aa8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc04aac:	41 9e 00 6c 	beq-    cr7,ffc04b18 <rtems_disk_delete+0x168> 
ffc04ab0:	3b 80 00 00 	li      r28,0                                  
ffc04ab4:	48 00 00 10 	b       ffc04ac4 <rtems_disk_delete+0x114>     
ffc04ab8:	3b 9c 00 01 	addi    r28,r28,1                              
ffc04abc:	7f 9c 40 40 	cmplw   cr7,r28,r8                             
ffc04ac0:	40 9c 00 58 	bge-    cr7,ffc04b18 <rtems_disk_delete+0x168> 
        rtems_disk_device *dd = dtab->minor [minor];                  
ffc04ac4:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc04ac8:	57 80 10 3a 	rlwinm  r0,r28,2,0,29                          
ffc04acc:	7c 69 00 2e 	lwzx    r3,r9,r0                               
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
ffc04ad0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04ad4:	41 be ff e4 	beq-    cr7,ffc04ab8 <rtems_disk_delete+0x108> 
ffc04ad8:	81 63 00 08 	lwz     r11,8(r3)                              
ffc04adc:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc04ae0:	7f 8a e8 00 	cmpw    cr7,r10,r29                            
ffc04ae4:	40 9e ff d4 	bne+    cr7,ffc04ab8 <rtems_disk_delete+0x108> <== NEVER TAKEN
ffc04ae8:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc04aec:	7f 8b c8 00 	cmpw    cr7,r11,r25                            
ffc04af0:	40 9e ff c8 	bne+    cr7,ffc04ab8 <rtems_disk_delete+0x108> <== NEVER TAKEN
ffc04af4:	7f 9a 18 00 	cmpw    cr7,r26,r3                             
ffc04af8:	41 be ff c0 	beq-    cr7,ffc04ab8 <rtems_disk_delete+0x108> 
          if (dd->uses == 0) {                                        
ffc04afc:	81 63 00 14 	lwz     r11,20(r3)                             
ffc04b00:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc04b04:	41 9e 00 c0 	beq-    cr7,ffc04bc4 <rtems_disk_delete+0x214> 
    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) {                  
ffc04b08:	3b 9c 00 01 	addi    r28,r28,1                              
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
ffc04b0c:	9a e3 00 30 	stb     r23,48(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) {                  
ffc04b10:	7f 9c 40 40 	cmplw   cr7,r28,r8                             
ffc04b14:	41 9c ff b0 	blt+    cr7,ffc04ac4 <rtems_disk_delete+0x114> <== ALWAYS TAKEN
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04b18:	80 18 00 00 	lwz     r0,0(r24)                              
ffc04b1c:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04b20:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc04b24:	41 9c ff 74 	blt+    cr7,ffc04a98 <rtems_disk_delete+0xe8>  
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc04b28:	80 1a 00 14 	lwz     r0,20(r26)                             
ffc04b2c:	7e d6 00 50 	subf    r22,r22,r0                             
    if (physical_disk->uses == 0) {                                   
ffc04b30:	2f 96 00 00 	cmpwi   cr7,r22,0                              
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc04b34:	92 da 00 14 	stw     r22,20(r26)                            
    if (physical_disk->uses == 0) {                                   
ffc04b38:	41 9e 00 e8 	beq-    cr7,ffc04c20 <rtems_disk_delete+0x270> 
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04b3c:	4b ff f9 85 	bl      ffc044c0 <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04b40:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04b44:	7f e3 fb 78 	mr      r3,r31                                 
ffc04b48:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc04b4c:	7c 08 03 a6 	mtlr    r0                                     
ffc04b50:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc04b54:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc04b58:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04b5c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04b60:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04b64:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04b68:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04b6c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04b70:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04b74:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04b78:	38 21 00 38 	addi    r1,r1,56                               
ffc04b7c:	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) {                                  
ffc04b80:	80 09 00 14 	lwz     r0,20(r9)                              
ffc04b84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04b88:	40 9e ff b4 	bne+    cr7,ffc04b3c <rtems_disk_delete+0x18c> <== NEVER TAKEN
      --physical_disk->uses;                                          
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
ffc04b8c:	81 09 00 00 	lwz     r8,0(r9)                               
      disktab [major].minor [minor] = NULL;                           
ffc04b90:	3d 60 00 00 	lis     r11,0                                  
ffc04b94:	81 4b 28 74 	lwz     r10,10356(r11)                         
      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);
ffc04b98:	80 09 00 04 	lwz     r0,4(r9)                               
      disktab [major].minor [minor] = NULL;                           
ffc04b9c:	55 09 18 38 	rlwinm  r9,r8,3,0,28                           
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
ffc04ba0:	81 7a 00 14 	lwz     r11,20(r26)                            
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
ffc04ba4:	7d 2a 48 2e 	lwzx    r9,r10,r9                              
ffc04ba8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
ffc04bac:	39 6b ff ff 	addi    r11,r11,-1                             
ffc04bb0:	91 7a 00 14 	stw     r11,20(r26)                            
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
ffc04bb4:	7f e9 01 2e 	stwx    r31,r9,r0                              
      free_disk_device(disk_to_remove);                               
ffc04bb8:	4b ff f8 31 	bl      ffc043e8 <free_disk_device>            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04bbc:	4b ff f9 05 	bl      ffc044c0 <disk_unlock>                 
ffc04bc0:	4b ff ff 80 	b       ffc04b40 <rtems_disk_delete+0x190>     
        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;                               
ffc04bc4:	7d 69 01 2e 	stwx    r11,r9,r0                              
      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;                                          
ffc04bc8:	3a d6 00 01 	addi    r22,r22,1                              
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
ffc04bcc:	4b ff f8 1d 	bl      ffc043e8 <free_disk_device>            
ffc04bd0:	81 1e 00 04 	lwz     r8,4(r30)                              
ffc04bd4:	4b ff fe e4 	b       ffc04ab8 <rtems_disk_delete+0x108>     
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
  if (dd == NULL) {                                                   
    disk_unlock();                                                    
ffc04bd8:	4b ff f8 e9 	bl      ffc044c0 <disk_unlock>                 <== NOT EXECUTED
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04bdc:	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;                                          
ffc04be0:	3b e0 00 04 	li      r31,4                                  <== NOT EXECUTED
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04be4:	82 a1 00 0c 	lwz     r21,12(r1)                             <== NOT EXECUTED
ffc04be8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04bec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04bf0:	82 c1 00 10 	lwz     r22,16(r1)                             <== NOT EXECUTED
ffc04bf4:	82 e1 00 14 	lwz     r23,20(r1)                             <== NOT EXECUTED
ffc04bf8:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc04bfc:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc04c00:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc04c04:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc04c08:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc04c0c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc04c10:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc04c14:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc04c18:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc04c1c:	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); 
ffc04c20:	81 3a 00 00 	lwz     r9,0(r26)                              
      disktab [major].minor [minor] = NULL;                           
ffc04c24:	3a b5 28 70 	addi    r21,r21,10352                          
ffc04c28:	81 75 00 04 	lwz     r11,4(r21)                             
      free_disk_device(physical_disk);                                
ffc04c2c:	7f 43 d3 78 	mr      r3,r26                                 
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
ffc04c30:	80 1a 00 04 	lwz     r0,4(r26)                              
      disktab [major].minor [minor] = NULL;                           
ffc04c34:	55 29 18 38 	rlwinm  r9,r9,3,0,28                           
ffc04c38:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc04c3c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc04c40:	7e c9 01 2e 	stwx    r22,r9,r0                              
      free_disk_device(physical_disk);                                
ffc04c44:	4b ff f7 a5 	bl      ffc043e8 <free_disk_device>            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04c48:	4b ff f8 79 	bl      ffc044c0 <disk_unlock>                 
ffc04c4c:	4b ff fe f4 	b       ffc04b40 <rtems_disk_delete+0x190>     
                                                                      

ffc04fd0 <rtems_disk_io_done>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_disk_io_done(void) {
ffc04fd0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04fd4:	7c 08 02 a6 	mflr    r0                                     
ffc04fd8:	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) {                    
ffc04fdc:	3f 60 00 00 	lis     r27,0                                  
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc04fe0:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc04fe4:	80 1b 28 70 	lwz     r0,10352(r27)                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc04fe8:	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) {                    
ffc04fec:	3b 9b 28 70 	addi    r28,r27,10352                          
ffc04ff0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc04ff4:	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) {                    
ffc04ff8:	3b a0 00 00 	li      r29,0                                  
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc04ffc:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc05000:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc05004:	83 fc 00 04 	lwz     r31,4(r28)                             
ffc05008:	41 9e 00 64 	beq-    cr7,ffc0506c <rtems_disk_io_done+0x9c> <== NEVER TAKEN
    rtems_disk_device_table *dtab = disktab + major;                  
ffc0500c:	57 a9 18 38 	rlwinm  r9,r29,3,0,28                          
ffc05010:	7f df 4a 14 	add     r30,r31,r9                             
                                                                      
    for (minor = 0; minor < dtab->size; ++minor) {                    
ffc05014:	7d 3f 48 2e 	lwzx    r9,r31,r9                              
ffc05018:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0501c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05020:	41 9e 00 34 	beq-    cr7,ffc05054 <rtems_disk_io_done+0x84> 
ffc05024:	3b e0 00 00 	li      r31,0                                  
      rtems_disk_device *dd = dtab->minor [minor];                    
ffc05028:	57 eb 10 3a 	rlwinm  r11,r31,2,0,29                         
ffc0502c:	7c 69 58 2e 	lwzx    r3,r9,r11                              
  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) {                    
ffc05030:	3b ff 00 01 	addi    r31,r31,1                              
      rtems_disk_device *dd = dtab->minor [minor];                    
                                                                      
      if (dd != NULL) {                                               
ffc05034:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05038:	41 9e 00 10 	beq-    cr7,ffc05048 <rtems_disk_io_done+0x78> 
        free_disk_device(dd);                                         
ffc0503c:	4b ff f3 ad 	bl      ffc043e8 <free_disk_device>            
ffc05040:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc05044:	81 3e 00 00 	lwz     r9,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) {                    
ffc05048:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0504c:	41 9d ff dc 	bgt+    cr7,ffc05028 <rtems_disk_io_done+0x58> 
ffc05050:	83 fc 00 04 	lwz     r31,4(r28)                             
                                                                      
      if (dd != NULL) {                                               
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
ffc05054:	7d 23 4b 78 	mr      r3,r9                                  
ffc05058:	48 00 0c c5 	bl      ffc05d1c <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) {                    
ffc0505c:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc05060:	3b bd 00 01 	addi    r29,r29,1                              
ffc05064:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc05068:	41 9d ff a4 	bgt+    cr7,ffc0500c <rtems_disk_io_done+0x3c> 
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
  }                                                                   
  free(disktab);                                                      
ffc0506c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05070:	48 00 0c ad 	bl      ffc05d1c <free>                        
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
ffc05074:	80 7c 00 08 	lwz     r3,8(r28)                              
ffc05078:	48 00 50 41 	bl      ffc0a0b8 <rtems_semaphore_delete>      
                                                                      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
ffc0507c:	38 00 00 00 	li      r0,0                                   
ffc05080:	90 1c 00 08 	stw     r0,8(r28)                              
  disktab = NULL;                                                     
  disktab_size = 0;                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05084:	38 60 00 00 	li      r3,0                                   
  free(disktab);                                                      
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
                                                                      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
  disktab = NULL;                                                     
ffc05088:	90 1c 00 04 	stw     r0,4(r28)                              
  disktab_size = 0;                                                   
ffc0508c:	90 1b 28 70 	stw     r0,10352(r27)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05090:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05094:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc05098:	7c 08 03 a6 	mtlr    r0                                     
ffc0509c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc050a0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc050a4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc050a8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc050ac:	38 21 00 20 	addi    r1,r1,32                               
ffc050b0:	4e 80 00 20 	blr                                            
                                                                      

ffc04ed4 <rtems_disk_io_initialize>: } } rtems_status_code rtems_disk_io_initialize(void) {
ffc04ed4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04ed8:	7c 08 02 a6 	mflr    r0                                     
ffc04edc:	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) {                                             
ffc04ee0:	3f e0 00 00 	lis     r31,0                                  
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc04ee4:	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) {                                             
ffc04ee8:	83 bf 28 70 	lwz     r29,10352(r31)                         
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc04eec:	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) {                                             
ffc04ef0:	3b 9f 28 70 	addi    r28,r31,10352                          
ffc04ef4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc04ef8:	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;                                          
ffc04efc:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc04f00:	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) {                                             
ffc04f04:	41 9e 00 28 	beq-    cr7,ffc04f2c <rtems_disk_io_initialize+0x58><== ALWAYS TAKEN
  }                                                                   
                                                                      
  disktab_size = size;                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04f08:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04f0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f10:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04f14:	7c 08 03 a6 	mtlr    r0                                     
ffc04f18:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04f1c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04f20:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04f24:	38 21 00 18 	addi    r1,r1,24                               
ffc04f28:	4e 80 00 20 	blr                                            
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc04f2c:	38 60 00 08 	li      r3,8                                   
ffc04f30:	38 80 00 08 	li      r4,8                                   
ffc04f34:	48 00 0b 3d 	bl      ffc05a70 <calloc>                      
  if (disktab == NULL) {                                              
    return RTEMS_NO_MEMORY;                                           
ffc04f38:	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) {                                              
ffc04f3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc04f40:	90 7c 00 04 	stw     r3,4(r28)                              
  if (disktab == NULL) {                                              
ffc04f44:	41 be ff c4 	beq-    cr7,ffc04f08 <rtems_disk_io_initialize+0x34><== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
  sc = rtems_semaphore_create(                                        
ffc04f48:	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;                                         
ffc04f4c:	9b bc 00 0c 	stb     r29,12(r28)                            
  sc = rtems_semaphore_create(                                        
ffc04f50:	60 63 45 56 	ori     r3,r3,17750                            
ffc04f54:	38 80 00 01 	li      r4,1                                   
ffc04f58:	38 a0 00 10 	li      r5,16                                  
ffc04f5c:	38 c0 00 00 	li      r6,0                                   
ffc04f60:	38 fc 00 08 	addi    r7,r28,8                               
ffc04f64:	48 00 4f 59 	bl      ffc09ebc <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) {                                       
ffc04f68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f6c:	41 9e 00 30 	beq-    cr7,ffc04f9c <rtems_disk_io_initialize+0xc8><== ALWAYS TAKEN
    free(disktab);                                                    
ffc04f70:	80 7c 00 04 	lwz     r3,4(r28)                              <== NOT EXECUTED
ffc04f74:	48 00 0d a9 	bl      ffc05d1c <free>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  disktab_size = size;                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04f78:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc04f7c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc04f80:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc04f84:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04f88:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc04f8c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc04f90:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc04f94:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc04f98:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    free(disktab);                                                    
                                                                      
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
ffc04f9c:	48 00 be fd 	bl      ffc10e98 <rtems_bdbuf_init>            
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04fa0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fa4:	40 9e 00 14 	bne-    cr7,ffc04fb8 <rtems_disk_io_initialize+0xe4><== NEVER TAKEN
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  disktab_size = size;                                                
ffc04fa8:	38 00 00 08 	li      r0,8                                   
ffc04fac:	90 1f 28 70 	stw     r0,10352(r31)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04fb0:	3b c0 00 00 	li      r30,0                                  
ffc04fb4:	4b ff ff 54 	b       ffc04f08 <rtems_disk_io_initialize+0x34>
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_semaphore_delete(diskdevs_mutex);                           
ffc04fb8:	80 7c 00 08 	lwz     r3,8(r28)                              <== NOT EXECUTED
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc04fbc:	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);                           
ffc04fc0:	48 00 50 f9 	bl      ffc0a0b8 <rtems_semaphore_delete>      <== NOT EXECUTED
    free(disktab);                                                    
ffc04fc4:	80 7c 00 04 	lwz     r3,4(r28)                              <== NOT EXECUTED
ffc04fc8:	48 00 0d 55 	bl      ffc05d1c <free>                        <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc04fcc:	4b ff ff 3c 	b       ffc04f08 <rtems_disk_io_initialize+0x34><== NOT EXECUTED
                                                                      

ffc04d80 <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) {
ffc04d80:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_disk_device *                                                   
rtems_disk_next(dev_t dev)                                            
{                                                                     
ffc04d84:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04d88:	7c 08 02 a6 	mflr    r0                                     
ffc04d8c:	93 81 00 10 	stw     r28,16(r1)                             
ffc04d90:	90 01 00 24 	stw     r0,36(r1)                              
ffc04d94:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04d98:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04d9c:	93 e1 00 1c 	stw     r31,28(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) {                                            
ffc04da0:	41 9e 01 10 	beq-    cr7,ffc04eb0 <rtems_disk_next+0x130>   
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
ffc04da4:	3b e4 00 01 	addi    r31,r4,1                               
ffc04da8:	7f 9f 20 40 	cmplw   cr7,r31,r4                             
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  return temp.__overlay.major;                                        
ffc04dac:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04db0:	41 9c 00 bc 	blt-    cr7,ffc04e6c <rtems_disk_next+0xec>    <== NEVER TAKEN
    } else {                                                          
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc04db4:	4b ff f6 a5 	bl      ffc04458 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04db8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return NULL;                                                      
ffc04dbc:	38 60 00 00 	li      r3,0                                   
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04dc0:	40 9e 00 68 	bne-    cr7,ffc04e28 <rtems_disk_next+0xa8>    <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
ffc04dc4:	3d 20 00 00 	lis     r9,0                                   
ffc04dc8:	81 09 28 70 	lwz     r8,10352(r9)                           
ffc04dcc:	39 29 28 70 	addi    r9,r9,10352                            
ffc04dd0:	7f 9e 40 40 	cmplw   cr7,r30,r8                             
ffc04dd4:	40 9c 00 f0 	bge-    cr7,ffc04ec4 <rtems_disk_next+0x144>   <== NEVER TAKEN
    disk_unlock();                                                    
                                                                      
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
ffc04dd8:	81 69 00 04 	lwz     r11,4(r9)                              
ffc04ddc:	57 dd 18 38 	rlwinm  r29,r30,3,0,28                         
ffc04de0:	7d 2b e8 2e 	lwzx    r9,r11,r29                             
ffc04de4:	7f ab ea 14 	add     r29,r11,r29                            
ffc04de8:	2f 09 00 00 	cmpwi   cr6,r9,0                               
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
ffc04dec:	57 fc 10 3a 	rlwinm  r28,r31,2,0,29                         
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
ffc04df0:	41 9a 00 58 	beq-    cr6,ffc04e48 <rtems_disk_next+0xc8>    
ffc04df4:	80 1d 00 04 	lwz     r0,4(r29)                              
ffc04df8:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
      ++minor;                                                        
ffc04dfc:	3b ff 00 01 	addi    r31,r31,1                              
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
ffc04e00:	40 9c 00 48 	bge-    cr7,ffc04e48 <rtems_disk_next+0xc8>    
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
ffc04e04:	7d 49 e0 2e 	lwzx    r10,r9,r28                             
ffc04e08:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04e0c:	41 9e ff e0 	beq+    cr7,ffc04dec <rtems_disk_next+0x6c>    
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
ffc04e10:	81 2a 00 14 	lwz     r9,20(r10)                             
ffc04e14:	38 09 00 01 	addi    r0,r9,1                                
ffc04e18:	90 0a 00 14 	stw     r0,20(r10)                             
      disk_unlock();                                                  
ffc04e1c:	4b ff f6 a5 	bl      ffc044c0 <disk_unlock>                 
                                                                      
      return dtab->minor [minor];                                     
ffc04e20:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc04e24:	7c 69 e0 2e 	lwzx    r3,r9,r28                              
    }                                                                 
  }                                                                   
}                                                                     
ffc04e28:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04e2c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04e30:	7c 08 03 a6 	mtlr    r0                                     
ffc04e34:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04e38:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04e3c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04e40:	38 21 00 20 	addi    r1,r1,32                               
ffc04e44:	4e 80 00 20 	blr                                            
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
       ++major;                                                       
ffc04e48:	3b de 00 01 	addi    r30,r30,1                              
       if (major >= disktab_size) {                                   
ffc04e4c:	7f 88 f0 40 	cmplw   cr7,r8,r30                             
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
ffc04e50:	57 c0 18 38 	rlwinm  r0,r30,3,0,28                          
ffc04e54:	7f ab 02 14 	add     r29,r11,r0                             
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
ffc04e58:	3b e0 00 00 	li      r31,0                                  
       ++major;                                                       
       if (major >= disktab_size) {                                   
ffc04e5c:	40 9d 00 2c 	ble-    cr7,ffc04e88 <rtems_disk_next+0x108>   
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
ffc04e60:	7d 2b 00 2e 	lwzx    r9,r11,r0                              
ffc04e64:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc04e68:	4b ff ff 84 	b       ffc04dec <rtems_disk_next+0x6c>        
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
ffc04e6c:	38 03 00 01 	addi    r0,r3,1                                <== NOT EXECUTED
ffc04e70:	7f 80 18 40 	cmplw   cr7,r0,r3                              <== NOT EXECUTED
        return NULL;                                                  
ffc04e74:	38 60 00 00 	li      r3,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) {                                      
ffc04e78:	41 bc ff b0 	blt-    cr7,ffc04e28 <rtems_disk_next+0xa8>    <== NOT EXECUTED
ffc04e7c:	7c 1e 03 78 	mr      r30,r0                                 <== NOT EXECUTED
        return NULL;                                                  
      }                                                               
      ++major;                                                        
      minor = 0;                                                      
ffc04e80:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc04e84:	4b ff ff 30 	b       ffc04db4 <rtems_disk_next+0x34>        <== NOT EXECUTED
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
       ++major;                                                       
       if (major >= disktab_size) {                                   
         disk_unlock();                                               
ffc04e88:	4b ff f6 39 	bl      ffc044c0 <disk_unlock>                 
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
ffc04e8c:	80 01 00 24 	lwz     r0,36(r1)                              
       minor = 0;                                                     
       ++major;                                                       
       if (major >= disktab_size) {                                   
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
ffc04e90:	38 60 00 00 	li      r3,0                                   
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
ffc04e94:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04e98:	7c 08 03 a6 	mtlr    r0                                     
ffc04e9c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04ea0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04ea4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04ea8:	38 21 00 20 	addi    r1,r1,32                               
ffc04eac:	4e 80 00 20 	blr                                            
  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) {                                            
ffc04eb0:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc04eb4:	40 9e fe f0 	bne+    cr7,ffc04da4 <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;                                
ffc04eb8:	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;                                
ffc04ebc:	3b c0 00 00 	li      r30,0                                  
ffc04ec0:	4b ff fe f4 	b       ffc04db4 <rtems_disk_next+0x34>        
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
    disk_unlock();                                                    
ffc04ec4:	90 61 00 08 	stw     r3,8(r1)                               <== NOT EXECUTED
ffc04ec8:	4b ff f5 f9 	bl      ffc044c0 <disk_unlock>                 <== NOT EXECUTED
                                                                      
    return NULL;                                                      
ffc04ecc:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc04ed0:	4b ff ff 58 	b       ffc04e28 <rtems_disk_next+0xa8>        <== NOT EXECUTED
                                                                      

ffc04c50 <rtems_disk_obtain>: return RTEMS_SUCCESSFUL; } rtems_disk_device * rtems_disk_obtain(dev_t dev) {
ffc04c50:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04c54:	7c 08 02 a6 	mflr    r0                                     
ffc04c58:	93 81 00 10 	stw     r28,16(r1)                             
ffc04c5c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04c60:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04c64:	7c 9d 23 78 	mr      r29,r4                                 
ffc04c68:	90 01 00 24 	stw     r0,36(r1)                              
ffc04c6c:	93 e1 00 1c 	stw     r31,28(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc04c70:	7f e0 00 a6 	mfmsr   r31                                    
ffc04c74:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc04c78:	7f e0 00 78 	andc    r0,r31,r0                              
ffc04c7c:	7c 00 01 24 	mtmsr   r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable(level);                                     
  if (!diskdevs_protected) {                                          
ffc04c80:	3d 20 00 00 	lis     r9,0                                   
ffc04c84:	88 09 28 7c 	lbz     r0,10364(r9)                           
ffc04c88:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04c8c:	41 9e 00 50 	beq-    cr7,ffc04cdc <rtems_disk_obtain+0x8c>  <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc04c90:	7f e0 01 24 	mtmsr   r31                                    <== NOT EXECUTED
    dd = get_disk_entry(dev, false);                                  
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
                                                                      
    sc = disk_lock();                                                 
ffc04c94:	4b ff f7 c5 	bl      ffc04458 <disk_lock>                   <== NOT EXECUTED
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc04c98:	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;                                       
ffc04c9c:	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) {                                     
ffc04ca0:	40 9e 00 20 	bne-    cr7,ffc04cc0 <rtems_disk_obtain+0x70>  <== NOT EXECUTED
      dd = get_disk_entry(dev, false);                                
ffc04ca4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc04ca8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc04cac:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc04cb0:	4b ff f6 b1 	bl      ffc04360 <get_disk_entry>              <== NOT EXECUTED
      disk_unlock();                                                  
ffc04cb4:	90 61 00 08 	stw     r3,8(r1)                               <== NOT EXECUTED
ffc04cb8:	4b ff f8 09 	bl      ffc044c0 <disk_unlock>                 <== NOT EXECUTED
ffc04cbc:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
ffc04cc0:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc04cc4:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc04cc8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04ccc:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc04cd0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc04cd4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc04cd8:	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);                                  
ffc04cdc:	38 a0 00 00 	li      r5,0                                   
ffc04ce0:	4b ff f6 81 	bl      ffc04360 <get_disk_entry>              
ffc04ce4:	7f e0 01 24 	mtmsr   r31                                    
      disk_unlock();                                                  
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
ffc04ce8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04cec:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04cf0:	7c 08 03 a6 	mtlr    r0                                     
ffc04cf4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04cf8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04cfc:	38 21 00 20 	addi    r1,r1,32                               
ffc04d00:	4e 80 00 20 	blr                                            
                                                                      

ffc04df4 <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
ffc04df4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04df8:	7c 08 02 a6 	mflr    r0                                     
ffc04dfc:	93 e1 00 74 	stw     r31,116(r1)                            
ffc04e00:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04e04:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04e08:	90 a1 00 18 	stw     r5,24(r1)                              
ffc04e0c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc04e10:	90 e1 00 20 	stw     r7,32(r1)                              
ffc04e14:	91 01 00 24 	stw     r8,36(r1)                              
ffc04e18:	91 21 00 28 	stw     r9,40(r1)                              
ffc04e1c:	91 41 00 2c 	stw     r10,44(r1)                             
ffc04e20:	40 86 00 24 	bne-    cr1,ffc04e44 <rtems_error+0x50>        <== ALWAYS TAKEN
ffc04e24:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc04e28:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc04e2c:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc04e30:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc04e34:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc04e38:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc04e3c:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc04e40:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04e44:	38 00 00 02 	li      r0,2                                   
ffc04e48:	98 01 00 08 	stb     r0,8(r1)                               
ffc04e4c:	38 00 00 00 	li      r0,0                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04e50:	7f e3 fb 78 	mr      r3,r31                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04e54:	98 01 00 09 	stb     r0,9(r1)                               
ffc04e58:	38 01 00 80 	addi    r0,r1,128                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04e5c:	38 a1 00 08 	addi    r5,r1,8                                
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04e60:	90 01 00 0c 	stw     r0,12(r1)                              
ffc04e64:	38 01 00 10 	addi    r0,r1,16                               
ffc04e68:	90 01 00 10 	stw     r0,16(r1)                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04e6c:	4b ff fd d1 	bl      ffc04c3c <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc04e70:	77 e0 20 00 	andis.  r0,r31,8192                            
ffc04e74:	40 82 00 20 	bne-    ffc04e94 <rtems_error+0xa0>            
    rtems_error(0, "fatal error, exiting");                           
    _exit(errno);                                                     
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
ffc04e78:	77 e0 10 00 	andis.  r0,r31,4096                            
ffc04e7c:	40 82 00 38 	bne-    ffc04eb4 <rtems_error+0xc0>            
    rtems_error(0, "fatal error, aborting");                          
    abort();                                                          
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
ffc04e80:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc04e84:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc04e88:	38 21 00 78 	addi    r1,r1,120                              
ffc04e8c:	7c 08 03 a6 	mtlr    r0                                     
ffc04e90:	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");                           
ffc04e94:	3c 80 ff c2 	lis     r4,-62                                 
ffc04e98:	38 84 f0 c8 	addi    r4,r4,-3896                            
ffc04e9c:	38 60 00 00 	li      r3,0                                   
ffc04ea0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04ea4:	4b ff ff 51 	bl      ffc04df4 <rtems_error>                 
    _exit(errno);                                                     
ffc04ea8:	48 00 dc b5 	bl      ffc12b5c <__errno>                     
ffc04eac:	80 63 00 00 	lwz     r3,0(r3)                               
ffc04eb0:	48 00 0e 59 	bl      ffc05d08 <_exit>                       
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
    rtems_error(0, "fatal error, aborting");                          
ffc04eb4:	3c 80 ff c2 	lis     r4,-62                                 
ffc04eb8:	38 84 f0 e0 	addi    r4,r4,-3872                            
ffc04ebc:	38 60 00 00 	li      r3,0                                   
ffc04ec0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04ec4:	4b ff ff 31 	bl      ffc04df4 <rtems_error>                 
    abort();                                                          
ffc04ec8:	48 00 dc 79 	bl      ffc12b40 <abort>                       
                                                                      

ffc0f888 <rtems_filesystem_get_mount_handler>: find_arg fa = { .type = type, .mount_h = NULL }; if ( type != NULL ) {
ffc0f888:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f88c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f890:	7c 08 02 a6 	mflr    r0                                     
  find_arg fa = {                                                     
ffc0f894:	90 61 00 08 	stw     r3,8(r1)                               
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0f898:	38 60 00 00 	li      r3,0                                   
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f89c:	90 01 00 1c 	stw     r0,28(r1)                              
  find_arg fa = {                                                     
ffc0f8a0:	38 00 00 00 	li      r0,0                                   
ffc0f8a4:	90 01 00 0c 	stw     r0,12(r1)                              
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0f8a8:	41 9e 00 18 	beq-    cr7,ffc0f8c0 <rtems_filesystem_get_mount_handler+0x38><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
ffc0f8ac:	3c 60 ff c1 	lis     r3,-63                                 
ffc0f8b0:	38 63 f7 1c 	addi    r3,r3,-2276                            
ffc0f8b4:	38 81 00 08 	addi    r4,r1,8                                
ffc0f8b8:	4b ff fe bd 	bl      ffc0f774 <rtems_filesystem_iterate>    
ffc0f8bc:	80 61 00 0c 	lwz     r3,12(r1)                              
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0f8c0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f8c4:	38 21 00 18 	addi    r1,r1,24                               
ffc0f8c8:	7c 08 03 a6 	mtlr    r0                                     
ffc0f8cc:	4e 80 00 20 	blr                                            
                                                                      

ffc04a4c <rtems_filesystem_initialize>: * configuration is a single instantiation of the IMFS or miniIMFS with * a single "/dev" directory in it. */ void rtems_filesystem_initialize( void ) {
ffc04a4c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc04a50:	7c 08 02 a6 	mflr    r0                                     
  rtems_filesystem_umask = 022;                                       
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc04a54:	3d 20 00 00 	lis     r9,0                                   
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04a58:	90 01 00 34 	stw     r0,52(r1)                              
  rtems_filesystem_umask = 022;                                       
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc04a5c:	80 09 26 f0 	lwz     r0,9968(r9)                            
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04a60:	93 e1 00 2c 	stw     r31,44(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc04a64:	3f e0 00 00 	lis     r31,0                                  
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc04a68:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc04a6c:	81 3f 27 3c 	lwz     r9,10044(r31)                          
ffc04a70:	38 00 00 12 	li      r0,18                                  
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04a74:	93 c1 00 28 	stw     r30,40(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc04a78:	90 09 00 2c 	stw     r0,44(r9)                              
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc04a7c:	41 9e 00 f8 	beq-    cr7,ffc04b74 <rtems_filesystem_initialize+0x128><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
ffc04a80:	3d 20 00 00 	lis     r9,0                                   
ffc04a84:	81 29 26 f4 	lwz     r9,9972(r9)                            
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
ffc04a88:	38 e0 00 00 	li      r7,0                                   
ffc04a8c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc04a90:	80 89 00 0c 	lwz     r4,12(r9)                              
ffc04a94:	80 a9 00 00 	lwz     r5,0(r9)                               
ffc04a98:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc04a9c:	48 00 0e 51 	bl      ffc058ec <mount>                       
  if ( status == -1 )                                                 
ffc04aa0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc04aa4:	41 9e 00 e8 	beq-    cr7,ffc04b8c <rtems_filesystem_initialize+0x140><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc04aa8:	81 3f 27 3c 	lwz     r9,10044(r31)                          
ffc04aac:	38 00 00 00 	li      r0,0                                   
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04ab0:	3f c0 ff c2 	lis     r30,-62                                
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc04ab4:	b0 09 00 30 	sth     r0,48(r9)                              
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04ab8:	3b de ef 20 	addi    r30,r30,-4320                          
ffc04abc:	38 80 00 01 	li      r4,1                                   
ffc04ac0:	38 a0 00 00 	li      r5,0                                   
ffc04ac4:	38 c1 00 08 	addi    r6,r1,8                                
ffc04ac8:	38 e0 00 00 	li      r7,0                                   
ffc04acc:	7f c3 f3 78 	mr      r3,r30                                 
ffc04ad0:	48 00 05 45 	bl      ffc05014 <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
ffc04ad4:	81 3f 27 3c 	lwz     r9,10044(r31)                          
ffc04ad8:	80 01 00 08 	lwz     r0,8(r1)                               
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04adc:	38 80 00 01 	li      r4,1                                   
ffc04ae0:	38 a0 00 00 	li      r5,0                                   
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc04ae4:	90 09 00 18 	stw     r0,24(r9)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04ae8:	38 c1 00 08 	addi    r6,r1,8                                
ffc04aec:	38 e0 00 00 	li      r7,0                                   
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc04af0:	80 01 00 0c 	lwz     r0,12(r1)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04af4:	7f c3 f3 78 	mr      r3,r30                                 
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc04af8:	90 09 00 1c 	stw     r0,28(r9)                              
ffc04afc:	80 01 00 10 	lwz     r0,16(r1)                              
ffc04b00:	90 09 00 20 	stw     r0,32(r9)                              
ffc04b04:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04b08:	90 09 00 24 	stw     r0,36(r9)                              
ffc04b0c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc04b10:	90 09 00 28 	stw     r0,40(r9)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04b14:	48 00 05 01 	bl      ffc05014 <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
ffc04b18:	81 3f 27 3c 	lwz     r9,10044(r31)                          
ffc04b1c:	80 01 00 08 	lwz     r0,8(r1)                               
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc04b20:	3c 60 ff c2 	lis     r3,-62                                 
ffc04b24:	38 63 ef 24 	addi    r3,r3,-4316                            
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current     = loc;                                 
ffc04b28:	90 09 00 04 	stw     r0,4(r9)                               
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc04b2c:	38 80 01 ff 	li      r4,511                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current     = loc;                                 
ffc04b30:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04b34:	90 09 00 08 	stw     r0,8(r9)                               
ffc04b38:	80 01 00 10 	lwz     r0,16(r1)                              
ffc04b3c:	90 09 00 0c 	stw     r0,12(r9)                              
ffc04b40:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04b44:	90 09 00 10 	stw     r0,16(r9)                              
ffc04b48:	80 01 00 18 	lwz     r0,24(r1)                              
ffc04b4c:	90 09 00 14 	stw     r0,20(r9)                              
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc04b50:	48 00 0b 9d 	bl      ffc056ec <mkdir>                       
  if ( status != 0 )                                                  
ffc04b54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b58:	40 9e 00 28 	bne-    cr7,ffc04b80 <rtems_filesystem_initialize+0x134><== 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.        
   */                                                                 
}                                                                     
ffc04b5c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc04b60:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc04b64:	7c 08 03 a6 	mtlr    r0                                     
ffc04b68:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc04b6c:	38 21 00 30 	addi    r1,r1,48                               
ffc04b70:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc04b74:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc04b78:	60 63 00 01 	ori     r3,r3,1                                <== NOT EXECUTED
ffc04b7c:	48 00 51 c1 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
ffc04b80:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc04b84:	60 63 00 03 	ori     r3,r3,3                                <== NOT EXECUTED
ffc04b88:	48 00 51 b5 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
ffc04b8c:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc04b90:	60 63 00 02 	ori     r3,r3,2                                <== NOT EXECUTED
ffc04b94:	48 00 51 a9 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f774 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
ffc0f774:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0f778:	7c 08 02 a6 	mflr    r0                                     
ffc0f77c:	93 a1 00 1c 	stw     r29,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 ) {                              
ffc0f780:	3f a0 ff c2 	lis     r29,-62                                
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0f784:	90 01 00 2c 	stw     r0,44(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 ) {                              
ffc0f788:	80 1d e2 08 	lwz     r0,-7672(r29)                          
ffc0f78c:	3b bd e2 08 	addi    r29,r29,-7672                          
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0f790:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0f794:	7c 9f 23 78 	mr      r31,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 ) {                              
ffc0f798:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0f79c:	93 61 00 14 	stw     r27,20(r1)                             
ffc0f7a0:	93 81 00 18 	stw     r28,24(r1)                             
ffc0f7a4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0f7a8:	90 61 00 08 	stw     r3,8(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 ) {                              
ffc0f7ac:	41 9e 00 4c 	beq-    cr7,ffc0f7f8 <rtems_filesystem_iterate+0x84><== NEVER TAKEN
ffc0f7b0:	7f be eb 78 	mr      r30,r29                                
ffc0f7b4:	3b 9d 00 08 	addi    r28,r29,8                              
ffc0f7b8:	48 00 00 08 	b       ffc0f7c0 <rtems_filesystem_iterate+0x4c>
ffc0f7bc:	40 9a 00 a4 	bne-    cr6,ffc0f860 <rtems_filesystem_iterate+0xec>
    stop = (*routine)( table_entry, routine_arg );                    
ffc0f7c0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0f7c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f7c8:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f7cc:	7c 09 03 a6 	mtctr   r0                                     
ffc0f7d0:	4e 80 04 21 	bctrl                                          
  rtems_filesystem_table_t entry;                                     
} filesystem_node;                                                    
                                                                      
static RTEMS_CHAIN_DEFINE_EMPTY(filesystem_chain);                    
                                                                      
bool rtems_filesystem_iterate(                                        
ffc0f7d4:	7c 1d f0 50 	subf    r0,r29,r30                             
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0f7d8:	7c 1c 00 2e 	lwzx    r0,r28,r0                              
    stop = (*routine)( table_entry, routine_arg );                    
ffc0f7dc:	7c 7b 1b 78 	mr      r27,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 ) {                              
ffc0f7e0:	2f 03 00 00 	cmpwi   cr6,r3,0                               
ffc0f7e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f7e8:	3b de 00 08 	addi    r30,r30,8                              
ffc0f7ec:	40 9e ff d0 	bne+    cr7,ffc0f7bc <rtems_filesystem_iterate+0x48>
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
ffc0f7f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f7f4:	40 9e 00 6c 	bne-    cr7,ffc0f860 <rtems_filesystem_iterate+0xec>
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f7f8:	3f c0 00 00 	lis     r30,0                                  
ffc0f7fc:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f800:	38 80 00 00 	li      r4,0                                   
ffc0f804:	38 a0 00 00 	li      r5,0                                   
ffc0f808:	4b ff 9b d1 	bl      ffc093d8 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0f80c:	3d 20 00 00 	lis     r9,0                                   
ffc0f810:	3b 89 21 c0 	addi    r28,r9,8640                            
ffc0f814:	83 a9 21 c0 	lwz     r29,8640(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0f818:	3b 9c 00 04 	addi    r28,r28,4                              
    rtems_libio_lock();                                               
    for (                                                             
ffc0f81c:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0f820:	3b 60 00 00 	li      r27,0                                  
ffc0f824:	40 be 00 0c 	bne+    cr7,ffc0f830 <rtems_filesystem_iterate+0xbc>
ffc0f828:	48 00 00 30 	b       ffc0f858 <rtems_filesystem_iterate+0xe4>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0f82c:	40 9a 00 2c 	bne-    cr6,ffc0f858 <rtems_filesystem_iterate+0xe4><== NEVER TAKEN
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
ffc0f830:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0f834:	38 7d 00 08 	addi    r3,r29,8                               
ffc0f838:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f83c:	7c 09 03 a6 	mtctr   r0                                     
ffc0f840:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f844:	83 bd 00 00 	lwz     r29,0(r29)                             
      !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 );                  
ffc0f848:	7c 7b 1b 78 	mr      r27,r3                                 
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0f84c:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0f850:	2f 03 00 00 	cmpwi   cr6,r3,0                               
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0f854:	40 9e ff d8 	bne+    cr7,ffc0f82c <rtems_filesystem_iterate+0xb8>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f858:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f85c:	4b ff 9d 09 	bl      ffc09564 <rtems_semaphore_release>     
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
ffc0f860:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0f864:	7f 63 db 78 	mr      r3,r27                                 
ffc0f868:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f86c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f870:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f874:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f878:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f87c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f880:	38 21 00 28 	addi    r1,r1,40                               
ffc0f884:	4e 80 00 20 	blr                                            
                                                                      

ffc05834 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
ffc05834:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc05838:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0583c:	38 a0 00 00 	li      r5,0                                   
ffc05840:	93 c1 00 20 	stw     r30,32(r1)                             
ffc05844:	3f c0 00 00 	lis     r30,0                                  
ffc05848:	90 61 00 08 	stw     r3,8(r1)                               
ffc0584c:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc05850:	93 e1 00 24 	stw     r31,36(r1)                             
ffc05854:	7c 9f 23 78 	mr      r31,r4                                 
ffc05858:	38 80 00 00 	li      r4,0                                   
ffc0585c:	93 61 00 14 	stw     r27,20(r1)                             
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc05860:	3b 60 00 00 	li      r27,0                                  
                                                                      
bool rtems_filesystem_mount_iterate(                                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc05864:	93 81 00 18 	stw     r28,24(r1)                             
ffc05868:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0586c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc05870:	48 00 3b 69 	bl      ffc093d8 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc05874:	3d 20 00 00 	lis     r9,0                                   
ffc05878:	3b 89 21 a4 	addi    r28,r9,8612                            
ffc0587c:	83 a9 21 a4 	lwz     r29,8612(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc05880:	3b 9c 00 04 	addi    r28,r28,4                              
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc05884:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc05888:	40 be 00 0c 	bne+    cr7,ffc05894 <rtems_filesystem_mount_iterate+0x60><== ALWAYS TAKEN
ffc0588c:	48 00 00 30 	b       ffc058bc <rtems_filesystem_mount_iterate+0x88><== NOT EXECUTED
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc05890:	40 9a 00 2c 	bne-    cr6,ffc058bc <rtems_filesystem_mount_iterate+0x88><== NEVER TAKEN
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
ffc05894:	80 01 00 08 	lwz     r0,8(r1)                               
ffc05898:	7f a3 eb 78 	mr      r3,r29                                 
ffc0589c:	7f e4 fb 78 	mr      r4,r31                                 
ffc058a0:	7c 09 03 a6 	mtctr   r0                                     
ffc058a4:	4e 80 04 21 	bctrl                                          
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc058a8:	83 bd 00 00 	lwz     r29,0(r29)                             
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
ffc058ac:	7c 7b 1b 78 	mr      r27,r3                                 
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc058b0:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc058b4:	2f 03 00 00 	cmpwi   cr6,r3,0                               
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc058b8:	40 9e ff d8 	bne+    cr7,ffc05890 <rtems_filesystem_mount_iterate+0x5c>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc058bc:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc058c0:	48 00 3c a5 	bl      ffc09564 <rtems_semaphore_release>     
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc058c4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc058c8:	7f 63 db 78 	mr      r3,r27                                 
ffc058cc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc058d0:	7c 08 03 a6 	mtlr    r0                                     
ffc058d4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc058d8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc058dc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc058e0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc058e4:	38 21 00 28 	addi    r1,r1,40                               
ffc058e8:	4e 80 00 20 	blr                                            
                                                                      

ffc050f0 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
ffc050f0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc050f4:	7c 08 02 a6 	mflr    r0                                     
ffc050f8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc050fc:	7c 9d 23 78 	mr      r29,r4                                 
ffc05100:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05104:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05108:	93 e1 00 14 	stw     r31,20(r1)                             
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
ffc0510c:	3b e0 00 00 	li      r31,0                                  
                                                                      
int rtems_filesystem_prefix_separators(                               
  const char  *pathname,                                              
  int          pathnamelen                                            
)                                                                     
{                                                                     
ffc05110:	90 01 00 1c 	stw     r0,28(r1)                              
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
ffc05114:	88 63 00 00 	lbz     r3,0(r3)                               
ffc05118:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0511c:	41 9e 00 34 	beq-    cr7,ffc05150 <rtems_filesystem_prefix_separators+0x60>
ffc05120:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc05124:	40 be 00 20 	bne+    cr7,ffc05144 <rtems_filesystem_prefix_separators+0x54><== ALWAYS TAKEN
ffc05128:	48 00 00 28 	b       ffc05150 <rtems_filesystem_prefix_separators+0x60><== NOT EXECUTED
ffc0512c:	8c 7e 00 01 	lbzu    r3,1(r30)                              
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
ffc05130:	3b ff 00 01 	addi    r31,r31,1                              
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
ffc05134:	7f 1d f8 00 	cmpw    cr6,r29,r31                            
ffc05138:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0513c:	41 9e 00 14 	beq-    cr7,ffc05150 <rtems_filesystem_prefix_separators+0x60>
ffc05140:	41 9a 00 10 	beq-    cr6,ffc05150 <rtems_filesystem_prefix_separators+0x60><== NEVER TAKEN
ffc05144:	48 00 13 ad 	bl      ffc064f0 <rtems_filesystem_is_separator>
ffc05148:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0514c:	40 9e ff e0 	bne+    cr7,ffc0512c <rtems_filesystem_prefix_separators+0x3c>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
ffc05150:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05154:	7f e3 fb 78 	mr      r3,r31                                 
ffc05158:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0515c:	7c 08 03 a6 	mtlr    r0                                     
ffc05160:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05164:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05168:	38 21 00 18 	addi    r1,r1,24                               
ffc0516c:	4e 80 00 20 	blr                                            
                                                                      

ffc0f9e8 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
ffc0f9e8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f9ec:	7c 08 02 a6 	mflr    r0                                     
ffc0f9f0:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0f9f4:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
int                                                                   
rtems_filesystem_unregister(                                          
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f9f8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f9fc:	93 81 00 08 	stw     r28,8(r1)                              
ffc0fa00:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0fa04:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0fa08:	41 82 00 c8 	beq-    ffc0fad0 <rtems_filesystem_unregister+0xe8>
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0fa0c:	3f c0 00 00 	lis     r30,0                                  
ffc0fa10:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0fa14:	38 80 00 00 	li      r4,0                                   
ffc0fa18:	38 a0 00 00 	li      r5,0                                   
ffc0fa1c:	4b ff 99 bd 	bl      ffc093d8 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0fa20:	3d 20 00 00 	lis     r9,0                                   
ffc0fa24:	3b 89 21 c0 	addi    r28,r9,8640                            
ffc0fa28:	83 a9 21 c0 	lwz     r29,8640(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0fa2c:	3b 9c 00 04 	addi    r28,r28,4                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0fa30:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0fa34:	40 be 00 14 	bne+    cr7,ffc0fa48 <rtems_filesystem_unregister+0x60>
ffc0fa38:	48 00 00 60 	b       ffc0fa98 <rtems_filesystem_unregister+0xb0>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0fa3c:	83 bd 00 00 	lwz     r29,0(r29)                             
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0fa40:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0fa44:	41 9e 00 54 	beq-    cr7,ffc0fa98 <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 ) {                     
ffc0fa48:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc0fa4c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0fa50:	48 00 44 5d 	bl      ffc13eac <strcmp>                      
ffc0fa54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fa58:	40 9e ff e4 	bne+    cr7,ffc0fa3c <rtems_filesystem_unregister+0x54>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0fa5c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0fa60:	4b ff a7 61 	bl      ffc0a1c0 <_Chain_Extract>              
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
ffc0fa64:	7f a3 eb 78 	mr      r3,r29                                 
ffc0fa68:	4b ff 57 35 	bl      ffc0519c <free>                        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0fa6c:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0fa70:	4b ff 9a f5 	bl      ffc09564 <rtems_semaphore_release>     
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0fa74:	80 01 00 1c 	lwz     r0,28(r1)                              
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
ffc0fa78:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0fa7c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0fa80:	7c 08 03 a6 	mtlr    r0                                     
ffc0fa84:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0fa88:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0fa8c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0fa90:	38 21 00 18 	addi    r1,r1,24                               
ffc0fa94:	4e 80 00 20 	blr                                            
ffc0fa98:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0fa9c:	4b ff 9a c9 	bl      ffc09564 <rtems_semaphore_release>     
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0faa0:	48 00 30 bd 	bl      ffc12b5c <__errno>                     
ffc0faa4:	38 00 00 02 	li      r0,2                                   
ffc0faa8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0faac:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0fab0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0fab4:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0fab8:	7c 08 03 a6 	mtlr    r0                                     
ffc0fabc:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0fac0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0fac4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0fac8:	38 21 00 18 	addi    r1,r1,24                               
ffc0facc:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0fad0:	48 00 30 8d 	bl      ffc12b5c <__errno>                     
ffc0fad4:	38 00 00 16 	li      r0,22                                  
ffc0fad8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0fadc:	38 60 ff ff 	li      r3,-1                                  
ffc0fae0:	4b ff ff d0 	b       ffc0fab0 <rtems_filesystem_unregister+0xc8>
                                                                      

ffc0585c <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
ffc0585c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05860:	7c 08 02 a6 	mflr    r0                                     
ffc05864:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05868:	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 ) );
ffc0586c:	38 60 00 08 	li      r3,8                                   
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
ffc05870:	90 01 00 1c 	stw     r0,28(r1)                              
ffc05874:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05878:	7c 9e 23 78 	mr      r30,r4                                 
ffc0587c:	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 ) );
ffc05880:	48 00 05 9d 	bl      ffc05e1c <malloc>                      
ffc05884:	7c 7f 1b 78 	mr      r31,r3                                 
  *key = new_key;                                                     
ffc05888:	90 7d 00 00 	stw     r3,0(r29)                              
  new_key->val  = NULL;                                               
ffc0588c:	38 00 00 00 	li      r0,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 );
ffc05890:	38 60 00 00 	li      r3,0                                   
ffc05894:	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;                                               
ffc05898:	90 1f 00 00 	stw     r0,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 );
ffc0589c:	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;                                               
ffc058a0:	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 );
ffc058a4:	48 00 4b d5 	bl      ffc0a478 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc058a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
ffc058ac:	38 60 00 00 	li      r3,0                                   
    );                                                                
  #endif                                                              
                                                                      
  /* 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 )                                   
ffc058b0:	40 9e 00 20 	bne-    cr7,ffc058d0 <rtems_gxx_key_create+0x74><== NEVER TAKEN
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
ffc058b4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc058b8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc058bc:	7c 08 03 a6 	mtlr    r0                                     
ffc058c0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc058c4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc058c8:	38 21 00 18 	addi    r1,r1,24                               
ffc058cc:	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 );                                                    
ffc058d0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc058d4:	4b ff fd 59 	bl      ffc0562c <free>                        <== NOT EXECUTED
  return -1;                                                          
ffc058d8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc058dc:	4b ff ff d8 	b       ffc058b4 <rtems_gxx_key_create+0x58>   <== NOT EXECUTED
                                                                      

ffc058f0 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
ffc058f0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc058f4:	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 );    
ffc058f8:	7c 64 1b 78 	mr      r4,r3                                  
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc058fc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05900:	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 );    
ffc05904:	38 60 00 00 	li      r3,0                                   
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc05908:	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 );    
ffc0590c:	48 00 4c 69 	bl      ffc0a574 <rtems_task_variable_delete>  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc05910:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05914:	40 9e 00 14 	bne-    cr7,ffc05928 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
ffc05918:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0591c:	41 9e 00 0c 	beq-    cr7,ffc05928 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
ffc05920:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc05924:	4b ff fd 09 	bl      ffc0562c <free>                        
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
ffc05928:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0592c:	38 60 00 00 	li      r3,0                                   
ffc05930:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05934:	38 21 00 10 	addi    r1,r1,16                               
ffc05938:	7c 08 03 a6 	mtlr    r0                                     
ffc0593c:	4e 80 00 20 	blr                                            
                                                                      

ffc05a78 <rtems_gxx_mutex_lock>: printk( "gxx_wrappers: mutex init complete =%X\n", *mutex ); #endif } int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex) {
ffc05a78:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05a7c:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: lock mutex=%X\n", *mutex );                
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain(                                    
ffc05a80:	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)                   
{                                                                     
ffc05a84:	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(                                    
ffc05a88:	38 a0 00 00 	li      r5,0                                   
ffc05a8c:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05a90:	48 00 40 f5 	bl      ffc09b84 <rtems_semaphore_obtain>      
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05a94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05a98:	38 60 ff ff 	li      r3,-1                                  
  status = rtems_semaphore_obtain(                                    
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05a9c:	40 9e 00 08 	bne-    cr7,ffc05aa4 <rtems_gxx_mutex_lock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05aa0:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05aa4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05aa8:	38 21 00 08 	addi    r1,r1,8                                
ffc05aac:	7c 08 03 a6 	mtlr    r0                                     
ffc05ab0:	4e 80 00 20 	blr                                            
                                                                      

ffc05ae8 <rtems_gxx_mutex_trylock>: int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex) {
ffc05ae8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05aec:	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);
ffc05af0:	38 80 00 01 	li      r4,1                                   
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)                
{                                                                     
ffc05af4:	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);
ffc05af8:	38 a0 00 00 	li      r5,0                                   
ffc05afc:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05b00:	48 00 40 85 	bl      ffc09b84 <rtems_semaphore_obtain>      
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05b08:	38 60 ff ff 	li      r3,-1                                  
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b0c:	40 9e 00 08 	bne-    cr7,ffc05b14 <rtems_gxx_mutex_trylock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05b10:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05b14:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05b18:	38 21 00 08 	addi    r1,r1,8                                
ffc05b1c:	7c 08 03 a6 	mtlr    r0                                     
ffc05b20:	4e 80 00 20 	blr                                            
                                                                      

ffc05b24 <rtems_gxx_mutex_unlock>: int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex) {
ffc05b24:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05b28:	7c 08 02 a6 	mflr    r0                                     
ffc05b2c:	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 );             
ffc05b30:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05b34:	48 00 41 dd 	bl      ffc09d10 <rtems_semaphore_release>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05b3c:	38 60 ff ff 	li      r3,-1                                  
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: unlock mutex=%X\n", *mutex );              
  #endif                                                              
                                                                      
  status = rtems_semaphore_release( *(rtems_id *)mutex );             
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b40:	40 9e 00 08 	bne-    cr7,ffc05b48 <rtems_gxx_mutex_unlock+0x24><== NEVER TAKEN
    return 0;                                                         
ffc05b44:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05b48:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05b4c:	38 21 00 08 	addi    r1,r1,8                                
ffc05b50:	7c 08 03 a6 	mtlr    r0                                     
ffc05b54:	4e 80 00 20 	blr                                            
                                                                      

ffc05794 <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)) {
ffc05794:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05798:	7c 08 02 a6 	mflr    r0                                     
ffc0579c:	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 ) {                    
ffc057a0:	80 03 00 00 	lwz     r0,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))       
{                                                                     
ffc057a4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc057a8:	7c 9e 23 78 	mr      r30,r4                                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc057ac:	2f 80 00 00 	cmpwi   cr7,r0,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))       
{                                                                     
ffc057b0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc057b4:	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 ) {                    
ffc057b8:	41 9e 00 20 	beq-    cr7,ffc057d8 <rtems_gxx_once+0x44>     
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc057bc:	80 01 00 24 	lwz     r0,36(r1)                              
ffc057c0:	38 60 00 00 	li      r3,0                                   
ffc057c4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc057c8:	7c 08 03 a6 	mtlr    r0                                     
ffc057cc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc057d0:	38 21 00 20 	addi    r1,r1,32                               
ffc057d4:	4e 80 00 20 	blr                                            
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc057d8:	38 60 01 00 	li      r3,256                                 
ffc057dc:	38 80 01 00 	li      r4,256                                 
ffc057e0:	38 a1 00 08 	addi    r5,r1,8                                
ffc057e4:	48 00 49 5d 	bl      ffc0a140 <rtems_task_mode>             
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
ffc057e8:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc057ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc057f0:	40 9e 00 40 	bne-    cr7,ffc05830 <rtems_gxx_once+0x9c>     <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
ffc057f4:	38 00 00 01 	li      r0,1                                   
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc057f8:	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;                         
ffc057fc:	90 1f 00 00 	stw     r0,0(r31)                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc05800:	38 a1 00 08 	addi    r5,r1,8                                
ffc05804:	38 80 01 00 	li      r4,256                                 
ffc05808:	48 00 49 39 	bl      ffc0a140 <rtems_task_mode>             
    if ( o == 0 )                                                     
      (*func)();                                                      
ffc0580c:	7f c9 03 a6 	mtctr   r30                                    
ffc05810:	4e 80 04 21 	bctrl                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05814:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05818:	38 60 00 00 	li      r3,0                                   
ffc0581c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05820:	7c 08 03 a6 	mtlr    r0                                     
ffc05824:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05828:	38 21 00 20 	addi    r1,r1,32                               
ffc0582c:	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);         
ffc05830:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc05834:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc05838:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc0583c:	48 00 49 05 	bl      ffc0a140 <rtems_task_mode>             <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05840:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc05844:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc05848:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc0584c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05850:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc05854:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc05858:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc059d0 <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
ffc059d0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc059d4:	7c 08 02 a6 	mflr    r0                                     
ffc059d8:	90 01 00 14 	stw     r0,20(r1)                              
ffc059dc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc059e0:	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 );
ffc059e4:	80 a3 00 04 	lwz     r5,4(r3)                               
ffc059e8:	38 60 00 00 	li      r3,0                                   
  #endif                                                              
  return p;                                                           
}                                                                     
                                                                      
int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr)       
{                                                                     
ffc059ec:	93 c1 00 08 	stw     r30,8(r1)                              
ffc059f0:	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 );
ffc059f4:	7f e4 fb 78 	mr      r4,r31                                 
ffc059f8:	48 00 4a 81 	bl      ffc0a478 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc059fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
ffc05a00:	38 60 ff ff 	li      r3,-1                                  
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc05a04:	40 9e 00 0c 	bne-    cr7,ffc05a10 <rtems_gxx_setspecific+0x40><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
ffc05a08:	93 df 00 00 	stw     r30,0(r31)                             
    return 0;                                                         
ffc05a0c:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  return -1;                                                          
}                                                                     
ffc05a10:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05a14:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05a18:	7c 08 03 a6 	mtlr    r0                                     
ffc05a1c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05a20:	38 21 00 10 	addi    r1,r1,16                               
ffc05a24:	4e 80 00 20 	blr                                            
                                                                      

ffc09ca4 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
ffc09ca4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09ca8:	7c 08 02 a6 	mflr    r0                                     
  if (                                                                
ffc09cac:	3d 20 00 00 	lis     r9,0                                   
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09cb0:	90 01 00 1c 	stw     r0,28(r1)                              
  if (                                                                
ffc09cb4:	80 09 28 80 	lwz     r0,10368(r9)                           
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09cb8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09cbc:	7c 7d 1b 78 	mr      r29,r3                                 
  if (                                                                
ffc09cc0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09cc4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09cc8:	7c 9e 23 78 	mr      r30,r4                                 
ffc09ccc:	93 e1 00 14 	stw     r31,20(r1)                             
ffc09cd0:	7c bf 2b 78 	mr      r31,r5                                 
  if (                                                                
ffc09cd4:	41 9e 00 3c 	beq-    cr7,ffc09d10 <rtems_heap_allocate_aligned_with_boundary+0x6c><== ALWAYS TAKEN
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
ffc09cd8:	4b ff ea 41 	bl      ffc08718 <malloc_deferred_frees_process>
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc09cdc:	3d 20 00 00 	lis     r9,0                                   
ffc09ce0:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc09ce4:	7f a4 eb 78 	mr      r4,r29                                 
ffc09ce8:	7f c5 f3 78 	mr      r5,r30                                 
ffc09cec:	7f e6 fb 78 	mr      r6,r31                                 
ffc09cf0:	48 00 65 01 	bl      ffc101f0 <_Protected_heap_Allocate_aligned_with_boundary>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc09cf4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09cf8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09cfc:	7c 08 03 a6 	mtlr    r0                                     
ffc09d00:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09d04:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09d08:	38 21 00 18 	addi    r1,r1,24                               
ffc09d0c:	4e 80 00 20 	blr                                            
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc09d10:	4b ff e9 c1 	bl      ffc086d0 <malloc_is_system_state_OK>   
ffc09d14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  ) {                                                                 
    return NULL;                                                      
ffc09d18:	38 60 00 00 	li      r3,0                                   
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc09d1c:	40 9e ff bc 	bne+    cr7,ffc09cd8 <rtems_heap_allocate_aligned_with_boundary+0x34>
ffc09d20:	4b ff ff d4 	b       ffc09cf4 <rtems_heap_allocate_aligned_with_boundary+0x50>
                                                                      

ffc04930 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
ffc04930:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04934:	7c 08 02 a6 	mflr    r0                                     
ffc04938:	93 81 00 28 	stw     r28,40(r1)                             
ffc0493c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04940:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04944:	93 c1 00 30 	stw     r30,48(r1)                             
ffc04948:	7c 9e 23 78 	mr      r30,r4                                 
ffc0494c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04950:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
ffc04954:	48 00 fb 35 	bl      ffc14488 <strlen>                      
ffc04958:	38 a0 00 00 	li      r5,0                                   
ffc0495c:	7c 64 1b 78 	mr      r4,r3                                  
ffc04960:	38 c1 00 08 	addi    r6,r1,8                                
ffc04964:	38 e0 00 01 	li      r7,1                                   
ffc04968:	7f e3 fb 78 	mr      r3,r31                                 
ffc0496c:	48 00 06 a9 	bl      ffc05014 <rtems_filesystem_evaluate_path>
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc04970:	81 21 00 14 	lwz     r9,20(r1)                              
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
ffc04974:	7c 7d 1b 78 	mr      r29,r3                                 
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
ffc04978:	83 81 00 08 	lwz     r28,8(r1)                              
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc0497c:	80 09 00 10 	lwz     r0,16(r9)                              
ffc04980:	38 61 00 08 	addi    r3,r1,8                                
ffc04984:	7c 09 03 a6 	mtctr   r0                                     
ffc04988:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
ffc0498c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04990:	40 9e 00 0c 	bne-    cr7,ffc0499c <rtems_io_lookup_name+0x6c><== NEVER TAKEN
ffc04994:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc04998:	41 9e 00 30 	beq-    cr7,ffc049c8 <rtems_io_lookup_name+0x98>
    rtems_filesystem_freenode( &loc );                                
ffc0499c:	38 61 00 08 	addi    r3,r1,8                                
ffc049a0:	48 00 07 d1 	bl      ffc05170 <rtems_filesystem_freenode>   
    return RTEMS_UNSATISFIED;                                         
ffc049a4:	38 60 00 0d 	li      r3,13                                  
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc049a8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc049ac:	83 81 00 28 	lwz     r28,40(r1)                             
ffc049b0:	7c 08 03 a6 	mtlr    r0                                     
ffc049b4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc049b8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc049bc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc049c0:	38 21 00 38 	addi    r1,r1,56                               
ffc049c4:	4e 80 00 20 	blr                                            
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
ffc049c8:	93 fe 00 00 	stw     r31,0(r30)                             
  device_info->device_name_length = strlen( name );                   
ffc049cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc049d0:	48 00 fa b9 	bl      ffc14488 <strlen>                      
ffc049d4:	90 7e 00 04 	stw     r3,4(r30)                              
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc049d8:	38 61 00 08 	addi    r3,r1,8                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
ffc049dc:	80 1c 00 50 	lwz     r0,80(r28)                             
ffc049e0:	90 1e 00 08 	stw     r0,8(r30)                              
  device_info->minor              = the_jnode->info.device.minor;     
ffc049e4:	80 1c 00 54 	lwz     r0,84(r28)                             
ffc049e8:	90 1e 00 0c 	stw     r0,12(r30)                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc049ec:	48 00 07 85 	bl      ffc05170 <rtems_filesystem_freenode>   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc049f0:	38 60 00 00 	li      r3,0                                   
ffc049f4:	4b ff ff b4 	b       ffc049a8 <rtems_io_lookup_name+0x78>   
                                                                      

ffc0ac3c <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
ffc0ac3c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ac40:	7c 08 02 a6 	mflr    r0                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0ac44:	3d 20 00 00 	lis     r9,0                                   
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                  
)                                                                     
{                                                                     
ffc0ac48:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0ac4c:	80 09 2e 60 	lwz     r0,11872(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;      
ffc0ac50:	3d 20 00 00 	lis     r9,0                                   
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                  
)                                                                     
{                                                                     
ffc0ac54:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0ac58:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0ac5c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return RTEMS_CALLED_FROM_ISR;                                     
ffc0ac60:	38 60 00 12 	li      r3,18                                  
  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;      
ffc0ac64:	80 09 28 08 	lwz     r0,10248(r9)                           
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0ac68:	41 9e 00 18 	beq-    cr7,ffc0ac80 <rtems_io_register_driver+0x44>
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0ac6c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ac70:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ac74:	38 21 00 10 	addi    r1,r1,16                               
ffc0ac78:	7c 08 03 a6 	mtlr    r0                                     
ffc0ac7c:	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 )                                     
ffc0ac80:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc0ac84:	38 60 00 09 	li      r3,9                                   
  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 )                                     
ffc0ac88:	41 be ff e4 	beq-    cr7,ffc0ac6c <rtems_io_register_driver+0x30>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
ffc0ac8c:	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;                                    
ffc0ac90:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( driver_table == NULL )                                         
ffc0ac94:	41 be ff d8 	beq-    cr7,ffc0ac6c <rtems_io_register_driver+0x30>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ac98:	81 64 00 00 	lwz     r11,0(r4)                              
ffc0ac9c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0aca0:	41 9e 00 f4 	beq-    cr7,ffc0ad94 <rtems_io_register_driver+0x158>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc0aca4:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
    return RTEMS_INVALID_NUMBER;                                      
ffc0aca8:	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 )                                         
ffc0acac:	40 9d ff c0 	ble+    cr7,ffc0ac6c <rtems_io_register_driver+0x30>
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc0acb0:	3d 60 00 00 	lis     r11,0                                  
ffc0acb4:	81 4b 27 c0 	lwz     r10,10176(r11)                         
ffc0acb8:	38 0a 00 01 	addi    r0,r10,1                               
ffc0acbc:	90 0b 27 c0 	stw     r0,10176(r11)                          
    return _Thread_Dispatch_disable_level;                            
ffc0acc0:	80 0b 27 c0 	lwz     r0,10176(r11)                          
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
ffc0acc4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0acc8:	40 9e 00 a4 	bne-    cr7,ffc0ad6c <rtems_io_register_driver+0x130>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
ffc0accc:	81 49 28 08 	lwz     r10,10248(r9)                          
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc0acd0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0acd4:	41 9e 00 d0 	beq-    cr7,ffc0ada4 <rtems_io_register_driver+0x168><== NEVER TAKEN
ffc0acd8:	3d 60 00 00 	lis     r11,0                                  
ffc0acdc:	7d 49 03 a6 	mtctr   r10                                    
ffc0ace0:	81 2b 28 0c 	lwz     r9,10252(r11)                          
ffc0ace4:	48 00 00 10 	b       ffc0acf4 <rtems_io_register_driver+0xb8>
ffc0ace8:	3b ff 00 01 	addi    r31,r31,1                              
ffc0acec:	39 29 00 18 	addi    r9,r9,24                               
ffc0acf0:	42 40 00 b4 	bdz-    ffc0ada4 <rtems_io_register_driver+0x168>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0acf4:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0acf8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0acfc:	40 9e ff ec 	bne+    cr7,ffc0ace8 <rtems_io_register_driver+0xac>
ffc0ad00:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0ad04:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ad08:	40 9e ff e0 	bne+    cr7,ffc0ace8 <rtems_io_register_driver+0xac>
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
ffc0ad0c:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0ad10:	93 e5 00 00 	stw     r31,0(r5)                              
ffc0ad14:	1c 1f 00 18 	mulli   r0,r31,24                              
                                                                      
  if ( m != n )                                                       
ffc0ad18:	41 9e 00 90 	beq-    cr7,ffc0ada8 <rtems_io_register_driver+0x16c><== NEVER TAKEN
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
ffc0ad1c:	81 6b 28 0c 	lwz     r11,10252(r11)                         
ffc0ad20:	80 c4 00 00 	lwz     r6,0(r4)                               
ffc0ad24:	80 e4 00 04 	lwz     r7,4(r4)                               
ffc0ad28:	7d 2b 02 14 	add     r9,r11,r0                              
ffc0ad2c:	81 04 00 08 	lwz     r8,8(r4)                               
ffc0ad30:	81 44 00 0c 	lwz     r10,12(r4)                             
ffc0ad34:	7c cb 01 2e 	stwx    r6,r11,r0                              
ffc0ad38:	90 e9 00 04 	stw     r7,4(r9)                               
ffc0ad3c:	91 09 00 08 	stw     r8,8(r9)                               
ffc0ad40:	91 49 00 0c 	stw     r10,12(r9)                             
ffc0ad44:	81 64 00 10 	lwz     r11,16(r4)                             
ffc0ad48:	80 04 00 14 	lwz     r0,20(r4)                              
ffc0ad4c:	91 69 00 10 	stw     r11,16(r9)                             
ffc0ad50:	90 09 00 14 	stw     r0,20(r9)                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0ad54:	48 00 26 7d 	bl      ffc0d3d0 <_Thread_Enable_dispatch>     
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc0ad58:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ad5c:	38 80 00 00 	li      r4,0                                   
ffc0ad60:	38 a0 00 00 	li      r5,0                                   
ffc0ad64:	48 00 9b e5 	bl      ffc14948 <rtems_io_initialize>         
ffc0ad68:	4b ff ff 04 	b       ffc0ac6c <rtems_io_register_driver+0x30>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0ad6c:	3d 60 00 00 	lis     r11,0                                  
ffc0ad70:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc0ad74:	81 2b 28 0c 	lwz     r9,10252(r11)                          
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ad78:	7d 49 00 2e 	lwzx    r10,r9,r0                              
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0ad7c:	7d 29 02 14 	add     r9,r9,r0                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ad80:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ad84:	41 9e 00 30 	beq-    cr7,ffc0adb4 <rtems_io_register_driver+0x178>
    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();                                      
ffc0ad88:	48 00 26 49 	bl      ffc0d3d0 <_Thread_Enable_dispatch>     
      return RTEMS_RESOURCE_IN_USE;                                   
ffc0ad8c:	38 60 00 0c 	li      r3,12                                  
ffc0ad90:	4b ff fe dc 	b       ffc0ac6c <rtems_io_register_driver+0x30>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ad94:	81 64 00 04 	lwz     r11,4(r4)                              
ffc0ad98:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0ad9c:	40 9e ff 08 	bne+    cr7,ffc0aca4 <rtems_io_register_driver+0x68>
ffc0ada0:	4b ff fe cc 	b       ffc0ac6c <rtems_io_register_driver+0x30>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0ada4:	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();                                      
ffc0ada8:	48 00 26 29 	bl      ffc0d3d0 <_Thread_Enable_dispatch>     
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
ffc0adac:	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;                                                      
ffc0adb0:	4b ff fe bc 	b       ffc0ac6c <rtems_io_register_driver+0x30>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0adb4:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0adb8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0adbc:	40 9e ff cc 	bne+    cr7,ffc0ad88 <rtems_io_register_driver+0x14c>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
ffc0adc0:	93 e5 00 00 	stw     r31,0(r5)                              
ffc0adc4:	4b ff ff 58 	b       ffc0ad1c <rtems_io_register_driver+0xe0>
                                                                      

ffc0c8c8 <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) {
ffc0c8c8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c8cc:	7c 08 02 a6 	mflr    r0                                     
ffc0c8d0:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0c8d4:	7c 60 1b 79 	mr.     r0,r3                                  
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
{                                                                     
ffc0c8d8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0c8dc:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0c8e0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0c8e4:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0c8e8:	90 01 00 08 	stw     r0,8(r1)                               
ffc0c8ec:	41 82 00 74 	beq-    ffc0c960 <rtems_iterate_over_all_threads+0x98><== NEVER TAKEN
ffc0c8f0:	3f a0 00 00 	lis     r29,0                                  
ffc0c8f4:	3b bd 30 00 	addi    r29,r29,12288                          
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
ffc0c8f8:	3b 9d 00 0c 	addi    r28,r29,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 ] )                 
ffc0c8fc:	85 3d 00 04 	lwzu    r9,4(r29)                              
ffc0c900:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c904:	41 9e 00 54 	beq-    cr7,ffc0c958 <rtems_iterate_over_all_threads+0x90>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0c908:	83 c9 00 04 	lwz     r30,4(r9)                              
    if ( !information )                                               
ffc0c90c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0c910:	41 9e 00 48 	beq-    cr7,ffc0c958 <rtems_iterate_over_all_threads+0x90>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c914:	a0 1e 00 10 	lhz     r0,16(r30)                             
ffc0c918:	70 09 ff ff 	andi.   r9,r0,65535                            
ffc0c91c:	41 82 00 3c 	beq-    ffc0c958 <rtems_iterate_over_all_threads+0x90><== NEVER TAKEN
ffc0c920:	3b e0 00 01 	li      r31,1                                  
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0c924:	81 7e 00 1c 	lwz     r11,28(r30)                            
ffc0c928:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c92c:	3b ff 00 01 	addi    r31,r31,1                              
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0c930:	7c 6b 48 2e 	lwzx    r3,r11,r9                              
                                                                      
      if ( !the_thread )                                              
ffc0c934:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c938:	41 9e 00 14 	beq-    cr7,ffc0c94c <rtems_iterate_over_all_threads+0x84>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0c93c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c940:	7c 09 03 a6 	mtctr   r0                                     
ffc0c944:	4e 80 04 21 	bctrl                                          
ffc0c948:	a0 1e 00 10 	lhz     r0,16(r30)                             
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c94c:	54 09 04 3e 	clrlwi  r9,r0,16                               
ffc0c950:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc0c954:	40 9c ff d0 	bge+    cr7,ffc0c924 <rtems_iterate_over_all_threads+0x5c>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0c958:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0c95c:	40 9e ff a0 	bne+    cr7,ffc0c8fc <rtems_iterate_over_all_threads+0x34>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0c960:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c964:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0c968:	7c 08 03 a6 	mtlr    r0                                     
ffc0c96c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0c970:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c974:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c978:	38 21 00 20 	addi    r1,r1,32                               
ffc0c97c:	4e 80 00 20 	blr                                            
                                                                      

ffc0f514 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
ffc0f514:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f518:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f51c:	38 80 00 00 	li      r4,0                                   
ffc0f520:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0f524:	3f c0 00 00 	lis     r30,0                                  
ffc0f528:	38 a0 00 00 	li      r5,0                                   
ffc0f52c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0f530:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f534:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f538:	90 01 00 14 	stw     r0,20(r1)                              
ffc0f53c:	4b ff 9e 9d 	bl      ffc093d8 <rtems_semaphore_obtain>      
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
ffc0f540:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0f544:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f548:	41 be 00 08 	beq+    cr7,ffc0f550 <rtems_libio_free+0x3c>   <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
ffc0f54c:	4b ff 9d b1 	bl      ffc092fc <rtems_semaphore_delete>      
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0f550:	81 7f 00 18 	lwz     r11,24(r31)                            
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0f554:	3d 20 00 00 	lis     r9,0                                   
ffc0f558:	80 09 27 b0 	lwz     r0,10160(r9)                           
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0f55c:	55 6b 06 2c 	rlwinm  r11,r11,0,24,22                        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f560:	80 7e 27 b4 	lwz     r3,10164(r30)                          
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0f564:	90 1f 00 38 	stw     r0,56(r31)                             
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0f568:	91 7f 00 18 	stw     r11,24(r31)                            
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
ffc0f56c:	93 e9 27 b0 	stw     r31,10160(r9)                          
ffc0f570:	4b ff 9f f5 	bl      ffc09564 <rtems_semaphore_release>     
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
ffc0f574:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f578:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0f57c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f580:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f584:	38 21 00 10 	addi    r1,r1,16                               
ffc0f588:	4e 80 00 20 	blr                                            
                                                                      

ffc05304 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
ffc05304:	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)                                  
ffc05308:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc0530c:	7c 08 02 a6 	mflr    r0                                     
ffc05310:	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)                                  
ffc05314:	83 e9 26 fc 	lwz     r31,9980(r9)                           
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc05318:	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)                                  
ffc0531c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05320:	41 9e 00 64 	beq-    cr7,ffc05384 <rtems_libio_init+0x80>   <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc05324:	7f e3 fb 78 	mr      r3,r31                                 
ffc05328:	38 80 00 40 	li      r4,64                                  
ffc0532c:	4b ff f8 6d 	bl      ffc04b98 <calloc>                      
ffc05330:	3d 20 00 00 	lis     r9,0                                   
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc05334:	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,
ffc05338:	90 69 27 ac 	stw     r3,10156(r9)                           
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc0533c:	41 9e 00 a0 	beq-    cr7,ffc053dc <rtems_libio_init+0xd8>   
            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++)  
ffc05340:	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;            
ffc05344:	3d 20 00 00 	lis     r9,0                                   
ffc05348:	90 69 27 b0 	stw     r3,10160(r9)                           
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc0534c:	40 9d 00 30 	ble-    cr7,ffc0537c <rtems_libio_init+0x78>   <== NEVER TAKEN
ffc05350:	3b ff ff ff 	addi    r31,r31,-1                             
ffc05354:	7f e9 03 a6 	mtctr   r31                                    
ffc05358:	7c 69 1b 78 	mr      r9,r3                                  
ffc0535c:	39 60 00 01 	li      r11,1                                  
          iop->data1 = iop + 1;                                       
ffc05360:	39 29 00 40 	addi    r9,r9,64                               
ffc05364:	91 29 ff f8 	stw     r9,-8(r9)                              
ffc05368:	39 6b 00 01 	addi    r11,r11,1                              
                                                    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++)  
ffc0536c:	42 00 ff f4 	bdnz+   ffc05360 <rtems_libio_init+0x5c>       
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
ffc05370:	39 6b ff ff 	addi    r11,r11,-1                             
ffc05374:	55 6b 30 32 	rlwinm  r11,r11,6,0,25                         
                                                    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++)  
ffc05378:	7c 63 5a 14 	add     r3,r3,r11                              
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
ffc0537c:	38 00 00 00 	li      r0,0                                   
ffc05380:	90 03 00 38 	stw     r0,56(r3)                              
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
ffc05384:	3c 60 4c 42 	lis     r3,19522                               
ffc05388:	3c e0 00 00 	lis     r7,0                                   
ffc0538c:	60 63 49 4f 	ori     r3,r3,18767                            
ffc05390:	38 80 00 01 	li      r4,1                                   
ffc05394:	38 a0 00 54 	li      r5,84                                  
ffc05398:	38 c0 00 00 	li      r6,0                                   
ffc0539c:	38 e7 27 b4 	addi    r7,r7,10164                            
ffc053a0:	48 00 3d 61 	bl      ffc09100 <rtems_semaphore_create>      
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
ffc053a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc053a8:	40 9e 00 30 	bne-    cr7,ffc053d8 <rtems_libio_init+0xd4>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
ffc053ac:	3d 20 00 00 	lis     r9,0                                   
ffc053b0:	80 09 27 00 	lwz     r0,9984(r9)                            
ffc053b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc053b8:	41 9e 00 0c 	beq-    cr7,ffc053c4 <rtems_libio_init+0xc0>   <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
ffc053bc:	7c 09 03 a6 	mtctr   r0                                     
ffc053c0:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc053c4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc053c8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc053cc:	38 21 00 10 	addi    r1,r1,16                               
ffc053d0:	7c 08 03 a6 	mtlr    r0                                     
ffc053d4:	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 );                                 
ffc053d8:	48 00 49 65 	bl      ffc09d3c <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);              
ffc053dc:	38 60 00 1a 	li      r3,26                                  
ffc053e0:	48 00 49 5d 	bl      ffc09d3c <rtems_fatal_error_occurred>  
                                                                      

ffc0f654 <rtems_libio_is_file_open>: */ int rtems_libio_is_file_open( void *node_access ) {
ffc0f654:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f658:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f65c:	38 80 00 00 	li      r4,0                                   
ffc0f660:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f664:	3f c0 00 00 	lis     r30,0                                  
ffc0f668:	38 a0 00 00 	li      r5,0                                   
ffc0f66c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0f670:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f674:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f678:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f67c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f680:	4b ff 9d 59 	bl      ffc093d8 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f684:	3d 20 00 00 	lis     r9,0                                   
ffc0f688:	80 09 26 fc 	lwz     r0,9980(r9)                            
ffc0f68c:	3d 20 00 00 	lis     r9,0                                   
ffc0f690:	81 29 27 ac 	lwz     r9,10156(r9)                           
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
ffc0f694:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f698:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f69c:	41 9e 00 2c 	beq-    cr7,ffc0f6c8 <rtems_libio_is_file_open+0x74><== NEVER TAKEN
ffc0f6a0:	7c 09 03 a6 	mtctr   r0                                     
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0f6a4:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0f6a8:	70 0b 01 00 	andi.   r11,r0,256                             
ffc0f6ac:	41 82 00 10 	beq-    ffc0f6bc <rtems_libio_is_file_open+0x68>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
ffc0f6b0:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc0f6b4:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0f6b8:	41 9e 00 38 	beq-    cr7,ffc0f6f0 <rtems_libio_is_file_open+0x9c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f6bc:	39 29 00 40 	addi    r9,r9,64                               
ffc0f6c0:	42 00 ff e4 	bdnz+   ffc0f6a4 <rtems_libio_is_file_open+0x50>
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
ffc0f6c4:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f6c8:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f6cc:	4b ff 9e 99 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0f6d0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f6d4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f6d8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f6dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0f6e0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f6e4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f6e8:	38 21 00 18 	addi    r1,r1,24                               
ffc0f6ec:	4e 80 00 20 	blr                                            
ffc0f6f0:	80 7e 27 b4 	lwz     r3,10164(r30)                          
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
          result = 1;                                                 
ffc0f6f4:	3b a0 00 01 	li      r29,1                                  
ffc0f6f8:	4b ff 9e 6d 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0f6fc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f700:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f704:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f708:	7c 08 03 a6 	mtlr    r0                                     
ffc0f70c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f710:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f714:	38 21 00 18 	addi    r1,r1,24                               
ffc0f718:	4e 80 00 20 	blr                                            
                                                                      

ffc0f58c <rtems_libio_is_open_files_in_fs>: */ int rtems_libio_is_open_files_in_fs( rtems_filesystem_mount_table_entry_t * fs_mt_entry ) {
ffc0f58c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f590:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f594:	38 80 00 00 	li      r4,0                                   
ffc0f598:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f59c:	3f c0 00 00 	lis     r30,0                                  
ffc0f5a0:	38 a0 00 00 	li      r5,0                                   
ffc0f5a4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0f5a8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f5ac:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f5b0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f5b4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f5b8:	4b ff 9e 21 	bl      ffc093d8 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f5bc:	3d 20 00 00 	lis     r9,0                                   
ffc0f5c0:	80 09 26 fc 	lwz     r0,9980(r9)                            
ffc0f5c4:	3d 20 00 00 	lis     r9,0                                   
ffc0f5c8:	81 29 27 ac 	lwz     r9,10156(r9)                           
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
ffc0f5cc:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f5d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f5d4:	41 9e 00 2c 	beq-    cr7,ffc0f600 <rtems_libio_is_open_files_in_fs+0x74><== NEVER TAKEN
ffc0f5d8:	7c 09 03 a6 	mtctr   r0                                     
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0f5dc:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0f5e0:	70 0b 01 00 	andi.   r11,r0,256                             
ffc0f5e4:	41 82 00 10 	beq-    ffc0f5f4 <rtems_libio_is_open_files_in_fs+0x68>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
ffc0f5e8:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0f5ec:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0f5f0:	41 9e 00 38 	beq-    cr7,ffc0f628 <rtems_libio_is_open_files_in_fs+0x9c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0f5f4:	39 29 00 40 	addi    r9,r9,64                               
ffc0f5f8:	42 00 ff e4 	bdnz+   ffc0f5dc <rtems_libio_is_open_files_in_fs+0x50>
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
ffc0f5fc:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f600:	80 7e 27 b4 	lwz     r3,10164(r30)                          
ffc0f604:	4b ff 9f 61 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0f608:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f60c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f610:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f614:	7c 08 03 a6 	mtlr    r0                                     
ffc0f618:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f61c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f620:	38 21 00 18 	addi    r1,r1,24                               
ffc0f624:	4e 80 00 20 	blr                                            
ffc0f628:	80 7e 27 b4 	lwz     r3,10164(r30)                          
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
          result = 1;                                                 
ffc0f62c:	3b a0 00 01 	li      r29,1                                  
ffc0f630:	4b ff 9f 35 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0f634:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f638:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f63c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f640:	7c 08 03 a6 	mtlr    r0                                     
ffc0f644:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f648:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f64c:	38 21 00 18 	addi    r1,r1,24                               
ffc0f650:	4e 80 00 20 	blr                                            
                                                                      

ffc08c14 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
ffc08c14:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc08c18:	7c 08 02 a6 	mflr    r0                                     
ffc08c1c:	93 e1 00 44 	stw     r31,68(r1)                             
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
ffc08c20:	3f e0 ff c2 	lis     r31,-62                                
ffc08c24:	3b ff 55 bc 	addi    r31,r31,21948                          
    free(env);                                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc08c28:	90 01 00 4c 	stw     r0,76(r1)                              
ffc08c2c:	93 c1 00 40 	stw     r30,64(r1)                             
ffc08c30:	93 81 00 38 	stw     r28,56(r1)                             
ffc08c34:	93 a1 00 3c 	stw     r29,60(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
ffc08c38:	48 00 3d c1 	bl      ffc0c9f8 <rtems_task_self>             
ffc08c3c:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
ffc08c40:	38 80 00 01 	li      r4,1                                   
ffc08c44:	7f e3 fb 78 	mr      r3,r31                                 
ffc08c48:	38 a0 00 00 	li      r5,0                                   
ffc08c4c:	38 c1 00 1c 	addi    r6,r1,28                               
ffc08c50:	38 e0 00 00 	li      r7,0                                   
ffc08c54:	4b ff e5 99 	bl      ffc071ec <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc08c58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc08c5c:	38 60 00 1a 	li      r3,26                                  
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
ffc08c60:	41 9e 00 24 	beq-    cr7,ffc08c84 <rtems_libio_set_private_env+0x70><== ALWAYS TAKEN
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc08c64:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc08c68:	83 81 00 38 	lwz     r28,56(r1)                             
ffc08c6c:	7c 08 03 a6 	mtlr    r0                                     
ffc08c70:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc08c74:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc08c78:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc08c7c:	38 21 00 48 	addi    r1,r1,72                               
ffc08c80:	4e 80 00 20 	blr                                            
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
ffc08c84:	7f e3 fb 78 	mr      r3,r31                                 
ffc08c88:	38 80 00 01 	li      r4,1                                   
ffc08c8c:	38 a0 00 00 	li      r5,0                                   
ffc08c90:	38 c1 00 08 	addi    r6,r1,8                                
ffc08c94:	38 e0 00 00 	li      r7,0                                   
ffc08c98:	4b ff e5 55 	bl      ffc071ec <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc08c9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08ca0:	40 9e 00 d8 	bne-    cr7,ffc08d78 <rtems_libio_set_private_env+0x164><== NEVER TAKEN
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
ffc08ca4:	3f 80 00 00 	lis     r28,0                                  
ffc08ca8:	83 fc 27 1c 	lwz     r31,10012(r28)                         
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
ffc08cac:	3f a0 00 00 	lis     r29,0                                  
ffc08cb0:	3b bd 2a f8 	addi    r29,r29,11000                          
ffc08cb4:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc08cb8:	41 9e 00 10 	beq-    cr7,ffc08cc8 <rtems_libio_set_private_env+0xb4>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
ffc08cbc:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc08cc0:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc08cc4:	41 9e 00 38 	beq-    cr7,ffc08cfc <rtems_libio_set_private_env+0xe8>
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
ffc08cc8:	38 60 00 48 	li      r3,72                                  
ffc08ccc:	4b ff f1 39 	bl      ffc07e04 <malloc>                      
    if (new_env == NULL)                                              
ffc08cd0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc08cd4:	41 82 00 9c 	beq-    ffc08d70 <rtems_libio_set_private_env+0x15c>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
ffc08cd8:	3c a0 ff c1 	lis     r5,-63                                 
ffc08cdc:	38 60 00 00 	li      r3,0                                   
ffc08ce0:	38 9c 27 1c 	addi    r4,r28,10012                           
ffc08ce4:	38 a5 8b c4 	addi    r5,r5,-29756                           
ffc08ce8:	48 00 3e 3d 	bl      ffc0cb24 <rtems_task_variable_add>     
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc08cec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08cf0:	40 9e 00 78 	bne-    cr7,ffc08d68 <rtems_libio_set_private_env+0x154>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
ffc08cf4:	3d 20 00 00 	lis     r9,0                                   
ffc08cf8:	93 e9 27 1c 	stw     r31,10012(r9)                          
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
ffc08cfc:	7f e3 fb 78 	mr      r3,r31                                 
ffc08d00:	7f a4 eb 78 	mr      r4,r29                                 
ffc08d04:	38 a0 00 48 	li      r5,72                                  
ffc08d08:	48 00 d8 31 	bl      ffc16538 <memcpy>                      
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
ffc08d0c:	80 01 00 1c 	lwz     r0,28(r1)                              
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
ffc08d10:	93 df 00 00 	stw     r30,0(r31)                             
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc08d14:	38 60 00 00 	li      r3,0                                   
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
ffc08d18:	90 1f 00 18 	stw     r0,24(r31)                             
ffc08d1c:	80 01 00 20 	lwz     r0,32(r1)                              
ffc08d20:	90 1f 00 1c 	stw     r0,28(r31)                             
ffc08d24:	80 01 00 24 	lwz     r0,36(r1)                              
ffc08d28:	90 1f 00 20 	stw     r0,32(r31)                             
ffc08d2c:	80 01 00 28 	lwz     r0,40(r1)                              
ffc08d30:	90 1f 00 24 	stw     r0,36(r31)                             
ffc08d34:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc08d38:	90 1f 00 28 	stw     r0,40(r31)                             
  rtems_filesystem_current = current_loc;                             
ffc08d3c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08d40:	90 1f 00 04 	stw     r0,4(r31)                              
ffc08d44:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08d48:	90 1f 00 08 	stw     r0,8(r31)                              
ffc08d4c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc08d50:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc08d54:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08d58:	90 1f 00 10 	stw     r0,16(r31)                             
ffc08d5c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc08d60:	90 1f 00 14 	stw     r0,20(r31)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc08d64:	4b ff ff 00 	b       ffc08c64 <rtems_libio_set_private_env+0x50>
                                                                      
error_3:                                                              
  free(new_env);                                                      
ffc08d68:	7f e3 fb 78 	mr      r3,r31                                 
ffc08d6c:	4b ff e7 8d 	bl      ffc074f8 <free>                        
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
ffc08d70:	38 61 00 08 	addi    r3,r1,8                                
ffc08d74:	4b ff e7 59 	bl      ffc074cc <rtems_filesystem_freenode>   
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
ffc08d78:	38 61 00 1c 	addi    r3,r1,28                               
ffc08d7c:	4b ff e7 51 	bl      ffc074cc <rtems_filesystem_freenode>   
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc08d80:	80 01 00 4c 	lwz     r0,76(r1)                              
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc08d84:	38 60 00 1a 	li      r3,26                                  
}                                                                     
ffc08d88:	83 81 00 38 	lwz     r28,56(r1)                             
ffc08d8c:	7c 08 03 a6 	mtlr    r0                                     
ffc08d90:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc08d94:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc08d98:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc08d9c:	38 21 00 48 	addi    r1,r1,72                               
ffc08da0:	4e 80 00 20 	blr                                            
                                                                      

ffc08da4 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
ffc08da4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08da8:	7c 08 02 a6 	mflr    r0                                     
ffc08dac:	93 81 00 18 	stw     r28,24(r1)                             
ffc08db0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc08db4:	93 a1 00 1c 	stw     r29,28(r1)                             
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
ffc08db8:	3b a0 00 00 	li      r29,0                                  
 *  b) mutex access to rtems_filesystem_current, rtems_filesytem_root 
 *     while changing any of those (chdir(), chroot()).               
 */                                                                   
                                                                      
rtems_status_code rtems_libio_share_private_env(rtems_id task_id)     
{                                                                     
ffc08dbc:	93 e1 00 24 	stw     r31,36(r1)                             
ffc08dc0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc08dc4:	93 c1 00 20 	stw     r30,32(r1)                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc08dc8:	48 00 3c 31 	bl      ffc0c9f8 <rtems_task_self>             
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
ffc08dcc:	7f 9c 18 00 	cmpw    cr7,r28,r3                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc08dd0:	7c 7f 1b 78 	mr      r31,r3                                 
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
ffc08dd4:	41 9e 00 38 	beq-    cr7,ffc08e0c <rtems_libio_share_private_env+0x68><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
ffc08dd8:	3f c0 00 00 	lis     r30,0                                  
ffc08ddc:	7f 83 e3 78 	mr      r3,r28                                 
ffc08de0:	38 9e 27 1c 	addi    r4,r30,10012                           
ffc08de4:	38 a1 00 08 	addi    r5,r1,8                                
ffc08de8:	48 00 3e 39 	bl      ffc0cc20 <rtems_task_variable_get>     
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc08dec:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc08df0:	40 82 00 1c 	bne-    ffc08e0c <rtems_libio_share_private_env+0x68>
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
ffc08df4:	80 7e 27 1c 	lwz     r3,10012(r30)                          
ffc08df8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc08dfc:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc08e00:	41 9e 00 30 	beq-    cr7,ffc08e30 <rtems_libio_share_private_env+0x8c>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
ffc08e04:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08e08:	90 1e 27 1c 	stw     r0,10012(r30)                          
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08e0c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc08e10:	7f a3 eb 78 	mr      r3,r29                                 
ffc08e14:	83 81 00 18 	lwz     r28,24(r1)                             
ffc08e18:	7c 08 03 a6 	mtlr    r0                                     
ffc08e1c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc08e20:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc08e24:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc08e28:	38 21 00 28 	addi    r1,r1,40                               
ffc08e2c:	4e 80 00 20 	blr                                            
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
ffc08e30:	4b ff fd 95 	bl      ffc08bc4 <free_user_env>               
ffc08e34:	4b ff ff d0 	b       ffc08e04 <rtems_libio_share_private_env+0x60>
                                                                      

ffc0f3f4 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
ffc0f3f4:	54 60 07 7c 	rlwinm  r0,r3,0,29,30                          
ffc0f3f8:	2f 80 00 06 	cmpwi   cr7,r0,6                               
    fcntl_flags |= O_RDWR;                                            
ffc0f3fc:	38 00 00 02 	li      r0,2                                   
  uint32_t   flags                                                    
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
ffc0f400:	41 9e 00 10 	beq-    cr7,ffc0f410 <rtems_libio_to_fcntl_flags+0x1c><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0f404:	70 60 00 02 	andi.   r0,r3,2                                
    fcntl_flags |= O_RDONLY;                                          
ffc0f408:	38 00 00 00 	li      r0,0                                   
{                                                                     
  uint32_t   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) {       
ffc0f40c:	41 82 00 30 	beq-    ffc0f43c <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 ) {     
ffc0f410:	70 69 00 01 	andi.   r9,r3,1                                
ffc0f414:	41 82 00 08 	beq-    ffc0f41c <rtems_libio_to_fcntl_flags+0x28>
    fcntl_flags |= O_NONBLOCK;                                        
ffc0f418:	60 00 40 00 	ori     r0,r0,16384                            
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
ffc0f41c:	70 69 02 00 	andi.   r9,r3,512                              
ffc0f420:	41 82 00 08 	beq-    ffc0f428 <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_APPEND;                                          
ffc0f424:	60 00 00 08 	ori     r0,r0,8                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
ffc0f428:	70 69 04 00 	andi.   r9,r3,1024                             
ffc0f42c:	41 82 00 08 	beq-    ffc0f434 <rtems_libio_to_fcntl_flags+0x40>
    fcntl_flags |= O_CREAT;                                           
ffc0f430:	60 00 02 00 	ori     r0,r0,512                              
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
ffc0f434:	7c 03 03 78 	mr      r3,r0                                  
ffc0f438:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
ffc0f43c:	54 60 f7 fe 	rlwinm  r0,r3,30,31,31                         <== NOT EXECUTED
ffc0f440:	4b ff ff d0 	b       ffc0f410 <rtems_libio_to_fcntl_flags+0x1c><== NOT EXECUTED
                                                                      

ffc08b60 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
ffc08b60:	94 21 ff e8 	stwu    r1,-24(r1)                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08b64:	3d 20 00 00 	lis     r9,0                                   
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08b68:	7c 08 02 a6 	mflr    r0                                     
ffc08b6c:	7c 64 1b 78 	mr      r4,r3                                  
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08b70:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc08b74:	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                                                       
)                                                                     
{                                                                     
ffc08b78:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08b7c:	48 00 77 a5 	bl      ffc10320 <_Protected_heap_Get_block_size>
ffc08b80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08b84:	41 9e 00 2c 	beq-    cr7,ffc08bb0 <rtems_malloc_statistics_at_free+0x50><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
ffc08b88:	3c e0 00 00 	lis     r7,0                                   
ffc08b8c:	81 61 00 08 	lwz     r11,8(r1)                              
ffc08b90:	38 e7 33 f0 	addi    r7,r7,13296                            
ffc08b94:	81 07 00 28 	lwz     r8,40(r7)                              
ffc08b98:	39 40 00 00 	li      r10,0                                  
ffc08b9c:	81 27 00 2c 	lwz     r9,44(r7)                              
ffc08ba0:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc08ba4:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc08ba8:	91 47 00 28 	stw     r10,40(r7)                             
ffc08bac:	91 67 00 2c 	stw     r11,44(r7)                             
  }                                                                   
}                                                                     
ffc08bb0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08bb4:	38 21 00 18 	addi    r1,r1,24                               
ffc08bb8:	7c 08 03 a6 	mtlr    r0                                     
ffc08bbc:	4e 80 00 20 	blr                                            
                                                                      

ffc08bc0 <rtems_malloc_statistics_at_malloc>: { uintptr_t actual_size = 0; uint32_t current_depth; rtems_malloc_statistics_t *s = &rtems_malloc_statistics; if ( !pointer )
ffc08bc0:	7c 64 1b 79 	mr.     r4,r3                                  
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08bc4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc08bc8:	7c 08 02 a6 	mflr    r0                                     
ffc08bcc:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t actual_size = 0;                                          
ffc08bd0:	38 00 00 00 	li      r0,0                                   
ffc08bd4:	90 01 00 08 	stw     r0,8(r1)                               
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
ffc08bd8:	41 82 00 54 	beq-    ffc08c2c <rtems_malloc_statistics_at_malloc+0x6c><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
ffc08bdc:	3d 20 00 00 	lis     r9,0                                   
ffc08be0:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc08be4:	38 a1 00 08 	addi    r5,r1,8                                
ffc08be8:	48 00 77 39 	bl      ffc10320 <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc08bec:	3c e0 00 00 	lis     r7,0                                   
ffc08bf0:	38 e7 33 f0 	addi    r7,r7,13296                            
ffc08bf4:	81 61 00 08 	lwz     r11,8(r1)                              
ffc08bf8:	81 27 00 24 	lwz     r9,36(r7)                              
ffc08bfc:	39 40 00 00 	li      r10,0                                  
ffc08c00:	81 07 00 20 	lwz     r8,32(r7)                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc08c04:	80 07 00 2c 	lwz     r0,44(r7)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc08c08:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc08c0c:	7d 4a 41 14 	adde    r10,r10,r8                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc08c10:	81 27 00 18 	lwz     r9,24(r7)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc08c14:	91 47 00 20 	stw     r10,32(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc08c18:	7c 00 58 50 	subf    r0,r0,r11                              
  if (current_depth > s->max_depth)                                   
ffc08c1c:	7f 80 48 40 	cmplw   cr7,r0,r9                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc08c20:	91 67 00 24 	stw     r11,36(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc08c24:	40 9d 00 08 	ble-    cr7,ffc08c2c <rtems_malloc_statistics_at_malloc+0x6c>
      s->max_depth = current_depth;                                   
ffc08c28:	90 07 00 18 	stw     r0,24(r7)                              
}                                                                     
ffc08c2c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08c30:	38 21 00 18 	addi    r1,r1,24                               
ffc08c34:	7c 08 03 a6 	mtlr    r0                                     
ffc08c38:	4e 80 00 20 	blr                                            
                                                                      

ffc13f4c <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
ffc13f4c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc13f50:	7c 08 02 a6 	mflr    r0                                     
ffc13f54:	93 e1 00 14 	stw     r31,20(r1)                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc13f58:	7c 7f 1b 79 	mr.     r31,r3                                 
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc13f5c:	93 81 00 08 	stw     r28,8(r1)                              
ffc13f60:	7c bc 2b 78 	mr      r28,r5                                 
ffc13f64:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
ffc13f68:	3b a0 00 16 	li      r29,22                                 
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc13f6c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc13f70:	7c 9e 23 78 	mr      r30,r4                                 
ffc13f74:	90 01 00 1c 	stw     r0,28(r1)                              
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc13f78:	41 82 00 6c 	beq-    ffc13fe4 <rtems_memalign+0x98>         
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc13f7c:	3d 20 00 00 	lis     r9,0                                   
ffc13f80:	80 09 27 fc 	lwz     r0,10236(r9)                           
ffc13f84:	2f 80 00 03 	cmpwi   cr7,r0,3                               
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc13f88:	38 00 00 00 	li      r0,0                                   
ffc13f8c:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc13f90:	41 9e 00 78 	beq-    cr7,ffc14008 <rtems_memalign+0xbc>     <== ALWAYS TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc13f94:	4b ff 20 19 	bl      ffc05fac <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
ffc13f98:	3d 20 00 00 	lis     r9,0                                   
ffc13f9c:	80 69 26 ec 	lwz     r3,9964(r9)                            
ffc13fa0:	7f c5 f3 78 	mr      r5,r30                                 
ffc13fa4:	7f 84 e3 78 	mr      r4,r28                                 
ffc13fa8:	38 c0 00 00 	li      r6,0                                   
ffc13fac:	4b ff 86 2d 	bl      ffc0c5d8 <_Protected_heap_Allocate_aligned_with_boundary>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
ffc13fb0:	3b a0 00 0c 	li      r29,12                                 
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
ffc13fb4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc13fb8:	41 82 00 2c 	beq-    ffc13fe4 <rtems_memalign+0x98>         
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc13fbc:	3d 20 00 00 	lis     r9,0                                   
ffc13fc0:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc13fc4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc13fc8:	41 9e 00 14 	beq-    cr7,ffc13fdc <rtems_memalign+0x90>     
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
ffc13fcc:	80 09 00 04 	lwz     r0,4(r9)                               
ffc13fd0:	7f e3 fb 78 	mr      r3,r31                                 
ffc13fd4:	7c 09 03 a6 	mtctr   r0                                     
ffc13fd8:	4e 80 04 21 	bctrl                                          
                                                                      
  *pointer = return_this;                                             
ffc13fdc:	93 df 00 00 	stw     r30,0(r31)                             
  return 0;                                                           
ffc13fe0:	3b a0 00 00 	li      r29,0                                  
}                                                                     
ffc13fe4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc13fe8:	7f a3 eb 78 	mr      r3,r29                                 
ffc13fec:	83 81 00 08 	lwz     r28,8(r1)                              
ffc13ff0:	7c 08 03 a6 	mtlr    r0                                     
ffc13ff4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc13ff8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc13ffc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc14000:	38 21 00 18 	addi    r1,r1,24                               
ffc14004:	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() )                                 
ffc14008:	4b ff 1f 5d 	bl      ffc05f64 <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()) &&                    
ffc1400c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14010:	40 be ff 84 	bne-    cr7,ffc13f94 <rtems_memalign+0x48>     <== ALWAYS TAKEN
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
ffc14014:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc14018:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1401c:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc14020:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc14024:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc14028:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc1402c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc14030:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc14034:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc121ec <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
ffc121ec:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc121f0:	7d 80 00 26 	mfcr    r12                                    
ffc121f4:	7c 08 02 a6 	mflr    r0                                     
ffc121f8:	93 61 00 64 	stw     r27,100(r1)                            
ffc121fc:	7c 9b 23 78 	mr      r27,r4                                 
ffc12200:	93 c1 00 70 	stw     r30,112(r1)                            
ffc12204:	90 01 00 7c 	stw     r0,124(r1)                             
ffc12208:	93 21 00 5c 	stw     r25,92(r1)                             
ffc1220c:	93 41 00 60 	stw     r26,96(r1)                             
ffc12210:	93 81 00 68 	stw     r28,104(r1)                            
ffc12214:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc12218:	93 e1 00 74 	stw     r31,116(r1)                            
ffc1221c:	91 81 00 58 	stw     r12,88(r1)                             
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
ffc12220:	48 00 30 69 	bl      ffc15288 <strdup>                      
                                                                      
  if (dup_path != NULL) {                                             
ffc12224:	7c 7e 1b 79 	mr.     r30,r3                                 
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc12228:	38 60 ff ff 	li      r3,-1                                  
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
ffc1222c:	41 82 01 2c 	beq-    ffc12358 <rtems_mkdir+0x16c>           <== NEVER TAKEN
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc12230:	88 1e 00 00 	lbz     r0,0(r30)                              
ffc12234:	7f df f3 78 	mr      r31,r30                                
ffc12238:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc1223c:	41 9e 01 60 	beq-    cr7,ffc1239c <rtems_mkdir+0x1b0>       
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc12240:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc12244:	3b a0 00 00 	li      r29,0                                  
ffc12248:	39 20 00 01 	li      r9,1                                   
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc1224c:	3b 80 00 2f 	li      r28,47                                 
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc12250:	3b 40 00 00 	li      r26,0                                  
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc12254:	41 9e 00 18 	beq-    cr7,ffc1226c <rtems_mkdir+0x80>        <== NEVER TAKEN
      last = 1;                                                       
    else if (p[0] != '/')                                             
ffc12258:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc1225c:	41 9e 00 ac 	beq-    cr7,ffc12308 <rtems_mkdir+0x11c>       
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc12260:	8c 1f 00 01 	lbzu    r0,1(r31)                              
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc12264:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12268:	40 be ff f0 	bne-    cr7,ffc12258 <rtems_mkdir+0x6c>        
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc1226c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc12270:	98 1f 00 00 	stb     r0,0(r31)                              
ffc12274:	3b 20 00 01 	li      r25,1                                  
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc12278:	41 be 00 a8 	beq+    cr7,ffc12320 <rtems_mkdir+0x134>       
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc1227c:	2e 19 00 00 	cmpwi   cr4,r25,0                              
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
ffc12280:	38 60 00 00 	li      r3,0                                   
ffc12284:	48 00 02 29 	bl      ffc124ac <umask>                       
ffc12288:	7c 7d 1b 78 	mr      r29,r3                                 
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
ffc1228c:	54 63 06 ae 	rlwinm  r3,r3,0,26,23                          
ffc12290:	48 00 02 1d 	bl      ffc124ac <umask>                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc12294:	38 80 01 ff 	li      r4,511                                 
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc12298:	41 b2 00 94 	beq+    cr4,ffc1232c <rtems_mkdir+0x140>       
      (void)umask(oumask);                                            
ffc1229c:	7f a3 eb 78 	mr      r3,r29                                 
ffc122a0:	48 00 02 0d 	bl      ffc124ac <umask>                       
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc122a4:	7f 64 db 78 	mr      r4,r27                                 
ffc122a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc122ac:	4b ff 4b 11 	bl      ffc06dbc <mkdir>                       
ffc122b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc122b4:	40 bc 00 88 	bge+    cr7,ffc1233c <rtems_mkdir+0x150>       
      if (errno == EEXIST || errno == EISDIR) {                       
ffc122b8:	48 00 1d 65 	bl      ffc1401c <__errno>                     
ffc122bc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc122c0:	2f 80 00 11 	cmpwi   cr7,r0,17                              
ffc122c4:	41 9e 00 14 	beq-    cr7,ffc122d8 <rtems_mkdir+0xec>        
ffc122c8:	48 00 1d 55 	bl      ffc1401c <__errno>                     
ffc122cc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc122d0:	2f 80 00 15 	cmpwi   cr7,r0,21                              
ffc122d4:	40 9e 01 18 	bne-    cr7,ffc123ec <rtems_mkdir+0x200>       <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
ffc122d8:	7f c3 f3 78 	mr      r3,r30                                 
ffc122dc:	38 81 00 08 	addi    r4,r1,8                                
ffc122e0:	48 00 01 15 	bl      ffc123f4 <stat>                        
ffc122e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc122e8:	41 9c 01 04 	blt-    cr7,ffc123ec <rtems_mkdir+0x200>       <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
ffc122ec:	80 01 00 14 	lwz     r0,20(r1)                              
ffc122f0:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc122f4:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc122f8:	40 9e 00 b0 	bne-    cr7,ffc123a8 <rtems_mkdir+0x1bc>       
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
ffc122fc:	41 92 00 90 	beq-    cr4,ffc1238c <rtems_mkdir+0x1a0>       
          retval = 2;                                                 
ffc12300:	3b e0 00 02 	li      r31,2                                  
ffc12304:	48 00 00 40 	b       ffc12344 <rtems_mkdir+0x158>           
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc12308:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
ffc1230c:	8b 3f 00 01 	lbz     r25,1(r31)                             
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc12310:	9b 5f 00 00 	stb     r26,0(r31)                             
    if (!last && p[1] == '\0')                                        
ffc12314:	7f 39 00 34 	cntlzw  r25,r25                                
ffc12318:	57 39 d9 7e 	rlwinm  r25,r25,27,5,31                        
      last = 1;                                                       
    if (first) {                                                      
ffc1231c:	40 be ff 60 	bne-    cr7,ffc1227c <rtems_mkdir+0x90>        
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc12320:	2e 19 00 00 	cmpwi   cr4,r25,0                              
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc12324:	38 80 01 ff 	li      r4,511                                 
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc12328:	40 b2 ff 74 	bne-    cr4,ffc1229c <rtems_mkdir+0xb0>        
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc1232c:	7f c3 f3 78 	mr      r3,r30                                 
ffc12330:	4b ff 4a 8d 	bl      ffc06dbc <mkdir>                       
ffc12334:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12338:	41 bc ff 80 	blt-    cr7,ffc122b8 <rtems_mkdir+0xcc>        
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
ffc1233c:	41 92 00 50 	beq-    cr4,ffc1238c <rtems_mkdir+0x1a0>       
ffc12340:	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);                                                   
ffc12344:	7f c3 f3 78 	mr      r3,r30                                 
ffc12348:	4b ff 41 6d 	bl      ffc064b4 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc1234c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc12350:	38 60 00 00 	li      r3,0                                   
ffc12354:	41 9e 00 90 	beq-    cr7,ffc123e4 <rtems_mkdir+0x1f8>       <== NEVER TAKEN
}                                                                     
ffc12358:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc1235c:	81 81 00 58 	lwz     r12,88(r1)                             
ffc12360:	7c 08 03 a6 	mtlr    r0                                     
ffc12364:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc12368:	83 41 00 60 	lwz     r26,96(r1)                             
ffc1236c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc12370:	83 61 00 64 	lwz     r27,100(r1)                            
ffc12374:	83 81 00 68 	lwz     r28,104(r1)                            
ffc12378:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc1237c:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc12380:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc12384:	38 21 00 78 	addi    r1,r1,120                              
ffc12388:	4e 80 00 20 	blr                                            
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc1238c:	9b 9f 00 00 	stb     r28,0(r31)                             
ffc12390:	39 20 00 00 	li      r9,0                                   
ffc12394:	8c 1f 00 01 	lbzu    r0,1(r31)                              
ffc12398:	4b ff fe cc 	b       ffc12264 <rtems_mkdir+0x78>            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
ffc1239c:	88 1e 00 01 	lbz     r0,1(r30)                              
ffc123a0:	3b fe 00 01 	addi    r31,r30,1                              
ffc123a4:	4b ff fe 9c 	b       ffc12240 <rtems_mkdir+0x54>            
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
ffc123a8:	41 92 00 20 	beq-    cr4,ffc123c8 <rtems_mkdir+0x1dc>       
            errno = EEXIST;                                           
ffc123ac:	48 00 1c 71 	bl      ffc1401c <__errno>                     
ffc123b0:	38 00 00 11 	li      r0,17                                  
ffc123b4:	90 03 00 00 	stw     r0,0(r3)                               
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc123b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc123bc:	4b ff 40 f9 	bl      ffc064b4 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc123c0:	38 60 ff ff 	li      r3,-1                                  
ffc123c4:	4b ff ff 94 	b       ffc12358 <rtems_mkdir+0x16c>           
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
ffc123c8:	48 00 1c 55 	bl      ffc1401c <__errno>                     
ffc123cc:	38 00 00 14 	li      r0,20                                  
ffc123d0:	90 03 00 00 	stw     r0,0(r3)                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
    (void)umask(oumask);                                              
ffc123d4:	7f a3 eb 78 	mr      r3,r29                                 
ffc123d8:	48 00 00 d5 	bl      ffc124ac <umask>                       
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc123dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc123e0:	4b ff 40 d5 	bl      ffc064b4 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc123e4:	38 60 ff ff 	li      r3,-1                                  
ffc123e8:	4b ff ff 70 	b       ffc12358 <rtems_mkdir+0x16c>           
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
ffc123ec:	41 92 ff e8 	beq+    cr4,ffc123d4 <rtems_mkdir+0x1e8>       <== NEVER TAKEN
ffc123f0:	4b ff ff ec 	b       ffc123dc <rtems_mkdir+0x1f0>           
                                                                      

ffc0b044 <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 ) {
ffc0b044:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0b048:	7c 08 02 a6 	mflr    r0                                     
ffc0b04c:	93 e1 00 0c 	stw     r31,12(r1)                             
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0b050:	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                            
)                                                                     
{                                                                     
ffc0b054:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
ffc0b058:	38 00 00 09 	li      r0,9                                   
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0b05c:	41 82 00 7c 	beq-    ffc0b0d8 <rtems_object_get_class_information+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
ffc0b060:	54 84 04 3e 	clrlwi  r4,r4,16                               
ffc0b064:	48 00 24 49 	bl      ffc0d4ac <_Objects_Get_information>    
  if ( !obj_info )                                                    
    return RTEMS_INVALID_NUMBER;                                      
ffc0b068:	38 00 00 0a 	li      r0,10                                  
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
ffc0b06c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0b070:	41 82 00 68 	beq-    ffc0b0d8 <rtems_object_get_class_information+0x94>
   * 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;                              
ffc0b074:	a1 03 00 10 	lhz     r8,16(r3)                              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0b078:	80 03 00 08 	lwz     r0,8(r3)                               
  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++ )               
ffc0b07c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
ffc0b080:	81 63 00 0c 	lwz     r11,12(r3)                             
  info->auto_extend = obj_info->auto_extend;                          
ffc0b084:	89 23 00 12 	lbz     r9,18(r3)                              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0b088:	90 1f 00 00 	stw     r0,0(r31)                              
  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++ )               
ffc0b08c:	38 00 00 00 	li      r0,0                                   
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
ffc0b090:	91 7f 00 04 	stw     r11,4(r31)                             
  info->auto_extend = obj_info->auto_extend;                          
ffc0b094:	99 3f 00 0c 	stb     r9,12(r31)                             
  info->maximum     = obj_info->maximum;                              
ffc0b098:	91 1f 00 08 	stw     r8,8(r31)                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0b09c:	41 9e 00 34 	beq-    cr7,ffc0b0d0 <rtems_object_get_class_information+0x8c><== NEVER TAKEN
ffc0b0a0:	80 e3 00 1c 	lwz     r7,28(r3)                              
ffc0b0a4:	39 60 00 01 	li      r11,1                                  
ffc0b0a8:	39 20 00 01 	li      r9,1                                   
ffc0b0ac:	39 29 00 01 	addi    r9,r9,1                                
ffc0b0b0:	7f 88 48 40 	cmplw   cr7,r8,r9                              
    if ( !obj_info->local_table[i] )                                  
ffc0b0b4:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
ffc0b0b8:	7d 47 58 2e 	lwzx    r10,r7,r11                             
  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++ )               
ffc0b0bc:	7d 2b 4b 78 	mr      r11,r9                                 
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
ffc0b0c0:	20 ca 00 00 	subfic  r6,r10,0                               
ffc0b0c4:	7c c0 01 94 	addze   r6,r0                                  
ffc0b0c8:	7c c0 33 78 	mr      r0,r6                                  
  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++ )               
ffc0b0cc:	40 9c ff e0 	bge+    cr7,ffc0b0ac <rtems_object_get_class_information+0x68>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
ffc0b0d0:	90 1f 00 10 	stw     r0,16(r31)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0b0d4:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0b0d8:	7c 03 03 78 	mr      r3,r0                                  
ffc0b0dc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0b0e0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b0e4:	38 21 00 10 	addi    r1,r1,16                               
ffc0b0e8:	7c 08 03 a6 	mtlr    r0                                     
ffc0b0ec:	4e 80 00 20 	blr                                            
                                                                      

ffc04ecc <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
ffc04ecc:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04ed0:	7c 08 02 a6 	mflr    r0                                     
ffc04ed4:	90 81 00 1c 	stw     r4,28(r1)                              
ffc04ed8:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04edc:	90 a1 00 20 	stw     r5,32(r1)                              
ffc04ee0:	90 c1 00 24 	stw     r6,36(r1)                              
ffc04ee4:	90 e1 00 28 	stw     r7,40(r1)                              
ffc04ee8:	91 01 00 2c 	stw     r8,44(r1)                              
ffc04eec:	91 21 00 30 	stw     r9,48(r1)                              
ffc04ef0:	91 41 00 34 	stw     r10,52(r1)                             
ffc04ef4:	40 86 00 24 	bne-    cr1,ffc04f18 <rtems_panic+0x4c>        <== ALWAYS TAKEN
ffc04ef8:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc04efc:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc04f00:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc04f04:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc04f08:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc04f0c:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc04f10:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc04f14:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04f18:	38 00 00 01 	li      r0,1                                   
ffc04f1c:	98 01 00 08 	stb     r0,8(r1)                               
ffc04f20:	38 00 00 00 	li      r0,0                                   
                                                                      
void rtems_panic(                                                     
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
ffc04f24:	7c 64 1b 78 	mr      r4,r3                                  
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04f28:	98 01 00 09 	stb     r0,9(r1)                               
ffc04f2c:	38 01 00 80 	addi    r0,r1,128                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04f30:	38 a1 00 08 	addi    r5,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04f34:	90 01 00 0c 	stw     r0,12(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04f38:	3c 60 20 00 	lis     r3,8192                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04f3c:	38 01 00 18 	addi    r0,r1,24                               
ffc04f40:	90 01 00 10 	stw     r0,16(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04f44:	4b ff fc f9 	bl      ffc04c3c <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
ffc04f48:	3c 80 ff c2 	lis     r4,-62                                 
ffc04f4c:	38 84 f0 c8 	addi    r4,r4,-3896                            
ffc04f50:	38 60 00 00 	li      r3,0                                   
ffc04f54:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04f58:	4b ff fe 9d 	bl      ffc04df4 <rtems_error>                 
  _exit(errno);                                                       
ffc04f5c:	48 00 dc 01 	bl      ffc12b5c <__errno>                     
ffc04f60:	80 63 00 00 	lwz     r3,0(r3)                               
ffc04f64:	48 00 0d a5 	bl      ffc05d08 <_exit>                       
                                                                      

ffc19120 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc19120:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc19124:	7c 08 02 a6 	mflr    r0                                     
ffc19128:	93 e1 00 2c 	stw     r31,44(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc1912c:	7c 7f 1b 79 	mr.     r31,r3                                 
    return RTEMS_INVALID_NAME;                                        
ffc19130:	38 60 00 03 	li      r3,3                                   
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc19134:	93 c1 00 28 	stw     r30,40(r1)                             
ffc19138:	7c be 2b 78 	mr      r30,r5                                 
ffc1913c:	90 01 00 34 	stw     r0,52(r1)                              
ffc19140:	93 61 00 1c 	stw     r27,28(r1)                             
ffc19144:	93 81 00 20 	stw     r28,32(r1)                             
ffc19148:	93 a1 00 24 	stw     r29,36(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc1914c:	40 82 00 28 	bne-    ffc19174 <rtems_partition_create+0x54> 
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc19150:	80 01 00 34 	lwz     r0,52(r1)                              
ffc19154:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc19158:	7c 08 03 a6 	mtlr    r0                                     
ffc1915c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc19160:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc19164:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc19168:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1916c:	38 21 00 30 	addi    r1,r1,48                               
ffc19170:	4e 80 00 20 	blr                                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc19174:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc19178:	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 )                                            
ffc1917c:	41 be ff d4 	beq-    cr7,ffc19150 <rtems_partition_create+0x30>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc19180:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc19184:	41 be ff cc 	beq-    cr7,ffc19150 <rtems_partition_create+0x30><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc19188:	2f 85 00 00 	cmpwi   cr7,r5,0                               
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc1918c:	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 ||     
ffc19190:	41 9e ff c0 	beq+    cr7,ffc19150 <rtems_partition_create+0x30>
ffc19194:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc19198:	41 9e ff b8 	beq+    cr7,ffc19150 <rtems_partition_create+0x30>
ffc1919c:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc191a0:	41 9c ff b0 	blt+    cr7,ffc19150 <rtems_partition_create+0x30>
ffc191a4:	70 c0 00 07 	andi.   r0,r6,7                                
ffc191a8:	40 82 ff a8 	bne+    ffc19150 <rtems_partition_create+0x30> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc191ac:	70 9b 00 07 	andi.   r27,r4,7                               
     return RTEMS_INVALID_ADDRESS;                                    
ffc191b0:	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 ) )                   
ffc191b4:	40 82 ff 9c 	bne+    ffc19150 <rtems_partition_create+0x30> 
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc191b8:	3d 20 00 00 	lis     r9,0                                   
ffc191bc:	80 09 28 9c 	lwz     r0,10396(r9)                           
ffc191c0:	30 00 00 01 	addic   r0,r0,1                                
ffc191c4:	90 09 28 9c 	stw     r0,10396(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc191c8:	80 09 28 9c 	lwz     r0,10396(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 );
ffc191cc:	3f 80 00 00 	lis     r28,0                                  
ffc191d0:	90 81 00 08 	stw     r4,8(r1)                               
ffc191d4:	3b 9c 6e c0 	addi    r28,r28,28352                          
ffc191d8:	7f 83 e3 78 	mr      r3,r28                                 
ffc191dc:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc191e0:	90 e1 00 10 	stw     r7,16(r1)                              
ffc191e4:	91 01 00 14 	stw     r8,20(r1)                              
ffc191e8:	48 00 5f 31 	bl      ffc1f118 <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc191ec:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc191f0:	80 81 00 08 	lwz     r4,8(r1)                               
ffc191f4:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc191f8:	80 e1 00 10 	lwz     r7,16(r1)                              
ffc191fc:	81 01 00 14 	lwz     r8,20(r1)                              
ffc19200:	41 82 00 50 	beq-    ffc19250 <rtems_partition_create+0x130>
  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,        
ffc19204:	7c be 33 96 	divwu   r5,r30,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc19208:	90 9d 00 10 	stw     r4,16(r29)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc1920c:	90 dd 00 18 	stw     r6,24(r29)                             
  the_partition->attribute_set         = attribute_set;               
ffc19210:	90 fd 00 1c 	stw     r7,28(r29)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc19214:	93 dd 00 14 	stw     r30,20(r29)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
ffc19218:	93 7d 00 20 	stw     r27,32(r29)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc1921c:	91 01 00 14 	stw     r8,20(r1)                              
ffc19220:	38 7d 00 24 	addi    r3,r29,36                              
ffc19224:	48 00 41 e5 	bl      ffc1d408 <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc19228:	80 1d 00 08 	lwz     r0,8(r29)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc1922c:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc19230:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc19234:	7f ab 49 2e 	stwx    r29,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc19238:	93 fd 00 0c 	stw     r31,12(r29)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc1923c:	81 01 00 14 	lwz     r8,20(r1)                              
ffc19240:	90 08 00 00 	stw     r0,0(r8)                               
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc19244:	48 00 75 61 	bl      ffc207a4 <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc19248:	38 60 00 00 	li      r3,0                                   
ffc1924c:	4b ff ff 04 	b       ffc19150 <rtems_partition_create+0x30> 
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
ffc19250:	48 00 75 55 	bl      ffc207a4 <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc19254:	38 60 00 05 	li      r3,5                                   
ffc19258:	4b ff fe f8 	b       ffc19150 <rtems_partition_create+0x30> 
                                                                      

ffc193e8 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc193e8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc193ec:	7c 08 02 a6 	mflr    r0                                     
ffc193f0:	90 01 00 24 	stw     r0,36(r1)                              
ffc193f4:	7c 60 1b 78 	mr      r0,r3                                  
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
ffc193f8:	3c 60 00 00 	lis     r3,0                                   
ffc193fc:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc19400:	38 63 6e c0 	addi    r3,r3,28352                            
ffc19404:	7c 9f 23 78 	mr      r31,r4                                 
ffc19408:	38 a1 00 08 	addi    r5,r1,8                                
ffc1940c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc19410:	7c 04 03 78 	mr      r4,r0                                  
ffc19414:	48 00 63 35 	bl      ffc1f748 <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc19418:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1941c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc19420:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc19424:	38 60 00 04 	li      r3,4                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc19428:	40 9e 00 58 	bne-    cr7,ffc19480 <rtems_partition_return_buffer+0x98>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc1942c:	80 1e 00 10 	lwz     r0,16(r30)                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc19430:	81 3e 00 14 	lwz     r9,20(r30)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc19434:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc19438:	41 9c 00 60 	blt-    cr7,ffc19498 <rtems_partition_return_buffer+0xb0>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc1943c:	7d 20 4a 14 	add     r9,r0,r9                               
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc19440:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc19444:	41 9d 00 54 	bgt-    cr7,ffc19498 <rtems_partition_return_buffer+0xb0><== NEVER TAKEN
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
ffc19448:	81 3e 00 18 	lwz     r9,24(r30)                             
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
ffc1944c:	7c 00 f8 50 	subf    r0,r0,r31                              
ffc19450:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc19454:	7d 2b 49 d6 	mullw   r9,r11,r9                              
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
ffc19458:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc1945c:	40 9e 00 3c 	bne-    cr7,ffc19498 <rtems_partition_return_buffer+0xb0>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
ffc19460:	38 7e 00 24 	addi    r3,r30,36                              
ffc19464:	7f e4 fb 78 	mr      r4,r31                                 
ffc19468:	48 00 3f 09 	bl      ffc1d370 <_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;                    
ffc1946c:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc19470:	38 09 ff ff 	addi    r0,r9,-1                               
ffc19474:	90 1e 00 20 	stw     r0,32(r30)                             
        _Thread_Enable_dispatch();                                    
ffc19478:	48 00 73 2d 	bl      ffc207a4 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc1947c:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc19480:	80 01 00 24 	lwz     r0,36(r1)                              
ffc19484:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc19488:	7c 08 03 a6 	mtlr    r0                                     
ffc1948c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc19490:	38 21 00 20 	addi    r1,r1,32                               
ffc19494:	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();                                      
ffc19498:	48 00 73 0d 	bl      ffc207a4 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1949c:	80 01 00 24 	lwz     r0,36(r1)                              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
ffc194a0:	38 60 00 09 	li      r3,9                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc194a4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc194a8:	7c 08 03 a6 	mtlr    r0                                     
ffc194ac:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc194b0:	38 21 00 20 	addi    r1,r1,32                               
ffc194b4:	4e 80 00 20 	blr                                            
                                                                      

ffc0a2e8 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc0a2e8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0a2ec:	7c 08 02 a6 	mflr    r0                                     
ffc0a2f0:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0a2f4:	7c 7f 1b 78 	mr      r31,r3                                 
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
ffc0a2f8:	3c 60 00 00 	lis     r3,0                                   
ffc0a2fc:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0a300:	38 63 2c 00 	addi    r3,r3,11264                            
ffc0a304:	7c 9e 23 78 	mr      r30,r4                                 
ffc0a308:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a30c:	90 01 00 34 	stw     r0,52(r1)                              
ffc0a310:	7f e4 fb 78 	mr      r4,r31                                 
ffc0a314:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0a318:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0a31c:	93 81 00 20 	stw     r28,32(r1)                             
ffc0a320:	48 00 2d 31 	bl      ffc0d050 <_Objects_Get>                
ffc0a324:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc0a328:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a32c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a330:	40 9e 00 4c 	bne-    cr7,ffc0a37c <rtems_rate_monotonic_period+0x94>
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0a334:	3f 80 00 00 	lis     r28,0                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc0a338:	81 23 00 40 	lwz     r9,64(r3)                              
ffc0a33c:	3b 9c 2e 98 	addi    r28,r28,11928                          
ffc0a340:	80 1c 00 0c 	lwz     r0,12(r28)                             
ffc0a344:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a348:	41 9e 00 60 	beq-    cr7,ffc0a3a8 <rtems_rate_monotonic_period+0xc0>
        _Thread_Enable_dispatch();                                    
ffc0a34c:	48 00 3d 61 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a350:	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;                           
ffc0a354:	3b e0 00 17 	li      r31,23                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a358:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a35c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a360:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a364:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a368:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a36c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a370:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a374:	38 21 00 30 	addi    r1,r1,48                               
ffc0a378:	4e 80 00 20 	blr                                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a37c:	3b e0 00 04 	li      r31,4                                  
}                                                                     
ffc0a380:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0a384:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a388:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a38c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a390:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a394:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a398:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a39c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a3a0:	38 21 00 30 	addi    r1,r1,48                               
ffc0a3a4:	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 ) {                          
ffc0a3a8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0a3ac:	41 9e 00 80 	beq-    cr7,ffc0a42c <rtems_rate_monotonic_period+0x144>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a3b0:	7f 60 00 a6 	mfmsr   r27                                    
ffc0a3b4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0a3b8:	7f 60 00 78 	andc    r0,r27,r0                              
ffc0a3bc:	7c 00 01 24 	mtmsr   r0                                     
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc0a3c0:	80 03 00 38 	lwz     r0,56(r3)                              
ffc0a3c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a3c8:	41 9e 00 8c 	beq-    cr7,ffc0a454 <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 ) {             
ffc0a3cc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0a3d0:	41 9e 00 d4 	beq-    cr7,ffc0a4a4 <rtems_rate_monotonic_period+0x1bc>
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc0a3d4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a3d8:	3b e0 00 04 	li      r31,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc0a3dc:	40 9e ff a4 	bne+    cr7,ffc0a380 <rtems_rate_monotonic_period+0x98><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc0a3e0:	4b ff fd e1 	bl      ffc0a1c0 <_Rate_monotonic_Update_statistics>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a3e4:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a3e8:	38 00 00 02 	li      r0,2                                   
        the_period->next_length = length;                             
ffc0a3ec:	93 dd 00 3c 	stw     r30,60(r29)                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a3f0:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a3f4:	90 1d 00 38 	stw     r0,56(r29)                             
ffc0a3f8:	38 63 2d c8 	addi    r3,r3,11720                            
ffc0a3fc:	38 9d 00 10 	addi    r4,r29,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a400:	93 dd 00 1c 	stw     r30,28(r29)                            
        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;                                         
ffc0a404:	3b e0 00 06 	li      r31,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a408:	48 00 50 89 	bl      ffc0f490 <_Watchdog_Insert>            
ffc0a40c:	3d 20 00 00 	lis     r9,0                                   
ffc0a410:	80 09 21 14 	lwz     r0,8468(r9)                            
ffc0a414:	80 7d 00 40 	lwz     r3,64(r29)                             
ffc0a418:	80 9d 00 3c 	lwz     r4,60(r29)                             
ffc0a41c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a420:	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();                                    
ffc0a424:	48 00 3c 89 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
        return RTEMS_TIMEOUT;                                         
ffc0a428:	4b ff ff 58 	b       ffc0a380 <rtems_rate_monotonic_period+0x98>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
ffc0a42c:	80 03 00 38 	lwz     r0,56(r3)                              
ffc0a430:	3b e0 00 00 	li      r31,0                                  
ffc0a434:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc0a438:	41 9d 00 14 	bgt-    cr7,ffc0a44c <rtems_rate_monotonic_period+0x164><== NEVER TAKEN
ffc0a43c:	3d 20 ff c2 	lis     r9,-62                                 
ffc0a440:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0a444:	39 29 14 78 	addi    r9,r9,5240                             
ffc0a448:	7f e9 00 2e 	lwzx    r31,r9,r0                              
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc0a44c:	48 00 3c 61 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
        return( return_value );                                       
ffc0a450:	4b ff ff 30 	b       ffc0a380 <rtems_rate_monotonic_period+0x98>
ffc0a454:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
        _ISR_Enable( level );                                         
                                                                      
        the_period->next_length = length;                             
ffc0a458:	93 c3 00 3c 	stw     r30,60(r3)                             
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc0a45c:	4b ff fc 91 	bl      ffc0a0ec <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a460:	39 20 00 02 	li      r9,2                                   
ffc0a464:	91 3d 00 38 	stw     r9,56(r29)                             
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc0a468:	3d 20 ff c1 	lis     r9,-63                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0a46c:	38 00 00 00 	li      r0,0                                   
  the_watchdog->routine   = routine;                                  
ffc0a470:	39 29 a8 c8 	addi    r9,r9,-22328                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0a474:	90 1d 00 18 	stw     r0,24(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a478:	3c 60 00 00 	lis     r3,0                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc0a47c:	91 3d 00 2c 	stw     r9,44(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a480:	38 63 2d c8 	addi    r3,r3,11720                            
ffc0a484:	38 9d 00 10 	addi    r4,r29,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc0a488:	93 fd 00 30 	stw     r31,48(r29)                            
          NULL                                                        
        );                                                            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
ffc0a48c:	3b e0 00 00 	li      r31,0                                  
  the_watchdog->user_data = user_data;                                
ffc0a490:	90 1d 00 34 	stw     r0,52(r29)                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a494:	93 dd 00 1c 	stw     r30,28(r29)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a498:	48 00 4f f9 	bl      ffc0f490 <_Watchdog_Insert>            
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc0a49c:	48 00 3c 11 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc0a4a0:	4b ff fe e0 	b       ffc0a380 <rtems_rate_monotonic_period+0x98>
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc0a4a4:	4b ff fd 1d 	bl      ffc0a1c0 <_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;         
ffc0a4a8:	38 00 00 01 	li      r0,1                                   
ffc0a4ac:	90 1d 00 38 	stw     r0,56(r29)                             
        the_period->next_length = length;                             
ffc0a4b0:	93 dd 00 3c 	stw     r30,60(r29)                            
ffc0a4b4:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc0a4b8:	81 3c 00 0c 	lwz     r9,12(r28)                             
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a4bc:	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;           
ffc0a4c0:	80 1d 00 08 	lwz     r0,8(r29)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a4c4:	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;           
ffc0a4c8:	90 09 00 20 	stw     r0,32(r9)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a4cc:	48 00 46 a5 	bl      ffc0eb70 <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a4d0:	7d 20 00 a6 	mfmsr   r9                                     
ffc0a4d4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0a4d8:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0a4dc:	7c 00 01 24 	mtmsr   r0                                     
         *  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;                  
ffc0a4e0:	39 60 00 02 	li      r11,2                                  
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
ffc0a4e4:	80 1d 00 38 	lwz     r0,56(r29)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc0a4e8:	91 7d 00 38 	stw     r11,56(r29)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a4ec:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
        /*                                                            
         *  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 )   
ffc0a4f0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0a4f4:	41 9e 00 10 	beq-    cr7,ffc0a504 <rtems_rate_monotonic_period+0x21c><== NEVER TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
ffc0a4f8:	48 00 3b b5 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc0a4fc:	3b e0 00 00 	li      r31,0                                  
ffc0a500:	4b ff fe 80 	b       ffc0a380 <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 );
ffc0a504:	80 7c 00 0c 	lwz     r3,12(r28)                             <== NOT EXECUTED
ffc0a508:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc0a50c:	48 00 37 19 	bl      ffc0dc24 <_Thread_Clear_state>         <== NOT EXECUTED
ffc0a510:	4b ff ff e8 	b       ffc0a4f8 <rtems_rate_monotonic_period+0x210><== NOT EXECUTED
                                                                      

ffc0a514 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc0a514:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc0a518:	7c 08 02 a6 	mflr    r0                                     
ffc0a51c:	90 01 00 94 	stw     r0,148(r1)                             
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc0a520:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc0a524:	93 a1 00 84 	stw     r29,132(r1)                            
ffc0a528:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0a52c:	93 01 00 70 	stw     r24,112(r1)                            
ffc0a530:	93 21 00 74 	stw     r25,116(r1)                            
ffc0a534:	93 41 00 78 	stw     r26,120(r1)                            
ffc0a538:	93 61 00 7c 	stw     r27,124(r1)                            
ffc0a53c:	93 81 00 80 	stw     r28,128(r1)                            
ffc0a540:	93 c1 00 88 	stw     r30,136(r1)                            
ffc0a544:	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 )                                                       
ffc0a548:	90 01 00 68 	stw     r0,104(r1)                             
ffc0a54c:	41 82 01 70 	beq-    ffc0a6bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1a8><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc0a550:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a554:	7c 09 03 a6 	mtctr   r0                                     
ffc0a558:	38 84 14 8c 	addi    r4,r4,5260                             
                                                                      
  /*                                                                  
   * 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 ;                   
ffc0a55c:	3f c0 00 00 	lis     r30,0                                  
ffc0a560:	3b de 2c 00 	addi    r30,r30,11264                          
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc0a564:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a568:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc0a56c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a570:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a574:	7c 09 03 a6 	mtctr   r0                                     
ffc0a578:	38 84 14 ac 	addi    r4,r4,5292                             
ffc0a57c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a580:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a584:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc0a588:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a58c:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a590:	7c 09 03 a6 	mtctr   r0                                     
ffc0a594:	38 84 14 d0 	addi    r4,r4,5328                             
ffc0a598:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a59c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a5a0:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc0a5a4:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a5a8:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a5ac:	7c 09 03 a6 	mtctr   r0                                     
ffc0a5b0:	38 84 14 f4 	addi    r4,r4,5364                             
ffc0a5b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a5b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a5bc:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc0a5c0:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a5c4:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a5c8:	7c 09 03 a6 	mtctr   r0                                     
ffc0a5cc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a5d0:	38 84 15 40 	addi    r4,r4,5440                             
ffc0a5d4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a5d8:	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 ;                   
ffc0a5dc:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0a5e0:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a5e4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0a5e8:	41 9d 00 d4 	bgt-    cr7,ffc0a6bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1a8><== 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,                                                
ffc0a5ec:	3f 40 ff c2 	lis     r26,-62                                
      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,                                              
ffc0a5f0:	3f 00 ff c2 	lis     r24,-62                                
ffc0a5f4:	3f 80 10 62 	lis     r28,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,                                              
ffc0a5f8:	3f 20 ff c2 	lis     r25,-62                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a5fc:	3f 60 ff c2 	lis     r27,-62                                
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0a600:	3b 5a 15 8c 	addi    r26,r26,5516                           
      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,                                              
ffc0a604:	3b 18 15 a4 	addi    r24,r24,5540                           
ffc0a608:	63 9c 4d d3 	ori     r28,r28,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,                                              
ffc0a60c:	3b 39 15 c4 	addi    r25,r25,5572                           
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a610:	3b 7b 00 e0 	addi    r27,r27,224                            
ffc0a614:	48 00 00 14 	b       ffc0a628 <rtems_rate_monotonic_report_statistics_with_plugin+0x114>
                                                                      
  /*                                                                  
   * 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 ;                   
ffc0a618:	80 1e 00 0c 	lwz     r0,12(r30)                             
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc0a61c:	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 ;                   
ffc0a620:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a624:	41 9c 00 98 	blt-    cr7,ffc0a6bc <rtems_rate_monotonic_report_statistics_with_plugin+0x1a8>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc0a628:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a62c:	38 81 00 30 	addi    r4,r1,48                               
ffc0a630:	48 00 74 b1 	bl      ffc11ae0 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc0a634:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a638:	40 9e ff e0 	bne+    cr7,ffc0a618 <rtems_rate_monotonic_report_statistics_with_plugin+0x104>
    #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 );      
ffc0a63c:	38 81 00 18 	addi    r4,r1,24                               
ffc0a640:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a644:	48 00 75 ad 	bl      ffc11bf0 <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc0a648:	80 61 00 18 	lwz     r3,24(r1)                              
ffc0a64c:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a650:	38 80 00 05 	li      r4,5                                   
ffc0a654:	48 00 03 41 	bl      ffc0a994 <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0a658:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a65c:	7f 44 d3 78 	mr      r4,r26                                 
ffc0a660:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc0a664:	7f e5 fb 78 	mr      r5,r31                                 
ffc0a668:	7c 09 03 a6 	mtctr   r0                                     
ffc0a66c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a670:	81 01 00 34 	lwz     r8,52(r1)                              
ffc0a674:	38 c1 00 08 	addi    r6,r1,8                                
ffc0a678:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a67c:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a680:	80 01 00 30 	lwz     r0,48(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 );
ffc0a684:	38 61 00 48 	addi    r3,r1,72                               
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a688:	2f 80 00 00 	cmpwi   cr7,r0,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 );
ffc0a68c:	38 a1 00 10 	addi    r5,r1,16                               
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a690:	7f 64 db 78 	mr      r4,r27                                 
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a694:	40 9e 00 58 	bne-    cr7,ffc0a6ec <rtems_rate_monotonic_report_statistics_with_plugin+0x1d8>
      (*print)( context, "\n" );                                      
ffc0a698:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a69c:	7f a3 eb 78 	mr      r3,r29                                 
   * 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++ ) {                                                      
ffc0a6a0:	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" );                                      
ffc0a6a4:	7c 09 03 a6 	mtctr   r0                                     
ffc0a6a8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a6ac:	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 ;                   
ffc0a6b0:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a6b4:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a6b8:	40 9c ff 70 	bge+    cr7,ffc0a628 <rtems_rate_monotonic_report_statistics_with_plugin+0x114><== ALWAYS TAKEN
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0a6bc:	80 01 00 94 	lwz     r0,148(r1)                             
ffc0a6c0:	83 01 00 70 	lwz     r24,112(r1)                            
ffc0a6c4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a6c8:	83 21 00 74 	lwz     r25,116(r1)                            
ffc0a6cc:	83 41 00 78 	lwz     r26,120(r1)                            
ffc0a6d0:	83 61 00 7c 	lwz     r27,124(r1)                            
ffc0a6d4:	83 81 00 80 	lwz     r28,128(r1)                            
ffc0a6d8:	83 a1 00 84 	lwz     r29,132(r1)                            
ffc0a6dc:	83 c1 00 88 	lwz     r30,136(r1)                            
ffc0a6e0:	83 e1 00 8c 	lwz     r31,140(r1)                            
ffc0a6e4:	38 21 00 90 	addi    r1,r1,144                              
ffc0a6e8:	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 );
ffc0a6ec:	7c 04 03 78 	mr      r4,r0                                  
ffc0a6f0:	48 00 47 79 	bl      ffc0ee68 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc0a6f4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a6f8:	80 81 00 3c 	lwz     r4,60(r1)                              
ffc0a6fc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a700:	81 61 00 44 	lwz     r11,68(r1)                             
ffc0a704:	7d 40 e0 96 	mulhw   r10,r0,r28                             
ffc0a708:	80 e1 00 40 	lwz     r7,64(r1)                              
ffc0a70c:	7c c4 e0 96 	mulhw   r6,r4,r28                              
ffc0a710:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0a714:	80 a1 00 38 	lwz     r5,56(r1)                              
ffc0a718:	7d 0b e0 96 	mulhw   r8,r11,r28                             
ffc0a71c:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc0a720:	7d 4a 36 70 	srawi   r10,r10,6                              
ffc0a724:	7d 40 50 50 	subf    r10,r0,r10                             
ffc0a728:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a72c:	7d 6b fe 70 	srawi   r11,r11,31                             
ffc0a730:	7c 84 fe 70 	srawi   r4,r4,31                               
ffc0a734:	7c 09 03 a6 	mtctr   r0                                     
ffc0a738:	7c c6 36 70 	srawi   r6,r6,6                                
ffc0a73c:	7d 08 36 70 	srawi   r8,r8,6                                
ffc0a740:	7c c4 30 50 	subf    r6,r4,r6                               
ffc0a744:	7d 0b 40 50 	subf    r8,r11,r8                              
ffc0a748:	7f 04 c3 78 	mr      r4,r24                                 
ffc0a74c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a750:	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);
ffc0a754:	80 81 00 30 	lwz     r4,48(r1)                              
ffc0a758:	38 61 00 60 	addi    r3,r1,96                               
ffc0a75c:	38 a1 00 10 	addi    r5,r1,16                               
ffc0a760:	48 00 47 09 	bl      ffc0ee68 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc0a764:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a768:	80 c1 00 54 	lwz     r6,84(r1)                              
ffc0a76c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a770:	81 61 00 5c 	lwz     r11,92(r1)                             
ffc0a774:	7d 40 e0 96 	mulhw   r10,r0,r28                             
ffc0a778:	80 a1 00 50 	lwz     r5,80(r1)                              
ffc0a77c:	7d 86 e0 96 	mulhw   r12,r6,r28                             
ffc0a780:	80 e1 00 58 	lwz     r7,88(r1)                              
ffc0a784:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0a788:	7d 0b e0 96 	mulhw   r8,r11,r28                             
ffc0a78c:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc0a790:	7d 4a 36 70 	srawi   r10,r10,6                              
ffc0a794:	7d 40 50 50 	subf    r10,r0,r10                             
ffc0a798:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a79c:	7d 8c 36 70 	srawi   r12,r12,6                              
ffc0a7a0:	7d 6b fe 70 	srawi   r11,r11,31                             
ffc0a7a4:	7c 09 03 a6 	mtctr   r0                                     
ffc0a7a8:	7c c6 fe 70 	srawi   r6,r6,31                               
ffc0a7ac:	7d 08 36 70 	srawi   r8,r8,6                                
ffc0a7b0:	7f 24 cb 78 	mr      r4,r25                                 
ffc0a7b4:	7c c6 60 50 	subf    r6,r6,r12                              
ffc0a7b8:	7d 0b 40 50 	subf    r8,r11,r8                              
ffc0a7bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a7c0:	4e 80 04 21 	bctrl                                          
ffc0a7c4:	4b ff fe 54 	b       ffc0a618 <rtems_rate_monotonic_report_statistics_with_plugin+0x104>
                                                                      

ffc0a7d8 <rtems_rate_monotonic_reset_all_statistics>: * * This rountine increments the thread dispatch level */ RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void) { _Thread_Dispatch_disable_level++;
ffc0a7d8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
ffc0a7dc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a7e0:	7c 08 02 a6 	mflr    r0                                     
ffc0a7e4:	81 69 28 08 	lwz     r11,10248(r9)                          
ffc0a7e8:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a7ec:	38 0b 00 01 	addi    r0,r11,1                               
ffc0a7f0:	90 09 28 08 	stw     r0,10248(r9)                           
ffc0a7f4:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0a7f8:	93 e1 00 0c 	stw     r31,12(r1)                             
    return _Thread_Dispatch_disable_level;                            
ffc0a7fc:	80 09 28 08 	lwz     r0,10248(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 ;                 
ffc0a800:	3f c0 00 00 	lis     r30,0                                  
ffc0a804:	3b de 2c 00 	addi    r30,r30,11264                          
ffc0a808:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0a80c:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a810:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0a814:	41 9d 00 1c 	bgt-    cr7,ffc0a830 <rtems_rate_monotonic_reset_all_statistics+0x58><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
ffc0a818:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a81c:	48 00 00 31 	bl      ffc0a84c <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 ;                 
ffc0a820:	80 1e 00 0c 	lwz     r0,12(r30)                             
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
ffc0a824:	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 ;                 
ffc0a828:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a82c:	40 9c ff ec 	bge+    cr7,ffc0a818 <rtems_rate_monotonic_reset_all_statistics+0x40>
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc0a830:	48 00 38 7d 	bl      ffc0e0ac <_Thread_Enable_dispatch>     
}                                                                     
ffc0a834:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a838:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a83c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a840:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a844:	38 21 00 10 	addi    r1,r1,16                               
ffc0a848:	4e 80 00 20 	blr                                            
                                                                      

ffc1ff88 <rtems_rfs_bitmap_create_search>: int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) {
ffc1ff88:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1ff8c:	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);                     
ffc1ff90:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc1ff94:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1ff98:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ff9c:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1ffa0:	4b ff f7 85 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1ffa4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1ffa8:	40 81 00 18 	ble-    ffc1ffc0 <rtems_rfs_bitmap_create_search+0x38><== ALWAYS TAKEN
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1ffac:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1ffb0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1ffb4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1ffb8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1ffbc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
ffc1ffc0:	81 5f 00 0c 	lwz     r10,12(r31)                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1ffc4:	38 00 00 00 	li      r0,0                                   
  search_map = control->search_bits;                                  
ffc1ffc8:	81 9f 00 14 	lwz     r12,20(r31)                            
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc1ffcc:	38 60 00 00 	li      r3,0                                   
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc1ffd0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1ffd4:	90 1f 00 10 	stw     r0,16(r31)                             
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
ffc1ffd8:	38 00 ff ff 	li      r0,-1                                  
ffc1ffdc:	90 0c 00 00 	stw     r0,0(r12)                              
  while (size)                                                        
ffc1ffe0:	41 be ff cc 	beq-    cr7,ffc1ffac <rtems_rfs_bitmap_create_search+0x24><== NEVER TAKEN
ffc1ffe4:	80 c1 00 08 	lwz     r6,8(r1)                               
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
ffc1ffe8:	38 a0 00 00 	li      r5,0                                   
                                                                      
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);                 
ffc1ffec:	38 60 ff ff 	li      r3,-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);                     
ffc1fff0:	39 00 00 01 	li      r8,1                                   
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
  {                                                                   
    rtems_rfs_bitmap_element bits;                                    
    int                      available;                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
ffc1fff4:	2b 8a 00 1f 	cmplwi  cr7,r10,31                             
ffc1fff8:	41 9d 00 88 	bgt-    cr7,ffc20080 <rtems_rfs_bitmap_create_search+0xf8>
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc1fffc:	80 06 00 00 	lwz     r0,0(r6)                               
                                                                      
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);                 
ffc20000:	21 6a 00 20 	subfic  r11,r10,32                             
ffc20004:	7c 6b 5c 30 	srw     r11,r3,r11                             
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc20008:	7d 6b 00 38 	and     r11,r11,r0                             
    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;                                               
ffc2000c:	7d 44 53 78 	mr      r4,r10                                 
ffc20010:	7d 40 53 78 	mr      r0,r10                                 
    {                                                                 
      bits      = *map;                                               
      available = rtems_rfs_bitmap_element_bits ();                   
    }                                                                 
                                                                      
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
ffc20014:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc20018:	41 9e 00 34 	beq-    cr7,ffc2004c <rtems_rfs_bitmap_create_search+0xc4>
ffc2001c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc20020:	7c 09 03 a6 	mtctr   r0                                     
ffc20024:	39 20 00 00 	li      r9,0                                   
ffc20028:	40 9d 00 78 	ble-    cr7,ffc200a0 <rtems_rfs_bitmap_create_search+0x118><== 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);                     
ffc2002c:	7d 00 48 30 	slw     r0,r8,r9                               
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
ffc20030:	7c 07 58 39 	and.    r7,r0,r11                              
    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++)                                 
ffc20034:	39 29 00 01 	addi    r9,r9,1                                
        if (!rtems_rfs_bitmap_test (bits, b))                         
ffc20038:	41 82 00 10 	beq-    ffc20048 <rtems_rfs_bitmap_create_search+0xc0>
          control->free++;                                            
ffc2003c:	80 ff 00 10 	lwz     r7,16(r31)                             
ffc20040:	38 07 00 01 	addi    r0,r7,1                                
ffc20044:	90 1f 00 10 	stw     r0,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++)                                 
ffc20048:	42 00 ff e4 	bdnz+   ffc2002c <rtems_rfs_bitmap_create_search+0xa4>
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc2004c:	2f 85 00 20 	cmpwi   cr7,r5,32                              
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
ffc20050:	7d 44 50 50 	subf    r10,r4,r10                             
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc20054:	41 9e 00 3c 	beq-    cr7,ffc20090 <rtems_rfs_bitmap_create_search+0x108><== NEVER TAKEN
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
ffc20058:	38 a5 00 01 	addi    r5,r5,1                                
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc2005c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
ffc20060:	38 c6 00 04 	addi    r6,r6,4                                
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc20064:	40 9e ff 90 	bne+    cr7,ffc1fff4 <rtems_rfs_bitmap_create_search+0x6c>
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc20068:	80 01 00 24 	lwz     r0,36(r1)                              
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc2006c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc20070:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc20074:	38 21 00 20 	addi    r1,r1,32                               
ffc20078:	7c 08 03 a6 	mtlr    r0                                     
ffc2007c:	4e 80 00 20 	blr                                            
                                     rtems_rfs_bitmap_mask_section (0, size));
      available = size;                                               
    }                                                                 
    else                                                              
    {                                                                 
      bits      = *map;                                               
ffc20080:	81 66 00 00 	lwz     r11,0(r6)                              
ffc20084:	38 80 00 20 	li      r4,32                                  
      available = rtems_rfs_bitmap_element_bits ();                   
ffc20088:	38 00 00 20 	li      r0,32                                  
ffc2008c:	4b ff ff 88 	b       ffc20014 <rtems_rfs_bitmap_create_search+0x8c>
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
ffc20090:	90 6c 00 04 	stw     r3,4(r12)                              <== NOT EXECUTED
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
ffc20094:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
      search_map++;                                                   
ffc20098:	39 8c 00 04 	addi    r12,r12,4                              <== NOT EXECUTED
ffc2009c:	4b ff ff c0 	b       ffc2005c <rtems_rfs_bitmap_create_search+0xd4><== NOT EXECUTED
ffc200a0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc200a4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc200a8:	4b ff ff 84 	b       ffc2002c <rtems_rfs_bitmap_create_search+0xa4><== NOT EXECUTED
                                                                      

ffc1f724 <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) {
ffc1f724:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1f728:	7c 08 02 a6 	mflr    r0                                     
ffc1f72c:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc1f730:	80 03 00 00 	lwz     r0,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)             
{                                                                     
ffc1f734:	93 c1 00 08 	stw     r30,8(r1)                              
ffc1f738:	7c 9e 23 78 	mr      r30,r4                                 
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc1f73c:	2f 80 00 00 	cmpwi   cr7,r0,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)             
{                                                                     
ffc1f740:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1f744:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
ffc1f748:	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)                                               
ffc1f74c:	41 9e 00 38 	beq-    cr7,ffc1f784 <rtems_rfs_bitmap_load_map+0x60><== NEVER TAKEN
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc1f750:	38 00 00 00 	li      r0,0                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc1f754:	80 bf 00 08 	lwz     r5,8(r31)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc1f758:	90 04 00 00 	stw     r0,0(r4)                               
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc1f75c:	38 c0 00 01 	li      r6,1                                   
ffc1f760:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc1f764:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc1f768:	48 00 22 51 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
                                        control->buffer,              
                                        control->block,               
                                        true);                        
  if (rc)                                                             
ffc1f76c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f770:	40 82 00 14 	bne-    ffc1f784 <rtems_rfs_bitmap_load_map+0x60><== NEVER TAKEN
    return rc;                                                        
                                                                      
  *map = rtems_rfs_buffer_data (control->buffer);                     
ffc1f774:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1f778:	81 29 00 08 	lwz     r9,8(r9)                               
ffc1f77c:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1f780:	90 1e 00 00 	stw     r0,0(r30)                              
  return 0;                                                           
}                                                                     
ffc1f784:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1f788:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1f78c:	7c 08 03 a6 	mtlr    r0                                     
ffc1f790:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1f794:	38 21 00 10 	addi    r1,r1,16                               
ffc1f798:	4e 80 00 20 	blr                                            
                                                                      

ffc1fe64 <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) {
ffc1fe64:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fe68:	7c 08 02 a6 	mflr    r0                                     
ffc1fe6c:	7d 80 00 26 	mfcr    r12                                    
ffc1fe70:	2d 84 00 00 	cmpwi   cr3,r4,0                               
ffc1fe74:	90 01 00 24 	stw     r0,36(r1)                              
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc1fe78:	38 00 00 00 	li      r0,0                                   
int                                                                   
rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      seed,           
                            bool*                     allocated,      
                            rtems_rfs_bitmap_bit*     bit)            
{                                                                     
ffc1fe7c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1fe80:	7c db 33 78 	mr      r27,r6                                 
ffc1fe84:	93 81 00 10 	stw     r28,16(r1)                             
ffc1fe88:	7c bc 2b 78 	mr      r28,r5                                 
ffc1fe8c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1fe90:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1fe94:	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;                                                  
ffc1fe98:	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)            
{                                                                     
ffc1fe9c:	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;                                                  
ffc1fea0:	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)            
{                                                                     
ffc1fea4:	91 81 00 08 	stw     r12,8(r1)                              
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc1fea8:	98 05 00 00 	stb     r0,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))          
ffc1feac:	41 8c 00 64 	blt-    cr3,ffc1ff10 <rtems_rfs_bitmap_map_alloc+0xac><== NEVER TAKEN
ffc1feb0:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc1feb4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc1feb8:	40 9c 00 58 	bge-    cr7,ffc1ff10 <rtems_rfs_bitmap_map_alloc+0xac><== NEVER TAKEN
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
    {                                                                 
      *bit = upper_seed;                                              
ffc1febc:	93 fb 00 00 	stw     r31,0(r27)                             
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc1fec0:	7f a3 eb 78 	mr      r3,r29                                 
ffc1fec4:	7f 64 db 78 	mr      r4,r27                                 
ffc1fec8:	7f 85 e3 78 	mr      r5,r28                                 
ffc1fecc:	38 c0 00 01 	li      r6,1                                   
ffc1fed0:	4b ff f8 cd 	bl      ffc1f79c <rtems_rfs_search_map_for_clear_bit.constprop.1>
                                               window, 1);            
      if ((rc > 0) || *allocated)                                     
ffc1fed4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1fed8:	41 9d 00 80 	bgt-    cr7,ffc1ff58 <rtems_rfs_bitmap_map_alloc+0xf4><== NEVER TAKEN
ffc1fedc:	88 1c 00 00 	lbz     r0,0(r28)                              
ffc1fee0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1fee4:	40 9e 00 74 	bne-    cr7,ffc1ff58 <rtems_rfs_bitmap_map_alloc+0xf4><== ALWAYS TAKEN
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
ffc1fee8:	2e 1e 00 00 	cmpwi   cr4,r30,0                              <== NOT EXECUTED
ffc1feec:	40 90 00 40 	bge-    cr4,ffc1ff2c <rtems_rfs_bitmap_map_alloc+0xc8><== NOT EXECUTED
                                                                      
    /*                                                                
     * Do not bound the limits at the edges of the map. Do not update if an
     * edge has been passed.                                          
     */                                                               
    if (upper_seed < control->size)                                   
ffc1fef0:	80 1d 00 0c 	lwz     r0,12(r29)                             <== NOT EXECUTED
ffc1fef4:	7f 80 f8 40 	cmplw   cr7,r0,r31                             <== NOT EXECUTED
ffc1fef8:	40 9d 00 0c 	ble-    cr7,ffc1ff04 <rtems_rfs_bitmap_map_alloc+0xa0><== NOT EXECUTED
ffc1fefc:	3b ff 08 00 	addi    r31,r31,2048                           <== NOT EXECUTED
ffc1ff00:	2d 9f 00 00 	cmpwi   cr3,r31,0                              <== NOT EXECUTED
      upper_seed += window;                                           
    if (lower_seed >= 0)                                              
ffc1ff04:	41 b0 ff a8 	blt-    cr4,ffc1feac <rtems_rfs_bitmap_map_alloc+0x48><== NOT EXECUTED
      lower_seed -= window;                                           
ffc1ff08:	3b de f8 00 	addi    r30,r30,-2048                          <== NOT EXECUTED
   * we have searched all of the map. The seed may not be aligned to a window
   * boundary so we may need to search a partial window and this may also not
   * be balanced for the upper or lower seeds. We move to the limits, search
   * then return false if no clear bits are found.                    
   */                                                                 
  while (((upper_seed >= 0) && (upper_seed < control->size))          
ffc1ff0c:	40 8c ff a4 	bge+    cr3,ffc1feb0 <rtems_rfs_bitmap_map_alloc+0x4c><== NOT EXECUTED
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
ffc1ff10:	2e 1e 00 00 	cmpwi   cr4,r30,0                              <== NOT EXECUTED
ffc1ff14:	41 90 00 44 	blt-    cr4,ffc1ff58 <rtems_rfs_bitmap_map_alloc+0xf4><== NOT EXECUTED
ffc1ff18:	80 1d 00 0c 	lwz     r0,12(r29)                             <== NOT EXECUTED
ffc1ff1c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             <== NOT EXECUTED
ffc1ff20:	40 9c 00 38 	bge-    cr7,ffc1ff58 <rtems_rfs_bitmap_map_alloc+0xf4><== NOT EXECUTED
  {                                                                   
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
ffc1ff24:	7f 80 f8 40 	cmplw   cr7,r0,r31                             <== NOT EXECUTED
ffc1ff28:	41 bd ff 94 	bgt-    cr7,ffc1febc <rtems_rfs_bitmap_map_alloc+0x58><== NOT EXECUTED
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
    {                                                                 
      *bit = lower_seed;                                              
ffc1ff2c:	93 db 00 00 	stw     r30,0(r27)                             <== NOT EXECUTED
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc1ff30:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ff34:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1ff38:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1ff3c:	38 c0 ff ff 	li      r6,-1                                  <== NOT EXECUTED
ffc1ff40:	4b ff f8 5d 	bl      ffc1f79c <rtems_rfs_search_map_for_clear_bit.constprop.1><== NOT EXECUTED
                                               window, -1);           
      if ((rc > 0) || *allocated)                                     
ffc1ff44:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ff48:	41 9d 00 10 	bgt-    cr7,ffc1ff58 <rtems_rfs_bitmap_map_alloc+0xf4><== NOT EXECUTED
ffc1ff4c:	88 1c 00 00 	lbz     r0,0(r28)                              <== NOT EXECUTED
ffc1ff50:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1ff54:	41 9e ff 9c 	beq+    cr7,ffc1fef0 <rtems_rfs_bitmap_map_alloc+0x8c><== NOT EXECUTED
    if (lower_seed >= 0)                                              
      lower_seed -= window;                                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1ff58:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1ff5c:	38 60 00 00 	li      r3,0                                   
ffc1ff60:	81 81 00 08 	lwz     r12,8(r1)                              
ffc1ff64:	7c 08 03 a6 	mtlr    r0                                     
ffc1ff68:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1ff6c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1ff70:	7d 81 81 20 	mtcrf   24,r12                                 
ffc1ff74:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1ff78:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1ff7c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1ff80:	38 21 00 20 	addi    r1,r1,32                               
ffc1ff84:	4e 80 00 20 	blr                                            
                                                                      

ffc1fb48 <rtems_rfs_bitmap_map_clear>: } int rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc1fb48:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fb4c:	7c 08 02 a6 	mflr    r0                                     
ffc1fb50:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1fb54:	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);                     
ffc1fb58:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      bit)            
{                                                                     
ffc1fb5c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1fb60:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1fb64:	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);                     
ffc1fb68:	4b ff fb bd 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1fb6c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fb70:	40 81 00 1c 	ble-    ffc1fb8c <rtems_rfs_bitmap_map_clear+0x44><== ALWAYS TAKEN
  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;                                                           
}                                                                     
ffc1fb74:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1fb78:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1fb7c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fb80:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1fb84:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1fb88:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  int                  offset;                                        
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1fb8c:	80 1f 00 0c 	lwz     r0,12(r31)                             
    return EINVAL;                                                    
ffc1fb90:	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)                                           
ffc1fb94:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1fb98:	40 9c ff dc 	bge+    cr7,ffc1fb74 <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);
ffc1fb9c:	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);               
ffc1fba0:	7f cb 2e 70 	srawi   r11,r30,5                              
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
ffc1fba4:	55 6a 10 3a 	rlwinm  r10,r11,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);                  
ffc1fba8:	7d 28 50 2e 	lwzx    r9,r8,r10                              
  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);
ffc1fbac:	38 00 00 01 	li      r0,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);              
ffc1fbb0:	57 c7 06 fe 	clrlwi  r7,r30,27                              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
ffc1fbb4:	7c 07 38 30 	slw     r7,r0,r7                               
 */                                                                   
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);                  
ffc1fbb8:	7d 27 3b 78 	or      r7,r9,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;                           
ffc1fbbc:	81 3f 00 14 	lwz     r9,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);               
ffc1fbc0:	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);
ffc1fbc4:	7c e8 51 2e 	stwx    r7,r8,r10                              
  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);
ffc1fbc8:	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);                  
ffc1fbcc:	7c e9 f0 2e 	lwzx    r7,r9,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);               
ffc1fbd0:	55 6b 06 fe 	clrlwi  r11,r11,27                             
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc1fbd4:	81 1f 00 00 	lwz     r8,0(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);
ffc1fbd8:	7c 0b 58 30 	slw     r11,r0,r11                             
 */                                                                   
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);                  
ffc1fbdc:	7c eb 5b 78 	or      r11,r7,r11                             
  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++;                                                    
ffc1fbe0:	81 5f 00 10 	lwz     r10,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);
ffc1fbe4:	7d 69 f1 2e 	stwx    r11,r9,r30                             
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
  control->free++;                                                    
  return 0;                                                           
ffc1fbe8:	38 60 00 00 	li      r3,0                                   
  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++;                                                    
ffc1fbec:	39 4a 00 01 	addi    r10,r10,1                              
  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);                      
ffc1fbf0:	98 08 00 00 	stb     r0,0(r8)                               
  control->free++;                                                    
  return 0;                                                           
}                                                                     
ffc1fbf4:	80 01 00 24 	lwz     r0,36(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++;                                                    
ffc1fbf8:	91 5f 00 10 	stw     r10,16(r31)                            
  return 0;                                                           
}                                                                     
ffc1fbfc:	7c 08 03 a6 	mtlr    r0                                     
ffc1fc00:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fc04:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fc08:	38 21 00 20 	addi    r1,r1,32                               
ffc1fc0c:	4e 80 00 20 	blr                                            
                                                                      

ffc1fd80 <rtems_rfs_bitmap_map_clear_all>: int rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control) {
ffc1fd80:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fd84:	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);                     
ffc1fd88:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc1fd8c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1fd90:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1fd94:	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);                     
ffc1fd98:	4b ff f9 8d 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1fd9c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fda0:	40 81 00 18 	ble-    ffc1fdb8 <rtems_rfs_bitmap_map_clear_all+0x38><== ALWAYS TAKEN
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1fda4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1fda8:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1fdac:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1fdb0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fdb4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc1fdb8:	80 ff 00 0c 	lwz     r7,12(r31)                             
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fdbc:	38 00 00 00 	li      r0,0                                   
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
ffc1fdc0:	81 41 00 08 	lwz     r10,8(r1)                              
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fdc4:	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);               
ffc1fdc8:	38 e7 ff ff 	addi    r7,r7,-1                               
ffc1fdcc:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc1fdd0:	39 07 00 01 	addi    r8,r7,1                                
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1fdd4:	7d 09 03 a6 	mtctr   r8                                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
ffc1fdd8:	91 1f 00 10 	stw     r8,16(r31)                             
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1fddc:	39 60 ff ff 	li      r11,-1                                 
ffc1fde0:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fde4:	39 29 00 01 	addi    r9,r9,1                                
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1fde8:	7d 6a 01 2e 	stwx    r11,r10,r0                             
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fdec:	7d 20 4b 78 	mr      r0,r9                                  
ffc1fdf0:	42 00 ff f0 	bdnz+   ffc1fde0 <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)                                           
ffc1fdf4:	71 08 00 1f 	andi.   r8,r8,31                               
ffc1fdf8:	38 c0 ff ff 	li      r6,-1                                  
ffc1fdfc:	41 82 00 0c 	beq-    ffc1fe08 <rtems_rfs_bitmap_map_clear_all+0x88><== ALWAYS TAKEN
ffc1fe00:	21 08 00 20 	subfic  r8,r8,32                               <== NOT EXECUTED
ffc1fe04:	7c c6 44 30 	srw     r6,r6,r8                               <== NOT EXECUTED
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
ffc1fe08:	54 e7 d9 7f 	rlwinm. r7,r7,27,5,31                          
ffc1fe0c:	81 7f 00 14 	lwz     r11,20(r31)                            
ffc1fe10:	41 82 00 28 	beq-    ffc1fe38 <rtems_rfs_bitmap_map_clear_all+0xb8><== ALWAYS TAKEN
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1fe14:	7c e9 03 a6 	mtctr   r7                                     <== 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++)                                
ffc1fe18:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1fe1c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1fe20:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1fe24:	54 00 10 3a 	rlwinm  r0,r0,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++)                                
ffc1fe28:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1fe2c:	7d 4b 01 2e 	stwx    r10,r11,r0                             <== 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++)                                
ffc1fe30:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc1fe34:	42 00 ff f0 	bdnz+   ffc1fe24 <rtems_rfs_bitmap_map_clear_all+0xa4><== NOT EXECUTED
  control->search_bits[elements - 1] =                                
    rtems_rfs_bitmap_merge (RTEMS_RFS_BITMAP_ELEMENT_CLEAR,           
                            RTEMS_RFS_BITMAP_ELEMENT_SET,             
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc1fe38:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1fe3c:	38 00 00 01 	li      r0,1                                   
  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] =                                
ffc1fe40:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1fe44:	83 e1 00 1c 	lwz     r31,28(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] =                                
ffc1fe48:	7c cb 39 2e 	stwx    r6,r11,r7                              
                            RTEMS_RFS_BITMAP_ELEMENT_SET,             
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
ffc1fe4c:	38 60 00 00 	li      r3,0                                   
  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);                      
ffc1fe50:	98 09 00 00 	stb     r0,0(r9)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc1fe54:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1fe58:	38 21 00 20 	addi    r1,r1,32                               
ffc1fe5c:	7c 08 03 a6 	mtlr    r0                                     
ffc1fe60:	4e 80 00 20 	blr                                            
                                                                      

ffc1fa8c <rtems_rfs_bitmap_map_set>: int rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc1fa8c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fa90:	7c 08 02 a6 	mflr    r0                                     
ffc1fa94:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1fa98:	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);                     
ffc1fa9c:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control,          
                          rtems_rfs_bitmap_bit      bit)              
{                                                                     
ffc1faa0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1faa4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1faa8:	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);                     
ffc1faac:	4b ff fc 79 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1fab0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fab4:	40 81 00 1c 	ble-    ffc1fad0 <rtems_rfs_bitmap_map_set+0x44><== ALWAYS TAKEN
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
  }                                                                   
  return 0;                                                           
}                                                                     
ffc1fab8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1fabc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fac0:	7c 08 03 a6 	mtlr    r0                                     
ffc1fac4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fac8:	38 21 00 20 	addi    r1,r1,32                               
ffc1facc:	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)                                           
ffc1fad0:	80 1f 00 0c 	lwz     r0,12(r31)                             
    return EINVAL;                                                    
ffc1fad4:	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)                                           
ffc1fad8:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1fadc:	40 9c ff dc 	bge+    cr7,ffc1fab8 <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);        
ffc1fae0:	81 61 00 08 	lwz     r11,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);                      
ffc1fae4:	7f c8 2e 70 	srawi   r8,r30,5                               
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc1fae8:	55 09 10 3a 	rlwinm  r9,r8,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);                    
ffc1faec:	7c eb 48 2e 	lwzx    r7,r11,r9                              
    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);                     
ffc1faf0:	57 ca 06 fe 	clrlwi  r10,r30,27                             
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc1faf4:	38 00 00 01 	li      r0,1                                   
ffc1faf8:	7c 0a 50 30 	slw     r10,r0,r10                             
 */                                                                   
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);                    
ffc1fafc:	7c ea 50 78 	andc    r10,r7,r10                             
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
ffc1fb00:	80 ff 00 14 	lwz     r7,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))
ffc1fb04:	2f 8a 00 00 	cmpwi   cr7,r10,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);        
ffc1fb08:	7d 4b 49 2e 	stwx    r10,r11,r9                             
    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;                                                           
ffc1fb0c:	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))
ffc1fb10:	40 be ff a8 	bne-    cr7,ffc1fab8 <rtems_rfs_bitmap_map_set+0x2c><== ALWAYS TAKEN
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
ffc1fb14:	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--;                                                  
ffc1fb18:	81 7f 00 10 	lwz     r11,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);
ffc1fb1c:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         <== NOT EXECUTED
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
ffc1fb20:	81 3f 00 00 	lwz     r9,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);                    
ffc1fb24:	7d 47 f0 2e 	lwzx    r10,r7,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);                       
ffc1fb28:	55 08 06 fe 	clrlwi  r8,r8,27                               <== NOT EXECUTED
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
ffc1fb2c:	7c 08 40 30 	slw     r8,r0,r8                               <== 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);                    
ffc1fb30:	7d 48 40 78 	andc    r8,r10,r8                              <== 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--;                                                  
ffc1fb34:	39 6b ff ff 	addi    r11,r11,-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);
ffc1fb38:	7d 07 f1 2e 	stwx    r8,r7,r30                              <== NOT EXECUTED
    control->free--;                                                  
ffc1fb3c:	91 7f 00 10 	stw     r11,16(r31)                            <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
ffc1fb40:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
ffc1fb44:	4b ff ff 74 	b       ffc1fab8 <rtems_rfs_bitmap_map_set+0x2c><== NOT EXECUTED
                                                                      

ffc1fcb8 <rtems_rfs_bitmap_map_set_all>: int rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control) {
ffc1fcb8:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc1fcbc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fcc0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
{                                                                     
ffc1fcc4:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc1fcc8:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc1fccc:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fcd0:	4b ff fa 55 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1fcd4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1fcd8:	40 81 00 18 	ble-    ffc1fcf0 <rtems_rfs_bitmap_map_set_all+0x38><== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1fcdc:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1fce0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1fce4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1fce8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fcec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc1fcf0:	81 1f 00 0c 	lwz     r8,12(r31)                             <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
ffc1fcf4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1fcf8:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fcfc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc1fd00:	39 08 ff ff 	addi    r8,r8,-1                               <== NOT EXECUTED
ffc1fd04:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
ffc1fd08:	81 41 00 08 	lwz     r10,8(r1)                              <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
ffc1fd0c:	38 e8 00 01 	addi    r7,r8,1                                <== NOT EXECUTED
ffc1fd10:	7c e9 03 a6 	mtctr   r7                                     <== NOT EXECUTED
ffc1fd14:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1fd18:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fd1c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
ffc1fd20:	7d 6a 01 2e 	stwx    r11,r10,r0                             <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fd24:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc1fd28:	42 00 ff f0 	bdnz+   ffc1fd18 <rtems_rfs_bitmap_map_set_all+0x60><== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
ffc1fd2c:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          <== NOT EXECUTED
ffc1fd30:	81 5f 00 14 	lwz     r10,20(r31)                            <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc1fd34:	39 08 00 01 	addi    r8,r8,1                                <== NOT EXECUTED
ffc1fd38:	7d 09 03 a6 	mtctr   r8                                     <== NOT EXECUTED
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fd3c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1fd40:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc1fd44:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1fd48:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           <== NOT EXECUTED
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fd4c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc1fd50:	7d 6a 01 2e 	stwx    r11,r10,r0                             <== NOT EXECUTED
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1fd54:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc1fd58:	42 00 ff f0 	bdnz+   ffc1fd48 <rtems_rfs_bitmap_map_set_all+0x90><== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc1fd5c:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
ffc1fd60:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc1fd64:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1fd68:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < elements; e++)                                      
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc1fd6c:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc1fd70:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1fd74:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1fd78:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fd7c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1fc10 <rtems_rfs_bitmap_map_test>: int rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit, bool* state) {
ffc1fc10:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc1fc14:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1fc18:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
ffc1fc1c:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fc20:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
                                                                      
int                                                                   
rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control,         
                           rtems_rfs_bitmap_bit      bit,             
                           bool*                     state)           
{                                                                     
ffc1fc24:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
ffc1fc28:	7c bd 2b 78 	mr      r29,r5                                 <== NOT EXECUTED
ffc1fc2c:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc1fc30:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc1fc34:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fc38:	4b ff fa ed 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1fc3c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1fc40:	40 81 00 20 	ble-    ffc1fc60 <rtems_rfs_bitmap_map_test+0x50><== NOT EXECUTED
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1fc44:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc1fc48:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc1fc4c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fc50:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc1fc54:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc1fc58:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc1fc5c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1fc60:	80 1e 00 0c 	lwz     r0,12(r30)                             <== NOT EXECUTED
    return EINVAL;                                                    
ffc1fc64:	38 60 00 16 	li      r3,22                                  <== NOT EXECUTED
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1fc68:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc1fc6c:	40 9c ff d8 	bge+    cr7,ffc1fc44 <rtems_rfs_bitmap_map_test+0x34><== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1fc70:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
ffc1fc74:	7f e0 2e 70 	srawi   r0,r31,5                               <== NOT EXECUTED
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
ffc1fc78:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           <== NOT EXECUTED
  return 0;                                                           
}                                                                     
ffc1fc7c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1fc80:	7c 09 00 2e 	lwzx    r0,r9,r0                               <== NOT EXECUTED
ffc1fc84:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc1fc88:	7d 3f f8 30 	slw     r31,r9,r31                             <== NOT EXECUTED
ffc1fc8c:	7f e9 00 39 	and.    r9,r31,r0                              <== NOT EXECUTED
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1fc90:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
ffc1fc94:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1fc98:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc1fc9c:	54 00 1f fe 	rlwinm  r0,r0,3,31,31                          <== NOT EXECUTED
ffc1fca0:	98 1d 00 00 	stb     r0,0(r29)                              <== NOT EXECUTED
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1fca4:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc1fca8:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc1fcac:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc1fcb0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fcb4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1fa54 <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);
ffc1fa54:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc1fa58:	20 63 00 20 	subfic  r3,r3,32                               <== NOT EXECUTED
  return mask;                                                        
}                                                                     
ffc1fa5c:	7c 03 1c 30 	srw     r3,r0,r3                               <== NOT EXECUTED
ffc1fa60:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1fa64 <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)
ffc1fa64:	7f 84 18 40 	cmplw   cr7,r4,r3                              <== NOT EXECUTED
  return mask;                                                        
}                                                                     
                                                                      
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end)  
{                                                                     
ffc1fa68:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
  rtems_rfs_bitmap_element mask = 0;                                  
ffc1fa6c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  if (end > start)                                                    
ffc1fa70:	4c 9d 00 20 	blelr   cr7                                    <== NOT EXECUTED
    mask = rtems_rfs_bitmap_mask (end - start) << start;              
ffc1fa74:	7c 80 20 50 	subf    r4,r0,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);                 
ffc1fa78:	20 84 00 20 	subfic  r4,r4,32                               <== NOT EXECUTED
ffc1fa7c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1fa80:	7c 63 24 30 	srw     r3,r3,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;              
ffc1fa84:	7c 63 00 30 	slw     r3,r3,r0                               <== NOT EXECUTED
  return mask;                                                        
}                                                                     
ffc1fa88:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc200ac <rtems_rfs_bitmap_open>: rtems_rfs_bitmap_open (rtems_rfs_bitmap_control* control, rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* buffer, size_t size, rtems_rfs_buffer_block block) {
ffc200ac:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc200b0:	7c 08 02 a6 	mflr    r0                                     
ffc200b4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc200b8:	7c 7f 1b 78 	mr      r31,r3                                 
  size_t elements = rtems_rfs_bitmap_elements (size);                 
ffc200bc:	38 66 ff ff 	addi    r3,r6,-1                               
rtems_rfs_bitmap_open (rtems_rfs_bitmap_control* control,             
                       rtems_rfs_file_system*    fs,                  
                       rtems_rfs_buffer_handle*  buffer,              
                       size_t                    size,                
                       rtems_rfs_buffer_block    block)               
{                                                                     
ffc200c0:	90 01 00 14 	stw     r0,20(r1)                              
  control->buffer = buffer;                                           
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
ffc200c4:	54 63 c2 3a 	rlwinm  r3,r3,24,8,29                          
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
ffc200c8:	38 63 00 04 	addi    r3,r3,4                                
                       size_t                    size,                
                       rtems_rfs_buffer_block    block)               
{                                                                     
  size_t elements = rtems_rfs_bitmap_elements (size);                 
                                                                      
  control->buffer = buffer;                                           
ffc200cc:	90 bf 00 00 	stw     r5,0(r31)                              
  control->fs = fs;                                                   
ffc200d0:	90 9f 00 04 	stw     r4,4(r31)                              
  control->block = block;                                             
ffc200d4:	90 ff 00 08 	stw     r7,8(r31)                              
  control->size = size;                                               
ffc200d8:	90 df 00 0c 	stw     r6,12(r31)                             
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
ffc200dc:	4b fe 8d 11 	bl      ffc08dec <malloc>                      
                                                                      
  if (!control->search_bits)                                          
ffc200e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
ffc200e4:	90 7f 00 14 	stw     r3,20(r31)                             
                                                                      
  if (!control->search_bits)                                          
ffc200e8:	41 9e 00 1c 	beq-    cr7,ffc20104 <rtems_rfs_bitmap_open+0x58><== NEVER TAKEN
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
}                                                                     
ffc200ec:	80 01 00 14 	lwz     r0,20(r1)                              
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
                                                                      
  if (!control->search_bits)                                          
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
ffc200f0:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc200f4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc200f8:	38 21 00 10 	addi    r1,r1,16                               
ffc200fc:	7c 08 03 a6 	mtlr    r0                                     
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
                                                                      
  if (!control->search_bits)                                          
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
ffc20100:	4b ff fe 88 	b       ffc1ff88 <rtems_rfs_bitmap_create_search>
}                                                                     
ffc20104:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc20108:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc2010c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc20110:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc20114:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20118:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc2030c <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) {
ffc2030c:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc20310:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc20314:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc20318:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * If the handle has a buffer and this request is a different block the current
   * buffer is released.                                              
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
ffc2031c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
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)       
{                                                                     
ffc20320:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc20324:	7c fb 3b 78 	mr      r27,r7                                 <== NOT EXECUTED
ffc20328:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc2032c:	7c bc 2b 78 	mr      r28,r5                                 <== NOT EXECUTED
ffc20330:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc20334:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
ffc20338:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
ffc2033c:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc20340:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * If the handle has a buffer and this request is a different block the current
   * buffer is released.                                              
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
ffc20344:	48 00 16 75 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
  if (rc > 0)                                                         
ffc20348:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc2034c:	40 81 00 28 	ble-    ffc20374 <rtems_rfs_block_find_indirect+0x68><== NOT EXECUTED
    *result = 0;                                                      
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc20350:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc20354:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc20358:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2035c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc20360:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc20364:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc20368:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc2036c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc20370:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
ffc20374:	81 3d 00 08 	lwz     r9,8(r29)                              <== NOT EXECUTED
ffc20378:	57 e0 10 3a 	rlwinm  r0,r31,2,0,29                          <== NOT EXECUTED
ffc2037c:	81 69 00 24 	lwz     r11,36(r9)                             <== NOT EXECUTED
ffc20380:	7d 2b 02 14 	add     r9,r11,r0                              <== NOT EXECUTED
ffc20384:	7c 0b 00 ae 	lbzx    r0,r11,r0                              <== NOT EXECUTED
ffc20388:	89 49 00 03 	lbz     r10,3(r9)                              <== NOT EXECUTED
ffc2038c:	89 69 00 01 	lbz     r11,1(r9)                              <== NOT EXECUTED
ffc20390:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc20394:	89 29 00 02 	lbz     r9,2(r9)                               <== NOT EXECUTED
ffc20398:	7d 40 03 78 	or      r0,r10,r0                              <== NOT EXECUTED
ffc2039c:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc203a0:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc203a4:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc203a8:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
  if ((*result + 1) == 0)                                             
ffc203ac:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc203b0:	41 9e 00 5c 	beq-    cr7,ffc2040c <rtems_rfs_block_find_indirect+0x100><== NOT EXECUTED
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
ffc203b4:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
ffc203b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
  if ((*result + 1) == 0)                                             
ffc203bc:	90 1b 00 00 	stw     r0,0(r27)                              <== NOT EXECUTED
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
ffc203c0:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc203c4:	41 9c ff 8c 	blt+    cr7,ffc20350 <rtems_rfs_block_find_indirect+0x44><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
ffc203c8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc203cc:	38 80 10 00 	li      r4,4096                                <== NOT EXECUTED
ffc203d0:	4b ff 71 fd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc203d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc203d8:	40 9e 00 3c 	bne-    cr7,ffc20414 <rtems_rfs_block_find_indirect+0x108><== NOT EXECUTED
      printf ("rtems-rfs: block-find: invalid block in table:"        
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
ffc203dc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc203e0:	83 81 00 10 	lwz     r28,16(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;                                                      
ffc203e4:	90 1b 00 00 	stw     r0,0(r27)                              <== NOT EXECUTED
ffc203e8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc203ec:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc203f0:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc203f4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc203f8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc203fc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc20400:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc20404:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc20408:	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;                                                      
ffc2040c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc20410:	4b ff ff a4 	b       ffc203b4 <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:"        
ffc20414:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc20418:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2041c:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc20420:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc20424:	38 63 ab 60 	addi    r3,r3,-21664                           <== NOT EXECUTED
ffc20428:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2042c:	48 00 94 75 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc20430:	4b ff ff ac 	b       ffc203dc <rtems_rfs_block_find_indirect+0xd0><== NOT EXECUTED
                                                                      

ffc205b4 <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) {
ffc205b4:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc205b8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc205bc:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
ffc205c0:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc205c4:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc205c8:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
ffc205cc:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
  if (pos == 0)                                                       
ffc205d0:	7f c0 fb 79 	or.     r0,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)          
{                                                                     
ffc205d4:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
ffc205d8:	7c fd 3b 78 	mr      r29,r7                                 <== NOT EXECUTED
ffc205dc:	93 81 00 08 	stw     r28,8(r1)                              <== NOT EXECUTED
  if (pos == 0)                                                       
ffc205e0:	41 82 00 5c 	beq-    ffc2063c <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;            
ffc205e4:	83 83 00 08 	lwz     r28,8(r3)                              <== NOT EXECUTED
ffc205e8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc205ec:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc205f0:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc205f4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc205f8:	48 01 68 01 	bl      ffc36df8 <__udivdi3>                   <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc205fc:	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;            
ffc20600:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc20604:	90 9d 00 00 	stw     r4,0(r29)                              <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc20608:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc2060c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc20610:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc20614:	48 01 6b d9 	bl      ffc371ec <__umoddi3>                   <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc20618:	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);                
ffc2061c:	90 9d 00 04 	stw     r4,4(r29)                              <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc20620:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20624:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc20628:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc2062c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc20630:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc20634:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc20638:	4e 80 00 20 	blr                                            <== 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;                                                    
ffc2063c:	90 07 00 00 	stw     r0,0(r7)                               <== NOT EXECUTED
  size->offset = 0;                                                   
ffc20640:	90 07 00 04 	stw     r0,4(r7)                               <== NOT EXECUTED
ffc20644:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc20648:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc2064c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20650:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc20654:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc20658:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc2065c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc20660:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc208c4 <rtems_rfs_block_map_close>: int rtems_rfs_block_map_close (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) {
ffc208c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc208c8:	7c 08 02 a6 	mflr    r0                                     
ffc208cc:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc208d0:	88 04 00 00 	lbz     r0,0(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc208d4:	93 81 00 08 	stw     r28,8(r1)                              
  int rc = 0;                                                         
ffc208d8:	3b 80 00 00 	li      r28,0                                  
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc208dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc208e0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc208e4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc208e8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc208ec:	7c 9f 23 78 	mr      r31,r4                                 
ffc208f0:	93 a1 00 0c 	stw     r29,12(r1)                             
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc208f4:	41 9e 00 20 	beq-    cr7,ffc20914 <rtems_rfs_block_map_close+0x50>
ffc208f8:	80 84 00 04 	lwz     r4,4(r4)                               
ffc208fc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc20900:	41 9e 00 14 	beq-    cr7,ffc20914 <rtems_rfs_block_map_close+0x50><== NEVER TAKEN
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
ffc20904:	4b ff 34 d9 	bl      ffc13ddc <rtems_rfs_inode_load>        
    if (brc > 0)                                                      
ffc20908:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2090c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc20910:	40 9d 00 60 	ble-    cr7,ffc20970 <rtems_rfs_block_map_close+0xac><== ALWAYS TAKEN
                                                                      
      map->dirty = false;                                             
    }                                                                 
  }                                                                   
                                                                      
  map->inode = NULL;                                                  
ffc20914:	3b a0 00 00 	li      r29,0                                  
ffc20918:	93 bf 00 04 	stw     r29,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);                       
ffc2091c:	38 9f 00 38 	addi    r4,r31,56                              
ffc20920:	7f c3 f3 78 	mr      r3,r30                                 
ffc20924:	48 00 0e 81 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
ffc20928:	9b bf 00 38 	stb     r29,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);                       
ffc2092c:	7f c3 f3 78 	mr      r3,r30                                 
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc20930:	93 bf 00 3c 	stw     r29,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);                       
ffc20934:	38 9f 00 44 	addi    r4,r31,68                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc20938:	93 bf 00 40 	stw     r29,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);                       
ffc2093c:	48 00 0e 69 	bl      ffc217a4 <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;                                                          
}                                                                     
ffc20940:	80 01 00 1c 	lwz     r0,28(r1)                              
  handle->dirty = false;                                              
ffc20944:	9b bf 00 44 	stb     r29,68(r31)                            
ffc20948:	7f 83 e3 78 	mr      r3,r28                                 
ffc2094c:	7c 08 03 a6 	mtlr    r0                                     
  handle->bnum  = 0;                                                  
ffc20950:	93 bf 00 48 	stw     r29,72(r31)                            
  handle->buffer = NULL;                                              
ffc20954:	93 bf 00 4c 	stw     r29,76(r31)                            
ffc20958:	83 81 00 08 	lwz     r28,8(r1)                              
ffc2095c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc20960:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc20964:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc20968:	38 21 00 18 	addi    r1,r1,24                               
ffc2096c:	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);                      
ffc20970:	38 00 00 05 	li      r0,5                                   
ffc20974:	7c 09 03 a6 	mtctr   r0                                     
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
ffc20978:	38 ff 00 20 	addi    r7,r31,32                              
ffc2097c:	39 60 00 01 	li      r11,1                                  
ffc20980:	39 00 00 00 	li      r8,0                                   
ffc20984:	38 80 00 01 	li      r4,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]);    
ffc20988:	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);       
ffc2098c:	38 c8 00 04 	addi    r6,r8,4                                
ffc20990:	85 47 00 04 	lwzu    r10,4(r7)                              
ffc20994:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc20998:	80 09 00 0c 	lwz     r0,12(r9)                              
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc2099c:	39 08 00 01 	addi    r8,r8,1                                
ffc209a0:	55 45 c2 3e 	rlwinm  r5,r10,24,8,31                         
ffc209a4:	7c c0 32 14 	add     r6,r0,r6                               
ffc209a8:	55 40 46 3e 	rlwinm  r0,r10,8,24,31                         
ffc209ac:	98 06 00 0c 	stb     r0,12(r6)                              
ffc209b0:	55 40 84 3e 	rlwinm  r0,r10,16,16,31                        
ffc209b4:	80 c9 00 0c 	lwz     r6,12(r9)                              
ffc209b8:	7c c6 5a 14 	add     r6,r6,r11                              
ffc209bc:	98 06 00 1c 	stb     r0,28(r6)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc209c0:	38 00 00 01 	li      r0,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);       
ffc209c4:	80 c9 00 0c 	lwz     r6,12(r9)                              
ffc209c8:	7c c6 5a 14 	add     r6,r6,r11                              
ffc209cc:	98 a6 00 1d 	stb     r5,29(r6)                              
ffc209d0:	80 c9 00 0c 	lwz     r6,12(r9)                              
ffc209d4:	7c c6 5a 14 	add     r6,r6,r11                              
ffc209d8:	99 46 00 1e 	stb     r10,30(r6)                             
ffc209dc:	39 6b 00 04 	addi    r11,r11,4                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc209e0:	98 89 00 10 	stb     r4,16(r9)                              
ffc209e4:	42 00 ff a4 	bdnz+   ffc20988 <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);  
ffc209e8:	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);            
ffc209ec:	7f c3 f3 78 	mr      r3,r30                                 
    {                                                                 
      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);  
ffc209f0:	81 7f 00 08 	lwz     r11,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);            
ffc209f4:	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);      
ffc209f8:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc209fc:	55 68 46 3e 	rlwinm  r8,r11,8,24,31                         
ffc20a00:	99 0a 00 0c 	stb     r8,12(r10)                             
ffc20a04:	55 67 84 3e 	rlwinm  r7,r11,16,16,31                        
ffc20a08:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc20a0c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc20a10:	98 ea 00 0d 	stb     r7,13(r10)                             
ffc20a14:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc20a18:	99 0a 00 0e 	stb     r8,14(r10)                             
ffc20a1c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc20a20:	99 6a 00 0f 	stb     r11,15(r10)                            
      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);
ffc20a24:	81 5f 00 04 	lwz     r10,4(r31)                             
ffc20a28:	a1 7f 00 0e 	lhz     r11,14(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);    
ffc20a2c:	81 0a 00 0c 	lwz     r8,12(r10)                             
ffc20a30:	55 67 c2 3e 	rlwinm  r7,r11,24,8,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);                      
ffc20a34:	98 09 00 10 	stb     r0,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);    
ffc20a38:	98 e8 00 0a 	stb     r7,10(r8)                              
ffc20a3c:	81 2a 00 0c 	lwz     r9,12(r10)                             
ffc20a40:	99 69 00 0b 	stb     r11,11(r9)                             
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
ffc20a44:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc20a48:	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);
ffc20a4c:	81 0b 00 0c 	lwz     r8,12(r11)                             
ffc20a50:	55 26 46 3e 	rlwinm  r6,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);                      
ffc20a54:	98 0a 00 10 	stb     r0,16(r10)                             
 * @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);
ffc20a58:	55 27 84 3e 	rlwinm  r7,r9,16,16,31                         
ffc20a5c:	98 c8 00 30 	stb     r6,48(r8)                              
ffc20a60:	55 28 c2 3e 	rlwinm  r8,r9,24,8,31                          
ffc20a64:	81 4b 00 0c 	lwz     r10,12(r11)                            
ffc20a68:	98 ea 00 31 	stb     r7,49(r10)                             
ffc20a6c:	81 4b 00 0c 	lwz     r10,12(r11)                            
ffc20a70:	99 0a 00 32 	stb     r8,50(r10)                             
ffc20a74:	81 4b 00 0c 	lwz     r10,12(r11)                            
ffc20a78:	99 2a 00 33 	stb     r9,51(r10)                             
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
ffc20a7c:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc20a80:	81 5f 00 20 	lwz     r10,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);
ffc20a84:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc20a88:	55 46 46 3e 	rlwinm  r6,r10,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);                      
ffc20a8c:	98 0b 00 10 	stb     r0,16(r11)                             
 * @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);
ffc20a90:	55 47 84 3e 	rlwinm  r7,r10,16,16,31                        
ffc20a94:	98 c8 00 34 	stb     r6,52(r8)                              
ffc20a98:	55 48 c2 3e 	rlwinm  r8,r10,24,8,31                         
ffc20a9c:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc20aa0:	98 eb 00 35 	stb     r7,53(r11)                             
ffc20aa4:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc20aa8:	99 0b 00 36 	stb     r8,54(r11)                             
ffc20aac:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc20ab0:	99 4b 00 37 	stb     r10,55(r11)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc20ab4:	98 09 00 10 	stb     r0,16(r9)                              
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
ffc20ab8:	80 9f 00 04 	lwz     r4,4(r31)                              
ffc20abc:	4b ff 35 15 	bl      ffc13fd0 <rtems_rfs_inode_unload>      
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
ffc20ac0:	39 20 00 00 	li      r9,0                                   
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
ffc20ac4:	7c 60 18 f8 	not     r0,r3                                  
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
ffc20ac8:	99 3f 00 00 	stb     r9,0(r31)                              
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
      rtems_rfs_inode_set_block_offset (map->inode, map->size.offset);
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
ffc20acc:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc20ad0:	7c 7c 00 38 	and     r28,r3,r0                              
ffc20ad4:	4b ff fe 40 	b       ffc20914 <rtems_rfs_block_map_close+0x50>
                                                                      

ffc20ad8 <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) {
ffc20ad8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc20adc:	7c 08 02 a6 	mflr    r0                                     
ffc20ae0:	90 01 00 34 	stw     r0,52(r1)                              
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc20ae4:	38 00 00 00 	li      r0,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)               
{                                                                     
ffc20ae8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc20aec:	93 81 00 20 	stw     r28,32(r1)                             
ffc20af0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc20af4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc20af8:	7c dd 33 78 	mr      r29,r6                                 
ffc20afc:	93 c1 00 28 	stw     r30,40(r1)                             
ffc20b00:	7c be 2b 78 	mr      r30,r5                                 
ffc20b04:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc20b08:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc20b0c:	90 06 00 00 	stw     r0,0(r6)                               
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc20b10:	83 65 00 00 	lwz     r27,0(r5)                              
ffc20b14:	80 04 00 08 	lwz     r0,8(r4)                               
ffc20b18:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc20b1c:	41 9e 00 34 	beq-    cr7,ffc20b50 <rtems_rfs_block_map_find+0x78>
ffc20b20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return ENXIO;                                                     
ffc20b24:	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))          
ffc20b28:	40 9e 00 28 	bne-    cr7,ffc20b50 <rtems_rfs_block_map_find+0x78><== ALWAYS TAKEN
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
    map->bpos.block = *block;                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20b2c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc20b30:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc20b34:	7c 08 03 a6 	mtlr    r0                                     
ffc20b38:	83 81 00 20 	lwz     r28,32(r1)                             
ffc20b3c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc20b40:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc20b44:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc20b48:	38 21 00 30 	addi    r1,r1,48                               
ffc20b4c:	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))          
ffc20b50:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
    return ENXIO;                                                     
ffc20b54:	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))          
ffc20b58:	40 9c ff d4 	bge+    cr7,ffc20b2c <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))         
ffc20b5c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc20b60:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc20b64:	41 9e 00 68 	beq-    cr7,ffc20bcc <rtems_rfs_block_map_find+0xf4><== ALWAYS TAKEN
    /*                                                                
     * 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)                    
ffc20b68:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc20b6c:	41 9d 00 74 	bgt-    cr7,ffc20be0 <rtems_rfs_block_map_find+0x108><== NEVER TAKEN
    {                                                                 
      *block = map->blocks[bpos->bno];                                
ffc20b70:	3b 7b 00 08 	addi    r27,r27,8                              
ffc20b74:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc20b78:	7f 7f da 14 	add     r27,r31,r27                            
ffc20b7c:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc20b80:	90 1d 00 00 	stw     r0,0(r29)                              
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc20b84:	81 7e 00 08 	lwz     r11,8(r30)                             
    map->bpos.block = *block;                                         
ffc20b88:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc20b8c:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc20b90:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc20b94:	91 7f 00 18 	stw     r11,24(r31)                            
ffc20b98:	91 3f 00 10 	stw     r9,16(r31)                             
ffc20b9c:	90 1f 00 14 	stw     r0,20(r31)                             
    map->bpos.block = *block;                                         
ffc20ba0:	80 1d 00 00 	lwz     r0,0(r29)                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20ba4:	83 61 00 1c 	lwz     r27,28(r1)                             
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
    map->bpos.block = *block;                                         
ffc20ba8:	90 1f 00 18 	stw     r0,24(r31)                             
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20bac:	80 01 00 34 	lwz     r0,52(r1)                              
ffc20bb0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc20bb4:	7c 08 03 a6 	mtlr    r0                                     
ffc20bb8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc20bbc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc20bc0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc20bc4:	38 21 00 30 	addi    r1,r1,48                               
ffc20bc8:	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))         
ffc20bcc:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc20bd0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc20bd4:	41 be ff 94 	beq-    cr7,ffc20b68 <rtems_rfs_block_map_find+0x90><== ALWAYS TAKEN
  {                                                                   
    *block = map->bpos.block;                                         
ffc20bd8:	91 3d 00 00 	stw     r9,0(r29)                              <== NOT EXECUTED
ffc20bdc:	4b ff ff a8 	b       ffc20b84 <rtems_rfs_block_map_find+0xac><== NOT EXECUTED
       * The map is either singly or doubly indirect.                 
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
ffc20be0:	80 dc 00 30 	lwz     r6,48(r28)                             <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc20be4:	81 7c 00 34 	lwz     r11,52(r28)                            <== NOT EXECUTED
       * The map is either singly or doubly indirect.                 
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
ffc20be8:	7d 3b 33 96 	divwu   r9,r27,r6                              <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc20bec:	7f 8b 00 40 	cmplw   cr7,r11,r0                             <== NOT EXECUTED
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
      singly = bpos->bno / fs->blocks_per_block;                      
ffc20bf0:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
       * The map is either singly or doubly indirect.                 
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
ffc20bf4:	7d 69 31 d6 	mullw   r11,r9,r6                              <== NOT EXECUTED
ffc20bf8:	7f 6b d8 50 	subf    r27,r11,r27                            <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc20bfc:	40 9c 00 70 	bge-    cr7,ffc20c6c <rtems_rfs_block_map_find+0x194><== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc20c00:	7d 69 33 96 	divwu   r11,r9,r6                              <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc20c04:	81 5c 00 38 	lwz     r10,56(r28)                            <== NOT EXECUTED
ffc20c08:	7f 8a 00 40 	cmplw   cr7,r10,r0                             <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc20c0c:	7c cb 31 d6 	mullw   r6,r11,r6                              <== NOT EXECUTED
        {                                                             
          /*                                                          
           * This should never happen. Here so Joel can remove once his coverage
           * testing gets to the file systems.                        
           */                                                         
          rc = ENXIO;                                                 
ffc20c10:	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;                               
ffc20c14:	7c c6 48 50 	subf    r6,r6,r9                               <== NOT EXECUTED
ffc20c18:	90 c1 00 08 	stw     r6,8(r1)                               <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc20c1c:	40 9d ff 10 	ble+    cr7,ffc20b2c <rtems_rfs_block_map_find+0x54><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_find_indirect (fs,                     
ffc20c20:	39 2b 00 08 	addi    r9,r11,8                               <== NOT EXECUTED
ffc20c24:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc20c28:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc20c2c:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc20c30:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc20c34:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
ffc20c38:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc20c3c:	4b ff f6 d1 	bl      ffc2030c <rtems_rfs_block_find_indirect><== NOT EXECUTED
                                              &map->doubly_buffer,    
                                              map->blocks[doubly],    
                                              singly, &singly);       
          if (rc == 0)                                                
ffc20c40:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20c44:	40 82 fe e8 	bne+    ffc20b2c <rtems_rfs_block_map_find+0x54><== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_block_find_indirect (fs,                   
ffc20c48:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc20c4c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc20c50:	38 9f 00 38 	addi    r4,r31,56                              <== NOT EXECUTED
ffc20c54:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc20c58:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc20c5c:	4b ff f6 b1 	bl      ffc2030c <rtems_rfs_block_find_indirect><== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
ffc20c60:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc20c64:	40 9e fe c8 	bne+    cr7,ffc20b2c <rtems_rfs_block_map_find+0x54><== NOT EXECUTED
ffc20c68:	4b ff ff 1c 	b       ffc20b84 <rtems_rfs_block_map_find+0xac><== NOT EXECUTED
      {                                                               
        /*                                                            
         * This is a single indirect table of blocks anchored off a slot in the
         * inode.                                                     
         */                                                           
        rc = rtems_rfs_block_find_indirect (fs,                       
ffc20c6c:	39 29 00 08 	addi    r9,r9,8                                <== NOT EXECUTED
ffc20c70:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc20c74:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc20c78:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc20c7c:	4b ff ff d0 	b       ffc20c4c <rtems_rfs_block_map_find+0x174><== NOT EXECUTED
                                                                      

ffc20d84 <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) {
ffc20d84:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc20d88:	7c 08 02 a6 	mflr    r0                                     
ffc20d8c:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc20d90:	7c 7d 1b 78 	mr      r29,r3                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc20d94:	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)           
{                                                                     
ffc20d98:	93 e1 00 44 	stw     r31,68(r1)                             
ffc20d9c:	7c 9f 23 78 	mr      r31,r4                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc20da0:	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)           
{                                                                     
ffc20da4:	92 e1 00 24 	stw     r23,36(r1)                             
ffc20da8:	7c d7 33 78 	mr      r23,r6                                 
ffc20dac:	93 41 00 30 	stw     r26,48(r1)                             
ffc20db0:	7c ba 2b 78 	mr      r26,r5                                 
ffc20db4:	90 01 00 4c 	stw     r0,76(r1)                              
ffc20db8:	92 81 00 18 	stw     r20,24(r1)                             
ffc20dbc:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc20dc0:	92 c1 00 20 	stw     r22,32(r1)                             
ffc20dc4:	93 01 00 28 	stw     r24,40(r1)                             
ffc20dc8:	93 21 00 2c 	stw     r25,44(r1)                             
ffc20dcc:	93 61 00 34 	stw     r27,52(r1)                             
ffc20dd0:	93 81 00 38 	stw     r28,56(r1)                             
ffc20dd4:	93 c1 00 40 	stw     r30,64(r1)                             
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc20dd8:	4b ff 67 f5 	bl      ffc175cc <rtems_rfs_trace>             
ffc20ddc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20de0:	40 9e 03 a8 	bne-    cr7,ffc21188 <rtems_rfs_block_map_grow+0x404><== 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))
ffc20de4:	81 3f 00 08 	lwz     r9,8(r31)                              
    return EFBIG;                                                     
ffc20de8:	3a 80 00 1b 	li      r20,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))
ffc20dec:	80 1d 00 38 	lwz     r0,56(r29)                             
ffc20df0:	7d 3a 4a 14 	add     r9,r26,r9                              
ffc20df4:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc20df8:	41 9c 00 48 	blt-    cr7,ffc20e40 <rtems_rfs_block_map_grow+0xbc><== ALWAYS TAKEN
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc20dfc:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc20e00:	7e 83 a3 78 	mr      r3,r20                                 
ffc20e04:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc20e08:	7c 08 03 a6 	mtlr    r0                                     
ffc20e0c:	82 81 00 18 	lwz     r20,24(r1)                             
ffc20e10:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc20e14:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc20e18:	83 01 00 28 	lwz     r24,40(r1)                             
ffc20e1c:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc20e20:	83 41 00 30 	lwz     r26,48(r1)                             
ffc20e24:	83 61 00 34 	lwz     r27,52(r1)                             
ffc20e28:	83 81 00 38 	lwz     r28,56(r1)                             
ffc20e2c:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc20e30:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc20e34:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc20e38:	38 21 00 48 	addi    r1,r1,72                               
ffc20e3c:	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++)                                        
ffc20e40:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
ffc20e44:	3a 80 00 00 	li      r20,0                                  
                                                                      
  /*                                                                  
   * 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++)                                        
ffc20e48:	41 be ff b4 	beq-    cr7,ffc20dfc <rtems_rfs_block_map_grow+0x78><== NEVER TAKEN
ffc20e4c:	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,                  
ffc20e50:	3b c0 00 00 	li      r30,0                                  
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc20e54:	3b 80 00 01 	li      r28,1                                  
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc20e58:	3a bf 00 44 	addi    r21,r31,68                             
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20e5c:	3a df 00 38 	addi    r22,r31,56                             
ffc20e60:	48 00 00 48 	b       ffc20ea8 <rtems_rfs_block_map_grow+0x124>
                                       false, &block);                
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
      map->blocks[map->size.count] = block;                           
ffc20e64:	39 27 00 08 	addi    r9,r7,8                                
ffc20e68:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc20e6c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc20e70:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc20e74:	90 89 00 04 	stw     r4,4(r9)                               
    }                                                                 
                                                                      
    map->size.count++;                                                
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
ffc20e78:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
ffc20e7c:	38 e7 00 01 	addi    r7,r7,1                                
    map->size.offset = 0;                                             
ffc20e80:	38 00 00 00 	li      r0,0                                   
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
ffc20e84:	90 ff 00 08 	stw     r7,8(r31)                              
    map->size.offset = 0;                                             
ffc20e88:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
    if (b == 0)                                                       
ffc20e8c:	40 9e 00 08 	bne-    cr7,ffc20e94 <rtems_rfs_block_map_grow+0x110><== NEVER TAKEN
      *new_block = block;                                             
ffc20e90:	90 97 00 00 	stw     r4,0(r23)                              
                                                                      
  /*                                                                  
   * 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++)                                        
ffc20e94:	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;                                     
ffc20e98:	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++)                                        
ffc20e9c:	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;                                                
ffc20ea0:	9b 9f 00 00 	stb     r28,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++)                                        
ffc20ea4:	41 9e 03 00 	beq-    cr7,ffc211a4 <rtems_rfs_block_map_grow+0x420><== 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,      
ffc20ea8:	7f a3 eb 78 	mr      r3,r29                                 
ffc20eac:	38 a0 00 00 	li      r5,0                                   
ffc20eb0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc20eb4:	4b ff 29 09 	bl      ffc137bc <rtems_rfs_group_bitmap_alloc>
                                       false, &block);                
    if (rc > 0)                                                       
ffc20eb8:	7c 74 1b 79 	mr.     r20,r3                                 
ffc20ebc:	41 a1 ff 40 	bgt-    ffc20dfc <rtems_rfs_block_map_grow+0x78><== NEVER TAKEN
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
ffc20ec0:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc20ec4:	2b 87 00 04 	cmplwi  cr7,r7,4                               
ffc20ec8:	40 bd ff 9c 	ble-    cr7,ffc20e64 <rtems_rfs_block_map_grow+0xe0><== ALWAYS TAKEN
       * 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;                
ffc20ecc:	80 1d 00 30 	lwz     r0,48(r29)                             <== NOT EXECUTED
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20ed0:	81 3d 00 34 	lwz     r9,52(r29)                             <== NOT EXECUTED
       * Single indirect access is occuring. It could still be doubly indirect.
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = map->size.count % fs->blocks_per_block;                
ffc20ed4:	7c c7 03 96 	divwu   r6,r7,r0                               <== NOT EXECUTED
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20ed8:	7f 87 48 40 	cmplw   cr7,r7,r9                              <== NOT EXECUTED
       * Single indirect access is occuring. It could still be doubly indirect.
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = map->size.count % fs->blocks_per_block;                
ffc20edc:	7f 66 01 d6 	mullw   r27,r6,r0                              <== NOT EXECUTED
ffc20ee0:	7f 7b 38 50 	subf    r27,r27,r7                             <== NOT EXECUTED
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20ee4:	40 9c 00 ac 	bge-    cr7,ffc20f90 <rtems_rfs_block_map_grow+0x20c><== NOT EXECUTED
         * Singly indirect tables are being used. Allocate a new block for a
         * mapping table if direct is 0 or we are moving up (upping). If upping
         * move the direct blocks into the table and if not this is the first
         * entry of a new block.                                      
         */                                                           
        if ((direct == 0) ||                                          
ffc20ee8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc20eec:	41 9e 02 08 	beq-    cr7,ffc210f4 <rtems_rfs_block_map_grow+0x370><== NOT EXECUTED
ffc20ef0:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc20ef4:	40 9e 00 0c 	bne-    cr7,ffc20f00 <rtems_rfs_block_map_grow+0x17c><== NOT EXECUTED
            ((singly == 0) && (direct == RTEMS_RFS_INODE_BLOCKS)))    
ffc20ef8:	2f 9b 00 05 	cmpwi   cr7,r27,5                              <== NOT EXECUTED
ffc20efc:	41 9e 01 f8 	beq-    cr7,ffc210f4 <rtems_rfs_block_map_grow+0x370><== NOT EXECUTED
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
ffc20f00:	38 c6 00 08 	addi    r6,r6,8                                <== NOT EXECUTED
ffc20f04:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc20f08:	7c df 32 14 	add     r6,r31,r6                              <== NOT EXECUTED
ffc20f0c:	80 a6 00 04 	lwz     r5,4(r6)                               <== NOT EXECUTED
ffc20f10:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20f14:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc20f18:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc20f1c:	48 00 0a 9d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
ffc20f20:	7c 74 1b 78 	mr      r20,r3                                 <== NOT EXECUTED
                                                map->blocks[singly], true);
        }                                                             
                                                                      
        if (rc > 0)                                                   
ffc20f24:	2f 94 00 00 	cmpwi   cr7,r20,0                              <== NOT EXECUTED
ffc20f28:	41 9d 01 b8 	bgt-    cr7,ffc210e0 <rtems_rfs_block_map_grow+0x35c><== NOT EXECUTED
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc20f2c:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc20f30:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         <== NOT EXECUTED
ffc20f34:	88 01 00 0c 	lbz     r0,12(r1)                              <== NOT EXECUTED
ffc20f38:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc20f3c:	7c 09 d9 ae 	stbx    r0,r9,r27                              <== NOT EXECUTED
ffc20f40:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc20f44:	a0 01 00 0c 	lhz     r0,12(r1)                              <== NOT EXECUTED
ffc20f48:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc20f4c:	7d 29 da 14 	add     r9,r9,r27                              <== NOT EXECUTED
ffc20f50:	98 09 00 01 	stb     r0,1(r9)                               <== NOT EXECUTED
ffc20f54:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc20f58:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc20f5c:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc20f60:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          <== NOT EXECUTED
ffc20f64:	7d 29 da 14 	add     r9,r9,r27                              <== NOT EXECUTED
ffc20f68:	98 09 00 02 	stb     r0,2(r9)                               <== NOT EXECUTED
ffc20f6c:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc20f70:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
ffc20f74:	7f 60 da 14 	add     r27,r0,r27                             <== NOT EXECUTED
ffc20f78:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc20f7c:	98 1b 00 03 	stb     r0,3(r27)                              <== NOT EXECUTED
ffc20f80:	9b 9f 00 38 	stb     r28,56(r31)                            <== NOT EXECUTED
ffc20f84:	80 ff 00 08 	lwz     r7,8(r31)                              <== NOT EXECUTED
ffc20f88:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc20f8c:	4b ff fe ec 	b       ffc20e78 <rtems_rfs_block_map_grow+0xf4><== NOT EXECUTED
         * Doubly indirect tables are being used.                     
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
ffc20f90:	7f 26 03 96 	divwu   r25,r6,r0                              <== 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)                                              
ffc20f94:	2f 9b 00 00 	cmpwi   cr7,r27,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;                               
ffc20f98:	7f 19 01 d6 	mullw   r24,r25,r0                             <== NOT EXECUTED
ffc20f9c:	7f 18 30 50 	subf    r24,r24,r6                             <== 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)                                              
ffc20fa0:	40 9e 00 c0 	bne-    cr7,ffc21060 <rtems_rfs_block_map_grow+0x2dc><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
ffc20fa4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20fa8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc20fac:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc20fb0:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc20fb4:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc20fb8:	4b ff f1 8d 	bl      ffc20144 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
                                                   &map->singly_buffer,
                                                   &singly_block,     
                                                   false);            
          if (rc > 0)                                                 
ffc20fbc:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc20fc0:	41 81 01 20 	bgt-    ffc210e0 <rtems_rfs_block_map_grow+0x35c><== 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) ||                                        
ffc20fc4:	2f 98 00 00 	cmpwi   cr7,r24,0                              <== NOT EXECUTED
ffc20fc8:	41 9e 01 60 	beq-    cr7,ffc21128 <rtems_rfs_block_map_grow+0x3a4><== NOT EXECUTED
ffc20fcc:	2f 99 00 00 	cmpwi   cr7,r25,0                              <== NOT EXECUTED
ffc20fd0:	40 9e 00 0c 	bne-    cr7,ffc20fdc <rtems_rfs_block_map_grow+0x258><== NOT EXECUTED
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
ffc20fd4:	2f 98 00 05 	cmpwi   cr7,r24,5                              <== NOT EXECUTED
ffc20fd8:	41 9e 01 50 	beq-    cr7,ffc21128 <rtems_rfs_block_map_grow+0x3a4><== NOT EXECUTED
              return rc;                                              
            }                                                         
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20fdc:	3b 39 00 08 	addi    r25,r25,8                              <== NOT EXECUTED
ffc20fe0:	57 39 10 3a 	rlwinm  r25,r25,2,0,29                         <== NOT EXECUTED
ffc20fe4:	7f 3f ca 14 	add     r25,r31,r25                            <== NOT EXECUTED
ffc20fe8:	80 b9 00 04 	lwz     r5,4(r25)                              <== NOT EXECUTED
ffc20fec:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20ff0:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc20ff4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc20ff8:	48 00 09 c1 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
ffc20ffc:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc21000:	41 81 01 64 	bgt-    ffc21164 <rtems_rfs_block_map_grow+0x3e0><== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
              return rc;                                              
            }                                                         
          }                                                           
                                                                      
          rtems_rfs_block_set_number (&map->doubly_buffer,            
ffc21004:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc21008:	57 18 10 3a 	rlwinm  r24,r24,2,0,29                         <== NOT EXECUTED
ffc2100c:	88 01 00 08 	lbz     r0,8(r1)                               <== NOT EXECUTED
ffc21010:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc21014:	7c 09 c1 ae 	stbx    r0,r9,r24                              <== NOT EXECUTED
ffc21018:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc2101c:	a0 01 00 08 	lhz     r0,8(r1)                               <== NOT EXECUTED
ffc21020:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc21024:	7d 29 c2 14 	add     r9,r9,r24                              <== NOT EXECUTED
ffc21028:	98 09 00 01 	stb     r0,1(r9)                               <== NOT EXECUTED
ffc2102c:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc21030:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc21034:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc21038:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          <== NOT EXECUTED
ffc2103c:	7d 29 c2 14 	add     r9,r9,r24                              <== NOT EXECUTED
ffc21040:	98 09 00 02 	stb     r0,2(r9)                               <== NOT EXECUTED
ffc21044:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc21048:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
ffc2104c:	7f 00 c2 14 	add     r24,r0,r24                             <== NOT EXECUTED
ffc21050:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc21054:	98 18 00 03 	stb     r0,3(r24)                              <== NOT EXECUTED
ffc21058:	9b 9f 00 44 	stb     r28,68(r31)                            <== NOT EXECUTED
ffc2105c:	4b ff fe d0 	b       ffc20f2c <rtems_rfs_block_map_grow+0x1a8><== NOT EXECUTED
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc21060:	3b 39 00 08 	addi    r25,r25,8                              <== NOT EXECUTED
ffc21064:	57 39 10 3a 	rlwinm  r25,r25,2,0,29                         <== NOT EXECUTED
ffc21068:	7f 3f ca 14 	add     r25,r31,r25                            <== NOT EXECUTED
ffc2106c:	80 b9 00 04 	lwz     r5,4(r25)                              <== NOT EXECUTED
ffc21070:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc21074:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc21078:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc2107c:	48 00 09 3d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                &map->doubly_buffer,  
                                                map->blocks[doubly],  
                                                true);                
          if (rc > 0)                                                 
ffc21080:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc21084:	41 81 00 5c 	bgt-    ffc210e0 <rtems_rfs_block_map_grow+0x35c><== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc21088:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc2108c:	57 18 10 3a 	rlwinm  r24,r24,2,0,29                         <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc21090:	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,
ffc21094:	81 69 00 24 	lwz     r11,36(r9)                             <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc21098:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc2109c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc210a0:	7c 0b c0 ae 	lbzx    r0,r11,r24                             <== NOT EXECUTED
ffc210a4:	7d 2b c2 14 	add     r9,r11,r24                             <== NOT EXECUTED
ffc210a8:	89 49 00 03 	lbz     r10,3(r9)                              <== NOT EXECUTED
ffc210ac:	89 69 00 01 	lbz     r11,1(r9)                              <== NOT EXECUTED
ffc210b0:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc210b4:	89 29 00 02 	lbz     r9,2(r9)                               <== NOT EXECUTED
ffc210b8:	7d 40 03 78 	or      r0,r10,r0                              <== NOT EXECUTED
ffc210bc:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc210c0:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc210c4:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc210c8:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc210cc:	7c 05 03 78 	mr      r5,r0                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc210d0:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc210d4:	48 00 08 e5 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                singly_block, true);  
          if (rc > 0)                                                 
ffc210d8:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc210dc:	40 81 fe 50 	ble+    ffc20f2c <rtems_rfs_block_map_grow+0x1a8><== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
ffc210e0:	80 a1 00 0c 	lwz     r5,12(r1)                              <== NOT EXECUTED
ffc210e4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc210e8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc210ec:	4b ff 29 49 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
            return rc;                                                
ffc210f0:	4b ff fd 0c 	b       ffc20dfc <rtems_rfs_block_map_grow+0x78><== NOT EXECUTED
          /*                                                          
           * Upping is when we move from direct to singly indirect.   
           */                                                         
          bool upping;                                                
          upping = map->size.count == RTEMS_RFS_INODE_BLOCKS;         
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
ffc210f4:	38 c6 00 08 	addi    r6,r6,8                                <== NOT EXECUTED
ffc210f8:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc210fc:	68 e7 00 05 	xori    r7,r7,5                                <== NOT EXECUTED
ffc21100:	7c df 32 14 	add     r6,r31,r6                              <== NOT EXECUTED
ffc21104:	7c e7 00 34 	cntlzw  r7,r7                                  <== NOT EXECUTED
ffc21108:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc2110c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21110:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc21114:	38 c6 00 04 	addi    r6,r6,4                                <== NOT EXECUTED
ffc21118:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          <== NOT EXECUTED
ffc2111c:	4b ff f0 29 	bl      ffc20144 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
ffc21120:	7c 74 1b 78 	mr      r20,r3                                 <== NOT EXECUTED
         * 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)))    
        {                                                             
ffc21124:	4b ff fe 00 	b       ffc20f24 <rtems_rfs_block_map_grow+0x1a0><== NOT EXECUTED
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc21128:	80 ff 00 08 	lwz     r7,8(r31)                              <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
ffc2112c:	38 d9 00 08 	addi    r6,r25,8                               <== NOT EXECUTED
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc21130:	80 1d 00 34 	lwz     r0,52(r29)                             <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
ffc21134:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc21138:	7c df 32 14 	add     r6,r31,r6                              <== NOT EXECUTED
ffc2113c:	7c e7 02 78 	xor     r7,r7,r0                               <== NOT EXECUTED
ffc21140:	7c e7 00 34 	cntlzw  r7,r7                                  <== NOT EXECUTED
ffc21144:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc21148:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc2114c:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc21150:	38 c6 00 04 	addi    r6,r6,4                                <== NOT EXECUTED
ffc21154:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          <== NOT EXECUTED
ffc21158:	4b ff ef ed 	bl      ffc20144 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
                                                     upping);         
            if (rc > 0)                                               
ffc2115c:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
ffc21160:	40 81 fe a4 	ble+    ffc21004 <rtems_rfs_block_map_grow+0x280><== 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);  
ffc21164:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc21168:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc2116c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc21170:	4b ff 28 c5 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
ffc21174:	80 a1 00 0c 	lwz     r5,12(r1)                              <== NOT EXECUTED
ffc21178:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc2117c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc21180:	4b ff 28 b5 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
              return rc;                                              
ffc21184:	4b ff fc 78 	b       ffc20dfc <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",
ffc21188:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc2118c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21190:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc21194:	38 63 ab ac 	addi    r3,r3,-21588                           <== NOT EXECUTED
ffc21198:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2119c:	48 00 87 05 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc211a0:	4b ff fc 44 	b       ffc20de4 <rtems_rfs_block_map_grow+0x60><== NOT EXECUTED
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
ffc211a4:	3a 80 00 00 	li      r20,0                                  
ffc211a8:	4b ff fc 54 	b       ffc20dfc <rtems_rfs_block_map_grow+0x78>
                                                                      

ffc20144 <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) {
ffc20144:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc20148:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc2014c:	90 01 00 34 	stw     r0,52(r1)                              <== NOT EXECUTED
ffc20150:	93 e1 00 2c 	stw     r31,44(r1)                             <== NOT EXECUTED
ffc20154:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc20158:	80 84 00 1c 	lwz     r4,28(r4)                              <== NOT EXECUTED
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
ffc2015c:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc20160:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc20164:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
ffc20168:	93 c1 00 28 	stw     r30,40(r1)                             <== NOT EXECUTED
ffc2016c:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc20170:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
ffc20174:	93 41 00 18 	stw     r26,24(r1)                             <== NOT EXECUTED
ffc20178:	93 61 00 1c 	stw     r27,28(r1)                             <== NOT EXECUTED
ffc2017c:	7c fb 3b 78 	mr      r27,r7                                 <== NOT EXECUTED
ffc20180:	93 a1 00 24 	stw     r29,36(r1)                             <== NOT EXECUTED
ffc20184:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc20188:	4b ff 36 35 	bl      ffc137bc <rtems_rfs_group_bitmap_alloc><== NOT EXECUTED
  if (rc > 0)                                                         
ffc2018c:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc20190:	40 81 00 30 	ble-    ffc201c0 <rtems_rfs_block_map_indirect_alloc+0x7c><== NOT EXECUTED
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
ffc20194:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc20198:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc2019c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc201a0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc201a4:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc201a8:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc201ac:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc201b0:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc201b4:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc201b8:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc201bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   * 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);
ffc201c0:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc201c4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc201c8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc201cc:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc201d0:	48 00 17 e9 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
  if (rc > 0)                                                         
ffc201d4:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc201d8:	40 81 00 40 	ble-    ffc20218 <rtems_rfs_block_map_indirect_alloc+0xd4><== NOT EXECUTED
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
ffc201dc:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc201e0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc201e4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc201e8:	4b ff 38 4d 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
ffc201ec:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc201f0:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc201f4:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc201f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc201fc:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc20200:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc20204:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc20208:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc2020c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc20210:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc20214:	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));
ffc20218:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
ffc2021c:	38 80 00 ff 	li      r4,255                                 <== NOT EXECUTED
ffc20220:	80 bd 00 08 	lwz     r5,8(r29)                              <== NOT EXECUTED
ffc20224:	80 69 00 24 	lwz     r3,36(r9)                              <== NOT EXECUTED
ffc20228:	48 00 94 e9 	bl      ffc29710 <memset>                      <== NOT EXECUTED
  if (upping)                                                         
ffc2022c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc20230:	40 9e 00 20 	bne-    cr7,ffc20250 <rtems_rfs_block_map_indirect_alloc+0x10c><== NOT EXECUTED
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
ffc20234:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
              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);                               
ffc20238:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc2023c:	99 3e 00 00 	stb     r9,0(r30)                              <== NOT EXECUTED
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
ffc20240:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
ffc20244:	90 1c 00 00 	stw     r0,0(r28)                              <== NOT EXECUTED
  map->last_map_block = new_block;                                    
ffc20248:	90 1f 00 1c 	stw     r0,28(r31)                             <== NOT EXECUTED
  return 0;                                                           
ffc2024c:	4b ff ff 48 	b       ffc20194 <rtems_rfs_block_map_indirect_alloc+0x50><== NOT EXECUTED
  }                                                                   
  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))             
ffc20250:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc20254:	38 80 20 00 	li      r4,8192                                <== NOT EXECUTED
ffc20258:	4b ff 73 75 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2025c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc20260:	40 9e 00 94 	bne-    cr7,ffc202f4 <rtems_rfs_block_map_indirect_alloc+0x1b0><== NOT EXECUTED
      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]);         
ffc20264:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc20268:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
 * @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,      
ffc2026c:	39 7f 00 20 	addi    r11,r31,32                             <== NOT EXECUTED
ffc20270:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
ffc20274:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc20278:	81 5e 00 08 	lwz     r10,8(r30)                             <== NOT EXECUTED
ffc2027c:	84 0b 00 04 	lwzu    r0,4(r11)                              <== NOT EXECUTED
ffc20280:	81 4a 00 24 	lwz     r10,36(r10)                            <== NOT EXECUTED
ffc20284:	54 00 46 3e 	rlwinm  r0,r0,8,24,31                          <== NOT EXECUTED
ffc20288:	7c 0a 49 ae 	stbx    r0,r10,r9                              <== NOT EXECUTED
ffc2028c:	81 5e 00 08 	lwz     r10,8(r30)                             <== NOT EXECUTED
ffc20290:	a0 0b 00 00 	lhz     r0,0(r11)                              <== NOT EXECUTED
ffc20294:	81 4a 00 24 	lwz     r10,36(r10)                            <== NOT EXECUTED
ffc20298:	7d 4a 4a 14 	add     r10,r10,r9                             <== NOT EXECUTED
ffc2029c:	98 0a 00 01 	stb     r0,1(r10)                              <== NOT EXECUTED
ffc202a0:	81 5e 00 08 	lwz     r10,8(r30)                             <== NOT EXECUTED
ffc202a4:	80 0b 00 00 	lwz     r0,0(r11)                              <== NOT EXECUTED
ffc202a8:	81 4a 00 24 	lwz     r10,36(r10)                            <== NOT EXECUTED
ffc202ac:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          <== NOT EXECUTED
ffc202b0:	7d 4a 4a 14 	add     r10,r10,r9                             <== NOT EXECUTED
ffc202b4:	98 0a 00 02 	stb     r0,2(r10)                              <== NOT EXECUTED
ffc202b8:	81 5e 00 08 	lwz     r10,8(r30)                             <== NOT EXECUTED
ffc202bc:	80 0b 00 00 	lwz     r0,0(r11)                              <== NOT EXECUTED
ffc202c0:	81 4a 00 24 	lwz     r10,36(r10)                            <== NOT EXECUTED
ffc202c4:	7d 4a 4a 14 	add     r10,r10,r9                             <== NOT EXECUTED
ffc202c8:	98 0a 00 03 	stb     r0,3(r10)                              <== NOT EXECUTED
ffc202cc:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
ffc202d0:	99 1e 00 00 	stb     r8,0(r30)                              <== NOT EXECUTED
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
ffc202d4:	42 00 ff a4 	bdnz+   ffc20278 <rtems_rfs_block_map_indirect_alloc+0x134><== NOT EXECUTED
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
ffc202d8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc202dc:	90 1f 00 24 	stw     r0,36(r31)                             <== NOT EXECUTED
ffc202e0:	90 1f 00 28 	stw     r0,40(r31)                             <== NOT EXECUTED
ffc202e4:	90 1f 00 2c 	stw     r0,44(r31)                             <== NOT EXECUTED
ffc202e8:	90 1f 00 30 	stw     r0,48(r31)                             <== NOT EXECUTED
ffc202ec:	90 1f 00 34 	stw     r0,52(r31)                             <== NOT EXECUTED
ffc202f0:	4b ff ff 44 	b       ffc20234 <rtems_rfs_block_map_indirect_alloc+0xf0><== NOT EXECUTED
  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",
ffc202f4:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc202f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc202fc:	38 63 ab 2c 	addi    r3,r3,-21716                           <== NOT EXECUTED
ffc20300:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc20304:	48 00 95 9d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc20308:	4b ff ff 5c 	b       ffc20264 <rtems_rfs_block_map_indirect_alloc+0x120><== NOT EXECUTED
                                                                      

ffc20434 <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) ||
ffc20434:	2c 07 00 00 	cmpwi   r7,0                                   <== NOT EXECUTED
 * @param indirect The index index in the inode's block table.        
 * @param index The index in the indirect table of the block.         
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system*   fs,     
ffc20438:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc2043c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc20440:	93 e1 00 0c 	stw     r31,12(r1)                             <== NOT EXECUTED
ffc20444:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
ffc20448:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc2044c:	93 c1 00 08 	stw     r30,8(r1)                              <== NOT EXECUTED
   * block to be freed and the indirect block is now also free, or we have only
   * one indirect table and we can fit the remaining blocks into the inode,
   * then either move to the next indirect block or move the remaining blocks
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
ffc20450:	41 82 00 34 	beq-    ffc20484 <rtems_rfs_block_map_indirect_shrink.isra.12+0x50><== NOT EXECUTED
ffc20454:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
                                     rtems_rfs_block_map*     map,    
                                     rtems_rfs_buffer_handle* buffer, 
                                     rtems_rfs_block_no       indirect,
                                     rtems_rfs_block_no       index)  
{                                                                     
  int rc = 0;                                                         
ffc20458:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
   * block to be freed and the indirect block is now also free, or we have only
   * one indirect table and we can fit the remaining blocks into the inode,
   * then either move to the next indirect block or move the remaining blocks
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
ffc2045c:	40 9e 00 0c 	bne-    cr7,ffc20468 <rtems_rfs_block_map_indirect_shrink.isra.12+0x34><== NOT EXECUTED
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
ffc20460:	2f 87 00 05 	cmpwi   cr7,r7,5                               <== NOT EXECUTED
ffc20464:	41 9e 00 68 	beq-    cr7,ffc204cc <rtems_rfs_block_map_indirect_shrink.isra.12+0x98><== NOT EXECUTED
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20468:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc2046c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc20470:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc20474:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20478:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc2047c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc20480:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
ffc20484:	38 c6 00 08 	addi    r6,r6,8                                <== NOT EXECUTED
ffc20488:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc2048c:	7c c4 32 14 	add     r6,r4,r6                               <== NOT EXECUTED
ffc20490:	83 c6 00 04 	lwz     r30,4(r6)                              <== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
ffc20494:	90 e6 00 04 	stw     r7,4(r6)                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc20498:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc2049c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc204a0:	4b ff 35 95 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    if (rc > 0)                                                       
ffc204a4:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc204a8:	41 81 ff c0 	bgt+    ffc20468 <rtems_rfs_block_map_indirect_shrink.isra.12+0x34><== NOT EXECUTED
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc204ac:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc204b0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    map->last_map_block = block_to_free;                              
ffc204b4:	93 df 00 1c 	stw     r30,28(r31)                            <== NOT EXECUTED
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc204b8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc204bc:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc204c0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc204c4:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc204c8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
 * @param indirect The index index in the inode's block table.        
 * @param index The index in the indirect table of the block.         
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system*   fs,     
ffc204cc:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
ffc204d0:	81 25 00 00 	lwz     r9,0(r5)                               <== NOT EXECUTED
 * @param indirect The index index in the inode's block table.        
 * @param index The index in the indirect table of the block.         
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system*   fs,     
ffc204d4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
   * into the inode and free the indirect table's block.              
   */                                                                 
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
ffc204d8:	83 c4 00 24 	lwz     r30,36(r4)                             <== NOT EXECUTED
ffc204dc:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
 * @param indirect The index index in the inode's block table.        
 * @param index The index in the indirect table of the block.         
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system*   fs,     
ffc204e0:	39 64 00 20 	addi    r11,r4,32                              <== NOT EXECUTED
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
        map->blocks[b] = rtems_rfs_block_get_number (buffer, b);      
ffc204e4:	88 e9 00 00 	lbz     r7,0(r9)                               <== NOT EXECUTED
ffc204e8:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc204ec:	89 09 00 03 	lbz     r8,3(r9)                               <== NOT EXECUTED
ffc204f0:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           <== NOT EXECUTED
ffc204f4:	89 49 00 02 	lbz     r10,2(r9)                              <== NOT EXECUTED
ffc204f8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc204fc:	7c e0 03 78 	or      r0,r7,r0                               <== NOT EXECUTED
ffc20500:	7c 00 43 78 	or      r0,r0,r8                               <== NOT EXECUTED
ffc20504:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc20508:	7c 00 53 78 	or      r0,r0,r10                              <== NOT EXECUTED
ffc2050c:	94 0b 00 04 	stwu    r0,4(r11)                              <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc20510:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
ffc20514:	42 00 ff d0 	bdnz+   ffc204e4 <rtems_rfs_block_map_indirect_shrink.isra.12+0xb0><== NOT EXECUTED
ffc20518:	4b ff ff 80 	b       ffc20498 <rtems_rfs_block_map_indirect_shrink.isra.12+0x64><== NOT EXECUTED
                                                                      

ffc206bc <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) {
ffc206bc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc206c0:	7c 08 02 a6 	mflr    r0                                     
ffc206c4:	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;                                                  
ffc206c8:	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)                
{                                                                     
ffc206cc:	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;                                                 
ffc206d0:	38 00 00 00 	li      r0,0                                   
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
                          rtems_rfs_inode_handle* inode,              
                          rtems_rfs_block_map*    map)                
{                                                                     
ffc206d4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc206d8:	7c 7b 1b 78 	mr      r27,r3                                 
ffc206dc:	93 81 00 10 	stw     r28,16(r1)                             
ffc206e0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc206e4:	7c 9d 23 78 	mr      r29,r4                                 
ffc206e8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc206ec:	7c bf 2b 78 	mr      r31,r5                                 
   * 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;                                                 
ffc206f0:	98 05 00 00 	stb     r0,0(r5)                               
  map->inode = NULL;                                                  
ffc206f4:	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;                                                    
ffc206f8:	93 c5 00 08 	stw     r30,8(r5)                              
  size->offset = 0;                                                   
ffc206fc:	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;                                                      
ffc20700:	93 c5 00 10 	stw     r30,16(r5)                             
  bpos->boff = 0;                                                     
ffc20704:	93 c5 00 14 	stw     r30,20(r5)                             
  bpos->block = 0;                                                    
ffc20708:	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;                                              
ffc2070c:	9b c5 00 38 	stb     r30,56(r5)                             
  handle->bnum  = 0;                                                  
ffc20710:	93 c5 00 3c 	stw     r30,60(r5)                             
  handle->buffer = NULL;                                              
ffc20714:	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;                                              
ffc20718:	9b c5 00 44 	stb     r30,68(r5)                             
  handle->bnum  = 0;                                                  
ffc2071c:	93 c5 00 48 	stw     r30,72(r5)                             
  handle->buffer = NULL;                                              
ffc20720:	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);                              
ffc20724:	4b ff 36 b9 	bl      ffc13ddc <rtems_rfs_inode_load>        
  if (rc > 0)                                                         
ffc20728:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2072c:	41 81 01 40 	bgt-    ffc2086c <rtems_rfs_block_map_open+0x1b0><== NEVER TAKEN
ffc20730:	38 00 00 05 	li      r0,5                                   
                                                                      
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
ffc20734:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc20738:	7c 09 03 a6 	mtctr   r0                                     
ffc2073c:	93 bf 00 04 	stw     r29,4(r31)                             
  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,                 
ffc20740:	38 df 00 20 	addi    r6,r31,32                              
ffc20744:	39 60 00 01 	li      r11,1                                  
  /*                                                                  
   * 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++)                        
ffc20748:	39 40 00 00 	li      r10,0                                  
ffc2074c:	38 e9 00 1c 	addi    r7,r9,28                               
 * @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]);      
ffc20750:	38 aa 00 04 	addi    r5,r10,4                               
ffc20754:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc20758:	7c a9 2a 14 	add     r5,r9,r5                               
ffc2075c:	7d 07 5a 14 	add     r8,r7,r11                              
ffc20760:	88 05 00 0c 	lbz     r0,12(r5)                              
ffc20764:	88 88 00 02 	lbz     r4,2(r8)                               
ffc20768:	39 4a 00 01 	addi    r10,r10,1                              
ffc2076c:	7c a7 58 ae 	lbzx    r5,r7,r11                              
ffc20770:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           
ffc20774:	89 08 00 01 	lbz     r8,1(r8)                               
ffc20778:	7c 80 03 78 	or      r0,r4,r0                               
ffc2077c:	54 a5 80 1e 	rlwinm  r5,r5,16,0,15                          
ffc20780:	7c 00 2b 78 	or      r0,r0,r5                               
ffc20784:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc20788:	7c 00 43 78 	or      r0,r0,r8                               
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
ffc2078c:	94 06 00 04 	stwu    r0,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++)                        
ffc20790:	39 6b 00 04 	addi    r11,r11,4                              
ffc20794:	42 00 ff bc 	bdnz+   ffc20750 <rtems_rfs_block_map_open+0x94>
 * @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);             
ffc20798:	89 09 00 0c 	lbz     r8,12(r9)                              
  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);                     
ffc2079c:	7f 63 db 78 	mr      r3,r27                                 
ffc207a0:	88 09 00 0d 	lbz     r0,13(r9)                              
ffc207a4:	7f a4 eb 78 	mr      r4,r29                                 
ffc207a8:	89 49 00 0f 	lbz     r10,15(r9)                             
ffc207ac:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc207b0:	89 69 00 0e 	lbz     r11,14(r9)                             
ffc207b4:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc207b8:	7d 00 03 78 	or      r0,r8,r0                               
ffc207bc:	7c 00 53 78 	or      r0,r0,r10                              
ffc207c0:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc207c4:	7c 00 5b 78 	or      r0,r0,r11                              
   * 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);          
ffc207c8:	90 1f 00 08 	stw     r0,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);                     
ffc207cc:	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);            
ffc207d0:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc207d4:	89 69 00 0b 	lbz     r11,11(r9)                             
ffc207d8:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
   */                                                                 
  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);        
ffc207dc:	7c 00 5b 78 	or      r0,r0,r11                              
ffc207e0:	90 1f 00 0c 	stw     r0,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);          
ffc207e4:	89 09 00 30 	lbz     r8,48(r9)                              
ffc207e8:	88 09 00 31 	lbz     r0,49(r9)                              
ffc207ec:	89 49 00 33 	lbz     r10,51(r9)                             
ffc207f0:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc207f4:	89 69 00 32 	lbz     r11,50(r9)                             
ffc207f8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc207fc:	7d 00 03 78 	or      r0,r8,r0                               
ffc20800:	7c 00 53 78 	or      r0,r0,r10                              
ffc20804:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc20808:	7c 00 5b 78 	or      r0,r0,r11                              
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
ffc2080c:	90 1f 00 1c 	stw     r0,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);         
ffc20810:	89 49 00 34 	lbz     r10,52(r9)                             
ffc20814:	88 09 00 35 	lbz     r0,53(r9)                              
ffc20818:	89 69 00 37 	lbz     r11,55(r9)                             
ffc2081c:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc20820:	89 29 00 36 	lbz     r9,54(r9)                              
ffc20824:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc20828:	7d 40 03 78 	or      r0,r10,r0                              
ffc2082c:	7c 00 5b 78 	or      r0,r0,r11                              
ffc20830:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc20834:	7c 00 4b 78 	or      r0,r0,r9                               
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
ffc20838:	90 1f 00 20 	stw     r0,32(r31)                             
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
ffc2083c:	4b ff 37 95 	bl      ffc13fd0 <rtems_rfs_inode_unload>      
                                                                      
  return rc;                                                          
}                                                                     
ffc20840:	80 01 00 24 	lwz     r0,36(r1)                              
  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);                     
ffc20844:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  return rc;                                                          
}                                                                     
ffc20848:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc2084c:	7c 08 03 a6 	mtlr    r0                                     
ffc20850:	7f 83 e3 78 	mr      r3,r28                                 
ffc20854:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc20858:	83 81 00 10 	lwz     r28,16(r1)                             
ffc2085c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc20860:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc20864:	38 21 00 20 	addi    r1,r1,32                               
ffc20868:	4e 80 00 20 	blr                                            
 */                                                                   
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);                       
ffc2086c:	38 9f 00 38 	addi    r4,r31,56                              <== NOT EXECUTED
ffc20870:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc20874:	48 00 0f 31 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc20878:	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);                       
ffc2087c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc20880:	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);                       
ffc20884:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc20888:	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);                       
ffc2088c:	48 00 0f 19 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
ffc20890:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
  handle->dirty = false;                                              
ffc20894:	9b df 00 44 	stb     r30,68(r31)                            <== NOT EXECUTED
ffc20898:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2089c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc208a0:	93 df 00 48 	stw     r30,72(r31)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc208a4:	93 df 00 4c 	stw     r30,76(r31)                            <== NOT EXECUTED
ffc208a8:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc208ac:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc208b0:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc208b4:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc208b8:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc208bc:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc208c0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc211ac <rtems_rfs_block_map_shrink>: int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) {
ffc211ac:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc211b0:	7c 08 02 a6 	mflr    r0                                     
ffc211b4:	93 c1 00 40 	stw     r30,64(r1)                             
ffc211b8:	7c 7e 1b 78 	mr      r30,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc211bc:	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)            
{                                                                     
ffc211c0:	93 e1 00 44 	stw     r31,68(r1)                             
ffc211c4:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc211c8:	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)            
{                                                                     
ffc211cc:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc211d0:	7c bd 2b 78 	mr      r29,r5                                 
ffc211d4:	90 01 00 4c 	stw     r0,76(r1)                              
ffc211d8:	92 61 00 14 	stw     r19,20(r1)                             
ffc211dc:	92 81 00 18 	stw     r20,24(r1)                             
ffc211e0:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc211e4:	92 c1 00 20 	stw     r22,32(r1)                             
ffc211e8:	92 e1 00 24 	stw     r23,36(r1)                             
ffc211ec:	93 01 00 28 	stw     r24,40(r1)                             
ffc211f0:	93 21 00 2c 	stw     r25,44(r1)                             
ffc211f4:	93 41 00 30 	stw     r26,48(r1)                             
ffc211f8:	93 61 00 34 	stw     r27,52(r1)                             
ffc211fc:	93 81 00 38 	stw     r28,56(r1)                             
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc21200:	4b ff 63 cd 	bl      ffc175cc <rtems_rfs_trace>             
ffc21204:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21208:	40 9e 02 a0 	bne-    cr7,ffc214a8 <rtems_rfs_block_map_shrink+0x2fc><== NEVER TAKEN
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
ffc2120c:	81 3f 00 08 	lwz     r9,8(r31)                              
    return 0;                                                         
ffc21210:	38 60 00 00 	li      r3,0                                   
{                                                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
ffc21214:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc21218:	41 9e 01 c4 	beq-    cr7,ffc213dc <rtems_rfs_block_map_shrink+0x230><== ALWAYS TAKEN
ffc2121c:	7f 1d 48 40 	cmplw   cr6,r29,r9                             <== NOT EXECUTED
ffc21220:	93 a1 00 08 	stw     r29,8(r1)                              <== NOT EXECUTED
ffc21224:	41 99 02 7c 	bgt-    cr6,ffc214a0 <rtems_rfs_block_map_shrink+0x2f4><== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc21228:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc2122c:	2f 00 00 00 	cmpwi   cr6,r0,0                               <== NOT EXECUTED
ffc21230:	41 9a 02 a4 	beq-    cr6,ffc214d4 <rtems_rfs_block_map_shrink+0x328><== NOT EXECUTED
      /*                                                              
       * 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;                                         
ffc21234:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc21238:	3b 3f 00 44 	addi    r25,r31,68                             <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc2123c:	3b 5f 00 38 	addi    r26,r31,56                             <== NOT EXECUTED
int                                                                   
rtems_rfs_block_map_free_all (rtems_rfs_file_system* fs,              
                              rtems_rfs_block_map*   map)             
{                                                                     
  return rtems_rfs_block_map_shrink (fs, map, map->size.count);       
}                                                                     
ffc21240:	3a 9f 00 4c 	addi    r20,r31,76                             <== NOT EXECUTED
ffc21244:	3a bf 00 40 	addi    r21,r31,64                             <== NOT EXECUTED
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
ffc21248:	3b 60 00 01 	li      r27,1                                  <== NOT EXECUTED
ffc2124c:	48 00 00 58 	b       ffc212a4 <rtems_rfs_block_map_shrink+0xf8><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
ffc21250:	39 29 00 07 	addi    r9,r9,7                                <== NOT EXECUTED
ffc21254:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc21258:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc2125c:	83 a9 00 04 	lwz     r29,4(r9)                              <== NOT EXECUTED
      map->blocks[block] = 0;                                         
ffc21260:	93 89 00 04 	stw     r28,4(r9)                              <== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc21264:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21268:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc2126c:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc21270:	4b ff 27 c5 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    if (rc > 0)                                                       
ffc21274:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21278:	41 81 01 64 	bgt-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc2127c:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
ffc21280:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc21284:	35 60 ff ff 	addic.  r11,r0,-1                              <== NOT EXECUTED
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
    map->size.offset = 0;                                             
ffc21288:	93 9f 00 0c 	stw     r28,12(r31)                            <== NOT EXECUTED
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
ffc2128c:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc21290:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
ffc21294:	93 bf 00 20 	stw     r29,32(r31)                            <== NOT EXECUTED
    map->dirty = true;                                                
ffc21298:	9b 7f 00 00 	stb     r27,0(r31)                             <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc2129c:	91 61 00 08 	stw     r11,8(r1)                              <== NOT EXECUTED
ffc212a0:	41 82 02 24 	beq-    ffc214c4 <rtems_rfs_block_map_shrink+0x318><== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_no block;                                         
    rtems_rfs_block_no block_to_free;                                 
    int                rc;                                            
                                                                      
    block = map->size.count - 1;                                      
ffc212a4:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
                                                                      
    if (block < RTEMS_RFS_INODE_BLOCKS)                               
ffc212a8:	2b 80 00 04 	cmplwi  cr7,r0,4                               <== NOT EXECUTED
ffc212ac:	40 bd ff a4 	ble-    cr7,ffc21250 <rtems_rfs_block_map_shrink+0xa4><== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc212b0:	83 be 00 30 	lwz     r29,48(r30)                            <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc212b4:	81 7e 00 34 	lwz     r11,52(r30)                            <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc212b8:	7f 00 eb 96 	divwu   r24,r0,r29                             <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc212bc:	7f 80 58 40 	cmplw   cr7,r0,r11                             <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc212c0:	7e f8 e9 d6 	mullw   r23,r24,r29                            <== NOT EXECUTED
ffc212c4:	7e f7 00 50 	subf    r23,r23,r0                             <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc212c8:	41 9c 01 58 	blt-    cr7,ffc21420 <rtems_rfs_block_map_shrink+0x274><== NOT EXECUTED
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
                                                  singly, direct);    
        if (rc)                                                       
          return rc;                                                  
      }                                                               
      else if (block < fs->block_map_doubly_blocks)                   
ffc212cc:	81 7e 00 38 	lwz     r11,56(r30)                            <== NOT EXECUTED
ffc212d0:	7f 80 58 40 	cmplw   cr7,r0,r11                             <== NOT EXECUTED
ffc212d4:	40 9c 01 f0 	bge-    cr7,ffc214c4 <rtems_rfs_block_map_shrink+0x318><== 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;                
ffc212d8:	7e d8 eb 96 	divwu   r22,r24,r29                            <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc212dc:	39 36 00 08 	addi    r9,r22,8                               <== NOT EXECUTED
ffc212e0:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc212e4:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc212e8:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc212ec:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc212f0:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc212f4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc212f8:	48 00 06 c1 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
ffc212fc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21300:	41 81 00 dc 	bgt-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== 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;                
ffc21304:	7f b6 e9 d6 	mullw   r29,r22,r29                            <== 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,     
ffc21308:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc2130c:	81 69 00 24 	lwz     r11,36(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,
ffc21310:	7f c3 f3 78 	mr      r3,r30                                 <== 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;                
ffc21314:	7f 1d c0 50 	subf    r24,r29,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,     
ffc21318:	57 00 10 3a 	rlwinm  r0,r24,2,0,29                          <== NOT EXECUTED
ffc2131c:	7d 2b 02 14 	add     r9,r11,r0                              <== NOT EXECUTED
ffc21320:	7e 6b 00 ae 	lbzx    r19,r11,r0                             <== NOT EXECUTED
ffc21324:	89 49 00 03 	lbz     r10,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,
ffc21328:	7f 44 d3 78 	mr      r4,r26                                 <== 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,     
ffc2132c:	89 69 00 01 	lbz     r11,1(r9)                              <== NOT EXECUTED
ffc21330:	56 73 c0 0e 	rlwinm  r19,r19,24,0,7                         <== NOT EXECUTED
ffc21334:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc21338:	7d 53 9b 78 	or      r19,r10,r19                            <== NOT EXECUTED
ffc2133c:	55 69 80 1e 	rlwinm  r9,r11,16,0,15                         <== NOT EXECUTED
ffc21340:	7e 73 4b 78 	or      r19,r19,r9                             <== NOT EXECUTED
ffc21344:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc21348:	7e 73 03 78 	or      r19,r19,r0                             <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc2134c:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc21350:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc21354:	48 00 06 65 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              singly, true);          
        if (rc > 0)                                                   
ffc21358:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc2135c:	41 81 00 80 	bgt-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc21360:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc21364:	56 e0 10 3a 	rlwinm  r0,r23,2,0,29                          <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc21368:	2f 97 00 00 	cmpwi   cr7,r23,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,
ffc2136c:	81 69 00 24 	lwz     r11,36(r9)                             <== NOT EXECUTED
ffc21370:	7d 2b 02 14 	add     r9,r11,r0                              <== NOT EXECUTED
ffc21374:	7f ab 00 ae 	lbzx    r29,r11,r0                             <== NOT EXECUTED
ffc21378:	89 49 00 03 	lbz     r10,3(r9)                              <== NOT EXECUTED
ffc2137c:	89 69 00 01 	lbz     r11,1(r9)                              <== NOT EXECUTED
ffc21380:	57 bd c0 0e 	rlwinm  r29,r29,24,0,7                         <== NOT EXECUTED
ffc21384:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc21388:	7d 5d eb 78 	or      r29,r10,r29                            <== NOT EXECUTED
ffc2138c:	55 69 80 1e 	rlwinm  r9,r11,16,0,15                         <== NOT EXECUTED
ffc21390:	7f bd 4b 78 	or      r29,r29,r9                             <== NOT EXECUTED
ffc21394:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc21398:	7f bd 03 78 	or      r29,r29,r0                             <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc2139c:	40 9e fe c8 	bne+    cr7,ffc21264 <rtems_rfs_block_map_shrink+0xb8><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_group_bitmap_free (fs, false, singly);       
ffc213a0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc213a4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc213a8:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc213ac:	4b ff 26 89 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
          if (rc > 0)                                                 
ffc213b0:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc213b4:	41 81 00 28 	bgt-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
            return rc;                                                
                                                                      
          map->last_map_block = singly;                               
ffc213b8:	92 7f 00 1c 	stw     r19,28(r31)                            <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer,
ffc213bc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc213c0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc213c4:	7e 85 a3 78 	mr      r5,r20                                 <== NOT EXECUTED
ffc213c8:	7e c6 b3 78 	mr      r6,r22                                 <== NOT EXECUTED
ffc213cc:	7f 07 c3 78 	mr      r7,r24                                 <== NOT EXECUTED
ffc213d0:	4b ff f0 65 	bl      ffc20434 <rtems_rfs_block_map_indirect_shrink.isra.12><== NOT EXECUTED
                                                    doubly, doubly_singly);
          if (rc)                                                     
ffc213d4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc213d8:	41 82 fe 8c 	beq+    ffc21264 <rtems_rfs_block_map_shrink+0xb8><== 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;                                                           
}                                                                     
ffc213dc:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc213e0:	82 61 00 14 	lwz     r19,20(r1)                             
ffc213e4:	7c 08 03 a6 	mtlr    r0                                     
ffc213e8:	82 81 00 18 	lwz     r20,24(r1)                             
ffc213ec:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc213f0:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc213f4:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc213f8:	83 01 00 28 	lwz     r24,40(r1)                             
ffc213fc:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc21400:	83 41 00 30 	lwz     r26,48(r1)                             
ffc21404:	83 61 00 34 	lwz     r27,52(r1)                             
ffc21408:	83 81 00 38 	lwz     r28,56(r1)                             
ffc2140c:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc21410:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc21414:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc21418:	38 21 00 48 	addi    r1,r1,72                               
ffc2141c:	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,
ffc21420:	39 38 00 08 	addi    r9,r24,8                               <== NOT EXECUTED
ffc21424:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc21428:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc2142c:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc21430:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21434:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc21438:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc2143c:	48 00 05 7d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
ffc21440:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21444:	41 a1 ff 98 	bgt-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc21448:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc2144c:	56 e0 10 3a 	rlwinm  r0,r23,2,0,29                          <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc21450:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc21454:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc21458:	7e e7 bb 78 	mr      r7,r23                                 <== NOT EXECUTED
ffc2145c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc21460:	7e c9 00 ee 	lbzux   r22,r9,r0                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc21464:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21468:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc2146c:	8a e9 00 01 	lbz     r23,1(r9)                              <== NOT EXECUTED
ffc21470:	8b 09 00 02 	lbz     r24,2(r9)                              <== NOT EXECUTED
ffc21474:	8b a9 00 03 	lbz     r29,3(r9)                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc21478:	4b ff ef bd 	bl      ffc20434 <rtems_rfs_block_map_indirect_shrink.isra.12><== NOT EXECUTED
                                                  singly, direct);    
        if (rc)                                                       
ffc2147c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21480:	40 a2 ff 5c 	bne-    ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc21484:	56 d6 c0 0e 	rlwinm  r22,r22,24,0,7                         <== NOT EXECUTED
ffc21488:	7f bd b3 78 	or      r29,r29,r22                            <== NOT EXECUTED
ffc2148c:	56 f7 80 1e 	rlwinm  r23,r23,16,0,15                        <== NOT EXECUTED
ffc21490:	7f bd bb 78 	or      r29,r29,r23                            <== NOT EXECUTED
ffc21494:	57 18 40 2e 	rlwinm  r24,r24,8,0,23                         <== NOT EXECUTED
ffc21498:	7f bd c3 78 	or      r29,r29,r24                            <== NOT EXECUTED
ffc2149c:	4b ff fd c8 	b       ffc21264 <rtems_rfs_block_map_shrink+0xb8><== NOT EXECUTED
{                                                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
ffc214a0:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
ffc214a4:	4b ff fd 84 	b       ffc21228 <rtems_rfs_block_map_shrink+0x7c><== 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",
ffc214a8:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc214ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc214b0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc214b4:	38 63 ab e4 	addi    r3,r3,-21532                           <== NOT EXECUTED
ffc214b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc214bc:	48 00 83 e5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc214c0:	4b ff fd 4c 	b       ffc2120c <rtems_rfs_block_map_shrink+0x60><== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
ffc214c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc214c8:	40 9e 00 0c 	bne-    cr7,ffc214d4 <rtems_rfs_block_map_shrink+0x328><== NOT EXECUTED
  {                                                                   
    map->last_map_block = 0;                                          
ffc214cc:	91 3f 00 1c 	stw     r9,28(r31)                             <== NOT EXECUTED
    map->last_data_block = 0;                                         
ffc214d0:	91 3f 00 20 	stw     r9,32(r31)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
ffc214d4:	80 1f 00 10 	lwz     r0,16(r31)                             <== NOT EXECUTED
ffc214d8:	2f 00 00 00 	cmpwi   cr6,r0,0                               <== NOT EXECUTED
ffc214dc:	40 9a 00 30 	bne-    cr6,ffc2150c <rtems_rfs_block_map_shrink+0x360><== NOT EXECUTED
ffc214e0:	7f 89 00 40 	cmplw   cr7,r9,r0                              <== NOT EXECUTED
ffc214e4:	40 9d 00 2c 	ble-    cr7,ffc21510 <rtems_rfs_block_map_shrink+0x364><== NOT EXECUTED
ffc214e8:	39 69 ff ff 	addi    r11,r9,-1                              <== NOT EXECUTED
ffc214ec:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
                                                                      
  return 0;                                                           
ffc214f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
ffc214f4:	40 9e fe e8 	bne+    cr7,ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
ffc214f8:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc214fc:	81 7f 00 14 	lwz     r11,20(r31)                            <== NOT EXECUTED
ffc21500:	7f 8b 00 40 	cmplw   cr7,r11,r0                             <== NOT EXECUTED
ffc21504:	41 bd 00 10 	bgt+    cr7,ffc21514 <rtems_rfs_block_map_shrink+0x368><== NOT EXECUTED
ffc21508:	4b ff fe d4 	b       ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
ffc2150c:	40 be ff d4 	bne-    cr7,ffc214e0 <rtems_rfs_block_map_shrink+0x334><== NOT EXECUTED
ffc21510:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
ffc21514:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc21518:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc2151c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc21520:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc21524:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
ffc21528:	90 1f 00 18 	stw     r0,24(r31)                             <== NOT EXECUTED
ffc2152c:	41 be fe b0 	beq-    cr7,ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
ffc21530:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc21534:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
ffc21538:	4b ff fe a4 	b       ffc213dc <rtems_rfs_block_map_shrink+0x230><== NOT EXECUTED
                                                                      

ffc2845c <rtems_rfs_buffer_bdbuf_release>: int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) {
ffc2845c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc28460:	7d 80 00 26 	mfcr    r12                                    
ffc28464:	7c 08 02 a6 	mflr    r0                                     
ffc28468:	93 c1 00 10 	stw     r30,16(r1)                             
ffc2846c:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc28470:	38 80 00 40 	li      r4,64                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
ffc28474:	93 e1 00 14 	stw     r31,20(r1)                             
ffc28478:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc2847c:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
ffc28480:	90 01 00 1c 	stw     r0,28(r1)                              
ffc28484:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc28488:	91 81 00 0c 	stw     r12,12(r1)                             
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc2848c:	4b fe f1 41 	bl      ffc175cc <rtems_rfs_trace>             
ffc28490:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc28494:	41 9e 00 28 	beq-    cr7,ffc284bc <rtems_rfs_buffer_bdbuf_release+0x60><== ALWAYS TAKEN
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
ffc28498:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc2849c:	80 bf 00 20 	lwz     r5,32(r31)                             <== NOT EXECUTED
ffc284a0:	40 92 00 88 	bne-    cr4,ffc28528 <rtems_rfs_buffer_bdbuf_release+0xcc><== NOT EXECUTED
ffc284a4:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc284a8:	38 c6 a1 fc 	addi    r6,r6,-24068                           <== NOT EXECUTED
ffc284ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc284b0:	38 63 c1 b4 	addi    r3,r3,-15948                           <== NOT EXECUTED
ffc284b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc284b8:	48 00 13 e9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc284bc:	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)                                                       
ffc284c0:	41 92 00 34 	beq-    cr4,ffc284f4 <rtems_rfs_buffer_bdbuf_release+0x98>
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc284c4:	4b ff 1e 4d 	bl      ffc1a310 <rtems_bdbuf_release_modified>
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc284c8:	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;                                                         
ffc284cc:	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)                                         
ffc284d0:	41 9e 00 34 	beq-    cr7,ffc28504 <rtems_rfs_buffer_bdbuf_release+0xa8><== ALWAYS TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc284d4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc284d8:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc284dc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc284e0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc284e4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc284e8:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc284ec:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc284f0:	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);                                
ffc284f4:	4b ff 1d 15 	bl      ffc1a208 <rtems_bdbuf_release>         
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc284f8:	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;                                                         
ffc284fc:	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)                                         
ffc28500:	40 9e ff d4 	bne+    cr7,ffc284d4 <rtems_rfs_buffer_bdbuf_release+0x78><== NEVER TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc28504:	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;                                           
ffc28508:	38 60 00 00 	li      r3,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc2850c:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc28510:	7c 08 03 a6 	mtlr    r0                                     
ffc28514:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc28518:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2851c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc28520:	38 21 00 18 	addi    r1,r1,24                               
ffc28524:	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",
ffc28528:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc2852c:	38 c6 c1 a8 	addi    r6,r6,-15960                           <== NOT EXECUTED
ffc28530:	4b ff ff 7c 	b       ffc284ac <rtems_rfs_buffer_bdbuf_release+0x50><== NOT EXECUTED
                                                                      

ffc283f4 <rtems_rfs_buffer_bdbuf_request>: int rtems_rfs_buffer_bdbuf_request (rtems_rfs_file_system* fs, rtems_rfs_buffer_block block, bool read, rtems_rfs_buffer** buffer) {
ffc283f4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc283f8:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
ffc283fc:	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)      
{                                                                     
ffc28400:	90 01 00 0c 	stw     r0,12(r1)                              
ffc28404:	7c 85 23 78 	mr      r5,r4                                  
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc28408:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2840c:	80 69 00 00 	lwz     r3,0(r9)                               
ffc28410:	80 89 00 04 	lwz     r4,4(r9)                               
                                rtems_rfs_buffer**       buffer)      
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
ffc28414:	41 9e 00 24 	beq-    cr7,ffc28438 <rtems_rfs_buffer_bdbuf_request+0x44>
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc28418:	4b ff 1a 95 	bl      ffc19eac <rtems_bdbuf_read>            
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2841c:	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;                                                         
ffc28420:	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)                                         
ffc28424:	41 9e 00 24 	beq-    cr7,ffc28448 <rtems_rfs_buffer_bdbuf_request+0x54><== ALWAYS TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc28428:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc2842c:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc28430:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc28434:	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);   
ffc28438:	4b ff 19 51 	bl      ffc19d88 <rtems_bdbuf_get>             
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2843c:	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;                                                         
ffc28440:	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)                                         
ffc28444:	40 9e ff e4 	bne+    cr7,ffc28428 <rtems_rfs_buffer_bdbuf_request+0x34><== NEVER TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc28448:	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;                                           
ffc2844c:	38 60 00 00 	li      r3,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc28450:	38 21 00 08 	addi    r1,r1,8                                
ffc28454:	7c 08 03 a6 	mtlr    r0                                     
ffc28458:	4e 80 00 20 	blr                                            
                                                                      

ffc22148 <rtems_rfs_buffer_close>: return 0; } int rtems_rfs_buffer_close (rtems_rfs_file_system* fs) {
ffc22148:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc2214c:	7c 08 02 a6 	mflr    r0                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc22150:	38 80 00 10 	li      r4,16                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc22154:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc22158:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc2215c:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc22160:	90 01 00 14 	stw     r0,20(r1)                              
ffc22164:	93 c1 00 08 	stw     r30,8(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc22168:	4b ff 54 65 	bl      ffc175cc <rtems_rfs_trace>             
ffc2216c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22170:	40 9e 00 98 	bne-    cr7,ffc22208 <rtems_rfs_buffer_close+0xc0><== 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));
ffc22174:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc22178:	7f e3 fb 78 	mr      r3,r31                                 
ffc2217c:	80 89 00 24 	lwz     r4,36(r9)                              
ffc22180:	4b ff fe 75 	bl      ffc21ff4 <rtems_rfs_buffer_setblksize> 
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
ffc22184:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc22188:	40 81 00 18 	ble-    ffc221a0 <rtems_rfs_buffer_close+0x58> <== ALWAYS TAKEN
ffc2218c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22190:	38 80 00 10 	li      r4,16                                  <== NOT EXECUTED
ffc22194:	4b ff 54 39 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22198:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2219c:	40 9e 00 28 	bne-    cr7,ffc221c4 <rtems_rfs_buffer_close+0x7c><== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_disk_release (fs->disk);                                      
ffc221a0:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc221a4:	4b fe 4f 21 	bl      ffc070c4 <rtems_disk_release>          
              rc, strerror (rc));                                     
  }                                                                   
#endif                                                                
                                                                      
  return rc;                                                          
}                                                                     
ffc221a8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc221ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc221b0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc221b4:	7c 08 03 a6 	mtlr    r0                                     
ffc221b8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc221bc:	38 21 00 10 	addi    r1,r1,16                               
ffc221c0:	4e 80 00 20 	blr                                            
   * 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",
ffc221c4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc221c8:	48 00 84 45 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc221cc:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc221d0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc221d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc221d8:	38 63 b0 84 	addi    r3,r3,-20348                           <== NOT EXECUTED
ffc221dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc221e0:	48 00 76 c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_disk_release (fs->disk);                                      
ffc221e4:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc221e8:	4b fe 4e dd 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
              rc, strerror (rc));                                     
  }                                                                   
#endif                                                                
                                                                      
  return rc;                                                          
}                                                                     
ffc221ec:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc221f0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc221f4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc221f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc221fc:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc22200:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc22204:	4e 80 00 20 	blr                                            <== NOT EXECUTED
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");                    
ffc22208:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2220c:	38 63 b0 60 	addi    r3,r3,-20384                           <== NOT EXECUTED
ffc22210:	48 00 78 45 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc22214:	4b ff ff 60 	b       ffc22174 <rtems_rfs_buffer_close+0x2c> <== NOT EXECUTED
                                                                      

ffc217a4 <rtems_rfs_buffer_handle_release>: } int rtems_rfs_buffer_handle_release (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle) {
ffc217a4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc217a8:	7c 08 02 a6 	mflr    r0                                     
ffc217ac:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc217b0:	80 04 00 08 	lwz     r0,8(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc217b4:	93 a1 00 0c 	stw     r29,12(r1)                             
  int rc = 0;                                                         
ffc217b8:	3b a0 00 00 	li      r29,0                                  
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc217bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc217c0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc217c4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc217c8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc217cc:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc217d0:	41 9e 00 44 	beq-    cr7,ffc21814 <rtems_rfs_buffer_handle_release+0x70>
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
ffc217d4:	38 60 00 00 	li      r3,0                                   
ffc217d8:	38 80 02 00 	li      r4,512                                 
ffc217dc:	4b ff 5d f1 	bl      ffc175cc <rtems_rfs_trace>             
ffc217e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc217e4:	40 9e 00 50 	bne-    cr7,ffc21834 <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)                           
ffc217e8:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc217ec:	83 a3 00 38 	lwz     r29,56(r3)                             
ffc217f0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc217f4:	40 9d 00 10 	ble-    cr7,ffc21804 <rtems_rfs_buffer_handle_release+0x60><== NEVER TAKEN
      rtems_rfs_buffer_refs_down (handle);                            
ffc217f8:	3b bd ff ff 	addi    r29,r29,-1                             
ffc217fc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc21800:	93 a3 00 38 	stw     r29,56(r3)                             
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
ffc21804:	41 9e 00 74 	beq-    cr7,ffc21878 <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;                                                         
ffc21808:	3b a0 00 00 	li      r29,0                                  
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
        }                                                             
      }                                                               
    }                                                                 
    handle->buffer = NULL;                                            
ffc2180c:	38 00 00 00 	li      r0,0                                   
ffc21810:	90 1f 00 08 	stw     r0,8(r31)                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc21814:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc21818:	7f a3 eb 78 	mr      r3,r29                                 
ffc2181c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc21820:	7c 08 03 a6 	mtlr    r0                                     
ffc21824:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc21828:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2182c:	38 21 00 18 	addi    r1,r1,24                               
ffc21830:	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",
ffc21834:	88 1f 00 00 	lbz     r0,0(r31)                              <== NOT EXECUTED
ffc21838:	80 9f 00 04 	lwz     r4,4(r31)                              <== NOT EXECUTED
ffc2183c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc21840:	40 9e 00 98 	bne-    cr7,ffc218d8 <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" : "");
ffc21844:	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",
ffc21848:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc2184c:	38 a5 a1 fc 	addi    r5,r5,-24068                           <== 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" : "");
ffc21850:	80 c9 00 38 	lwz     r6,56(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",
ffc21854:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc21858:	40 9e 00 98 	bne-    cr7,ffc218f0 <rtems_rfs_buffer_handle_release+0x14c><== NOT EXECUTED
ffc2185c:	3c e0 ff c4 	lis     r7,-60                                 <== NOT EXECUTED
ffc21860:	38 e7 ac a8 	addi    r7,r7,-21336                           <== NOT EXECUTED
ffc21864:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21868:	38 63 ac b8 	addi    r3,r3,-21320                           <== NOT EXECUTED
ffc2186c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21870:	48 00 80 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21874:	4b ff ff 74 	b       ffc217e8 <rtems_rfs_buffer_handle_release+0x44><== NOT EXECUTED
ffc21878:	4b fe cf 05 	bl      ffc0e77c <_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))                           
ffc2187c:	80 1e 00 00 	lwz     r0,0(r30)                              
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
ffc21880:	81 3e 00 4c 	lwz     r9,76(r30)                             
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc21884:	70 0b 00 02 	andi.   r11,r0,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--;                                            
ffc21888:	38 09 ff ff 	addi    r0,r9,-1                               
ffc2188c:	90 1e 00 4c 	stw     r0,76(r30)                             
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc21890:	40 82 00 6c 	bne-    ffc218fc <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 +                                      
ffc21894:	81 7e 00 6c 	lwz     r11,108(r30)                           
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
  int rc = 0;                                                         
ffc21898:	3b a0 00 00 	li      r29,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 +                                      
ffc2189c:	81 3e 00 5c 	lwz     r9,92(r30)                             
ffc218a0:	80 1e 00 3c 	lwz     r0,60(r30)                             
ffc218a4:	7d 2b 4a 14 	add     r9,r11,r9                              
ffc218a8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc218ac:	40 9c 00 80 	bge-    cr7,ffc2192c <rtems_rfs_buffer_handle_release+0x188><== NEVER TAKEN
          }                                                           
          buffer->user = (void*) 0;                                   
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
        }                                                             
                                                                      
        if (rtems_rfs_buffer_dirty (handle))                          
ffc218b0:	88 1f 00 00 	lbz     r0,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 );                               
ffc218b4:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc218b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc218bc:	41 9e 00 58 	beq-    cr7,ffc21914 <rtems_rfs_buffer_handle_release+0x170>
ffc218c0:	38 7e 00 60 	addi    r3,r30,96                              
ffc218c4:	4b fe ce 89 	bl      ffc0e74c <_Chain_Append>               
        {                                                             
          rtems_chain_append (&fs->release_modified,                  
                              rtems_rfs_buffer_link (handle));        
          fs->release_modified_count++;                               
ffc218c8:	81 3e 00 6c 	lwz     r9,108(r30)                            
ffc218cc:	38 09 00 01 	addi    r0,r9,1                                
ffc218d0:	90 1e 00 6c 	stw     r0,108(r30)                            
ffc218d4:	4b ff ff 38 	b       ffc2180c <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" : "");
ffc218d8:	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",
ffc218dc:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc218e0:	38 a5 ac a0 	addi    r5,r5,-21344                           <== 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" : "");
ffc218e4:	80 c9 00 38 	lwz     r6,56(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",
ffc218e8:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc218ec:	41 be ff 70 	beq-    cr7,ffc2185c <rtems_rfs_buffer_handle_release+0xb8><== NOT EXECUTED
ffc218f0:	3c e0 ff c4 	lis     r7,-60                                 <== NOT EXECUTED
ffc218f4:	38 e7 a1 fc 	addi    r7,r7,-24068                           <== NOT EXECUTED
ffc218f8:	4b ff ff 6c 	b       ffc21864 <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;                             
ffc218fc:	80 7f 00 08 	lwz     r3,8(r31)                              
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc21900:	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;                             
ffc21904:	93 a3 00 3c 	stw     r29,60(r3)                             
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc21908:	48 00 6b 55 	bl      ffc2845c <rtems_rfs_buffer_bdbuf_release>
ffc2190c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc21910:	4b ff fe fc 	b       ffc2180c <rtems_rfs_buffer_handle_release+0x68>
ffc21914:	38 7e 00 50 	addi    r3,r30,80                              
ffc21918:	4b fe ce 35 	bl      ffc0e74c <_Chain_Append>               
          fs->release_modified_count++;                               
        }                                                             
        else                                                          
        {                                                             
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
ffc2191c:	81 3e 00 5c 	lwz     r9,92(r30)                             
ffc21920:	38 09 00 01 	addi    r0,r9,1                                
ffc21924:	90 1e 00 5c 	stw     r0,92(r30)                             
ffc21928:	4b ff fe e4 	b       ffc2180c <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))
ffc2192c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21930:	38 80 02 00 	li      r4,512                                 <== NOT EXECUTED
ffc21934:	4b ff 5c 99 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc21938:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2193c:	40 9e 00 5c 	bne-    cr7,ffc21998 <rtems_rfs_buffer_handle_release+0x1f4><== NOT EXECUTED
            printf ("rtems-rfs: buffer-release: local cache overflow:"
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
ffc21940:	81 3e 00 5c 	lwz     r9,92(r30)                             <== NOT EXECUTED
ffc21944:	80 1e 00 6c 	lwz     r0,108(r30)                            <== NOT EXECUTED
ffc21948:	7f 89 00 40 	cmplw   cr7,r9,r0                              <== NOT EXECUTED
ffc2194c:	40 9d 00 30 	ble-    cr7,ffc2197c <rtems_rfs_buffer_handle_release+0x1d8><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc21950:	38 7e 00 50 	addi    r3,r30,80                              <== NOT EXECUTED
ffc21954:	4b fe ce 51 	bl      ffc0e7a4 <_Chain_Get>                  <== NOT EXECUTED
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
ffc21958:	81 3e 00 5c 	lwz     r9,92(r30)                             <== NOT EXECUTED
            modified = false;                                         
ffc2195c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
ffc21960:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc21964:	90 1e 00 5c 	stw     r0,92(r30)                             <== NOT EXECUTED
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
            modified = true;                                          
          }                                                           
          buffer->user = (void*) 0;                                   
ffc21968:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc2196c:	90 03 00 3c 	stw     r0,60(r3)                              <== NOT EXECUTED
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
ffc21970:	48 00 6a ed 	bl      ffc2845c <rtems_rfs_buffer_bdbuf_release><== NOT EXECUTED
ffc21974:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc21978:	4b ff ff 38 	b       ffc218b0 <rtems_rfs_buffer_handle_release+0x10c><== NOT EXECUTED
ffc2197c:	38 7e 00 60 	addi    r3,r30,96                              <== NOT EXECUTED
ffc21980:	4b fe ce 25 	bl      ffc0e7a4 <_Chain_Get>                  <== NOT EXECUTED
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc21984:	81 3e 00 6c 	lwz     r9,108(r30)                            <== NOT EXECUTED
            modified = true;                                          
ffc21988:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc2198c:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc21990:	90 1e 00 6c 	stw     r0,108(r30)                            <== NOT EXECUTED
ffc21994:	4b ff ff d4 	b       ffc21968 <rtems_rfs_buffer_handle_release+0x1c4><== NOT EXECUTED
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
            printf ("rtems-rfs: buffer-release: local cache overflow:"
ffc21998:	80 9e 00 6c 	lwz     r4,108(r30)                            <== NOT EXECUTED
ffc2199c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc219a0:	80 1e 00 5c 	lwz     r0,92(r30)                             <== NOT EXECUTED
ffc219a4:	38 63 ac ec 	addi    r3,r3,-21268                           <== NOT EXECUTED
ffc219a8:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc219ac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc219b0:	48 00 7e f1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc219b4:	4b ff ff 8c 	b       ffc21940 <rtems_rfs_buffer_handle_release+0x19c><== NOT EXECUTED
                                                                      

ffc219b8 <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) {
ffc219b8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc219bc:	7c 08 02 a6 	mflr    r0                                     
ffc219c0:	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))                     
ffc219c4:	80 04 00 08 	lwz     r0,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)       
{                                                                     
ffc219c8:	93 61 00 0c 	stw     r27,12(r1)                             
ffc219cc:	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))                     
ffc219d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
int                                                                   
rtems_rfs_buffer_handle_request (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle,     
                                 rtems_rfs_buffer_block   block,      
                                 bool                     read)       
{                                                                     
ffc219d4:	93 81 00 10 	stw     r28,16(r1)                             
ffc219d8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc219dc:	93 a1 00 14 	stw     r29,20(r1)                             
ffc219e0:	7c 9d 23 78 	mr      r29,r4                                 
ffc219e4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc219e8:	7c bf 2b 78 	mr      r31,r5                                 
ffc219ec:	93 c1 00 18 	stw     r30,24(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))                     
ffc219f0:	41 9e 00 7c 	beq-    cr7,ffc21a6c <rtems_rfs_buffer_handle_request+0xb4>
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
ffc219f4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc219f8:	41 9e 00 14 	beq-    cr7,ffc21a0c <rtems_rfs_buffer_handle_request+0x54><== NEVER TAKEN
ffc219fc:	80 04 00 04 	lwz     r0,4(r4)                               
      return 0;                                                       
ffc21a00:	3b c0 00 00 	li      r30,0                                  
  if (rtems_rfs_buffer_handle_has_block (handle))                     
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
ffc21a04:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc21a08:	41 9e 00 2c 	beq-    cr7,ffc21a34 <rtems_rfs_buffer_handle_request+0x7c>
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc21a0c:	38 60 00 00 	li      r3,0                                   
ffc21a10:	38 80 01 00 	li      r4,256                                 
ffc21a14:	4b ff 5b b9 	bl      ffc175cc <rtems_rfs_trace>             
ffc21a18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21a1c:	40 9e 01 28 	bne-    cr7,ffc21b44 <rtems_rfs_buffer_handle_request+0x18c><== 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);                
ffc21a20:	7f 83 e3 78 	mr      r3,r28                                 
ffc21a24:	7f a4 eb 78 	mr      r4,r29                                 
ffc21a28:	4b ff fd 7d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
    if (rc > 0)                                                       
ffc21a2c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc21a30:	40 81 00 2c 	ble-    ffc21a5c <rtems_rfs_buffer_handle_request+0xa4><== 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;                                                           
}                                                                     
ffc21a34:	80 01 00 24 	lwz     r0,36(r1)                              
ffc21a38:	7f c3 f3 78 	mr      r3,r30                                 
ffc21a3c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc21a40:	7c 08 03 a6 	mtlr    r0                                     
ffc21a44:	83 81 00 10 	lwz     r28,16(r1)                             
ffc21a48:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc21a4c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc21a50:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc21a54:	38 21 00 20 	addi    r1,r1,32                               
ffc21a58:	4e 80 00 20 	blr                                            
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
    if (rc > 0)                                                       
      return rc;                                                      
    handle->dirty = false;                                            
ffc21a5c:	38 00 00 00 	li      r0,0                                   
ffc21a60:	98 1d 00 00 	stb     r0,0(r29)                              
    handle->bnum = 0;                                                 
ffc21a64:	38 00 00 00 	li      r0,0                                   
ffc21a68:	90 1d 00 04 	stw     r0,4(r29)                              
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21a6c:	38 60 00 00 	li      r3,0                                   
ffc21a70:	38 80 01 00 	li      r4,256                                 
ffc21a74:	4b ff 5b 59 	bl      ffc175cc <rtems_rfs_trace>             
ffc21a78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21a7c:	40 9e 01 7c 	bne-    cr7,ffc21bf8 <rtems_rfs_buffer_handle_request+0x240><== 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)                                              
ffc21a80:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc21a84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc21a88:	40 9e 01 1c 	bne-    cr7,ffc21ba4 <rtems_rfs_buffer_handle_request+0x1ec>
    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", 
ffc21a8c:	80 9d 00 08 	lwz     r4,8(r29)                              
  /*                                                                  
   * 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) &&                            
ffc21a90:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc21a94:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc21a98:	70 09 00 02 	andi.   r9,r0,2                                
ffc21a9c:	41 82 00 c0 	beq-    ffc21b5c <rtems_rfs_buffer_handle_request+0x1a4>
  }                                                                   
                                                                      
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
ffc21aa0:	41 9e 01 7c 	beq-    cr7,ffc21c1c <rtems_rfs_buffer_handle_request+0x264><== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
ffc21aa4:	81 24 00 38 	lwz     r9,56(r4)                              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc21aa8:	38 7c 00 40 	addi    r3,r28,64                              
  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;                                                           
ffc21aac:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
ffc21ab0:	38 09 00 01 	addi    r0,r9,1                                
ffc21ab4:	90 04 00 38 	stw     r0,56(r4)                              
ffc21ab8:	4b fe cc 95 	bl      ffc0e74c <_Chain_Append>               
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
ffc21abc:	81 7c 00 4c 	lwz     r11,76(r28)                            
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
ffc21ac0:	81 3d 00 08 	lwz     r9,8(r29)                              
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21ac4:	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++;                                                
ffc21ac8:	38 0b 00 01 	addi    r0,r11,1                               
ffc21acc:	90 1c 00 4c 	stw     r0,76(r28)                             
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21ad0:	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);                  
ffc21ad4:	93 e9 00 3c 	stw     r31,60(r9)                             
  handle->bnum = block;                                               
ffc21ad8:	93 fd 00 04 	stw     r31,4(r29)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21adc:	4b ff 5a f1 	bl      ffc175cc <rtems_rfs_trace>             
ffc21ae0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21ae4:	41 be ff 50 	beq-    cr7,ffc21a34 <rtems_rfs_buffer_handle_request+0x7c><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
ffc21ae8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc21aec:	41 9e 01 24 	beq-    cr7,ffc21c10 <rtems_rfs_buffer_handle_request+0x258><== NOT EXECUTED
ffc21af0:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc21af4:	38 a5 a4 2c 	addi    r5,r5,-23508                           <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
ffc21af8:	81 3d 00 08 	lwz     r9,8(r29)                              <== 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",
ffc21afc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21b00:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21b04:	80 c9 00 20 	lwz     r6,32(r9)                              <== NOT EXECUTED
ffc21b08:	38 63 ad f0 	addi    r3,r3,-21008                           <== NOT EXECUTED
ffc21b0c:	80 e9 00 38 	lwz     r7,56(r9)                              <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
ffc21b10:	3b c0 00 00 	li      r30,0                                  <== 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",
ffc21b14:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21b18:	48 00 7d 89 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
}                                                                     
ffc21b1c:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc21b20:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21b24:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc21b28:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21b2c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc21b30:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc21b34:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc21b38:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc21b3c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc21b40:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     */                                                               
    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",
ffc21b44:	80 9d 00 04 	lwz     r4,4(r29)                              <== NOT EXECUTED
ffc21b48:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21b4c:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc21b50:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21b54:	48 00 7d 4d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21b58:	4b ff fe c8 	b       ffc21a20 <rtems_rfs_buffer_handle_request+0x68><== 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) &&                            
ffc21b5c:	40 9e ff 48 	bne+    cr7,ffc21aa4 <rtems_rfs_buffer_handle_request+0xec>
      !rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
ffc21b60:	80 1c 00 5c 	lwz     r0,92(r28)                             
ffc21b64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc21b68:	40 9e 01 30 	bne-    cr7,ffc21c98 <rtems_rfs_buffer_handle_request+0x2e0>
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc21b6c:	80 1c 00 6c 	lwz     r0,108(r28)                            
ffc21b70:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc21b74:	41 be 00 a8 	beq+    cr7,ffc21c1c <rtems_rfs_buffer_handle_request+0x264>
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
ffc21b78:	38 9c 00 6c 	addi    r4,r28,108                             
ffc21b7c:	38 7c 00 60 	addi    r3,r28,96                              
ffc21b80:	7f e5 fb 78 	mr      r5,r31                                 
ffc21b84:	4b ff fa a5 	bl      ffc21628 <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))                 
ffc21b88:	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,   
ffc21b8c:	90 7d 00 08 	stw     r3,8(r29)                              
ffc21b90:	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))                 
ffc21b94:	41 9e 00 88 	beq-    cr7,ffc21c1c <rtems_rfs_buffer_handle_request+0x264>
        rtems_rfs_buffer_mark_dirty (handle);                         
ffc21b98:	38 00 00 01 	li      r0,1                                   
ffc21b9c:	98 1d 00 00 	stb     r0,0(r29)                              
ffc21ba0:	4b ff ff 04 	b       ffc21aa4 <rtems_rfs_buffer_handle_request+0xec>
  if (fs->buffers_count)                                              
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
ffc21ba4:	38 9c 00 4c 	addi    r4,r28,76                              
ffc21ba8:	38 7c 00 40 	addi    r3,r28,64                              
ffc21bac:	7f e5 fb 78 	mr      r5,r31                                 
ffc21bb0:	4b ff fa 79 	bl      ffc21628 <rtems_rfs_scan_chain>        
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc21bb4:	38 80 00 00 	li      r4,0                                   
ffc21bb8:	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,              
ffc21bbc:	90 7d 00 08 	stw     r3,8(r29)                              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc21bc0:	41 be fe d0 	beq-    cr7,ffc21a90 <rtems_rfs_buffer_handle_request+0xd8>
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc21bc4:	38 60 00 00 	li      r3,0                                   
ffc21bc8:	38 80 01 00 	li      r4,256                                 
ffc21bcc:	4b ff 5a 01 	bl      ffc175cc <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) &&                 
ffc21bd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21bd4:	41 9e fe b8 	beq+    cr7,ffc21a8c <rtems_rfs_buffer_handle_request+0xd4><== 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);                    
ffc21bd8:	81 3d 00 08 	lwz     r9,8(r29)                              <== 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", 
ffc21bdc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21be0:	38 63 ad 84 	addi    r3,r3,-21116                           <== NOT EXECUTED
ffc21be4:	80 89 00 38 	lwz     r4,56(r9)                              <== NOT EXECUTED
ffc21be8:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc21bec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21bf0:	48 00 7c b1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21bf4:	4b ff fe 98 	b       ffc21a8c <rtems_rfs_buffer_handle_request+0xd4><== 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); 
ffc21bf8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21bfc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21c00:	38 63 ad 5c 	addi    r3,r3,-21156                           <== NOT EXECUTED
ffc21c04:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21c08:	48 00 7c 99 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21c0c:	4b ff fe 74 	b       ffc21a80 <rtems_rfs_buffer_handle_request+0xc8><== 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",
ffc21c10:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc21c14:	38 a5 ad 24 	addi    r5,r5,-21212                           <== NOT EXECUTED
ffc21c18:	4b ff fe e0 	b       ffc21af8 <rtems_rfs_buffer_handle_request+0x140><== NOT EXECUTED
  /*                                                                  
   * 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);
ffc21c1c:	7f e4 fb 78 	mr      r4,r31                                 
ffc21c20:	7f 83 e3 78 	mr      r3,r28                                 
ffc21c24:	7f 65 db 78 	mr      r5,r27                                 
ffc21c28:	38 dd 00 08 	addi    r6,r29,8                               
ffc21c2c:	48 00 67 c9 	bl      ffc283f4 <rtems_rfs_buffer_bdbuf_request>
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
ffc21c30:	80 9d 00 08 	lwz     r4,8(r29)                              
                                                                      
    if (rc > 0)                                                       
ffc21c34:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc21c38:	38 00 00 00 	li      r0,0                                   
ffc21c3c:	90 04 00 04 	stw     r0,4(r4)                               
ffc21c40:	90 04 00 00 	stw     r0,0(r4)                               
ffc21c44:	40 a1 fe 60 	ble-    ffc21aa4 <rtems_rfs_buffer_handle_request+0xec><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
ffc21c48:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21c4c:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc21c50:	4b ff 59 7d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc21c54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21c58:	41 be fd dc 	beq-    cr7,ffc21a34 <rtems_rfs_buffer_handle_request+0x7c><== NOT EXECUTED
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
ffc21c5c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc21c60:	40 9e 00 5c 	bne-    cr7,ffc21cbc <rtems_rfs_buffer_handle_request+0x304><== NOT EXECUTED
ffc21c64:	3f a0 ff c4 	lis     r29,-60                                <== NOT EXECUTED
ffc21c68:	3b bd ad 24 	addi    r29,r29,-21212                         <== NOT EXECUTED
ffc21c6c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21c70:	48 00 89 9d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc21c74:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21c78:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc21c7c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21c80:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc21c84:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc21c88:	38 63 ad b8 	addi    r3,r3,-21064                           <== NOT EXECUTED
ffc21c8c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21c90:	48 00 7c 11 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21c94:	4b ff fd a0 	b       ffc21a34 <rtems_rfs_buffer_handle_request+0x7c><== NOT EXECUTED
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
ffc21c98:	38 9c 00 5c 	addi    r4,r28,92                              
ffc21c9c:	38 7c 00 50 	addi    r3,r28,80                              
ffc21ca0:	7f e5 fb 78 	mr      r5,r31                                 
ffc21ca4:	4b ff f9 85 	bl      ffc21628 <rtems_rfs_scan_chain>        
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc21ca8:	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,            
ffc21cac:	90 7d 00 08 	stw     r3,8(r29)                              
ffc21cb0:	7c 64 1b 78 	mr      r4,r3                                  
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc21cb4:	40 9e fd f0 	bne+    cr7,ffc21aa4 <rtems_rfs_buffer_handle_request+0xec>
ffc21cb8:	4b ff fe b4 	b       ffc21b6c <rtems_rfs_buffer_handle_request+0x1b4>
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
                                                                      
    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",
ffc21cbc:	3f a0 ff c4 	lis     r29,-60                                <== NOT EXECUTED
ffc21cc0:	3b bd a4 2c 	addi    r29,r29,-23508                         <== NOT EXECUTED
ffc21cc4:	4b ff ff a8 	b       ffc21c6c <rtems_rfs_buffer_handle_request+0x2b4><== NOT EXECUTED
                                                                      

ffc21cc8 <rtems_rfs_buffer_open>: return rc; } int rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs) {
ffc21cc8:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc21ccc:	7c 08 02 a6 	mflr    r0                                     
ffc21cd0:	93 a1 00 5c 	stw     r29,92(r1)                             
ffc21cd4:	7c 9d 23 78 	mr      r29,r4                                 
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21cd8:	38 80 00 20 	li      r4,32                                  
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
ffc21cdc:	93 c1 00 60 	stw     r30,96(r1)                             
ffc21ce0:	7c 7e 1b 78 	mr      r30,r3                                 
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21ce4:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
ffc21ce8:	90 01 00 6c 	stw     r0,108(r1)                             
ffc21cec:	93 e1 00 64 	stw     r31,100(r1)                            
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21cf0:	4b ff 58 dd 	bl      ffc175cc <rtems_rfs_trace>             
ffc21cf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21cf8:	40 9e 00 60 	bne-    cr7,ffc21d58 <rtems_rfs_buffer_open+0x90><== NEVER TAKEN
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  if (stat (name, &st) < 0)                                           
ffc21cfc:	7f c3 f3 78 	mr      r3,r30                                 
ffc21d00:	38 81 00 08 	addi    r4,r1,8                                
ffc21d04:	4b fe 85 69 	bl      ffc0a26c <stat>                        
ffc21d08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21d0c:	41 9c 00 74 	blt-    cr7,ffc21d80 <rtems_rfs_buffer_open+0xb8><== NEVER TAKEN
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
ffc21d10:	80 01 00 14 	lwz     r0,20(r1)                              
ffc21d14:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc21d18:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc21d1c:	41 9e 00 a4 	beq-    cr7,ffc21dc0 <rtems_rfs_buffer_open+0xf8><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21d20:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21d24:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc21d28:	4b ff 58 a5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);
    return EIO;                                                       
ffc21d2c:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21d30:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21d34:	40 9e 00 dc 	bne-    cr7,ffc21e10 <rtems_rfs_buffer_open+0x148><== 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;                                                           
}                                                                     
ffc21d38:	80 01 00 6c 	lwz     r0,108(r1)                             
ffc21d3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc21d40:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc21d44:	7c 08 03 a6 	mtlr    r0                                     
ffc21d48:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc21d4c:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc21d50:	38 21 00 68 	addi    r1,r1,104                              
ffc21d54:	4e 80 00 20 	blr                                            
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
ffc21d58:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21d5c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21d60:	38 63 ae 2c 	addi    r3,r3,-20948                           <== NOT EXECUTED
ffc21d64:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21d68:	48 00 7b 39 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  if (stat (name, &st) < 0)                                           
ffc21d6c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21d70:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc21d74:	4b fe 84 f9 	bl      ffc0a26c <stat>                        <== NOT EXECUTED
ffc21d78:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21d7c:	40 9c ff 94 	bge+    cr7,ffc21d10 <rtems_rfs_buffer_open+0x48><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21d80:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21d84:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc21d88:	4b ff 58 45 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
    return ENOENT;                                                    
ffc21d8c:	3b e0 00 02 	li      r31,2                                  <== NOT EXECUTED
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  if (stat (name, &st) < 0)                                           
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21d90:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21d94:	41 9e ff a4 	beq+    cr7,ffc21d38 <rtems_rfs_buffer_open+0x70><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
ffc21d98:	48 00 6a 25 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  if (stat (name, &st) < 0)                                           
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
ffc21d9c:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc21da0:	48 00 88 6d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc21da4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21da8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc21dac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21db0:	38 63 ae 54 	addi    r3,r3,-20908                           <== NOT EXECUTED
ffc21db4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21db8:	48 00 7a e9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21dbc:	4b ff ff 7c 	b       ffc21d38 <rtems_rfs_buffer_open+0x70>  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
ffc21dc0:	80 61 00 20 	lwz     r3,32(r1)                              
ffc21dc4:	80 81 00 24 	lwz     r4,36(r1)                              
ffc21dc8:	4b fe 52 49 	bl      ffc07010 <rtems_disk_obtain>           
  if (!fs->disk)                                                      
ffc21dcc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  }                                                                   
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
ffc21dd0:	90 7d 00 0c 	stw     r3,12(r29)                             
  if (!fs->disk)                                                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21dd4:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
  if (!fs->disk)                                                      
ffc21dd8:	41 9e 00 6c 	beq-    cr7,ffc21e44 <rtems_rfs_buffer_open+0x17c><== NEVER TAKEN
  }                                                                   
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21ddc:	38 80 00 20 	li      r4,32                                  
ffc21de0:	4b ff 57 ed 	bl      ffc175cc <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;                                                           
ffc21de4:	3b e0 00 00 	li      r31,0                                  
  }                                                                   
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21de8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21dec:	41 9e ff 4c 	beq+    cr7,ffc21d38 <rtems_rfs_buffer_open+0x70><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
ffc21df0:	81 3d 00 0c 	lwz     r9,12(r29)                             <== 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",
ffc21df4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21df8:	38 63 ae e8 	addi    r3,r3,-20760                           <== NOT EXECUTED
ffc21dfc:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc21e00:	80 a9 00 24 	lwz     r5,36(r9)                              <== NOT EXECUTED
ffc21e04:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21e08:	48 00 7a 99 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21e0c:	4b ff ff 2c 	b       ffc21d38 <rtems_rfs_buffer_open+0x70>  <== 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);
ffc21e10:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21e14:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21e18:	38 63 ae 84 	addi    r3,r3,-20860                           <== NOT EXECUTED
ffc21e1c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21e20:	48 00 7a 81 	bl      ffc298a0 <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;                                                           
}                                                                     
ffc21e24:	80 01 00 6c 	lwz     r0,108(r1)                             <== NOT EXECUTED
ffc21e28:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21e2c:	83 a1 00 5c 	lwz     r29,92(r1)                             <== NOT EXECUTED
ffc21e30:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21e34:	83 c1 00 60 	lwz     r30,96(r1)                             <== NOT EXECUTED
ffc21e38:	83 e1 00 64 	lwz     r31,100(r1)                            <== NOT EXECUTED
ffc21e3c:	38 21 00 68 	addi    r1,r1,104                              <== NOT EXECUTED
ffc21e40:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
  if (!fs->disk)                                                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21e44:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc21e48:	4b ff 57 85 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
    return EIO;                                                       
ffc21e4c:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
  if (!fs->disk)                                                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21e50:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21e54:	41 9e fe e4 	beq+    cr7,ffc21d38 <rtems_rfs_buffer_open+0x70><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
ffc21e58:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21e5c:	38 63 ae b8 	addi    r3,r3,-20808                           <== NOT EXECUTED
ffc21e60:	48 00 7b f5 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc21e64:	4b ff fe d4 	b       ffc21d38 <rtems_rfs_buffer_open+0x70>  <== NOT EXECUTED
                                                                      

ffc21ff4 <rtems_rfs_buffer_setblksize>: return result; } int rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size) {
ffc21ff4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc21ff8:	7c 08 02 a6 	mflr    r0                                     
ffc21ffc:	93 e1 00 14 	stw     r31,20(r1)                             
ffc22000:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc22004:	38 60 00 00 	li      r3,0                                   
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc22008:	90 81 00 08 	stw     r4,8(r1)                               
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc2200c:	38 80 04 00 	li      r4,1024                                
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc22010:	90 01 00 1c 	stw     r0,28(r1)                              
ffc22014:	93 c1 00 10 	stw     r30,16(r1)                             
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc22018:	4b ff 55 b5 	bl      ffc175cc <rtems_rfs_trace>             
ffc2201c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22020:	40 9e 00 88 	bne-    cr7,ffc220a8 <rtems_rfs_buffer_setblksize+0xb4><== NEVER TAKEN
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
ffc22024:	7f e3 fb 78 	mr      r3,r31                                 
ffc22028:	4b ff ff 21 	bl      ffc21f48 <rtems_rfs_buffers_release>   
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc2202c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc22030:	40 81 00 18 	ble-    ffc22048 <rtems_rfs_buffer_setblksize+0x54><== ALWAYS TAKEN
ffc22034:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22038:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc2203c:	4b ff 55 91 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22040:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22044:	40 9e 00 e0 	bne-    cr7,ffc22124 <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);                                    
ffc22048:	7f e3 fb 78 	mr      r3,r31                                 
ffc2204c:	4b ff fe 1d 	bl      ffc21e68 <rtems_rfs_buffer_sync>       
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc22050:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc22054:	40 81 00 18 	ble-    ffc2206c <rtems_rfs_buffer_setblksize+0x78><== ALWAYS TAKEN
ffc22058:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2205c:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc22060:	4b ff 55 6d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22064:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22068:	40 9e 00 58 	bne-    cr7,ffc220c0 <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);     
ffc2206c:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc22070:	3c 80 80 04 	lis     r4,-32764                              
ffc22074:	60 84 42 04 	ori     r4,r4,16900                            
ffc22078:	80 03 00 28 	lwz     r0,40(r3)                              
ffc2207c:	38 a1 00 08 	addi    r5,r1,8                                
ffc22080:	7c 09 03 a6 	mtctr   r0                                     
ffc22084:	4e 80 04 21 	bctrl                                          
  if (rc < 0)                                                         
ffc22088:	2c 03 00 00 	cmpwi   r3,0                                   
ffc2208c:	41 80 00 78 	blt-    ffc22104 <rtems_rfs_buffer_setblksize+0x110><== NEVER TAKEN
    rc = errno;                                                       
#endif                                                                
  return rc;                                                          
}                                                                     
ffc22090:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc22094:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc22098:	7c 08 03 a6 	mtlr    r0                                     
ffc2209c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc220a0:	38 21 00 18 	addi    r1,r1,24                               
ffc220a4:	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); 
ffc220a8:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc220ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc220b0:	38 63 af b4 	addi    r3,r3,-20556                           <== NOT EXECUTED
ffc220b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc220b8:	48 00 77 e9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc220bc:	4b ff ff 68 	b       ffc22024 <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",
ffc220c0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc220c4:	48 00 85 49 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc220c8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc220cc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc220d0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc220d4:	38 63 b0 24 	addi    r3,r3,-20444                           <== NOT EXECUTED
ffc220d8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc220dc:	48 00 77 c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
ffc220e0:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc220e4:	3c 80 80 04 	lis     r4,-32764                              <== NOT EXECUTED
ffc220e8:	80 03 00 28 	lwz     r0,40(r3)                              <== NOT EXECUTED
ffc220ec:	60 84 42 04 	ori     r4,r4,16900                            <== NOT EXECUTED
ffc220f0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc220f4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc220f8:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
  if (rc < 0)                                                         
ffc220fc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc22100:	40 80 ff 90 	bge+    ffc22090 <rtems_rfs_buffer_setblksize+0x9c><== NOT EXECUTED
    rc = errno;                                                       
ffc22104:	48 00 66 b9 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
ffc22108:	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;                                                       
ffc2210c:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
ffc22110:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22114:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc22118:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc2211c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc22120:	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",
ffc22124:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc22128:	48 00 84 e5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc2212c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22130:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc22134:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22138:	38 63 af e4 	addi    r3,r3,-20508                           <== NOT EXECUTED
ffc2213c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22140:	48 00 77 61 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22144:	4b ff ff 04 	b       ffc22048 <rtems_rfs_buffer_setblksize+0x54><== NOT EXECUTED
                                                                      

ffc21e68 <rtems_rfs_buffer_sync>: return rc; } int rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) {
ffc21e68:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc21e6c:	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))                  
ffc21e70:	38 80 00 20 	li      r4,32                                  
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc21e74:	93 e1 00 14 	stw     r31,20(r1)                             
ffc21e78:	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))                  
ffc21e7c:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc21e80:	90 01 00 1c 	stw     r0,28(r1)                              
ffc21e84:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc21e88:	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))                  
ffc21e8c:	4b ff 57 41 	bl      ffc175cc <rtems_rfs_trace>             
ffc21e90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21e94:	40 9e 00 a4 	bne-    cr7,ffc21f38 <rtems_rfs_buffer_sync+0xd0><== 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));                
ffc21e98:	81 3f 00 0c 	lwz     r9,12(r31)                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
  int result = 0;                                                     
ffc21e9c:	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));                
ffc21ea0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc21ea4:	80 89 00 04 	lwz     r4,4(r9)                               
ffc21ea8:	4b ff 86 95 	bl      ffc1a53c <rtems_bdbuf_syncdev>         
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc21eac:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc21eb0:	40 82 00 2c 	bne-    ffc21edc <rtems_rfs_buffer_sync+0x74>  <== 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);                                      
ffc21eb4:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc21eb8:	4b fe 52 0d 	bl      ffc070c4 <rtems_disk_release>          
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
ffc21ebc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc21ec0:	7f c3 f3 78 	mr      r3,r30                                 
ffc21ec4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc21ec8:	7c 08 03 a6 	mtlr    r0                                     
ffc21ecc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc21ed0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc21ed4:	38 21 00 18 	addi    r1,r1,24                               
ffc21ed8:	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))                
ffc21edc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21ee0:	38 80 00 20 	li      r4,32                                  <== NOT EXECUTED
ffc21ee4:	4b ff 56 e9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
              rtems_status_text (sc));                                
    result = EIO;                                                     
ffc21ee8:	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))                
ffc21eec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21ef0:	41 9e ff c4 	beq+    cr7,ffc21eb4 <rtems_rfs_buffer_sync+0x4c><== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
ffc21ef4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc21ef8:	4b ff a5 15 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc21efc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc21f00:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21f04:	38 63 af 38 	addi    r3,r3,-20680                           <== NOT EXECUTED
ffc21f08:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21f0c:	48 00 79 95 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
ffc21f10:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc21f14:	4b fe 51 b1 	bl      ffc070c4 <rtems_disk_release>          <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
ffc21f18:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc21f1c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21f20:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc21f24:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21f28:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc21f2c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc21f30:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc21f34:	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");                     
ffc21f38:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21f3c:	38 63 af 18 	addi    r3,r3,-20712                           <== NOT EXECUTED
ffc21f40:	48 00 7b 15 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc21f44:	4b ff ff 54 	b       ffc21e98 <rtems_rfs_buffer_sync+0x30>  <== NOT EXECUTED
                                                                      

ffc21f48 <rtems_rfs_buffers_release>: return rrc; } int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) {
ffc21f48:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc21f4c:	7c 08 02 a6 	mflr    r0                                     
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21f50:	38 80 00 40 	li      r4,64                                  
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc21f54:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc21f58:	7c 7f 1b 78 	mr      r31,r3                                 
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21f5c:	38 60 00 00 	li      r3,0                                   
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc21f60:	90 01 00 14 	stw     r0,20(r1)                              
ffc21f64:	93 c1 00 08 	stw     r30,8(r1)                              
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21f68:	4b ff 56 65 	bl      ffc175cc <rtems_rfs_trace>             
ffc21f6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21f70:	40 9e 00 64 	bne-    cr7,ffc21fd4 <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,                         
ffc21f74:	38 9f 00 5c 	addi    r4,r31,92                              
ffc21f78:	38 a0 00 00 	li      r5,0                                   
ffc21f7c:	38 7f 00 50 	addi    r3,r31,80                              
ffc21f80:	4b ff f5 c5 	bl      ffc21544 <rtems_rfs_release_chain>     
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc21f84:	38 9f 00 6c 	addi    r4,r31,108                             
  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,                         
ffc21f88:	7c 60 18 f8 	not     r0,r3                                  
ffc21f8c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc21f90:	7c 00 fe 70 	srawi   r0,r0,31                               
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc21f94:	38 7f 00 60 	addi    r3,r31,96                              
ffc21f98:	38 a0 00 01 	li      r5,1                                   
  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,                         
ffc21f9c:	7f de 00 38 	and     r30,r30,r0                             
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc21fa0:	4b ff f5 a5 	bl      ffc21544 <rtems_rfs_release_chain>     
                                &fs->release_modified_count,          
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
ffc21fa4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc21fa8:	40 81 00 10 	ble-    ffc21fb8 <rtems_rfs_buffers_release+0x70><== ALWAYS TAKEN
ffc21fac:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc21fb0:	40 9e 00 08 	bne-    cr7,ffc21fb8 <rtems_rfs_buffers_release+0x70><== NOT EXECUTED
ffc21fb4:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc21fb8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc21fbc:	7f c3 f3 78 	mr      r3,r30                                 
ffc21fc0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc21fc4:	7c 08 03 a6 	mtlr    r0                                     
ffc21fc8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc21fcc:	38 21 00 10 	addi    r1,r1,16                               
ffc21fd0:	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 " "         
ffc21fd4:	80 9f 00 4c 	lwz     r4,76(r31)                             <== NOT EXECUTED
ffc21fd8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21fdc:	80 bf 00 5c 	lwz     r5,92(r31)                             <== NOT EXECUTED
ffc21fe0:	38 63 af 68 	addi    r3,r3,-20632                           <== NOT EXECUTED
ffc21fe4:	80 df 00 6c 	lwz     r6,108(r31)                            <== NOT EXECUTED
ffc21fe8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21fec:	48 00 78 b5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21ff0:	4b ff ff 84 	b       ffc21f74 <rtems_rfs_buffers_release+0x2c><== NOT EXECUTED
                                                                      

ffc227f8 <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) {
ffc227f8:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc227fc:	7c 08 02 a6 	mflr    r0                                     
ffc22800:	93 81 00 98 	stw     r28,152(r1)                            
ffc22804:	7c 9c 23 78 	mr      r28,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))                
ffc22808:	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)                 
{                                                                     
ffc2280c:	93 e1 00 a4 	stw     r31,164(r1)                            
ffc22810:	7c 7f 1b 78 	mr      r31,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))                
ffc22814:	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)                 
{                                                                     
ffc22818:	93 01 00 88 	stw     r24,136(r1)                            
ffc2281c:	7c f8 3b 78 	mr      r24,r7                                 
ffc22820:	93 a1 00 9c 	stw     r29,156(r1)                            
ffc22824:	7c bd 2b 78 	mr      r29,r5                                 
ffc22828:	93 c1 00 a0 	stw     r30,160(r1)                            
ffc2282c:	7c de 33 78 	mr      r30,r6                                 
ffc22830:	90 01 00 ac 	stw     r0,172(r1)                             
ffc22834:	92 a1 00 7c 	stw     r21,124(r1)                            
ffc22838:	92 c1 00 80 	stw     r22,128(r1)                            
ffc2283c:	92 e1 00 84 	stw     r23,132(r1)                            
ffc22840:	93 21 00 8c 	stw     r25,140(r1)                            
ffc22844:	93 41 00 90 	stw     r26,144(r1)                            
ffc22848:	93 61 00 94 	stw     r27,148(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))                
ffc2284c:	4b ff 4d 81 	bl      ffc175cc <rtems_rfs_trace>             
ffc22850:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22854:	40 9e 02 78 	bne-    cr7,ffc22acc <rtems_rfs_dir_add_entry+0x2d4><== 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);                      
ffc22858:	7f e3 fb 78 	mr      r3,r31                                 
ffc2285c:	7f 84 e3 78 	mr      r4,r28                                 
ffc22860:	38 a1 00 24 	addi    r5,r1,36                               
ffc22864:	4b ff de 59 	bl      ffc206bc <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc22868:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc2286c:	40 81 00 44 	ble-    ffc228b0 <rtems_rfs_dir_add_entry+0xb8><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22870:	80 01 00 ac 	lwz     r0,172(r1)                             
ffc22874:	7f 63 db 78 	mr      r3,r27                                 
ffc22878:	82 a1 00 7c 	lwz     r21,124(r1)                            
ffc2287c:	7c 08 03 a6 	mtlr    r0                                     
ffc22880:	82 c1 00 80 	lwz     r22,128(r1)                            
ffc22884:	82 e1 00 84 	lwz     r23,132(r1)                            
ffc22888:	83 01 00 88 	lwz     r24,136(r1)                            
ffc2288c:	83 21 00 8c 	lwz     r25,140(r1)                            
ffc22890:	83 41 00 90 	lwz     r26,144(r1)                            
ffc22894:	83 61 00 94 	lwz     r27,148(r1)                            
ffc22898:	83 81 00 98 	lwz     r28,152(r1)                            
ffc2289c:	83 a1 00 9c 	lwz     r29,156(r1)                            
ffc228a0:	83 c1 00 a0 	lwz     r30,160(r1)                            
ffc228a4:	83 e1 00 a4 	lwz     r31,164(r1)                            
ffc228a8:	38 21 00 a8 	addi    r1,r1,168                              
ffc228ac:	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;                                                  
ffc228b0:	38 00 00 00 	li      r0,0                                   
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc228b4:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc228b8:	90 01 00 10 	stw     r0,16(r1)                              
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc228bc:	3b 40 00 00 	li      r26,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc228c0:	99 21 00 0c 	stb     r9,12(r1)                              
ffc228c4:	63 5a ff ff 	ori     r26,r26,65535                          
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
ffc228c8:	3a fe 00 0a 	addi    r23,r30,10                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc228cc:	90 01 00 14 	stw     r0,20(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;                                                      
ffc228d0:	90 01 00 18 	stw     r0,24(r1)                              
  bpos->boff = 0;                                                     
ffc228d4:	90 01 00 1c 	stw     r0,28(r1)                              
  bpos->block = 0;                                                    
ffc228d8:	90 01 00 20 	stw     r0,32(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);          
ffc228dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc228e0:	38 81 00 24 	addi    r4,r1,36                               
ffc228e4:	38 a1 00 18 	addi    r5,r1,24                               
ffc228e8:	38 c1 00 08 	addi    r6,r1,8                                
ffc228ec:	4b ff e1 ed 	bl      ffc20ad8 <rtems_rfs_block_map_find>    
    if (rc > 0)                                                       
ffc228f0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc228f4:	40 81 02 f0 	ble-    ffc22be4 <rtems_rfs_dir_add_entry+0x3ec>
    {                                                                 
      if (rc != ENXIO)                                                
ffc228f8:	2f 9b 00 06 	cmpwi   cr7,r27,6                              
ffc228fc:	40 9e 03 34 	bne-    cr7,ffc22c30 <rtems_rfs_dir_add_entry+0x438><== NEVER TAKEN
      }                                                               
                                                                      
      /*                                                              
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
ffc22900:	7f e3 fb 78 	mr      r3,r31                                 
ffc22904:	38 81 00 24 	addi    r4,r1,36                               
ffc22908:	38 a0 00 01 	li      r5,1                                   
ffc2290c:	38 c1 00 08 	addi    r6,r1,8                                
ffc22910:	4b ff e4 75 	bl      ffc20d84 <rtems_rfs_block_map_grow>    
      if (rc > 0)                                                     
ffc22914:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc22918:	41 81 03 58 	bgt-    ffc22c70 <rtems_rfs_dir_add_entry+0x478><== NEVER TAKEN
                  "block map grow failed for ino %" PRIu32 ": %d: %s\n",
                  rtems_rfs_inode_ino (dir), rc, strerror (rc));      
        break;                                                        
      }                                                               
                                                                      
      read = false;                                                   
ffc2291c:	3b 20 00 00 	li      r25,0                                  
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc22920:	81 21 00 18 	lwz     r9,24(r1)                              
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc22924:	7f e3 fb 78 	mr      r3,r31                                 
ffc22928:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc2292c:	38 81 00 0c 	addi    r4,r1,12                               
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc22930:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc22934:	7f 26 cb 78 	mr      r6,r25                                 
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc22938:	90 01 00 18 	stw     r0,24(r1)                              
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc2293c:	4b ff f0 7d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc22940:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc22944:	41 81 02 a8 	bgt-    ffc22bec <rtems_rfs_dir_add_entry+0x3f4><== NEVER TAKEN
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
ffc22948:	2f 99 00 00 	cmpwi   cr7,r25,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);                         
ffc2294c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc22950:	83 29 00 24 	lwz     r25,36(r9)                             
                                                                      
    if (!read)                                                        
ffc22954:	41 9e 01 cc 	beq-    cr7,ffc22b20 <rtems_rfs_dir_add_entry+0x328>
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22958:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc2295c:	35 47 ff f6 	addic.  r10,r7,-10                             
ffc22960:	41 a2 ff 7c 	beq-    ffc228dc <rtems_rfs_dir_add_entry+0xe4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc22964:	8a b9 00 08 	lbz     r21,8(r25)                             
ffc22968:	88 19 00 09 	lbz     r0,9(r25)                              
ffc2296c:	56 b5 40 2e 	rlwinm  r21,r21,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22970:	89 19 00 00 	lbz     r8,0(r25)                              
    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);                   
ffc22974:	7e b5 03 78 	or      r21,r21,r0                             
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22978:	89 79 00 02 	lbz     r11,2(r25)                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc2297c:	7f 95 d0 00 	cmpw    cr7,r21,r26                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22980:	88 19 00 01 	lbz     r0,1(r25)                              
ffc22984:	89 39 00 03 	lbz     r9,3(r25)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22988:	41 9e 01 ac 	beq-    cr7,ffc22b34 <rtems_rfs_dir_add_entry+0x33c>
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2298c:	55 16 c0 0e 	rlwinm  r22,r8,24,0,7                          
ffc22990:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc22994:	7e d6 5b 78 	or      r22,r22,r11                            
ffc22998:	7e d6 4b 78 	or      r22,r22,r9                             
ffc2299c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc229a0:	7e d6 03 78 	or      r22,r22,r0                             
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
ffc229a4:	3b 60 00 00 	li      r27,0                                  
ffc229a8:	48 00 00 70 	b       ffc22a18 <rtems_rfs_dir_add_entry+0x220>
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc229ac:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc229b0:	7f 95 00 40 	cmplw   cr7,r21,r0                             
ffc229b4:	40 9c 00 74 	bge-    cr7,ffc22a28 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
ffc229b8:	41 9a 00 70 	beq-    cr6,ffc22a28 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
ffc229bc:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc229c0:	7f 80 b0 40 	cmplw   cr7,r0,r22                             
ffc229c4:	41 9c 00 64 	blt-    cr7,ffc22a28 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
        rtems_rfs_block_map_close (fs, &map);                         
        return EIO;                                                   
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
ffc229c8:	7f 7b aa 14 	add     r27,r27,r21                            
    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))
ffc229cc:	7f 9b 50 40 	cmplw   cr7,r27,r10                            
ffc229d0:	7f 68 db 78 	mr      r8,r27                                 
ffc229d4:	40 bc ff 08 	bge-    cr7,ffc228dc <rtems_rfs_dir_add_entry+0xe4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc229d8:	8a b9 00 08 	lbz     r21,8(r25)                             
ffc229dc:	88 19 00 09 	lbz     r0,9(r25)                              
ffc229e0:	56 b5 40 2e 	rlwinm  r21,r21,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc229e4:	8a d9 00 00 	lbz     r22,0(r25)                             
    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);                   
ffc229e8:	7e b5 03 78 	or      r21,r21,r0                             
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc229ec:	89 79 00 01 	lbz     r11,1(r25)                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc229f0:	7f 95 d0 00 	cmpw    cr7,r21,r26                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc229f4:	89 39 00 03 	lbz     r9,3(r25)                              
ffc229f8:	56 d6 c0 0e 	rlwinm  r22,r22,24,0,7                         
ffc229fc:	88 19 00 02 	lbz     r0,2(r25)                              
ffc22a00:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        
ffc22a04:	7e d6 5b 78 	or      r22,r22,r11                            
ffc22a08:	7e d6 4b 78 	or      r22,r22,r9                             
ffc22a0c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc22a10:	7e d6 03 78 	or      r22,r22,r0                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22a14:	41 9e 01 24 	beq-    cr7,ffc22b38 <rtems_rfs_dir_add_entry+0x340>
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22a18:	2f 95 00 0a 	cmpwi   cr7,r21,10                             
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return EIO;                                                   
      }                                                               
                                                                      
      entry  += elength;                                              
ffc22a1c:	7f 39 aa 14 	add     r25,r25,r21                            
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22a20:	2f 16 00 00 	cmpwi   cr6,r22,0                              
ffc22a24:	41 9d ff 88 	bgt+    cr7,ffc229ac <rtems_rfs_dir_add_entry+0x1b4><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
ffc22a28:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22a2c:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22a30:	4b ff 4b 9d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22a34:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22a38:	41 be 00 24 	beq+    cr7,ffc22a5c <rtems_rfs_dir_add_entry+0x264><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc22a3c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22a40:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc22a44:	38 63 b4 8c 	addi    r3,r3,-19316                           <== NOT EXECUTED
ffc22a48:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc22a4c:	7e c6 b3 78 	mr      r6,r22                                 <== NOT EXECUTED
ffc22a50:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc22a54:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22a58:	48 00 6e 49 	bl      ffc298a0 <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);                       
ffc22a5c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc22a60:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22a64:	4b ff ed 41 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22a68:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
                  "bad length or ino for ino %" PRIu32 ": %u/%" PRId32 " @ %04x\n",
                  rtems_rfs_inode_ino (dir), elength, eino, offset);  
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
ffc22a6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22a70:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
ffc22a74:	38 81 00 24 	addi    r4,r1,36                               <== 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;                                              
ffc22a78:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22a7c:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
        return EIO;                                                   
ffc22a80:	3b 60 00 05 	li      r27,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;                                              
ffc22a84:	99 21 00 0c 	stb     r9,12(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);                         
ffc22a88:	4b ff de 3d 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22a8c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22a90:	80 01 00 ac 	lwz     r0,172(r1)                             <== NOT EXECUTED
ffc22a94:	82 a1 00 7c 	lwz     r21,124(r1)                            <== NOT EXECUTED
ffc22a98:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22a9c:	82 c1 00 80 	lwz     r22,128(r1)                            <== NOT EXECUTED
ffc22aa0:	82 e1 00 84 	lwz     r23,132(r1)                            <== NOT EXECUTED
ffc22aa4:	83 01 00 88 	lwz     r24,136(r1)                            <== NOT EXECUTED
ffc22aa8:	83 21 00 8c 	lwz     r25,140(r1)                            <== NOT EXECUTED
ffc22aac:	83 41 00 90 	lwz     r26,144(r1)                            <== NOT EXECUTED
ffc22ab0:	83 61 00 94 	lwz     r27,148(r1)                            <== NOT EXECUTED
ffc22ab4:	83 81 00 98 	lwz     r28,152(r1)                            <== NOT EXECUTED
ffc22ab8:	83 a1 00 9c 	lwz     r29,156(r1)                            <== NOT EXECUTED
ffc22abc:	83 c1 00 a0 	lwz     r30,160(r1)                            <== NOT EXECUTED
ffc22ac0:	83 e1 00 a4 	lwz     r31,164(r1)                            <== NOT EXECUTED
ffc22ac4:	38 21 00 a8 	addi    r1,r1,168                              <== NOT EXECUTED
ffc22ac8:	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=",       
ffc22acc:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc22ad0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22ad4:	38 63 b3 7c 	addi    r3,r3,-19588                           <== NOT EXECUTED
ffc22ad8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22adc:	48 00 6d c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
ffc22ae0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc22ae4:	41 9e 00 24 	beq-    cr7,ffc22b08 <rtems_rfs_dir_add_entry+0x310><== NOT EXECUTED
ffc22ae8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc22aec:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc22af0:	7c 7d 00 ae 	lbzx    r3,r29,r0                              <== 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++)                                      
ffc22af4:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc22af8:	48 00 6e 65 	bl      ffc2995c <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++)                                      
ffc22afc:	7f 9b f0 00 	cmpw    cr7,r27,r30                            <== NOT EXECUTED
ffc22b00:	7f 60 db 78 	mr      r0,r27                                 <== NOT EXECUTED
ffc22b04:	40 9e ff ec 	bne+    cr7,ffc22af0 <rtems_rfs_dir_add_entry+0x2f8><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
ffc22b08:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22b0c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22b10:	38 63 b3 a8 	addi    r3,r3,-19544                           <== NOT EXECUTED
ffc22b14:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22b18:	48 00 6d 89 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22b1c:	4b ff fd 3c 	b       ffc22858 <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));             
ffc22b20:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc22b24:	7f 23 cb 78 	mr      r3,r25                                 
ffc22b28:	38 80 00 ff 	li      r4,255                                 
ffc22b2c:	48 00 6b e5 	bl      ffc29710 <memset>                      
ffc22b30:	4b ff fe 28 	b       ffc22958 <rtems_rfs_dir_add_entry+0x160>
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22b34:	39 00 00 00 	li      r8,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))                  
ffc22b38:	7d 08 38 50 	subf    r8,r8,r7                               
      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) <                     
ffc22b3c:	7f 97 40 40 	cmplw   cr7,r23,r8                             
ffc22b40:	40 9c fd 9c 	bge+    cr7,ffc228dc <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);                   
ffc22b44:	7f c4 f3 78 	mr      r4,r30                                 
ffc22b48:	7f a3 eb 78 	mr      r3,r29                                 
ffc22b4c:	48 00 59 e9 	bl      ffc28534 <rtems_rfs_dir_hash>          
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22b50:	57 08 46 3e 	rlwinm  r8,r24,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);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
ffc22b54:	54 66 84 3e 	rlwinm  r6,r3,16,16,31                         
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22b58:	99 19 00 00 	stb     r8,0(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);                 
ffc22b5c:	54 67 c2 3e 	rlwinm  r7,r3,24,8,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);                   
ffc22b60:	7c 60 1b 78 	mr      r0,r3                                  
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
ffc22b64:	98 d9 00 05 	stb     r6,5(r25)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22b68:	57 0a 84 3e 	rlwinm  r10,r24,16,16,31                       
ffc22b6c:	57 0b c2 3e 	rlwinm  r11,r24,24,8,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);                 
ffc22b70:	98 f9 00 06 	stb     r7,6(r25)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
ffc22b74:	56 e9 c6 3e 	rlwinm  r9,r23,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);                 
ffc22b78:	54 65 46 3e 	rlwinm  r5,r3,8,24,31                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22b7c:	99 59 00 01 	stb     r10,1(r25)                             
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc22b80:	7f a4 eb 78 	mr      r4,r29                                 
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22b84:	99 79 00 02 	stb     r11,2(r25)                             
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc22b88:	38 79 00 0a 	addi    r3,r25,10                              
          rtems_rfs_buffer_mark_dirty (&buffer);                      
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
          return 0;                                                   
ffc22b8c:	3b 60 00 00 	li      r27,0                                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
ffc22b90:	99 39 00 08 	stb     r9,8(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);                 
ffc22b94:	98 b9 00 04 	stb     r5,4(r25)                              
          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);    
ffc22b98:	7f c5 f3 78 	mr      r5,r30                                 
        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);                 
ffc22b9c:	98 19 00 07 	stb     r0,7(r25)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22ba0:	9b 19 00 03 	stb     r24,3(r25)                             
          rtems_rfs_dir_set_entry_length (entry,                      
ffc22ba4:	9a f9 00 09 	stb     r23,9(r25)                             
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc22ba8:	48 00 69 51 	bl      ffc294f8 <memcpy>                      
          rtems_rfs_buffer_mark_dirty (&buffer);                      
ffc22bac:	38 00 00 01 	li      r0,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);                       
ffc22bb0:	38 81 00 0c 	addi    r4,r1,12                               
ffc22bb4:	98 01 00 0c 	stb     r0,12(r1)                              
ffc22bb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc22bbc:	4b ff eb e9 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22bc0:	38 00 00 00 	li      r0,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;                                              
ffc22bc4:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc22bc8:	90 01 00 10 	stw     r0,16(r1)                              
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
ffc22bcc:	7f e3 fb 78 	mr      r3,r31                                 
ffc22bd0:	38 81 00 24 	addi    r4,r1,36                               
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;                                              
ffc22bd4:	99 21 00 0c 	stb     r9,12(r1)                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22bd8:	90 01 00 14 	stw     r0,20(r1)                              
ffc22bdc:	4b ff dc e9 	bl      ffc208c4 <rtems_rfs_block_map_close>   
          return 0;                                                   
ffc22be0:	4b ff fc 90 	b       ffc22870 <rtems_rfs_dir_add_entry+0x78>
  while (true)                                                        
  {                                                                   
    rtems_rfs_block_no block;                                         
    uint8_t*           entry;                                         
    int                offset;                                        
    bool               read = true;                                   
ffc22be4:	3b 20 00 01 	li      r25,1                                  
ffc22be8:	4b ff fd 38 	b       ffc22920 <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))            
ffc22bec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22bf0:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22bf4:	4b ff 49 d9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22bf8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22bfc:	40 9e 00 b4 	bne-    cr7,ffc22cb0 <rtems_rfs_dir_add_entry+0x4b8><== 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);                       
ffc22c00:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc22c04:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22c08:	4b ff eb 9d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22c0c:	38 00 00 00 	li      r0,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;                                              
ffc22c10:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc22c14:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc22c18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22c1c:	38 81 00 24 	addi    r4,r1,36                               <== 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;                                              
ffc22c20:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22c24:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc22c28:	4b ff dc 9d 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
ffc22c2c:	4b ff fc 44 	b       ffc22870 <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))          
ffc22c30:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22c34:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22c38:	4b ff 49 95 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22c3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22c40:	41 9e ff c0 	beq+    cr7,ffc22c00 <rtems_rfs_dir_add_entry+0x408><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc22c44:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22c48:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc22c4c:	48 00 79 c1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22c50:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc22c54:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22c58:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22c5c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22c60:	38 63 b3 b4 	addi    r3,r3,-19532                           <== NOT EXECUTED
ffc22c64:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22c68:	48 00 6c 39 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22c6c:	4b ff ff 94 	b       ffc22c00 <rtems_rfs_dir_add_entry+0x408><== 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))          
ffc22c70:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22c74:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22c78:	4b ff 49 55 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22c7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22c80:	41 9e ff 80 	beq+    cr7,ffc22c00 <rtems_rfs_dir_add_entry+0x408><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc22c84:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22c88:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc22c8c:	48 00 79 81 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22c90:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc22c94:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22c98:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22c9c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22ca0:	38 63 b3 fc 	addi    r3,r3,-19460                           <== NOT EXECUTED
ffc22ca4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22ca8:	48 00 6b f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22cac:	4b ff ff 54 	b       ffc22c00 <rtems_rfs_dir_add_entry+0x408><== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))            
        printf ("rtems-rfs: dir-add-entry: "                          
ffc22cb0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22cb4:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc22cb8:	48 00 79 55 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22cbc:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc22cc0:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22cc4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22cc8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22ccc:	38 63 b4 44 	addi    r3,r3,-19388                           <== NOT EXECUTED
ffc22cd0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22cd4:	48 00 6b cd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22cd8:	4b ff ff 28 	b       ffc22c00 <rtems_rfs_dir_add_entry+0x408><== NOT EXECUTED
                                                                      

ffc22cdc <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) {
ffc22cdc:	94 21 ff 68 	stwu    r1,-152(r1)                            
ffc22ce0:	7d 80 00 26 	mfcr    r12                                    
ffc22ce4:	7c 08 02 a6 	mflr    r0                                     
ffc22ce8:	93 a1 00 8c 	stw     r29,140(r1)                            
ffc22cec:	7c 9d 23 78 	mr      r29,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))                
ffc22cf0:	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)              
{                                                                     
ffc22cf4:	93 e1 00 94 	stw     r31,148(r1)                            
ffc22cf8:	7c 7f 1b 78 	mr      r31,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))                
ffc22cfc:	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)              
{                                                                     
ffc22d00:	93 61 00 84 	stw     r27,132(r1)                            
ffc22d04:	7c bb 2b 78 	mr      r27,r5                                 
ffc22d08:	93 81 00 88 	stw     r28,136(r1)                            
ffc22d0c:	7c dc 33 78 	mr      r28,r6                                 
ffc22d10:	90 01 00 9c 	stw     r0,156(r1)                             
ffc22d14:	92 c1 00 70 	stw     r22,112(r1)                            
ffc22d18:	92 e1 00 74 	stw     r23,116(r1)                            
ffc22d1c:	93 01 00 78 	stw     r24,120(r1)                            
ffc22d20:	93 21 00 7c 	stw     r25,124(r1)                            
ffc22d24:	93 41 00 80 	stw     r26,128(r1)                            
ffc22d28:	93 c1 00 90 	stw     r30,144(r1)                            
ffc22d2c:	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))                
ffc22d30:	4b ff 48 9d 	bl      ffc175cc <rtems_rfs_trace>             
ffc22d34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22d38:	40 9e 00 60 	bne-    cr7,ffc22d98 <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);                      
ffc22d3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc22d40:	7f a4 eb 78 	mr      r4,r29                                 
ffc22d44:	38 a1 00 18 	addi    r5,r1,24                               
ffc22d48:	4b ff d9 75 	bl      ffc206bc <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc22d4c:	7c 78 1b 79 	mr.     r24,r3                                 
ffc22d50:	40 81 00 7c 	ble-    ffc22dcc <rtems_rfs_dir_del_entry+0xf0><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22d54:	80 01 00 9c 	lwz     r0,156(r1)                             
ffc22d58:	7f 03 c3 78 	mr      r3,r24                                 
ffc22d5c:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc22d60:	7c 08 03 a6 	mtlr    r0                                     
ffc22d64:	82 c1 00 70 	lwz     r22,112(r1)                            
ffc22d68:	82 e1 00 74 	lwz     r23,116(r1)                            
ffc22d6c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc22d70:	83 01 00 78 	lwz     r24,120(r1)                            
ffc22d74:	83 21 00 7c 	lwz     r25,124(r1)                            
ffc22d78:	83 41 00 80 	lwz     r26,128(r1)                            
ffc22d7c:	83 61 00 84 	lwz     r27,132(r1)                            
ffc22d80:	83 81 00 88 	lwz     r28,136(r1)                            
ffc22d84:	83 a1 00 8c 	lwz     r29,140(r1)                            
ffc22d88:	83 c1 00 90 	lwz     r30,144(r1)                            
ffc22d8c:	83 e1 00 94 	lwz     r31,148(r1)                            
ffc22d90:	38 21 00 98 	addi    r1,r1,152                              
ffc22d94:	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",
ffc22d98:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc22d9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22da0:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc22da4:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc22da8:	38 63 b4 d4 	addi    r3,r3,-19244                           <== NOT EXECUTED
ffc22dac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22db0:	48 00 6a f1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc22db4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22db8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc22dbc:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc22dc0:	4b ff d8 fd 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc22dc4:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc22dc8:	41 81 ff 8c 	bgt+    ffc22d54 <rtems_rfs_dir_del_entry+0x78><== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
ffc22dcc:	7f e3 fb 78 	mr      r3,r31                                 
ffc22dd0:	38 81 00 18 	addi    r4,r1,24                               
ffc22dd4:	38 a0 00 00 	li      r5,0                                   
ffc22dd8:	7f 86 e3 78 	mr      r6,r28                                 
ffc22ddc:	38 e1 00 08 	addi    r7,r1,8                                
ffc22de0:	4b ff de a1 	bl      ffc20c80 <rtems_rfs_block_map_seek>    
ffc22de4:	3b c0 00 00 	li      r30,0                                  
  if (rc > 0)                                                         
ffc22de8:	7c 78 1b 79 	mr.     r24,r3                                 
ffc22dec:	40 81 00 20 	ble-    ffc22e0c <rtems_rfs_dir_del_entry+0x130><== ALWAYS TAKEN
  {                                                                   
    if (rc == ENXIO)                                                  
ffc22df0:	2f 98 00 06 	cmpwi   cr7,r24,6                              <== NOT EXECUTED
ffc22df4:	40 be 00 08 	bne+    cr7,ffc22dfc <rtems_rfs_dir_del_entry+0x120><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc22df8:	3b 00 00 02 	li      r24,2                                  <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
ffc22dfc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22e00:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc22e04:	4b ff da c1 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
    return rc;                                                        
ffc22e08:	4b ff ff 4c 	b       ffc22d54 <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;                                     
ffc22e0c:	7f 80 00 34 	cntlzw  r0,r28                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc22e10:	9b c1 00 0c 	stb     r30,12(r1)                             
ffc22e14:	54 00 d9 7e 	rlwinm  r0,r0,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)                                                       
ffc22e18:	2e 00 00 00 	cmpwi   cr4,r0,0                               
  handle->bnum  = 0;                                                  
ffc22e1c:	93 c1 00 10 	stw     r30,16(r1)                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22e20:	3a e0 00 00 	li      r23,0                                  
  handle->buffer = NULL;                                              
ffc22e24:	93 c1 00 14 	stw     r30,20(r1)                             
ffc22e28:	62 f7 ff ff 	ori     r23,r23,65535                          
  while (rc == 0)                                                     
  {                                                                   
    uint8_t* entry;                                                   
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc22e2c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc22e30:	7f e3 fb 78 	mr      r3,r31                                 
ffc22e34:	38 81 00 0c 	addi    r4,r1,12                               
ffc22e38:	38 c0 00 01 	li      r6,1                                   
ffc22e3c:	4b ff eb 7d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc22e40:	7c 78 1b 79 	mr.     r24,r3                                 
ffc22e44:	41 81 03 10 	bgt-    ffc23154 <rtems_rfs_dir_del_entry+0x478><== NEVER TAKEN
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
ffc22e48:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc22e4c:	41 92 01 34 	beq-    cr4,ffc22f80 <rtems_rfs_dir_del_entry+0x2a4><== ALWAYS TAKEN
ffc22e50:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
      eoffset = 0;                                                    
ffc22e54:	3b c0 00 00 	li      r30,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))
ffc22e58:	39 48 ff f6 	addi    r10,r8,-10                             
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc22e5c:	81 21 00 14 	lwz     r9,20(r1)                              
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22e60:	7f 80 50 40 	cmplw   cr7,r0,r10                             
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc22e64:	81 29 00 24 	lwz     r9,36(r9)                              
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22e68:	40 9c 01 2c 	bge-    cr7,ffc22f94 <rtems_rfs_dir_del_entry+0x2b8><== NEVER TAKEN
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc22e6c:	7e c9 02 14 	add     r22,r9,r0                              
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22e70:	7c 09 00 ae 	lbzx    r0,r9,r0                               
    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);                   
ffc22e74:	8b 56 00 08 	lbz     r26,8(r22)                             
ffc22e78:	89 76 00 09 	lbz     r11,9(r22)                             
ffc22e7c:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22e80:	88 f6 00 01 	lbz     r7,1(r22)                              
    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);                   
ffc22e84:	7f 5a 5b 78 	or      r26,r26,r11                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22e88:	89 36 00 03 	lbz     r9,3(r22)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22e8c:	7f 9a b8 00 	cmpw    cr7,r26,r23                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22e90:	89 76 00 02 	lbz     r11,2(r22)                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22e94:	41 9e 01 00 	beq-    cr7,ffc22f94 <rtems_rfs_dir_del_entry+0x2b8><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22e98:	54 f9 80 1e 	rlwinm  r25,r7,16,0,15                         
ffc22e9c:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc22ea0:	7f 39 5b 78 	or      r25,r25,r11                            
ffc22ea4:	7f 39 4b 78 	or      r25,r25,r9                             
ffc22ea8:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           
ffc22eac:	7f 39 03 78 	or      r25,r25,r0                             
ffc22eb0:	48 00 00 78 	b       ffc22f28 <rtems_rfs_dir_del_entry+0x24c>
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22eb4:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc22eb8:	7f 9a 00 40 	cmplw   cr7,r26,r0                             
ffc22ebc:	40 9c 00 7c 	bge-    cr7,ffc22f38 <rtems_rfs_dir_del_entry+0x25c><== NEVER TAKEN
ffc22ec0:	41 9a 00 78 	beq-    cr6,ffc22f38 <rtems_rfs_dir_del_entry+0x25c><== NEVER TAKEN
ffc22ec4:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc22ec8:	7f 80 c8 40 	cmplw   cr7,r0,r25                             
ffc22ecc:	41 9c 00 6c 	blt-    cr7,ffc22f38 <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))                     
ffc22ed0:	41 86 01 18 	beq-    cr1,ffc22fe8 <rtems_rfs_dir_del_entry+0x30c><== ALWAYS TAKEN
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
ffc22ed4:	7f de d2 14 	add     r30,r30,r26                            <== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
ffc22ed8:	7e d6 d2 14 	add     r22,r22,r26                            <== 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))
ffc22edc:	7f 9e 50 40 	cmplw   cr7,r30,r10                            <== NOT EXECUTED
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
      }                                                               
                                                                      
      if (!search)                                                    
ffc22ee0:	41 92 00 6c 	beq-    cr4,ffc22f4c <rtems_rfs_dir_del_entry+0x270><== 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))
ffc22ee4:	40 9c 00 b0 	bge-    cr7,ffc22f94 <rtems_rfs_dir_del_entry+0x2b8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc22ee8:	8b 56 00 08 	lbz     r26,8(r22)                             <== NOT EXECUTED
ffc22eec:	88 16 00 09 	lbz     r0,9(r22)                              <== NOT EXECUTED
ffc22ef0:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22ef4:	8b 36 00 00 	lbz     r25,0(r22)                             <== 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);                   
ffc22ef8:	7f 5a 03 78 	or      r26,r26,r0                             <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22efc:	89 76 00 01 	lbz     r11,1(r22)                             <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22f00:	7f 9a b8 00 	cmpw    cr7,r26,r23                            <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22f04:	89 36 00 03 	lbz     r9,3(r22)                              <== NOT EXECUTED
ffc22f08:	57 39 c0 0e 	rlwinm  r25,r25,24,0,7                         <== NOT EXECUTED
ffc22f0c:	88 16 00 02 	lbz     r0,2(r22)                              <== NOT EXECUTED
ffc22f10:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc22f14:	7f 39 5b 78 	or      r25,r25,r11                            <== NOT EXECUTED
ffc22f18:	7f 39 4b 78 	or      r25,r25,r9                             <== NOT EXECUTED
ffc22f1c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc22f20:	7f 39 03 78 	or      r25,r25,r0                             <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22f24:	41 9e 00 70 	beq-    cr7,ffc22f94 <rtems_rfs_dir_del_entry+0x2b8><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22f28:	2f 9a 00 0a 	cmpwi   cr7,r26,10                             
ffc22f2c:	2f 19 00 00 	cmpwi   cr6,r25,0                              
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
ffc22f30:	7c 9b c8 00 	cmpw    cr1,r27,r25                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22f34:	41 9d ff 80 	bgt+    cr7,ffc22eb4 <rtems_rfs_dir_del_entry+0x1d8><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc22f38:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22f3c:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc22f40:	4b ff 46 8d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22f44:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22f48:	40 9e 00 78 	bne-    cr7,ffc22fc0 <rtems_rfs_dir_del_entry+0x2e4><== NOT EXECUTED
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
ffc22f4c:	3b 00 00 05 	li      r24,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);                       
ffc22f50:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc22f54:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22f58:	4b ff e8 4d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22f5c:	38 00 00 00 	li      r0,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;                                              
ffc22f60:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc22f64:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc22f68:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22f6c:	38 81 00 18 	addi    r4,r1,24                               <== 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;                                              
ffc22f70:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22f74:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc22f78:	4b ff d9 4d 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
ffc22f7c:	4b ff fd d8 	b       ffc22d54 <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);                
ffc22f80:	7f dc 43 96 	divwu   r30,r28,r8                             
ffc22f84:	7f de 41 d6 	mullw   r30,r30,r8                             
ffc22f88:	7f de e0 50 	subf    r30,r30,r28                            
ffc22f8c:	7f c0 f3 78 	mr      r0,r30                                 
ffc22f90:	4b ff fe c8 	b       ffc22e58 <rtems_rfs_dir_del_entry+0x17c>
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
ffc22f94:	40 a2 ff bc 	bne-    ffc22f50 <rtems_rfs_dir_del_entry+0x274><== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc22f98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22f9c:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc22fa0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc22fa4:	4b ff dd a1 	bl      ffc20d44 <rtems_rfs_block_map_next_block><== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc22fa8:	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);         
ffc22fac:	7c 78 1b 78 	mr      r24,r3                                 <== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc22fb0:	41 9e 01 9c 	beq-    cr7,ffc2314c <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)                                                     
ffc22fb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22fb8:	41 9e fe 74 	beq+    cr7,ffc22e2c <rtems_rfs_dir_del_entry+0x150><== NOT EXECUTED
ffc22fbc:	4b ff ff 94 	b       ffc22f50 <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: "                        
ffc22fc0:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc22fc4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22fc8:	80 e1 00 08 	lwz     r7,8(r1)                               <== NOT EXECUTED
ffc22fcc:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc22fd0:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc22fd4:	7f c8 f3 78 	mr      r8,r30                                 <== NOT EXECUTED
ffc22fd8:	38 63 b5 58 	addi    r3,r3,-19112                           <== NOT EXECUTED
ffc22fdc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22fe0:	48 00 68 c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22fe4:	4b ff ff 68 	b       ffc22f4c <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);
ffc22fe8:	7f 9a f2 14 	add     r28,r26,r30                            
ffc22fec:	7f 9c 40 50 	subf    r28,r28,r8                             
        memmove (entry, entry + elength, remaining);                  
ffc22ff0:	7f 85 e3 78 	mr      r5,r28                                 
ffc22ff4:	7c 96 d2 14 	add     r4,r22,r26                             
ffc22ff8:	7e c3 b3 78 	mr      r3,r22                                 
ffc22ffc:	48 00 65 e1 	bl      ffc295dc <memmove>                     
        memset (entry + remaining, 0xff, elength);                    
ffc23000:	38 80 00 ff 	li      r4,255                                 
ffc23004:	7f 45 d3 78 	mr      r5,r26                                 
ffc23008:	7c 76 e2 14 	add     r3,r22,r28                             
ffc2300c:	48 00 67 05 	bl      ffc29710 <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);                 
ffc23010:	8b 96 00 08 	lbz     r28,8(r22)                             
ffc23014:	88 16 00 09 	lbz     r0,9(r22)                              
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc23018:	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);                 
ffc2301c:	57 9c 40 2e 	rlwinm  r28,r28,8,0,23                         
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc23020:	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);                 
ffc23024:	7f 9c 03 78 	or      r28,r28,r0                             
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc23028:	4b ff 45 a5 	bl      ffc175cc <rtems_rfs_trace>             
ffc2302c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23030:	41 9e 00 44 	beq-    cr7,ffc23074 <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");    
ffc23034:	80 01 00 28 	lwz     r0,40(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: "                        
ffc23038:	80 c1 00 08 	lwz     r6,8(r1)                               <== NOT EXECUTED
ffc2303c:	2f 80 00 00 	cmpwi   cr7,r0,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");    
ffc23040:	81 21 00 20 	lwz     r9,32(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: "                        
ffc23044:	40 9e 00 f0 	bne-    cr7,ffc23134 <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");    
ffc23048:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc2304c:	40 9e 00 e8 	bne-    cr7,ffc23134 <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: "                        
ffc23050:	3d 00 ff c4 	lis     r8,-60                                 <== NOT EXECUTED
ffc23054:	39 08 9e d4 	addi    r8,r8,-24876                           <== NOT EXECUTED
ffc23058:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2305c:	38 63 b5 a4 	addi    r3,r3,-19036                           <== NOT EXECUTED
ffc23060:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23064:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc23068:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc2306c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23070:	48 00 68 31 	bl      ffc298a0 <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) &&                 
ffc23074:	6f 80 ff ff 	xoris   r0,r28,65535                           
ffc23078:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc2307c:	41 9e 00 40 	beq-    cr7,ffc230bc <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);                        
ffc23080:	38 00 00 01 	li      r0,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);                       
ffc23084:	38 81 00 0c 	addi    r4,r1,12                               
ffc23088:	98 01 00 0c 	stb     r0,12(r1)                              
ffc2308c:	7f e3 fb 78 	mr      r3,r31                                 
ffc23090:	4b ff e7 15 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23094:	38 00 00 00 	li      r0,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;                                              
ffc23098:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc2309c:	90 01 00 10 	stw     r0,16(r1)                              
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
ffc230a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc230a4:	38 81 00 18 	addi    r4,r1,24                               
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;                                              
ffc230a8:	99 21 00 0c 	stb     r9,12(r1)                              
        return 0;                                                     
ffc230ac:	3b 00 00 00 	li      r24,0                                  
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc230b0:	90 01 00 14 	stw     r0,20(r1)                              
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
ffc230b4:	4b ff d8 11 	bl      ffc208c4 <rtems_rfs_block_map_close>   
        return 0;                                                     
ffc230b8:	4b ff fc 9c 	b       ffc22d54 <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) &&                 
ffc230bc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc230c0:	40 be ff c0 	bne-    cr7,ffc23080 <rtems_rfs_dir_del_entry+0x3a4><== ALWAYS TAKEN
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
ffc230c4:	80 01 00 28 	lwz     r0,40(r1)                              <== NOT EXECUTED
ffc230c8:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
ffc230cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc230d0:	40 9e 00 c4 	bne-    cr7,ffc23194 <rtems_rfs_dir_del_entry+0x4b8><== NOT EXECUTED
ffc230d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc230d8:	40 9e 00 bc 	bne-    cr7,ffc23194 <rtems_rfs_dir_del_entry+0x4b8><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
ffc230dc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc230e0:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc230e4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc230e8:	4b ff e0 c5 	bl      ffc211ac <rtems_rfs_block_map_shrink>  <== NOT EXECUTED
          if (rc > 0)                                                 
ffc230ec:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc230f0:	40 a1 ff 90 	ble-    ffc23080 <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
          {                                                           
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))      
ffc230f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc230f8:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc230fc:	4b ff 44 d1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23100:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23104:	41 9e ff 7c 	beq+    cr7,ffc23080 <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
              printf ("rtems-rfs: dir-del-entry: "                    
ffc23108:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2310c:	83 bd 00 08 	lwz     r29,8(r29)                             <== NOT EXECUTED
ffc23110:	48 00 74 fd 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23114:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc23118:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc2311c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23120:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23124:	38 63 b6 04 	addi    r3,r3,-18940                           <== NOT EXECUTED
ffc23128:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2312c:	48 00 67 75 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23130:	4b ff ff 50 	b       ffc23080 <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");    
ffc23134:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc23138:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc2313c:	41 be ff 14 	beq-    cr7,ffc23050 <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: "                        
ffc23140:	3d 00 ff c4 	lis     r8,-60                                 <== NOT EXECUTED
ffc23144:	39 08 a3 b0 	addi    r8,r8,-23632                           <== NOT EXECUTED
ffc23148:	4b ff ff 10 	b       ffc23058 <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;                                                  
ffc2314c:	3b 00 00 02 	li      r24,2                                  <== NOT EXECUTED
ffc23150:	4b ff fe 00 	b       ffc22f50 <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))            
ffc23154:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc23158:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc2315c:	4b ff 44 71 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23160:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23164:	41 9e fd ec 	beq+    cr7,ffc22f50 <rtems_rfs_dir_del_entry+0x274><== NOT EXECUTED
        printf ("rtems-rfs: dir-del-entry: "                          
ffc23168:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc2316c:	83 dd 00 08 	lwz     r30,8(r29)                             <== NOT EXECUTED
ffc23170:	48 00 74 9d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23174:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc23178:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc2317c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23180:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc23184:	38 63 b5 10 	addi    r3,r3,-19184                           <== NOT EXECUTED
ffc23188:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2318c:	48 00 67 15 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23190:	4b ff fd c0 	b       ffc22f50 <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))        
ffc23194:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc23198:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc2319c:	40 9e fe e4 	bne+    cr7,ffc23080 <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
ffc231a0:	4b ff ff 3c 	b       ffc230dc <rtems_rfs_dir_del_entry+0x400><== NOT EXECUTED
                                                                      

ffc235d8 <rtems_rfs_dir_empty>: } int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) {
ffc235d8:	94 21 ff 78 	stwu    r1,-136(r1)                            <== NOT EXECUTED
ffc235dc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc235e0:	93 a1 00 7c 	stw     r29,124(r1)                            <== NOT EXECUTED
ffc235e4:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc235e8:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_dir_empty (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_inode_handle* dir)                     
{                                                                     
ffc235ec:	93 e1 00 84 	stw     r31,132(r1)                            <== NOT EXECUTED
ffc235f0:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc235f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_dir_empty (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_inode_handle* dir)                     
{                                                                     
ffc235f8:	90 01 00 8c 	stw     r0,140(r1)                             <== NOT EXECUTED
ffc235fc:	93 01 00 68 	stw     r24,104(r1)                            <== NOT EXECUTED
ffc23600:	93 21 00 6c 	stw     r25,108(r1)                            <== NOT EXECUTED
ffc23604:	93 41 00 70 	stw     r26,112(r1)                            <== NOT EXECUTED
ffc23608:	93 61 00 74 	stw     r27,116(r1)                            <== NOT EXECUTED
ffc2360c:	93 81 00 78 	stw     r28,120(r1)                            <== NOT EXECUTED
ffc23610:	93 c1 00 80 	stw     r30,128(r1)                            <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc23614:	4b ff 3f b9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23618:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2361c:	40 9e 00 50 	bne-    cr7,ffc2366c <rtems_rfs_dir_empty+0x94><== NOT EXECUTED
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc23620:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23624:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23628:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc2362c:	4b ff d0 91 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc23630:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc23634:	40 81 00 64 	ble-    ffc23698 <rtems_rfs_dir_empty+0xc0>    <== NOT EXECUTED
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc23638:	80 01 00 8c 	lwz     r0,140(r1)                             <== NOT EXECUTED
ffc2363c:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc23640:	83 21 00 6c 	lwz     r25,108(r1)                            <== NOT EXECUTED
ffc23644:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc23648:	83 01 00 68 	lwz     r24,104(r1)                            <== NOT EXECUTED
ffc2364c:	83 41 00 70 	lwz     r26,112(r1)                            <== NOT EXECUTED
ffc23650:	83 61 00 74 	lwz     r27,116(r1)                            <== NOT EXECUTED
ffc23654:	83 81 00 78 	lwz     r28,120(r1)                            <== NOT EXECUTED
ffc23658:	83 a1 00 7c 	lwz     r29,124(r1)                            <== NOT EXECUTED
ffc2365c:	83 c1 00 80 	lwz     r30,128(r1)                            <== NOT EXECUTED
ffc23660:	83 e1 00 84 	lwz     r31,132(r1)                            <== NOT EXECUTED
ffc23664:	38 21 00 88 	addi    r1,r1,136                              <== NOT EXECUTED
ffc23668:	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));
ffc2366c:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc23670:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23674:	38 63 b7 2c 	addi    r3,r3,-18644                           <== NOT EXECUTED
ffc23678:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2367c:	48 00 62 25 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc23680:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23684:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23688:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc2368c:	4b ff d0 31 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc23690:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc23694:	41 81 ff a4 	bgt+    ffc23638 <rtems_rfs_dir_empty+0x60>    <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
ffc23698:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2369c:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc236a0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc236a4:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc236a8:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc236ac:	4b ff d5 d5 	bl      ffc20c80 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc236b0:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc236b4:	41 81 02 14 	bgt-    ffc238c8 <rtems_rfs_dir_empty+0x2f0>   <== 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;                                                  
ffc236b8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc236bc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc236c0:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc236c4:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
ffc236c8:	3f 80 ff c4 	lis     r28,-60                                <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc236cc:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc236d0:	63 de ff ff 	ori     r30,r30,65535                          <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc236d4:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
ffc236d8:	3b 9c b7 4c 	addi    r28,r28,-18612                         <== NOT EXECUTED
  while (empty)                                                       
  {                                                                   
    uint8_t* entry;                                                   
    int      offset;                                                  
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc236dc:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc236e0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc236e4:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc236e8:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc236ec:	4b ff e2 cd 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc236f0:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc236f4:	41 81 01 18 	bgt-    ffc2380c <rtems_rfs_dir_empty+0x234>   <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc236f8:	81 1f 00 08 	lwz     r8,8(r31)                              <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc236fc:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23700:	39 08 ff f6 	addi    r8,r8,-10                              <== NOT EXECUTED
ffc23704:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc23708:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc2370c:	41 9e 01 74 	beq-    cr7,ffc23880 <rtems_rfs_dir_empty+0x2a8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc23710:	8b 29 00 08 	lbz     r25,8(r9)                              <== NOT EXECUTED
ffc23714:	88 09 00 09 	lbz     r0,9(r9)                               <== NOT EXECUTED
ffc23718:	57 39 40 2e 	rlwinm  r25,r25,8,0,23                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2371c:	89 49 00 01 	lbz     r10,1(r9)                              <== NOT EXECUTED
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc23720:	7f 39 03 78 	or      r25,r25,r0                             <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23724:	88 e9 00 02 	lbz     r7,2(r9)                               <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc23728:	7f 99 f0 00 	cmpw    cr7,r25,r30                            <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2372c:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc23730:	89 69 00 03 	lbz     r11,3(r9)                              <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc23734:	41 9e 01 4c 	beq-    cr7,ffc23880 <rtems_rfs_dir_empty+0x2a8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23738:	54 fa 40 2e 	rlwinm  r26,r7,8,0,23                          <== NOT EXECUTED
ffc2373c:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc23740:	7f 5a 53 78 	or      r26,r26,r10                            <== NOT EXECUTED
ffc23744:	7f 5a 5b 78 	or      r26,r26,r11                            <== NOT EXECUTED
ffc23748:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc2374c:	7f 5a 03 78 	or      r26,r26,r0                             <== NOT EXECUTED
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
ffc23750:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc23754:	48 00 00 74 	b       ffc237c8 <rtems_rfs_dir_empty+0x1f0>   <== NOT EXECUTED
      /*                                                              
       * 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] != '.')) &&               
ffc23758:	2f 99 00 0c 	cmpwi   cr7,r25,12                             <== NOT EXECUTED
ffc2375c:	40 9e 00 a8 	bne-    cr7,ffc23804 <rtems_rfs_dir_empty+0x22c><== NOT EXECUTED
          ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) ||             
ffc23760:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc23764:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc23768:	40 9e 00 9c 	bne-    cr7,ffc23804 <rtems_rfs_dir_empty+0x22c><== NOT EXECUTED
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') ||                
ffc2376c:	88 09 00 0b 	lbz     r0,11(r9)                              <== NOT EXECUTED
ffc23770:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc23774:	40 9e 00 90 	bne-    cr7,ffc23804 <rtems_rfs_dir_empty+0x22c><== NOT EXECUTED
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
ffc23778:	7f 7b ca 14 	add     r27,r27,r25                            <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc2377c:	7f 9b 40 40 	cmplw   cr7,r27,r8                             <== NOT EXECUTED
ffc23780:	40 9c 01 00 	bge-    cr7,ffc23880 <rtems_rfs_dir_empty+0x2a8><== NOT EXECUTED
      {                                                               
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
ffc23784:	7d 29 ca 14 	add     r9,r9,r25                              <== NOT EXECUTED
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc23788:	8b 29 00 08 	lbz     r25,8(r9)                              <== NOT EXECUTED
ffc2378c:	88 09 00 09 	lbz     r0,9(r9)                               <== NOT EXECUTED
ffc23790:	57 39 40 2e 	rlwinm  r25,r25,8,0,23                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23794:	8b 49 00 00 	lbz     r26,0(r9)                              <== NOT EXECUTED
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc23798:	7f 39 03 78 	or      r25,r25,r0                             <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2379c:	89 49 00 01 	lbz     r10,1(r9)                              <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc237a0:	7f 99 f0 00 	cmpw    cr7,r25,r30                            <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc237a4:	89 69 00 03 	lbz     r11,3(r9)                              <== NOT EXECUTED
ffc237a8:	57 5a c0 0e 	rlwinm  r26,r26,24,0,7                         <== NOT EXECUTED
ffc237ac:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc237b0:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc237b4:	7f 5a 53 78 	or      r26,r26,r10                            <== NOT EXECUTED
ffc237b8:	7f 5a 5b 78 	or      r26,r26,r11                            <== NOT EXECUTED
ffc237bc:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc237c0:	7f 5a 03 78 	or      r26,r26,r0                             <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc237c4:	41 9e 00 bc 	beq-    cr7,ffc23880 <rtems_rfs_dir_empty+0x2a8><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc237c8:	2f 99 00 0a 	cmpwi   cr7,r25,10                             <== NOT EXECUTED
ffc237cc:	40 9d 00 a0 	ble-    cr7,ffc2386c <rtems_rfs_dir_empty+0x294><== NOT EXECUTED
ffc237d0:	80 1f 00 18 	lwz     r0,24(r31)                             <== NOT EXECUTED
ffc237d4:	7f 99 00 40 	cmplw   cr7,r25,r0                             <== NOT EXECUTED
ffc237d8:	40 9c 00 94 	bge-    cr7,ffc2386c <rtems_rfs_dir_empty+0x294><== NOT EXECUTED
ffc237dc:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc237e0:	41 9e 00 8c 	beq-    cr7,ffc2386c <rtems_rfs_dir_empty+0x294><== NOT EXECUTED
ffc237e4:	80 1f 00 10 	lwz     r0,16(r31)                             <== NOT EXECUTED
ffc237e8:	7f 80 d0 40 	cmplw   cr7,r0,r26                             <== NOT EXECUTED
ffc237ec:	41 9c 00 80 	blt-    cr7,ffc2386c <rtems_rfs_dir_empty+0x294><== NOT EXECUTED
                                                                      
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
ffc237f0:	2f 99 00 0b 	cmpwi   cr7,r25,11                             <== NOT EXECUTED
ffc237f4:	40 9e ff 64 	bne+    cr7,ffc23758 <rtems_rfs_dir_empty+0x180><== NOT EXECUTED
ffc237f8:	88 09 00 0a 	lbz     r0,10(r9)                              <== NOT EXECUTED
ffc237fc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc23800:	41 be ff 78 	beq-    cr7,ffc23778 <rtems_rfs_dir_empty+0x1a0><== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
ffc23804:	40 82 00 08 	bne-    ffc2380c <rtems_rfs_dir_empty+0x234>   <== NOT EXECUTED
    rc = ENOTEMPTY;                                                   
ffc23808:	3b 00 00 5a 	li      r24,90                                 <== 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);                       
ffc2380c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc23810:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23814:	4b ff df 91 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23818:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc2381c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23820:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
ffc23824:	38 81 00 18 	addi    r4,r1,24                               <== 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;                                              
ffc23828:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc2382c:	90 01 00 14 	stw     r0,20(r1)                              <== 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;                                              
ffc23830:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
ffc23834:	4b ff d0 91 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc23838:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc2383c:	80 01 00 8c 	lwz     r0,140(r1)                             <== NOT EXECUTED
ffc23840:	83 01 00 68 	lwz     r24,104(r1)                            <== NOT EXECUTED
ffc23844:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc23848:	83 21 00 6c 	lwz     r25,108(r1)                            <== NOT EXECUTED
ffc2384c:	83 41 00 70 	lwz     r26,112(r1)                            <== NOT EXECUTED
ffc23850:	83 61 00 74 	lwz     r27,116(r1)                            <== NOT EXECUTED
ffc23854:	83 81 00 78 	lwz     r28,120(r1)                            <== NOT EXECUTED
ffc23858:	83 a1 00 7c 	lwz     r29,124(r1)                            <== NOT EXECUTED
ffc2385c:	83 c1 00 80 	lwz     r30,128(r1)                            <== NOT EXECUTED
ffc23860:	83 e1 00 84 	lwz     r31,132(r1)                            <== NOT EXECUTED
ffc23864:	38 21 00 88 	addi    r1,r1,136                              <== NOT EXECUTED
ffc23868:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
ffc2386c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc23870:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23874:	4b ff 3d 59 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23878:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2387c:	40 9e 00 2c 	bne-    cr7,ffc238a8 <rtems_rfs_dir_empty+0x2d0><== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc23880:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23884:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc23888:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc2388c:	4b ff d4 b9 	bl      ffc20d44 <rtems_rfs_block_map_next_block><== NOT EXECUTED
      if (rc > 0)                                                     
ffc23890:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc23894:	40 81 fe 48 	ble+    ffc236dc <rtems_rfs_dir_empty+0x104>   <== NOT EXECUTED
      {                                                               
        if (rc == ENXIO)                                              
ffc23898:	2f 98 00 06 	cmpwi   cr7,r24,6                              <== NOT EXECUTED
ffc2389c:	40 9e ff 70 	bne+    cr7,ffc2380c <rtems_rfs_dir_empty+0x234><== NOT EXECUTED
ffc238a0:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
ffc238a4:	4b ff ff 68 	b       ffc2380c <rtems_rfs_dir_empty+0x234>   <== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
ffc238a8:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc238ac:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc238b0:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc238b4:	7f 46 d3 78 	mr      r6,r26                                 <== NOT EXECUTED
ffc238b8:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc238bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc238c0:	48 00 5f e1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc238c4:	4b ff ff bc 	b       ffc23880 <rtems_rfs_dir_empty+0x2a8>   <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_block_map_close (fs, &map);                             
ffc238c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc238cc:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc238d0:	4b ff cf f5 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
    return rc;                                                        
ffc238d4:	4b ff fd 64 	b       ffc23638 <rtems_rfs_dir_empty+0x60>    <== NOT EXECUTED
                                                                      

ffc28534 <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)
ffc28534:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc28538:	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;              
ffc2853c:	3d 24 df df 	addis   r9,r4,-8225                            
ffc28540:	39 29 16 9f 	addi    r9,r9,5791                             
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc28544:	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)                                               
ffc28548:	7c 6b 1b 78 	mr      r11,r3                                 
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc2854c:	93 c1 00 10 	stw     r30,16(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)                                               
ffc28550:	7d 20 4b 78 	mr      r0,r9                                  
ffc28554:	7d 2a 4b 78 	mr      r10,r9                                 
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc28558:	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)                                               
ffc2855c:	40 9d 00 f8 	ble-    cr7,ffc28654 <rtems_rfs_dir_hash+0x120>
    {                                                                 
      a += k[0];                                                      
ffc28560:	88 eb 00 00 	lbz     r7,0(r11)                              
      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);                                                     
      length -= 12;                                                   
ffc28564:	38 84 ff f4 	addi    r4,r4,-12                              
      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];                                                      
ffc28568:	88 cb 00 08 	lbz     r6,8(r11)                              
                                                                      
  } 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)                                               
ffc2856c:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
ffc28570:	8b ab 00 01 	lbz     r29,1(r11)                             
    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];                                                      
ffc28574:	7d 47 52 14 	add     r10,r7,r10                             
      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;                                       
ffc28578:	89 0b 00 09 	lbz     r8,9(r11)                              
      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];                                                      
ffc2857c:	7d 26 4a 14 	add     r9,r6,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;                                      
ffc28580:	8b eb 00 02 	lbz     r31,2(r11)                             
                                                                      
    /*--------------- 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;                                       
ffc28584:	57 bd 40 2e 	rlwinm  r29,r29,8,0,23                         
      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;                                     
ffc28588:	89 8b 00 0a 	lbz     r12,10(r11)                            
      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;                                       
ffc2858c:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
ffc28590:	88 ab 00 03 	lbz     r5,3(r11)                              
      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;                                       
ffc28594:	7d 09 42 14 	add     r8,r9,r8                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
ffc28598:	8b cb 00 04 	lbz     r30,4(r11)                             
                                                                      
    /*--------------- 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;                                       
ffc2859c:	7d 4a ea 14 	add     r10,r10,r29                            
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
ffc285a0:	88 eb 00 05 	lbz     r7,5(r11)                              
    /*--------------- 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;                                      
ffc285a4:	57 ff 80 1e 	rlwinm  r31,r31,16,0,15                        
      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;                                     
ffc285a8:	88 6b 00 0b 	lbz     r3,11(r11)                             
      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;                                     
ffc285ac:	55 8c 80 1e 	rlwinm  r12,r12,16,0,15                        
      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;                                      
ffc285b0:	88 cb 00 06 	lbz     r6,6(r11)                              
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
ffc285b4:	7c 1e 02 14 	add     r0,r30,r0                              
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
ffc285b8:	89 2b 00 07 	lbz     r9,7(r11)                              
    /*--------------- 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;                                      
ffc285bc:	7d 4a fa 14 	add     r10,r10,r31                            
      a += ((uint32_t)k[3])<<24;                                      
ffc285c0:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
ffc285c4:	54 e7 40 2e 	rlwinm  r7,r7,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;                                     
ffc285c8:	7d 08 62 14 	add     r8,r8,r12                              
      c += ((uint32_t)k[11])<<24;                                     
ffc285cc:	54 63 c0 0e 	rlwinm  r3,r3,24,0,7                           
ffc285d0:	7d 08 1a 14 	add     r8,r8,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;                                       
ffc285d4:	7c e0 3a 14 	add     r7,r0,r7                               
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
ffc285d8:	7d 4a 2a 14 	add     r10,r10,r5                             
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
ffc285dc:	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;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
ffc285e0:	55 00 20 3e 	rotlwi  r0,r8,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;                                      
ffc285e4:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
      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);                                                     
ffc285e8:	7d 48 50 50 	subf    r10,r8,r10                             
      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;                                      
ffc285ec:	7c e7 32 14 	add     r7,r7,r6                               
      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);                                                     
ffc285f0:	7d 4a 02 78 	xor     r10,r10,r0                             
      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;                                      
ffc285f4:	7c e7 4a 14 	add     r7,r7,r9                               
      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);                                                     
ffc285f8:	7c 0a 38 50 	subf    r0,r10,r7                              
ffc285fc:	55 49 30 3e 	rotlwi  r9,r10,6                               
ffc28600:	7d 20 02 78 	xor     r0,r9,r0                               
ffc28604:	7d 08 3a 14 	add     r8,r8,r7                               
ffc28608:	7d 20 40 50 	subf    r9,r0,r8                               
ffc2860c:	54 07 40 3e 	rotlwi  r7,r0,8                                
ffc28610:	7c e9 4a 78 	xor     r9,r7,r9                               
ffc28614:	7d 0a 42 14 	add     r8,r10,r8                              
ffc28618:	7d 49 40 50 	subf    r10,r9,r8                              
ffc2861c:	55 27 80 3e 	rotlwi  r7,r9,16                               
ffc28620:	7c ea 52 78 	xor     r10,r7,r10                             
ffc28624:	7d 00 42 14 	add     r8,r0,r8                               
ffc28628:	7c 0a 40 50 	subf    r0,r10,r8                              
ffc2862c:	55 47 98 3e 	rotlwi  r7,r10,19                              
ffc28630:	7c e0 02 78 	xor     r0,r7,r0                               
ffc28634:	7d 29 42 14 	add     r9,r9,r8                               
ffc28638:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc2863c:	54 08 20 3e 	rotlwi  r8,r0,4                                
ffc28640:	7d 20 48 50 	subf    r9,r0,r9                               
ffc28644:	7d 09 4a 78 	xor     r9,r8,r9                               
ffc28648:	7c 00 52 14 	add     r0,r0,r10                              
      length -= 12;                                                   
      k += 12;                                                        
ffc2864c:	39 6b 00 0c 	addi    r11,r11,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)                                               
ffc28650:	41 9d ff 10 	bgt+    cr7,ffc28560 <rtems_rfs_dir_hash+0x2c> <== NEVER TAKEN
      length -= 12;                                                   
      k += 12;                                                        
    }                                                                 
                                                                      
    /*-------------------------------- last block: affect all 32 bits of (c) */
    switch(length)                   /* all the case statements fall through */
ffc28654:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
ffc28658:	41 9d 00 f8 	bgt-    cr7,ffc28750 <rtems_rfs_dir_hash+0x21c><== NEVER TAKEN
ffc2865c:	3d 00 ff c4 	lis     r8,-60                                 
ffc28660:	39 08 c1 e8 	addi    r8,r8,-15896                           
ffc28664:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc28668:	7c e8 20 2e 	lwzx    r7,r8,r4                               
ffc2866c:	7d 07 42 14 	add     r8,r7,r8                               
ffc28670:	7d 09 03 a6 	mtctr   r8                                     
ffc28674:	4e 80 04 20 	bctr                                           
    {                                                                 
      case 12: c+=((uint32_t)k[11])<<24;                              
ffc28678:	89 0b 00 0b 	lbz     r8,11(r11)                             
ffc2867c:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc28680:	7d 29 42 14 	add     r9,r9,r8                               
      case 11: c+=((uint32_t)k[10])<<16;                              
ffc28684:	89 0b 00 0a 	lbz     r8,10(r11)                             
ffc28688:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc2868c:	7d 29 42 14 	add     r9,r9,r8                               
      case 10: c+=((uint32_t)k[9])<<8;                                
ffc28690:	89 0b 00 09 	lbz     r8,9(r11)                              
ffc28694:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc28698:	7d 29 42 14 	add     r9,r9,r8                               
      case 9 : c+=k[8];                                               
ffc2869c:	89 0b 00 08 	lbz     r8,8(r11)                              
ffc286a0:	7d 29 42 14 	add     r9,r9,r8                               
      case 8 : b+=((uint32_t)k[7])<<24;                               
ffc286a4:	89 0b 00 07 	lbz     r8,7(r11)                              
ffc286a8:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc286ac:	7c 00 42 14 	add     r0,r0,r8                               
      case 7 : b+=((uint32_t)k[6])<<16;                               
ffc286b0:	89 0b 00 06 	lbz     r8,6(r11)                              
ffc286b4:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc286b8:	7c 00 42 14 	add     r0,r0,r8                               
      case 6 : b+=((uint32_t)k[5])<<8;                                
ffc286bc:	89 0b 00 05 	lbz     r8,5(r11)                              
ffc286c0:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc286c4:	7c 00 42 14 	add     r0,r0,r8                               
      case 5 : b+=k[4];                                               
ffc286c8:	89 0b 00 04 	lbz     r8,4(r11)                              
ffc286cc:	7c 00 42 14 	add     r0,r0,r8                               
      case 4 : a+=((uint32_t)k[3])<<24;                               
ffc286d0:	89 0b 00 03 	lbz     r8,3(r11)                              
ffc286d4:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc286d8:	7d 4a 42 14 	add     r10,r10,r8                             
      case 3 : a+=((uint32_t)k[2])<<16;                               
ffc286dc:	89 0b 00 02 	lbz     r8,2(r11)                              
ffc286e0:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc286e4:	7d 4a 42 14 	add     r10,r10,r8                             
      case 2 : a+=((uint32_t)k[1])<<8;                                
ffc286e8:	89 0b 00 01 	lbz     r8,1(r11)                              
ffc286ec:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc286f0:	7d 4a 42 14 	add     r10,r10,r8                             
      case 1 : a+=k[0];                                               
ffc286f4:	89 0b 00 00 	lbz     r8,0(r11)                              
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc286f8:	7d 29 02 78 	xor     r9,r9,r0                               
ffc286fc:	54 0b 70 3e 	rotlwi  r11,r0,14                              
ffc28700:	7d 2b 48 50 	subf    r9,r11,r9                              
      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];                                               
ffc28704:	7d 4a 42 14 	add     r10,r10,r8                             
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc28708:	55 2b 58 3e 	rotlwi  r11,r9,11                              
ffc2870c:	7d 2a 52 78 	xor     r10,r9,r10                             
ffc28710:	7d 4b 50 50 	subf    r10,r11,r10                            
ffc28714:	55 4b c8 3e 	rotlwi  r11,r10,25                             
ffc28718:	7d 40 02 78 	xor     r0,r10,r0                              
ffc2871c:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc28720:	7c 09 4a 78 	xor     r9,r0,r9                               
ffc28724:	54 08 80 3e 	rotlwi  r8,r0,16                               
ffc28728:	7d 68 48 50 	subf    r11,r8,r9                              
ffc2872c:	55 69 20 3e 	rotlwi  r9,r11,4                               
ffc28730:	7d 6a 52 78 	xor     r10,r11,r10                            
ffc28734:	7d 49 50 50 	subf    r10,r9,r10                             
ffc28738:	7d 40 02 78 	xor     r0,r10,r0                              
ffc2873c:	55 4a 70 3e 	rotlwi  r10,r10,14                             
ffc28740:	7c 0a 00 50 	subf    r0,r10,r0                              
ffc28744:	7c 09 5a 78 	xor     r9,r0,r11                              
ffc28748:	54 00 c0 3e 	rotlwi  r0,r0,24                               
ffc2874c:	7d 20 48 50 	subf    r9,r0,r9                               
  return c;                                                           
}                                                                     
ffc28750:	7d 23 4b 78 	mr      r3,r9                                  
ffc28754:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc28758:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc2875c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc28760:	38 21 00 18 	addi    r1,r1,24                               
ffc28764:	4e 80 00 20 	blr                                            
                                                                      

ffc22218 <rtems_rfs_dir_lookup_ino>: rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) {
ffc22218:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc2221c:	7d 80 00 26 	mfcr    r12                                    
ffc22220:	7c 08 02 a6 	mflr    r0                                     
ffc22224:	92 e1 00 8c 	stw     r23,140(r1)                            
ffc22228:	7c 97 23 78 	mr      r23,r4                                 
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc2222c:	3c 80 04 00 	lis     r4,1024                                
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc22230:	93 a1 00 a4 	stw     r29,164(r1)                            
ffc22234:	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))               
ffc22238:	38 60 00 00 	li      r3,0                                   
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc2223c:	92 81 00 80 	stw     r20,128(r1)                            
ffc22240:	7d 14 43 78 	mr      r20,r8                                 
ffc22244:	93 01 00 90 	stw     r24,144(r1)                            
ffc22248:	7c b8 2b 78 	mr      r24,r5                                 
ffc2224c:	93 21 00 94 	stw     r25,148(r1)                            
ffc22250:	7c d9 33 78 	mr      r25,r6                                 
ffc22254:	93 81 00 a0 	stw     r28,160(r1)                            
ffc22258:	7c fc 3b 78 	mr      r28,r7                                 
ffc2225c:	90 01 00 b4 	stw     r0,180(r1)                             
ffc22260:	92 01 00 70 	stw     r16,112(r1)                            
ffc22264:	92 21 00 74 	stw     r17,116(r1)                            
ffc22268:	92 41 00 78 	stw     r18,120(r1)                            
ffc2226c:	92 61 00 7c 	stw     r19,124(r1)                            
ffc22270:	92 a1 00 84 	stw     r21,132(r1)                            
ffc22274:	92 c1 00 88 	stw     r22,136(r1)                            
ffc22278:	93 41 00 98 	stw     r26,152(r1)                            
ffc2227c:	93 61 00 9c 	stw     r27,156(r1)                            
ffc22280:	93 c1 00 a8 	stw     r30,168(r1)                            
ffc22284:	93 e1 00 ac 	stw     r31,172(r1)                            
ffc22288:	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))               
ffc2228c:	4b ff 53 41 	bl      ffc175cc <rtems_rfs_trace>             
ffc22290:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22294:	40 9e 00 98 	bne-    cr7,ffc2232c <rtems_rfs_dir_lookup_ino+0x114><== NEVER TAKEN
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc22298:	3b e0 00 00 	li      r31,0                                  
ffc2229c:	93 fc 00 00 	stw     r31,0(r28)                             
  *offset = 0;                                                        
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc222a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc222a4:	7e e4 bb 78 	mr      r4,r23                                 
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
  *offset = 0;                                                        
ffc222a8:	93 f4 00 00 	stw     r31,0(r20)                             
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc222ac:	38 a1 00 18 	addi    r5,r1,24                               
ffc222b0:	4b ff e4 0d 	bl      ffc206bc <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc222b4:	7c 76 1b 79 	mr.     r22,r3                                 
ffc222b8:	40 81 00 e0 	ble-    ffc22398 <rtems_rfs_dir_lookup_ino+0x180><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
ffc222bc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc222c0:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc222c4:	4b ff 53 09 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc222c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc222cc:	40 9e 01 5c 	bne-    cr7,ffc22428 <rtems_rfs_dir_lookup_ino+0x210><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc222d0:	80 01 00 b4 	lwz     r0,180(r1)                             
ffc222d4:	7e c3 b3 78 	mr      r3,r22                                 
ffc222d8:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc222dc:	7c 08 03 a6 	mtlr    r0                                     
ffc222e0:	82 01 00 70 	lwz     r16,112(r1)                            
ffc222e4:	82 21 00 74 	lwz     r17,116(r1)                            
ffc222e8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc222ec:	82 41 00 78 	lwz     r18,120(r1)                            
ffc222f0:	82 61 00 7c 	lwz     r19,124(r1)                            
ffc222f4:	82 81 00 80 	lwz     r20,128(r1)                            
ffc222f8:	82 a1 00 84 	lwz     r21,132(r1)                            
ffc222fc:	82 c1 00 88 	lwz     r22,136(r1)                            
ffc22300:	82 e1 00 8c 	lwz     r23,140(r1)                            
ffc22304:	83 01 00 90 	lwz     r24,144(r1)                            
ffc22308:	83 21 00 94 	lwz     r25,148(r1)                            
ffc2230c:	83 41 00 98 	lwz     r26,152(r1)                            
ffc22310:	83 61 00 9c 	lwz     r27,156(r1)                            
ffc22314:	83 81 00 a0 	lwz     r28,160(r1)                            
ffc22318:	83 a1 00 a4 	lwz     r29,164(r1)                            
ffc2231c:	83 c1 00 a8 	lwz     r30,168(r1)                            
ffc22320:	83 e1 00 ac 	lwz     r31,172(r1)                            
ffc22324:	38 21 00 b0 	addi    r1,r1,176                              
ffc22328:	4e 80 00 20 	blr                                            
  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=",
ffc2232c:	80 97 00 08 	lwz     r4,8(r23)                              <== NOT EXECUTED
ffc22330:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22334:	38 63 b0 c4 	addi    r3,r3,-20284                           <== NOT EXECUTED
ffc22338:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2233c:	48 00 75 65 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
ffc22340:	2f 99 00 00 	cmpwi   cr7,r25,0                              <== NOT EXECUTED
ffc22344:	40 9d 00 1c 	ble-    cr7,ffc22360 <rtems_rfs_dir_lookup_ino+0x148><== NOT EXECUTED
ffc22348:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc2234c:	7c 78 f8 ae 	lbzx    r3,r24,r31                             <== 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++)                                      
ffc22350:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc22354:	48 00 76 09 	bl      ffc2995c <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++)                                      
ffc22358:	7f 9f c8 00 	cmpw    cr7,r31,r25                            <== NOT EXECUTED
ffc2235c:	40 9e ff f0 	bne+    cr7,ffc2234c <rtems_rfs_dir_lookup_ino+0x134><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
ffc22360:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22364:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc22368:	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);                                    
ffc2236c:	38 63 b0 fc 	addi    r3,r3,-20228                           <== NOT EXECUTED
ffc22370:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22374:	48 00 75 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc22378:	93 fc 00 00 	stw     r31,0(r28)                             <== NOT EXECUTED
  *offset = 0;                                                        
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc2237c:	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;                                                        
ffc22380:	93 f4 00 00 	stw     r31,0(r20)                             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc22384:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc22388:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc2238c:	4b ff e3 31 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc22390:	7c 76 1b 79 	mr.     r22,r3                                 <== NOT EXECUTED
ffc22394:	41 81 ff 28 	bgt+    ffc222bc <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);                         
ffc22398:	7f 24 cb 78 	mr      r4,r25                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc2239c:	9b e1 00 0c 	stb     r31,12(r1)                             
ffc223a0:	7f 03 c3 78 	mr      r3,r24                                 
  handle->bnum  = 0;                                                  
ffc223a4:	93 e1 00 10 	stw     r31,16(r1)                             
  handle->buffer = NULL;                                              
ffc223a8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc223ac:	48 00 61 89 	bl      ffc28534 <rtems_rfs_dir_hash>          
ffc223b0:	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);              
ffc223b4:	38 81 00 18 	addi    r4,r1,24                               
ffc223b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc223bc:	38 a0 00 00 	li      r5,0                                   
ffc223c0:	38 c0 00 00 	li      r6,0                                   
ffc223c4:	38 e1 00 08 	addi    r7,r1,8                                
ffc223c8:	4b ff e8 b9 	bl      ffc20c80 <rtems_rfs_block_map_seek>    
    if (rc > 0)                                                       
ffc223cc:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc223d0:	7c 76 1b 78 	mr      r22,r3                                 
ffc223d4:	40 91 00 80 	ble-    cr4,ffc22454 <rtems_rfs_dir_lookup_ino+0x23c>
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc223d8:	38 60 00 00 	li      r3,0                                   
ffc223dc:	3c 80 04 00 	lis     r4,1024                                
ffc223e0:	4b ff 51 ed 	bl      ffc175cc <rtems_rfs_trace>             
ffc223e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc223e8:	40 9e 03 14 	bne-    cr7,ffc226fc <rtems_rfs_dir_lookup_ino+0x4e4><== NEVER TAKEN
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
ffc223ec:	2f 96 00 06 	cmpwi   cr7,r22,6                              
ffc223f0:	40 be 00 08 	bne+    cr7,ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0><== NEVER TAKEN
        rc = ENOENT;                                                  
ffc223f4:	3a c0 00 02 	li      r22,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);                       
ffc223f8:	38 81 00 0c 	addi    r4,r1,12                               
ffc223fc:	7f a3 eb 78 	mr      r3,r29                                 
ffc22400:	4b ff f3 a5 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22404:	38 00 00 00 	li      r0,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;                                              
ffc22408:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc2240c:	90 01 00 10 	stw     r0,16(r1)                              
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
ffc22410:	7f a3 eb 78 	mr      r3,r29                                 
ffc22414:	38 81 00 18 	addi    r4,r1,24                               
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;                                              
ffc22418:	99 21 00 0c 	stb     r9,12(r1)                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc2241c:	90 01 00 14 	stw     r0,20(r1)                              
ffc22420:	4b ff e4 a5 	bl      ffc208c4 <rtems_rfs_block_map_close>   
  return rc;                                                          
ffc22424:	4b ff fe ac 	b       ffc222d0 <rtems_rfs_dir_lookup_ino+0xb8>
                                                                      
  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",
ffc22428:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc2242c:	83 f7 00 08 	lwz     r31,8(r23)                             <== NOT EXECUTED
ffc22430:	48 00 81 dd 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22434:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc22438:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc2243c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22440:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc22444:	38 63 b1 08 	addi    r3,r3,-20216                           <== NOT EXECUTED
ffc22448:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2244c:	48 00 74 55 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22450:	4b ff fe 80 	b       ffc222d0 <rtems_rfs_dir_lookup_ino+0xb8><== 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",
ffc22454:	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)                     
ffc22458:	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: "                     
ffc2245c:	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: "                     
ffc22460:	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",
ffc22464:	3a 31 b1 84 	addi    r17,r17,-20092                         
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
ffc22468:	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)                     
ffc2246c:	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: "                     
ffc22470:	3a 52 b2 4c 	addi    r18,r18,-19892                         
      {                                                               
        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: "                     
ffc22474:	3a 10 b2 f4 	addi    r16,r16,-19724                         
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc22478:	40 92 02 7c 	bne-    cr4,ffc226f4 <rtems_rfs_dir_lookup_ino+0x4dc><== NEVER TAKEN
ffc2247c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc22480:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc22484:	41 9e 03 28 	beq-    cr7,ffc227ac <rtems_rfs_dir_lookup_ino+0x594><== NEVER TAKEN
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc22488:	38 60 00 00 	li      r3,0                                   
ffc2248c:	3c 80 04 00 	lis     r4,1024                                
ffc22490:	4b ff 51 3d 	bl      ffc175cc <rtems_rfs_trace>             
ffc22494:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22498:	40 9e 02 40 	bne-    cr7,ffc226d8 <rtems_rfs_dir_lookup_ino+0x4c0><== 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);
ffc2249c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc224a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc224a4:	38 81 00 0c 	addi    r4,r1,12                               
ffc224a8:	38 c0 00 01 	li      r6,1                                   
ffc224ac:	4b ff f5 0d 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
      if (rc > 0)                                                     
ffc224b0:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc224b4:	7c 75 1b 78 	mr      r21,r3                                 
ffc224b8:	41 91 02 ac 	bgt-    cr4,ffc22764 <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))
ffc224bc:	81 1d 00 08 	lwz     r8,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);                       
ffc224c0:	81 21 00 14 	lwz     r9,20(r1)                              
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc224c4:	2f 88 00 0a 	cmpwi   cr7,r8,10                              
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
ffc224c8:	92 61 00 2c 	stw     r19,44(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);                       
ffc224cc:	83 e9 00 24 	lwz     r31,36(r9)                             
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc224d0:	40 be 00 24 	bne+    cr7,ffc224f4 <rtems_rfs_dir_lookup_ino+0x2dc><== ALWAYS TAKEN
ffc224d4:	48 00 01 08 	b       ffc225dc <rtems_rfs_dir_lookup_ino+0x3c4><== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc224d8:	80 01 00 2c 	lwz     r0,44(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))
ffc224dc:	39 28 ff f6 	addi    r9,r8,-10                              
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
ffc224e0:	7f ff f2 14 	add     r31,r31,r30                            
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc224e4:	7c 1e 02 14 	add     r0,r30,r0                              
                                                                      
      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))
ffc224e8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc224ec:	90 01 00 2c 	stw     r0,44(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))
ffc224f0:	40 9d 00 ec 	ble-    cr7,ffc225dc <rtems_rfs_dir_lookup_ino+0x3c4><== NEVER TAKEN
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc224f4:	8b df 00 08 	lbz     r30,8(r31)                             
ffc224f8:	89 3f 00 09 	lbz     r9,9(r31)                              
ffc224fc:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22500:	89 5f 00 00 	lbz     r10,0(r31)                             
ffc22504:	88 1f 00 01 	lbz     r0,1(r31)                              
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc22508:	7f de 4b 78 	or      r30,r30,r9                             
        *ino = rtems_rfs_dir_entry_ino (entry);                       
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc2250c:	7f 9e d8 00 	cmpw    cr7,r30,r27                            
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22510:	89 7f 00 03 	lbz     r11,3(r31)                             
ffc22514:	89 3f 00 02 	lbz     r9,2(r31)                              
ffc22518:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc2251c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
      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);                    
ffc22520:	88 df 00 04 	lbz     r6,4(r31)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22524:	7d 40 03 78 	or      r0,r10,r0                              
      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);                    
ffc22528:	88 ff 00 05 	lbz     r7,5(r31)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc2252c:	7c 00 5b 78 	or      r0,r0,r11                              
      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);                    
ffc22530:	89 5f 00 07 	lbz     r10,7(r31)                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22534:	55 29 40 2e 	rlwinm  r9,r9,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);                    
ffc22538:	89 7f 00 06 	lbz     r11,6(r31)                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc2253c:	7c 00 4b 78 	or      r0,r0,r9                               
ffc22540:	90 1c 00 00 	stw     r0,0(r28)                              
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc22544:	41 9e 00 98 	beq-    cr7,ffc225dc <rtems_rfs_dir_lookup_ino+0x3c4>
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
ffc22548:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc2254c:	40 9d 00 9c 	ble-    cr7,ffc225e8 <rtems_rfs_dir_lookup_ino+0x3d0>
ffc22550:	81 3d 00 18 	lwz     r9,24(r29)                             
ffc22554:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc22558:	40 9c 00 90 	bge-    cr7,ffc225e8 <rtems_rfs_dir_lookup_ino+0x3d0><== NEVER TAKEN
ffc2255c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc22560:	41 9e 00 88 	beq-    cr7,ffc225e8 <rtems_rfs_dir_lookup_ino+0x3d0><== NEVER TAKEN
ffc22564:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc22568:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc2256c:	41 9d 00 7c 	bgt-    cr7,ffc225e8 <rtems_rfs_dir_lookup_ino+0x3d0><== NEVER TAKEN
      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);                    
ffc22570:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc22574:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc22578:	7c c7 3b 78 	or      r7,r6,r7                               
ffc2257c:	7c ea 53 78 	or      r10,r7,r10                             
ffc22580:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc22584:	7d 4b 5b 78 	or      r11,r10,r11                            
                    rtems_rfs_inode_ino (inode), elength, *ino, map.bpos.boff);
          rc = EIO;                                                   
          break;                                                      
        }                                                             
                                                                      
        if (ehash == hash)                                            
ffc22588:	7f 8b d0 00 	cmpw    cr7,r11,r26                            
ffc2258c:	40 9e ff 4c 	bne+    cr7,ffc224d8 <rtems_rfs_dir_lookup_ino+0x2c0>
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
ffc22590:	38 60 00 00 	li      r3,0                                   
ffc22594:	3c 80 08 00 	lis     r4,2048                                
ffc22598:	4b ff 50 35 	bl      ffc175cc <rtems_rfs_trace>             
ffc2259c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc225a0:	40 9e 00 f0 	bne-    cr7,ffc22690 <rtems_rfs_dir_lookup_ino+0x478><== 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)
ffc225a4:	38 7f 00 0a 	addi    r3,r31,10                              
ffc225a8:	7f 04 c3 78 	mr      r4,r24                                 
ffc225ac:	7f 25 cb 78 	mr      r5,r25                                 
ffc225b0:	48 00 6e a5 	bl      ffc29454 <memcmp>                      
ffc225b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc225b8:	41 9e 01 68 	beq-    cr7,ffc22720 <rtems_rfs_dir_lookup_ino+0x508><== ALWAYS TAKEN
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc225bc:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
        entry += elength;                                             
ffc225c0:	7f ff f2 14 	add     r31,r31,r30                            <== NOT EXECUTED
ffc225c4:	81 1d 00 08 	lwz     r8,8(r29)                              <== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc225c8:	7c 1e 02 14 	add     r0,r30,r0                              <== 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))
ffc225cc:	39 28 ff f6 	addi    r9,r8,-10                              <== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc225d0:	90 01 00 2c 	stw     r0,44(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))
ffc225d4:	7f 89 00 40 	cmplw   cr7,r9,r0                              <== NOT EXECUTED
ffc225d8:	41 9d ff 1c 	bgt+    cr7,ffc224f4 <rtems_rfs_dir_lookup_ino+0x2dc><== NOT EXECUTED
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
ffc225dc:	41 92 00 54 	beq-    cr4,ffc22630 <rtems_rfs_dir_lookup_ino+0x418><== ALWAYS TAKEN
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc225e0:	7e b6 ab 78 	mr      r22,r21                                
ffc225e4:	4b ff fe 14 	b       ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0>
        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))       
ffc225e8:	38 60 00 00 	li      r3,0                                   
ffc225ec:	3c 80 04 00 	lis     r4,1024                                
ffc225f0:	4b ff 4f dd 	bl      ffc175cc <rtems_rfs_trace>             
ffc225f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc225f8:	40 9e 00 10 	bne-    cr7,ffc22608 <rtems_rfs_dir_lookup_ino+0x3f0><== NEVER TAKEN
            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;                                                
ffc225fc:	3a a0 00 05 	li      r21,5                                  
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc22600:	7e b6 ab 78 	mr      r22,r21                                
ffc22604:	4b ff fd f4 	b       ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0>
          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: "                     
ffc22608:	80 97 00 08 	lwz     r4,8(r23)                              <== NOT EXECUTED
ffc2260c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22610:	80 dc 00 00 	lwz     r6,0(r28)                              <== NOT EXECUTED
ffc22614:	38 63 b2 00 	addi    r3,r3,-19968                           <== NOT EXECUTED
ffc22618:	80 e1 00 2c 	lwz     r7,44(r1)                              <== NOT EXECUTED
ffc2261c:	7f c5 f3 78 	mr      r5,r30                                 <== 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;                                                
ffc22620:	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: "                     
ffc22624:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22628:	48 00 72 79 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2262c:	4b ff ff d4 	b       ffc22600 <rtems_rfs_dir_lookup_ino+0x3e8><== NOT EXECUTED
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
ffc22630:	7f a3 eb 78 	mr      r3,r29                                 
ffc22634:	38 81 00 18 	addi    r4,r1,24                               
ffc22638:	38 a1 00 08 	addi    r5,r1,8                                
ffc2263c:	4b ff e7 09 	bl      ffc20d44 <rtems_rfs_block_map_next_block>
        if ((rc > 0) && (rc != ENXIO))                                
ffc22640:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc22644:	7c 76 1b 78 	mr      r22,r3                                 
ffc22648:	40 b1 fe 30 	ble-    cr4,ffc22478 <rtems_rfs_dir_lookup_ino+0x260><== NEVER TAKEN
ffc2264c:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc22650:	41 9e 00 a0 	beq-    cr7,ffc226f0 <rtems_rfs_dir_lookup_ino+0x4d8><== ALWAYS TAKEN
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
ffc22654:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22658:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc2265c:	4b ff 4f 71 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22660:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22664:	41 9e fe 14 	beq+    cr7,ffc22478 <rtems_rfs_dir_lookup_ino+0x260><== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc22668:	83 f7 00 08 	lwz     r31,8(r23)                             <== NOT EXECUTED
ffc2266c:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc22670:	48 00 7f 9d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22674:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc22678:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc2267c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc22680:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc22684:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22688:	48 00 72 19 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2268c:	4b ff fd ec 	b       ffc22478 <rtems_rfs_dir_lookup_ino+0x260><== 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));        
ffc22690:	89 1f 00 00 	lbz     r8,0(r31)                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc22694:	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));        
ffc22698:	89 7f 00 01 	lbz     r11,1(r31)                             <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc2269c:	7f c7 f3 78 	mr      r7,r30                                 <== 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));        
ffc226a0:	89 3f 00 03 	lbz     r9,3(r31)                              <== NOT EXECUTED
ffc226a4:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           <== NOT EXECUTED
ffc226a8:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc226ac:	88 1f 00 02 	lbz     r0,2(r31)                              <== NOT EXECUTED
ffc226b0:	7d 08 5b 78 	or      r8,r8,r11                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc226b4:	80 97 00 08 	lwz     r4,8(r23)                              <== 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));        
ffc226b8:	7d 08 4b 78 	or      r8,r8,r9                               <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc226bc:	80 a1 00 28 	lwz     r5,40(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));        
ffc226c0:	54 00 40 2e 	rlwinm  r0,r0,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: "                     
ffc226c4:	80 c1 00 2c 	lwz     r6,44(r1)                              <== NOT EXECUTED
ffc226c8:	7d 08 03 78 	or      r8,r8,r0                               <== NOT EXECUTED
ffc226cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc226d0:	48 00 71 d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc226d4:	4b ff fe d0 	b       ffc225a4 <rtems_rfs_dir_lookup_ino+0x38c><== 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",
ffc226d8:	80 97 00 08 	lwz     r4,8(r23)                              <== NOT EXECUTED
ffc226dc:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc226e0:	80 a1 00 28 	lwz     r5,40(r1)                              <== NOT EXECUTED
ffc226e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc226e8:	48 00 71 b9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc226ec:	4b ff fd b0 	b       ffc2249c <rtems_rfs_dir_lookup_ino+0x284><== 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;                                                
ffc226f0:	3a c0 00 02 	li      r22,2                                  
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc226f4:	7e d5 b3 78 	mr      r21,r22                                
ffc226f8:	4b ff fe e8 	b       ffc225e0 <rtems_rfs_dir_lookup_ino+0x3c8>
     */                                                               
    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",
ffc226fc:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc22700:	48 00 7f 0d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22704:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc22708:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2270c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22710:	38 63 b1 48 	addi    r3,r3,-20152                           <== NOT EXECUTED
ffc22714:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22718:	48 00 71 89 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2271c:	4b ff fc d0 	b       ffc223ec <rtems_rfs_dir_lookup_ino+0x1d4><== 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);             
ffc22720:	7f a3 eb 78 	mr      r3,r29                                 
ffc22724:	38 81 00 28 	addi    r4,r1,40                               
ffc22728:	4b ff de 71 	bl      ffc20598 <rtems_rfs_block_get_pos>     
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc2272c:	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);             
ffc22730:	90 94 00 00 	stw     r4,0(r20)                              
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc22734:	3c 80 10 00 	lis     r4,4096                                
ffc22738:	4b ff 4e 95 	bl      ffc175cc <rtems_rfs_trace>             
ffc2273c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22740:	41 9e fc b8 	beq+    cr7,ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0><== ALWAYS TAKEN
              printf ("rtems-rfs: dir-lookup-ino: "                   
ffc22744:	80 97 00 08 	lwz     r4,8(r23)                              <== NOT EXECUTED
ffc22748:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2274c:	80 bc 00 00 	lwz     r5,0(r28)                              <== NOT EXECUTED
ffc22750:	38 63 b2 ac 	addi    r3,r3,-19796                           <== NOT EXECUTED
ffc22754:	80 d4 00 00 	lwz     r6,0(r20)                              <== NOT EXECUTED
ffc22758:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2275c:	48 00 71 45 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc22760:	4b ff fc 98 	b       ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0><== 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))         
ffc22764:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22768:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc2276c:	4b ff 4e 61 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc22770:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22774:	41 9e fe 6c 	beq+    cr7,ffc225e0 <rtems_rfs_dir_lookup_ino+0x3c8><== NOT EXECUTED
          printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n",
ffc22778:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc2277c:	83 d7 00 08 	lwz     r30,8(r23)                             <== NOT EXECUTED
ffc22780:	83 e1 00 08 	lwz     r31,8(r1)                              <== NOT EXECUTED
ffc22784:	48 00 7e 89 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc22788:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc2278c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22790:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22794:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc22798:	7e a6 ab 78 	mr      r6,r21                                 <== NOT EXECUTED
ffc2279c:	38 63 b1 bc 	addi    r3,r3,-20036                           <== NOT EXECUTED
ffc227a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc227a4:	48 00 70 fd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc227a8:	4b ff fe 38 	b       ffc225e0 <rtems_rfs_dir_lookup_ino+0x3c8><== NOT EXECUTED
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc227ac:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc227b0:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc227b4:	4b ff 4e 19 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc227b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc227bc:	40 9e 00 0c 	bne-    cr7,ffc227c8 <rtems_rfs_dir_lookup_ino+0x5b0><== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
ffc227c0:	3a c0 00 05 	li      r22,5                                  <== NOT EXECUTED
ffc227c4:	4b ff fc 34 	b       ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0><== 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",
ffc227c8:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc227cc:	83 f7 00 08 	lwz     r31,8(r23)                             <== NOT EXECUTED
ffc227d0:	48 00 7e 3d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc227d4:	38 a0 00 05 	li      r5,5                                   <== NOT EXECUTED
ffc227d8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc227dc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc227e0:	38 63 b3 40 	addi    r3,r3,-19648                           <== NOT EXECUTED
ffc227e4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc227e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc227ec:	48 00 70 b5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
ffc227f0:	3a c0 00 05 	li      r22,5                                  <== NOT EXECUTED
ffc227f4:	4b ff fc 04 	b       ffc223f8 <rtems_rfs_dir_lookup_ino+0x1e0><== NOT EXECUTED
                                                                      

ffc231a4 <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) {
ffc231a4:	94 21 ff 60 	stwu    r1,-160(r1)                            <== NOT EXECUTED
ffc231a8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc231ac:	93 61 00 8c 	stw     r27,140(r1)                            <== NOT EXECUTED
ffc231b0:	7c 9b 23 78 	mr      r27,r4                                 <== NOT EXECUTED
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc231b4:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
rtems_rfs_dir_read (rtems_rfs_file_system*  fs,                       
                    rtems_rfs_inode_handle* dir,                      
                    rtems_rfs_pos_rel       offset,                   
                    struct dirent*          dirent,                   
                    size_t*                 length)                   
{                                                                     
ffc231b8:	93 81 00 90 	stw     r28,144(r1)                            <== NOT EXECUTED
ffc231bc:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc231c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
rtems_rfs_dir_read (rtems_rfs_file_system*  fs,                       
                    rtems_rfs_inode_handle* dir,                      
                    rtems_rfs_pos_rel       offset,                   
                    struct dirent*          dirent,                   
                    size_t*                 length)                   
{                                                                     
ffc231c4:	92 e1 00 7c 	stw     r23,124(r1)                            <== NOT EXECUTED
ffc231c8:	7d 17 43 78 	mr      r23,r8                                 <== NOT EXECUTED
ffc231cc:	93 41 00 88 	stw     r26,136(r1)                            <== NOT EXECUTED
ffc231d0:	7c fa 3b 78 	mr      r26,r7                                 <== NOT EXECUTED
ffc231d4:	93 c1 00 98 	stw     r30,152(r1)                            <== NOT EXECUTED
ffc231d8:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc231dc:	93 e1 00 9c 	stw     r31,156(r1)                            <== NOT EXECUTED
ffc231e0:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
ffc231e4:	90 01 00 a4 	stw     r0,164(r1)                             <== NOT EXECUTED
ffc231e8:	92 61 00 6c 	stw     r19,108(r1)                            <== NOT EXECUTED
ffc231ec:	92 81 00 70 	stw     r20,112(r1)                            <== NOT EXECUTED
ffc231f0:	92 a1 00 74 	stw     r21,116(r1)                            <== NOT EXECUTED
ffc231f4:	92 c1 00 78 	stw     r22,120(r1)                            <== NOT EXECUTED
ffc231f8:	93 01 00 80 	stw     r24,128(r1)                            <== NOT EXECUTED
ffc231fc:	93 21 00 84 	stw     r25,132(r1)                            <== NOT EXECUTED
ffc23200:	93 a1 00 94 	stw     r29,148(r1)                            <== NOT EXECUTED
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc23204:	4b ff 43 c9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23208:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2320c:	40 9e 00 d0 	bne-    cr7,ffc232dc <rtems_rfs_dir_read+0x138><== NOT EXECUTED
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
ffc23210:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc23214:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc23218:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2321c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23220:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc23224:	4b ff d4 99 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc23228:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc2322c:	40 81 00 4c 	ble-    ffc23278 <rtems_rfs_dir_read+0xd4>     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc23230:	80 01 00 a4 	lwz     r0,164(r1)                             <== NOT EXECUTED
ffc23234:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc23238:	82 61 00 6c 	lwz     r19,108(r1)                            <== NOT EXECUTED
ffc2323c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc23240:	82 81 00 70 	lwz     r20,112(r1)                            <== NOT EXECUTED
ffc23244:	82 a1 00 74 	lwz     r21,116(r1)                            <== NOT EXECUTED
ffc23248:	82 c1 00 78 	lwz     r22,120(r1)                            <== NOT EXECUTED
ffc2324c:	82 e1 00 7c 	lwz     r23,124(r1)                            <== NOT EXECUTED
ffc23250:	83 01 00 80 	lwz     r24,128(r1)                            <== NOT EXECUTED
ffc23254:	83 21 00 84 	lwz     r25,132(r1)                            <== NOT EXECUTED
ffc23258:	83 41 00 88 	lwz     r26,136(r1)                            <== NOT EXECUTED
ffc2325c:	83 61 00 8c 	lwz     r27,140(r1)                            <== NOT EXECUTED
ffc23260:	83 81 00 90 	lwz     r28,144(r1)                            <== NOT EXECUTED
ffc23264:	83 a1 00 94 	lwz     r29,148(r1)                            <== NOT EXECUTED
ffc23268:	83 c1 00 98 	lwz     r30,152(r1)                            <== NOT EXECUTED
ffc2326c:	83 e1 00 9c 	lwz     r31,156(r1)                            <== NOT EXECUTED
ffc23270:	38 21 00 a0 	addi    r1,r1,160                              <== NOT EXECUTED
ffc23274:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23278:	83 3c 00 08 	lwz     r25,8(r28)                             <== NOT EXECUTED
ffc2327c:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
ffc23280:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23284:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc23288:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc2328c:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc23290:	48 01 37 41 	bl      ffc369d0 <__moddi3>                    <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
ffc23294:	7d 64 c8 10 	subfc   r11,r4,r25                             <== NOT EXECUTED
ffc23298:	7d 43 c1 10 	subfe   r10,r3,r24                             <== NOT EXECUTED
ffc2329c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc232a0:	40 9d 00 5c 	ble-    cr7,ffc232fc <rtems_rfs_dir_read+0x158><== NOT EXECUTED
        (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);           
ffc232a4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc232a8:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc232ac:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc232b0:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc232b4:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc232b8:	4b ff d9 c9 	bl      ffc20c80 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc232bc:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc232c0:	40 81 00 94 	ble-    ffc23354 <rtems_rfs_dir_read+0x1b0>    <== NOT EXECUTED
  {                                                                   
    if (rc == ENXIO)                                                  
ffc232c4:	2f 9d 00 06 	cmpwi   cr7,r29,6                              <== NOT EXECUTED
ffc232c8:	41 9e 00 78 	beq-    cr7,ffc23340 <rtems_rfs_dir_read+0x19c><== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
ffc232cc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc232d0:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc232d4:	4b ff d5 f1 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
    return rc;                                                        
ffc232d8:	4b ff ff 58 	b       ffc23230 <rtems_rfs_dir_read+0x8c>     <== 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",
ffc232dc:	80 9b 00 08 	lwz     r4,8(r27)                              <== NOT EXECUTED
ffc232e0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc232e4:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc232e8:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc232ec:	38 63 b6 4c 	addi    r3,r3,-18868                           <== NOT EXECUTED
ffc232f0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc232f4:	48 00 65 ad 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc232f8:	4b ff ff 18 	b       ffc23210 <rtems_rfs_dir_read+0x6c>     <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
ffc232fc:	40 9e 00 0c 	bne-    cr7,ffc23308 <rtems_rfs_dir_read+0x164><== NOT EXECUTED
ffc23300:	2b 8b 00 0a 	cmplwi  cr7,r11,10                             <== NOT EXECUTED
ffc23304:	41 bd ff a0 	bgt-    cr7,ffc232a4 <rtems_rfs_dir_read+0x100><== NOT EXECUTED
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
ffc23308:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2330c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc23310:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc23314:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc23318:	48 01 32 79 	bl      ffc36590 <__divdi3>                    <== NOT EXECUTED
ffc2331c:	31 64 00 01 	addic   r11,r4,1                               <== NOT EXECUTED
ffc23320:	7d 43 01 94 	addze   r10,r3                                 <== NOT EXECUTED
ffc23324:	7d 38 59 d6 	mullw   r9,r24,r11                             <== NOT EXECUTED
ffc23328:	7c 0a c9 d6 	mullw   r0,r10,r25                             <== NOT EXECUTED
ffc2332c:	7f d9 58 16 	mulhwu  r30,r25,r11                            <== NOT EXECUTED
ffc23330:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
ffc23334:	7f f9 59 d6 	mullw   r31,r25,r11                            <== NOT EXECUTED
ffc23338:	7f c0 f2 14 	add     r30,r0,r30                             <== NOT EXECUTED
ffc2333c:	4b ff ff 68 	b       ffc232a4 <rtems_rfs_dir_read+0x100>    <== 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);                             
ffc23340:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23344:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
  if (rc > 0)                                                         
  {                                                                   
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
ffc23348:	3b a0 00 02 	li      r29,2                                  <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
ffc2334c:	4b ff d5 79 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc23350:	4b ff fe e0 	b       ffc23230 <rtems_rfs_dir_read+0x8c>     <== 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;                                                  
ffc23354:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc23358:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc2335c:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc23360:	3b 00 00 00 	li      r24,0                                  <== 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",
ffc23364:	3f 20 ff c4 	lis     r25,-60                                <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc23368:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc2336c:	63 18 ff ff 	ori     r24,r24,65535                          <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23370:	90 01 00 14 	stw     r0,20(r1)                              <== 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",
ffc23374:	3b 39 b6 f4 	addi    r25,r25,-18700                         <== NOT EXECUTED
    uint8_t*      entry;                                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc23378:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc2337c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc23380:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc23384:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23388:	4b ff e6 31 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc2338c:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
ffc23390:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc23394:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
ffc23398:	41 81 00 d8 	bgt-    ffc23470 <rtems_rfs_dir_read+0x2cc>    <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc2339c:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
ffc233a0:	82 61 00 2c 	lwz     r19,44(r1)                             <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc233a4:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
ffc233a8:	7e 89 9a 14 	add     r20,r9,r19                             <== NOT EXECUTED
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc233ac:	7e a9 98 ae 	lbzx    r21,r9,r19                             <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc233b0:	8a d4 00 08 	lbz     r22,8(r20)                             <== NOT EXECUTED
ffc233b4:	88 14 00 09 	lbz     r0,9(r20)                              <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc233b8:	56 b5 c0 0e 	rlwinm  r21,r21,24,0,7                         <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc233bc:	56 d6 40 2e 	rlwinm  r22,r22,8,0,23                         <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc233c0:	89 74 00 01 	lbz     r11,1(r20)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc233c4:	7e d6 03 78 	or      r22,r22,r0                             <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc233c8:	89 34 00 03 	lbz     r9,3(r20)                              <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc233cc:	7f 96 c0 00 	cmpw    cr7,r22,r24                            <== NOT EXECUTED
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc233d0:	88 14 00 02 	lbz     r0,2(r20)                              <== NOT EXECUTED
ffc233d4:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc233d8:	7e b5 5b 78 	or      r21,r21,r11                            <== NOT EXECUTED
ffc233dc:	7e b5 4b 78 	or      r21,r21,r9                             <== NOT EXECUTED
ffc233e0:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc233e4:	7e b5 03 78 	or      r21,r21,r0                             <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc233e8:	40 9e 00 b8 	bne-    cr7,ffc234a0 <rtems_rfs_dir_read+0x2fc><== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
                dirent->d_off, dirent->d_ino, dirent->d_name);        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
ffc233ec:	81 3c 00 08 	lwz     r9,8(r28)                              <== NOT EXECUTED
ffc233f0:	80 17 00 00 	lwz     r0,0(r23)                              <== NOT EXECUTED
ffc233f4:	7e 73 48 50 	subf    r19,r19,r9                             <== NOT EXECUTED
ffc233f8:	7e 60 9a 14 	add     r19,r0,r19                             <== NOT EXECUTED
ffc233fc:	92 77 00 00 	stw     r19,0(r23)                             <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc23400:	4b ff 41 cd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23404:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23408:	40 9e 00 2c 	bne-    cr7,ffc23434 <rtems_rfs_dir_read+0x290><== NOT EXECUTED
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc2340c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23410:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc23414:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc23418:	4b ff d9 2d 	bl      ffc20d44 <rtems_rfs_block_map_next_block><== NOT EXECUTED
    if (rc == ENXIO)                                                  
ffc2341c:	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);           
ffc23420:	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)                                                     
ffc23424:	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)                                                  
ffc23428:	41 9e 00 44 	beq-    cr7,ffc2346c <rtems_rfs_dir_read+0x2c8><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
ffc2342c:	41 9a ff 4c 	beq+    cr6,ffc23378 <rtems_rfs_dir_read+0x1d4><== NOT EXECUTED
ffc23430:	48 00 00 40 	b       ffc23470 <rtems_rfs_dir_read+0x2cc>    <== 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",
ffc23434:	80 f7 00 00 	lwz     r7,0(r23)                              <== NOT EXECUTED
ffc23438:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc2343c:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc23440:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc23444:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23448:	48 00 64 59 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc2344c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23450:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc23454:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc23458:	4b ff d8 ed 	bl      ffc20d44 <rtems_rfs_block_map_next_block><== NOT EXECUTED
    if (rc == ENXIO)                                                  
ffc2345c:	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);           
ffc23460:	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)                                                     
ffc23464:	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)                                                  
ffc23468:	40 9e ff c4 	bne+    cr7,ffc2342c <rtems_rfs_dir_read+0x288><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc2346c:	3b a0 00 02 	li      r29,2                                  <== 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);                       
ffc23470:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc23474:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23478:	4b ff e3 2d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc2347c:	38 00 00 00 	li      r0,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;                                              
ffc23480:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23484:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc23488:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2348c:	38 81 00 18 	addi    r4,r1,24                               <== 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;                                              
ffc23490:	99 21 00 0c 	stb     r9,12(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23494:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc23498:	4b ff d4 2d 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
ffc2349c:	4b ff fd 94 	b       ffc23230 <rtems_rfs_dir_read+0x8c>     <== NOT EXECUTED
    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))              
ffc234a0:	2f 96 00 0a 	cmpwi   cr7,r22,10                             <== NOT EXECUTED
ffc234a4:	40 9d 00 24 	ble-    cr7,ffc234c8 <rtems_rfs_dir_read+0x324><== NOT EXECUTED
ffc234a8:	80 1c 00 18 	lwz     r0,24(r28)                             <== NOT EXECUTED
ffc234ac:	7f 96 00 40 	cmplw   cr7,r22,r0                             <== NOT EXECUTED
ffc234b0:	40 9c 00 18 	bge-    cr7,ffc234c8 <rtems_rfs_dir_read+0x324><== NOT EXECUTED
ffc234b4:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
ffc234b8:	41 9e 00 10 	beq-    cr7,ffc234c8 <rtems_rfs_dir_read+0x324><== NOT EXECUTED
ffc234bc:	80 1c 00 10 	lwz     r0,16(r28)                             <== NOT EXECUTED
ffc234c0:	7f 80 a8 40 	cmplw   cr7,r0,r21                             <== NOT EXECUTED
ffc234c4:	40 9c 00 40 	bge-    cr7,ffc23504 <rtems_rfs_dir_read+0x360><== NOT EXECUTED
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
ffc234c8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc234cc:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
ffc234d0:	4b ff 40 fd 	bl      ffc175cc <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;                                                     
ffc234d4:	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))               
ffc234d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc234dc:	41 9e ff 94 	beq+    cr7,ffc23470 <rtems_rfs_dir_read+0x2cc><== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
ffc234e0:	80 9b 00 08 	lwz     r4,8(r27)                              <== NOT EXECUTED
ffc234e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc234e8:	80 e1 00 2c 	lwz     r7,44(r1)                              <== NOT EXECUTED
ffc234ec:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc234f0:	7e a6 ab 78 	mr      r6,r21                                 <== NOT EXECUTED
ffc234f4:	38 63 b6 78 	addi    r3,r3,-18824                           <== NOT EXECUTED
ffc234f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc234fc:	48 00 63 a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23500:	4b ff ff 70 	b       ffc23470 <rtems_rfs_dir_read+0x2cc>    <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
ffc23504:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc23508:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc2350c:	38 a0 01 18 	li      r5,280                                 <== NOT EXECUTED
ffc23510:	48 00 62 01 	bl      ffc29710 <memset>                      <== NOT EXECUTED
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc23514:	80 17 00 00 	lwz     r0,0(r23)                              <== NOT EXECUTED
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
ffc23518:	39 20 01 18 	li      r9,280                                 <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc2351c:	93 da 00 08 	stw     r30,8(r26)                             <== NOT EXECUTED
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc23520:	7c 16 02 14 	add     r0,r22,r0                              <== NOT EXECUTED
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
ffc23524:	b1 3a 00 10 	sth     r9,16(r26)                             <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc23528:	93 fa 00 0c 	stw     r31,12(r26)                            <== NOT EXECUTED
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc2352c:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
      remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength);
ffc23530:	81 3c 00 08 	lwz     r9,8(r28)                              <== NOT EXECUTED
ffc23534:	7d 33 48 50 	subf    r9,r19,r9                              <== NOT EXECUTED
ffc23538:	7d 36 48 50 	subf    r9,r22,r9                              <== NOT EXECUTED
                                                                      
      if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE)                      
ffc2353c:	2f 89 00 0a 	cmpwi   cr7,r9,10                              <== NOT EXECUTED
ffc23540:	41 9d 00 0c 	bgt-    cr7,ffc2354c <rtems_rfs_dir_read+0x3a8><== NOT EXECUTED
        *length += remaining;                                         
ffc23544:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
ffc23548:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
      elength -= RTEMS_RFS_DIR_ENTRY_SIZE;                            
ffc2354c:	3a d6 ff f6 	addi    r22,r22,-10                            <== NOT EXECUTED
ffc23550:	2f 96 00 ff 	cmpwi   cr7,r22,255                            <== NOT EXECUTED
ffc23554:	40 9d 00 08 	ble-    cr7,ffc2355c <rtems_rfs_dir_read+0x3b8><== NOT EXECUTED
ffc23558:	3a c0 00 ff 	li      r22,255                                <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
ffc2355c:	3b da 00 14 	addi    r30,r26,20                             <== NOT EXECUTED
ffc23560:	38 94 00 0a 	addi    r4,r20,10                              <== NOT EXECUTED
ffc23564:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc23568:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2356c:	48 00 5f 8d 	bl      ffc294f8 <memcpy>                      <== NOT EXECUTED
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc23570:	89 54 00 00 	lbz     r10,0(r20)                             <== NOT EXECUTED
ffc23574:	89 74 00 01 	lbz     r11,1(r20)                             <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc23578:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc2357c:	89 34 00 03 	lbz     r9,3(r20)                              <== NOT EXECUTED
ffc23580:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         <== NOT EXECUTED
ffc23584:	88 14 00 02 	lbz     r0,2(r20)                              <== NOT EXECUTED
ffc23588:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc2358c:	7d 4b 5b 78 	or      r11,r10,r11                            <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
ffc23590:	b2 da 00 12 	sth     r22,18(r26)                            <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc23594:	7d 69 4b 78 	or      r9,r11,r9                              <== NOT EXECUTED
ffc23598:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc2359c:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc235a0:	90 1a 00 00 	stw     r0,0(r26)                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc235a4:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
ffc235a8:	4b ff 40 25 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc235ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc235b0:	41 9e fe c0 	beq+    cr7,ffc23470 <rtems_rfs_dir_read+0x2cc><== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
ffc235b4:	80 ba 00 08 	lwz     r5,8(r26)                              <== NOT EXECUTED
ffc235b8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc235bc:	80 da 00 0c 	lwz     r6,12(r26)                             <== NOT EXECUTED
ffc235c0:	7f c8 f3 78 	mr      r8,r30                                 <== NOT EXECUTED
ffc235c4:	80 fa 00 00 	lwz     r7,0(r26)                              <== NOT EXECUTED
ffc235c8:	38 63 b6 bc 	addi    r3,r3,-18756                           <== NOT EXECUTED
ffc235cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc235d0:	48 00 62 d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc235d4:	4b ff fe 9c 	b       ffc23470 <rtems_rfs_dir_read+0x2cc>    <== NOT EXECUTED
                                                                      

ffc23c7c <rtems_rfs_file_close>: } int rtems_rfs_file_close (rtems_rfs_file_system* fs, rtems_rfs_file_handle* handle) {
ffc23c7c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc23c80:	7d 80 00 26 	mfcr    r12                                    
ffc23c84:	7c 08 02 a6 	mflr    r0                                     
ffc23c88:	93 a1 00 14 	stw     r29,20(r1)                             
ffc23c8c:	7c 7d 1b 78 	mr      r29,r3                                 
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc23c90:	38 60 00 10 	li      r3,16                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_close (rtems_rfs_file_system* fs,                      
                      rtems_rfs_file_handle* handle)                  
{                                                                     
ffc23c94:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc23c98:	7c 9f 23 78 	mr      r31,r4                                 
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc23c9c:	38 80 00 00 	li      r4,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_close (rtems_rfs_file_system* fs,                      
                      rtems_rfs_file_handle* handle)                  
{                                                                     
ffc23ca0:	90 01 00 24 	stw     r0,36(r1)                              
ffc23ca4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc23ca8:	93 81 00 10 	stw     r28,16(r1)                             
ffc23cac:	93 c1 00 18 	stw     r30,24(r1)                             
ffc23cb0:	91 81 00 08 	stw     r12,8(r1)                              
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc23cb4:	4b ff 39 19 	bl      ffc175cc <rtems_rfs_trace>             
ffc23cb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23cbc:	40 9e 02 5c 	bne-    cr7,ffc23f18 <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)                                 
ffc23cc0:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc23cc4:	81 24 00 08 	lwz     r9,8(r4)                               
ffc23cc8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc23ccc:	40 9d 00 10 	ble-    cr7,ffc23cdc <rtems_rfs_file_close+0x60><== NEVER TAKEN
    handle->shared->references--;                                     
ffc23cd0:	39 29 ff ff 	addi    r9,r9,-1                               
ffc23cd4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc23cd8:	91 24 00 08 	stw     r9,8(r4)                               
                                                                      
  if (handle->shared->references == 0)                                
ffc23cdc:	40 9e 01 e0 	bne-    cr7,ffc23ebc <rtems_rfs_file_close+0x240><== NEVER TAKEN
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
ffc23ce0:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23ce4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc23ce8:	41 9e 03 08 	beq-    cr7,ffc23ff0 <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,              
ffc23cec:	80 04 00 8c 	lwz     r0,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);                      
ffc23cf0:	39 40 00 01 	li      r10,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);                  
ffc23cf4:	54 0b 46 3e 	rlwinm  r11,r0,8,24,31                         
ffc23cf8:	99 69 00 10 	stb     r11,16(r9)                             
ffc23cfc:	54 08 84 3e 	rlwinm  r8,r0,16,16,31                         
ffc23d00:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc23d04:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23d08:	99 09 00 11 	stb     r8,17(r9)                              
ffc23d0c:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23d10:	99 69 00 12 	stb     r11,18(r9)                             
ffc23d14:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23d18:	98 09 00 13 	stb     r0,19(r9)                              
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
ffc23d1c:	81 7f 00 1c 	lwz     r11,28(r31)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23d20:	99 44 00 1c 	stb     r10,28(r4)                             
ffc23d24:	80 0b 00 90 	lwz     r0,144(r11)                            
 */                                                                   
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);                  
ffc23d28:	81 2b 00 18 	lwz     r9,24(r11)                             
ffc23d2c:	54 08 46 3e 	rlwinm  r8,r0,8,24,31                          
ffc23d30:	99 09 00 14 	stb     r8,20(r9)                              
ffc23d34:	54 07 84 3e 	rlwinm  r7,r0,16,16,31                         
ffc23d38:	54 08 c2 3e 	rlwinm  r8,r0,24,8,31                          
ffc23d3c:	81 2b 00 18 	lwz     r9,24(r11)                             
ffc23d40:	98 e9 00 15 	stb     r7,21(r9)                              
ffc23d44:	81 2b 00 18 	lwz     r9,24(r11)                             
ffc23d48:	99 09 00 16 	stb     r8,22(r9)                              
ffc23d4c:	81 2b 00 18 	lwz     r9,24(r11)                             
ffc23d50:	98 09 00 17 	stb     r0,23(r9)                              
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
ffc23d54:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23d58:	99 4b 00 1c 	stb     r10,28(r11)                            
ffc23d5c:	80 09 00 94 	lwz     r0,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);                  
ffc23d60:	81 69 00 18 	lwz     r11,24(r9)                             
ffc23d64:	54 08 46 3e 	rlwinm  r8,r0,8,24,31                          
ffc23d68:	99 0b 00 18 	stb     r8,24(r11)                             
ffc23d6c:	54 07 84 3e 	rlwinm  r7,r0,16,16,31                         
ffc23d70:	54 08 c2 3e 	rlwinm  r8,r0,24,8,31                          
ffc23d74:	81 69 00 18 	lwz     r11,24(r9)                             
ffc23d78:	98 eb 00 19 	stb     r7,25(r11)                             
ffc23d7c:	81 69 00 18 	lwz     r11,24(r9)                             
ffc23d80:	99 0b 00 1a 	stb     r8,26(r11)                             
ffc23d84:	81 69 00 18 	lwz     r11,24(r9)                             
ffc23d88:	98 0b 00 1b 	stb     r0,27(r11)                             
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
ffc23d8c:	80 9f 00 1c 	lwz     r4,28(r31)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23d90:	99 49 00 1c 	stb     r10,28(r9)                             
ffc23d94:	80 04 00 84 	lwz     r0,132(r4)                             
ffc23d98:	81 24 00 3c 	lwz     r9,60(r4)                              
ffc23d9c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc23da0:	81 24 00 88 	lwz     r9,136(r4)                             
ffc23da4:	41 9e 02 34 	beq-    cr7,ffc23fd8 <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;                                                  
ffc23da8:	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);                       
ffc23dac:	90 04 00 3c 	stw     r0,60(r4)                              <== NOT EXECUTED
ffc23db0:	2e 1e 00 00 	cmpwi   cr4,r30,0                              <== NOT EXECUTED
  map->dirty = true;                                                  
ffc23db4:	38 00 00 01 	li      r0,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);                       
ffc23db8:	91 24 00 40 	stw     r9,64(r4)                              <== NOT EXECUTED
  map->dirty = true;                                                  
ffc23dbc:	98 04 00 34 	stb     r0,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);        
ffc23dc0:	7f a3 eb 78 	mr      r3,r29                                 
ffc23dc4:	38 84 00 34 	addi    r4,r4,52                               
ffc23dc8:	4b ff ca fd 	bl      ffc208c4 <rtems_rfs_block_map_close>   
    if (rc > 0)                                                       
ffc23dcc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23dd0:	40 81 00 1c 	ble-    ffc23dec <rtems_rfs_file_close+0x170>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc23dd4:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc23dd8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23ddc:	4b ff 37 f1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23de0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23de4:	40 9e 01 c0 	bne-    cr7,ffc23fa4 <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)                                                   
ffc23de8:	41 92 01 7c 	beq-    cr4,ffc23f64 <rtems_rfs_file_close+0x2e8><== NOT EXECUTED
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
ffc23dec:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc23df0:	7f a3 eb 78 	mr      r3,r29                                 
ffc23df4:	38 84 00 0c 	addi    r4,r4,12                               
ffc23df8:	4b ff 03 19 	bl      ffc14110 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc23dfc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23e00:	40 81 00 1c 	ble-    ffc23e1c <rtems_rfs_file_close+0x1a0>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc23e04:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc23e08:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23e0c:	4b ff 37 c1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23e10:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23e14:	40 9e 01 5c 	bne-    cr7,ffc23f70 <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)                                                   
ffc23e18:	41 92 01 1c 	beq-    cr4,ffc23f34 <rtems_rfs_file_close+0x2b8><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc23e1c:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc23e20:	4b fe a9 5d 	bl      ffc0e77c <_Chain_Extract>              
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
ffc23e24:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc23e28:	4b fe 46 b9 	bl      ffc084e0 <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);                       
ffc23e2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc23e30:	38 9f 00 04 	addi    r4,r31,4                               
ffc23e34:	4b ff d9 71 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23e38:	38 00 00 00 	li      r0,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;                                              
ffc23e3c:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc23e40:	90 1f 00 08 	stw     r0,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;                                              
ffc23e44:	99 3f 00 04 	stb     r9,4(r31)                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23e48:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle->buffer);           
  if ((rrc == 0) && (rc > 0))                                         
    rrc = rc;                                                         
                                                                      
  if (rrc > 0)                                                        
ffc23e4c:	40 91 00 94 	ble-    cr4,ffc23ee0 <rtems_rfs_file_close+0x264><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
ffc23e50:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc23e54:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23e58:	4b ff 37 75 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23e5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23e60:	41 be 00 80 	beq+    cr7,ffc23ee0 <rtems_rfs_file_close+0x264><== NOT EXECUTED
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
ffc23e64:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23e68:	48 00 67 a5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23e6c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc23e70:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23e74:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23e78:	38 63 b9 14 	addi    r3,r3,-18156                           <== NOT EXECUTED
ffc23e7c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23e80:	48 00 5a 21 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  free (handle);                                                      
ffc23e84:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23e88:	4b fe 46 59 	bl      ffc084e0 <free>                        <== NOT EXECUTED
                                                                      
  return rrc;                                                         
}                                                                     
ffc23e8c:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc23e90:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc23e94:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23e98:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc23e9c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc23ea0:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc23ea4:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc23ea8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc23eac:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc23eb0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc23eb4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc23eb8:	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);                       
ffc23ebc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc23ec0:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc23ec4:	4b ff d8 e1 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23ec8:	38 00 00 00 	li      r0,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;                                              
ffc23ecc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23ed0:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
                      rtems_rfs_file_handle* handle)                  
{                                                                     
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
ffc23ed4:	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;                                              
ffc23ed8:	99 3f 00 04 	stb     r9,4(r31)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23edc:	90 1f 00 0c 	stw     r0,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);                                                      
ffc23ee0:	7f e3 fb 78 	mr      r3,r31                                 
ffc23ee4:	4b fe 45 fd 	bl      ffc084e0 <free>                        
                                                                      
  return rrc;                                                         
}                                                                     
ffc23ee8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc23eec:	81 81 00 08 	lwz     r12,8(r1)                              
ffc23ef0:	7f c3 f3 78 	mr      r3,r30                                 
ffc23ef4:	7c 08 03 a6 	mtlr    r0                                     
ffc23ef8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc23efc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc23f00:	7d 80 81 20 	mtcrf   8,r12                                  
ffc23f04:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc23f08:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc23f0c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc23f10:	38 21 00 20 	addi    r1,r1,32                               
ffc23f14:	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);                               
ffc23f18:	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",        
ffc23f1c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23f20:	38 63 b8 74 	addi    r3,r3,-18316                           <== NOT EXECUTED
ffc23f24:	80 89 00 14 	lwz     r4,20(r9)                              <== NOT EXECUTED
ffc23f28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23f2c:	48 00 59 75 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23f30:	4b ff fd 90 	b       ffc23cc0 <rtems_rfs_file_close+0x44>   <== NOT EXECUTED
ffc23f34:	80 7f 00 1c 	lwz     r3,28(r31)                             <== NOT EXECUTED
ffc23f38:	4b fe a8 45 	bl      ffc0e77c <_Chain_Extract>              <== NOT EXECUTED
      if (rrc == 0)                                                   
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
ffc23f3c:	80 7f 00 1c 	lwz     r3,28(r31)                             <== NOT EXECUTED
ffc23f40:	4b fe 45 a1 	bl      ffc084e0 <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);                       
ffc23f44:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc23f48:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc23f4c:	4b ff d8 59 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc23f50:	9b df 00 04 	stb     r30,4(r31)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23f54:	93 df 00 08 	stw     r30,8(r31)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc23f58:	93 df 00 0c 	stw     r30,12(r31)                            <== NOT EXECUTED
ffc23f5c:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
ffc23f60:	4b ff fe f0 	b       ffc23e50 <rtems_rfs_file_close+0x1d4>  <== NOT EXECUTED
ffc23f64:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
ffc23f68:	2e 1c 00 00 	cmpwi   cr4,r28,0                              <== NOT EXECUTED
ffc23f6c:	4b ff fe 80 	b       ffc23dec <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));        
ffc23f70:	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",
ffc23f74:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23f78:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc23f7c:	48 00 66 91 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23f80:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc23f84:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23f88:	38 63 b8 d8 	addi    r3,r3,-18216                           <== NOT EXECUTED
ffc23f8c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23f90:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc23f94:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23f98:	48 00 59 09 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc23f9c:	41 b2 ff 98 	beq-    cr4,ffc23f34 <rtems_rfs_file_close+0x2b8><== NOT EXECUTED
ffc23fa0:	4b ff fe 7c 	b       ffc23e1c <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));        
ffc23fa4:	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",
ffc23fa8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23fac:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc23fb0:	48 00 66 5d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23fb4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc23fb8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23fbc:	38 63 b8 9c 	addi    r3,r3,-18276                           <== NOT EXECUTED
ffc23fc0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23fc4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc23fc8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23fcc:	48 00 58 d5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc23fd0:	40 b2 fe 1c 	bne-    cr4,ffc23dec <rtems_rfs_file_close+0x170><== NOT EXECUTED
ffc23fd4:	4b ff ff 90 	b       ffc23f64 <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,         
ffc23fd8:	81 64 00 40 	lwz     r11,64(r4)                             
ffc23fdc:	3b c0 00 00 	li      r30,0                                  
ffc23fe0:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc23fe4:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc23fe8:	40 9e fd c0 	bne+    cr7,ffc23da8 <rtems_rfs_file_close+0x12c><== NEVER TAKEN
ffc23fec:	4b ff fd d4 	b       ffc23dc0 <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);        
ffc23ff0:	38 84 00 0c 	addi    r4,r4,12                               
ffc23ff4:	7f a3 eb 78 	mr      r3,r29                                 
ffc23ff8:	4b fe fd e5 	bl      ffc13ddc <rtems_rfs_inode_load>        
                                                                      
    if (rrc == 0)                                                     
ffc23ffc:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc24000:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc24004:	7c 7e 1b 78 	mr      r30,r3                                 
ffc24008:	40 92 fd b8 	bne+    cr4,ffc23dc0 <rtems_rfs_file_close+0x144><== NEVER TAKEN
ffc2400c:	81 24 00 18 	lwz     r9,24(r4)                              
ffc24010:	4b ff fc dc 	b       ffc23cec <rtems_rfs_file_close+0x70>   
                                                                      

ffc24a2c <rtems_rfs_file_get_shared>:
ffc24a2c:	81 23 00 70 	lwz     r9,112(r3)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc24a30:	38 03 00 74 	addi    r0,r3,116                              
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
ffc24a34:	38 60 00 00 	li      r3,0                                   
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))               
ffc24a38:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc24a3c:	4d 9e 00 20 	beqlr   cr7                                    
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc24a40:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
ffc24a44:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc24a48:	7f 8b 20 00 	cmpw    cr7,r11,r4                             <== NOT EXECUTED
ffc24a4c:	40 be 00 14 	bne+    cr7,ffc24a60 <rtems_rfs_file_get_shared+0x34><== NOT EXECUTED
ffc24a50:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc24a54:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
ffc24a58:	7f 8b 20 00 	cmpw    cr7,r11,r4                             <== NOT EXECUTED
ffc24a5c:	41 9e 00 18 	beq-    cr7,ffc24a74 <rtems_rfs_file_get_shared+0x48><== NOT EXECUTED
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc24a60:	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))               
ffc24a64:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc24a68:	40 9e ff ec 	bne+    cr7,ffc24a54 <rtems_rfs_file_get_shared+0x28><== NOT EXECUTED
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
ffc24a6c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24a70:	4e 80 00 20 	blr                                            <== NOT EXECUTED
}                                                                     
ffc24a74:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc24a78:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc24270 <rtems_rfs_file_io_end>: int rtems_rfs_file_io_end (rtems_rfs_file_handle* handle, size_t size, bool read) {
ffc24270:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc24274:	7d 80 00 26 	mfcr    r12                                    
ffc24278:	7c 08 02 a6 	mflr    r0                                     
ffc2427c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc24280:	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))                      
ffc24284:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc24288:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc2428c:	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))                      
ffc24290:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc24294:	93 c1 00 18 	stw     r30,24(r1)                             
ffc24298:	7c be 2b 78 	mr      r30,r5                                 
ffc2429c:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc242a0:	90 01 00 24 	stw     r0,36(r1)                              
ffc242a4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc242a8:	93 81 00 10 	stw     r28,16(r1)                             
ffc242ac:	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))                      
ffc242b0:	4b ff 33 1d 	bl      ffc175cc <rtems_rfs_trace>             
ffc242b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc242b8:	41 9e 00 24 	beq-    cr7,ffc242dc <rtems_rfs_file_io_end+0x6c><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
ffc242bc:	41 92 02 18 	beq-    cr4,ffc244d4 <rtems_rfs_file_io_end+0x264><== NOT EXECUTED
ffc242c0:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc242c4:	38 84 a4 2c 	addi    r4,r4,-23508                           <== NOT EXECUTED
ffc242c8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc242cc:	38 63 b9 f0 	addi    r3,r3,-17936                           <== NOT EXECUTED
ffc242d0:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc242d4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc242d8:	48 00 55 c9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc242dc:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc242e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc242e4:	41 9e 02 64 	beq-    cr7,ffc24548 <rtems_rfs_file_io_end+0x2d8><== NEVER TAKEN
  {                                                                   
    if (!read)                                                        
ffc242e8:	41 92 00 80 	beq-    cr4,ffc24368 <rtems_rfs_file_io_end+0xf8>
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc242ec:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc242f0:	38 9f 00 04 	addi    r4,r31,4                               
ffc242f4:	80 69 00 98 	lwz     r3,152(r9)                             
ffc242f8:	4b ff d4 ad 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
ffc242fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24300:	40 81 00 88 	ble-    ffc24388 <rtems_rfs_file_io_end+0x118> <== ALWAYS TAKEN
    {                                                                 
      printf (                                                        
ffc24304:	40 92 01 dc 	bne-    cr4,ffc244e0 <rtems_rfs_file_io_end+0x270><== NOT EXECUTED
ffc24308:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc2430c:	3b ff 84 2c 	addi    r31,r31,-31700                         <== NOT EXECUTED
ffc24310:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24314:	48 00 62 f9 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc24318:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc2431c:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc24320:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24324:	38 63 ba 18 	addi    r3,r3,-17896                           <== NOT EXECUTED
ffc24328:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc2432c:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc24330:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24334:	48 00 55 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc24338:	80 01 00 24 	lwz     r0,36(r1)                              
ffc2433c:	7f c3 f3 78 	mr      r3,r30                                 
ffc24340:	81 81 00 08 	lwz     r12,8(r1)                              
ffc24344:	7c 08 03 a6 	mtlr    r0                                     
ffc24348:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc2434c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc24350:	7d 83 81 20 	mtcrf   56,r12                                 
ffc24354:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc24358:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc2435c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc24360:	38 21 00 20 	addi    r1,r1,32                               
ffc24364:	4e 80 00 20 	blr                                            
                                                                      
  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), 
ffc24368:	81 3f 00 1c 	lwz     r9,28(r31)                             
            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));   
ffc2436c:	38 00 00 01 	li      r0,1                                   
ffc24370:	98 1f 00 04 	stb     r0,4(r31)                              
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc24374:	38 9f 00 04 	addi    r4,r31,4                               
ffc24378:	80 69 00 98 	lwz     r3,152(r9)                             
ffc2437c:	4b ff d4 29 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
ffc24380:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24384:	41 81 ff 80 	bgt+    ffc24304 <rtems_rfs_file_io_end+0x94>  <== NEVER TAKEN
   * 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)))           
ffc24388:	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;                                          
ffc2438c:	80 1f 00 14 	lwz     r0,20(r31)                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc24390:	81 69 00 98 	lwz     r11,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;                                          
ffc24394:	7f bd 02 14 	add     r29,r29,r0                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc24398:	80 0b 00 08 	lwz     r0,8(r11)                              
   * 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;                                          
ffc2439c:	93 bf 00 14 	stw     r29,20(r31)                            
                                                                      
  if (handle->bpos.boff >=                                            
ffc243a0:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc243a4:	41 9c 00 18 	blt-    cr7,ffc243bc <rtems_rfs_file_io_end+0x14c><== ALWAYS TAKEN
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
ffc243a8:	81 7f 00 10 	lwz     r11,16(r31)                            <== NOT EXECUTED
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc243ac:	7f a0 e8 50 	subf    r29,r0,r29                             <== NOT EXECUTED
ffc243b0:	93 bf 00 14 	stw     r29,20(r31)                            <== NOT EXECUTED
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
ffc243b4:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc243b8:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc243bc:	41 92 01 30 	beq-    cr4,ffc244ec <rtems_rfs_file_io_end+0x27c>
    handle->bpos.bno++;                                               
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
ffc243c0:	3b 80 00 00 	li      r28,0                                  
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc243c4:	80 1f 00 00 	lwz     r0,0(r31)                              
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc243c8:	3b a0 00 00 	li      r29,0                                  
ffc243cc:	70 09 00 02 	andi.   r9,r0,2                                
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc243d0:	54 09 07 fe 	clrlwi  r9,r0,31                               
ffc243d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc243d8:	7f 60 00 26 	mfcr    r27                                    
ffc243dc:	57 7b ff fe 	rlwinm  r27,r27,31,31,31                       
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc243e0:	40 82 00 08 	bne-    ffc243e8 <rtems_rfs_file_io_end+0x178> <== NEVER TAKEN
ffc243e4:	57 9d 06 3e 	clrlwi  r29,r28,24                             
  length = rtems_rfs_file_update_length (handle) && length;           
ffc243e8:	54 00 f7 fe 	rlwinm  r0,r0,30,31,31                         
ffc243ec:	30 00 ff ff 	addic   r0,r0,-1                               
ffc243f0:	7c 00 01 10 	subfe   r0,r0,r0                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc243f4:	38 60 00 20 	li      r3,32                                  
ffc243f8:	38 80 00 00 	li      r4,0                                   
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
  length = rtems_rfs_file_update_length (handle) && length;           
ffc243fc:	7f 9c 00 38 	and     r28,r28,r0                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24400:	4b ff 31 cd 	bl      ffc175cc <rtems_rfs_trace>             
ffc24404:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24408:	2d 9b 00 00 	cmpwi   cr3,r27,0                              
ffc2440c:	2d 1c 00 00 	cmpwi   cr2,r28,0                              
ffc24410:	41 9e 00 58 	beq-    cr7,ffc24468 <rtems_rfs_file_io_end+0x1f8><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
ffc24414:	7c c0 00 26 	mfcr    r6                                     <== NOT EXECUTED
ffc24418:	54 c6 7f fe 	rlwinm  r6,r6,15,31,31                         <== NOT EXECUTED
ffc2441c:	30 fd ff ff 	addic   r7,r29,-1                              <== NOT EXECUTED
ffc24420:	7c e7 39 10 	subfe   r7,r7,r7                               <== NOT EXECUTED
ffc24424:	7d 00 00 26 	mfcr    r8                                     <== NOT EXECUTED
ffc24428:	55 08 5f fe 	rlwinm  r8,r8,11,31,31                         <== NOT EXECUTED
ffc2442c:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc24430:	7c c6 00 d0 	neg     r6,r6                                  <== NOT EXECUTED
ffc24434:	80 bf 00 14 	lwz     r5,20(r31)                             <== NOT EXECUTED
ffc24438:	7d 08 00 d0 	neg     r8,r8                                  <== NOT EXECUTED
ffc2443c:	38 00 ff ec 	li      r0,-20                                 <== NOT EXECUTED
ffc24440:	7c c6 00 38 	and     r6,r6,r0                               <== NOT EXECUTED
ffc24444:	54 e7 00 34 	rlwinm  r7,r7,0,0,26                           <== NOT EXECUTED
ffc24448:	55 08 07 f4 	rlwinm  r8,r8,0,31,26                          <== NOT EXECUTED
ffc2444c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24450:	38 63 ba 5c 	addi    r3,r3,-17828                           <== NOT EXECUTED
ffc24454:	38 c6 00 41 	addi    r6,r6,65                               <== NOT EXECUTED
ffc24458:	38 e7 00 4d 	addi    r7,r7,77                               <== NOT EXECUTED
ffc2445c:	39 08 00 4c 	addi    r8,r8,76                               <== NOT EXECUTED
ffc24460:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24464:	48 00 54 3d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            handle->bpos.bno, handle->bpos.boff,                      
            atime ? 'A' : '-', mtime ? 'M' : '-', length ? 'L' : '-');
                                                                      
  if (atime || mtime)                                                 
ffc24468:	40 8e 00 0c 	bne-    cr3,ffc24474 <rtems_rfs_file_io_end+0x204><== ALWAYS TAKEN
ffc2446c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc24470:	41 9e 00 1c 	beq-    cr7,ffc2448c <rtems_rfs_file_io_end+0x21c><== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
ffc24474:	38 60 00 00 	li      r3,0                                   
ffc24478:	48 00 8c a9 	bl      ffc2d120 <time>                        
    if (read && atime)                                                
ffc2447c:	41 92 00 f4 	beq-    cr4,ffc24570 <rtems_rfs_file_io_end+0x300>
ffc24480:	41 8e 00 0c 	beq-    cr3,ffc2448c <rtems_rfs_file_io_end+0x21c><== NEVER TAKEN
      handle->shared->atime = now;                                    
ffc24484:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc24488:	90 69 00 8c 	stw     r3,140(r9)                             
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
ffc2448c:	41 aa fe ac 	beq-    cr2,ffc24338 <rtems_rfs_file_io_end+0xc8>
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
ffc24490:	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;                                                          
}                                                                     
ffc24494:	7f c3 f3 78 	mr      r3,r30                                 
ffc24498:	81 81 00 08 	lwz     r12,8(r1)                              
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
ffc2449c:	80 09 00 40 	lwz     r0,64(r9)                              
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
ffc244a0:	81 69 00 3c 	lwz     r11,60(r9)                             
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc244a4:	7d 83 81 20 	mtcrf   56,r12                                 
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
ffc244a8:	90 09 00 88 	stw     r0,136(r9)                             
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc244ac:	80 01 00 24 	lwz     r0,36(r1)                              
ffc244b0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc244b4:	7c 08 03 a6 	mtlr    r0                                     
ffc244b8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc244bc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc244c0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc244c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc244c8:	38 21 00 20 	addi    r1,r1,32                               
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
ffc244cc:	91 69 00 84 	stw     r11,132(r9)                            
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc244d0:	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",               
ffc244d4:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc244d8:	38 84 84 2c 	addi    r4,r4,-31700                           <== NOT EXECUTED
ffc244dc:	4b ff fd ec 	b       ffc242c8 <rtems_rfs_file_io_end+0x58>  <== NOT EXECUTED
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
    {                                                                 
      printf (                                                        
ffc244e0:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc244e4:	3b ff a4 2c 	addi    r31,r31,-23508                         <== NOT EXECUTED
ffc244e8:	4b ff fe 28 	b       ffc24310 <rtems_rfs_file_io_end+0xa0>  <== NOT EXECUTED
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc244ec:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc244f0:	81 69 00 3c 	lwz     r11,60(r9)                             
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc244f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc244f8:	41 9e 00 24 	beq-    cr7,ffc2451c <rtems_rfs_file_io_end+0x2ac><== ALWAYS TAKEN
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc244fc:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== NOT EXECUTED
ffc24500:	40 9e 00 1c 	bne-    cr7,ffc2451c <rtems_rfs_file_io_end+0x2ac><== NOT EXECUTED
ffc24504:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc24508:	90 09 00 40 	stw     r0,64(r9)                              
  map->dirty = true;                                                  
ffc2450c:	38 00 00 01 	li      r0,1                                   
                                    rtems_rfs_file_bpos (handle)))    
  {                                                                   
    rtems_rfs_block_map_set_size_offset (rtems_rfs_file_map (handle), 
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
ffc24510:	3b 80 00 01 	li      r28,1                                  
ffc24514:	98 09 00 34 	stb     r0,52(r9)                              
ffc24518:	4b ff fe ac 	b       ffc243c4 <rtems_rfs_file_io_end+0x154> 
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc2451c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc24520:	40 bc ff e4 	bge-    cr7,ffc24504 <rtems_rfs_file_io_end+0x294><== NEVER TAKEN
ffc24524:	39 6b ff ff 	addi    r11,r11,-1                             
ffc24528:	7f 80 58 00 	cmpw    cr7,r0,r11                             
    handle->bpos.bno++;                                               
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
ffc2452c:	3b 80 00 00 	li      r28,0                                  
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc24530:	40 9e fe 94 	bne+    cr7,ffc243c4 <rtems_rfs_file_io_end+0x154><== NEVER TAKEN
ffc24534:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc24538:	81 69 00 40 	lwz     r11,64(r9)                             
ffc2453c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc24540:	40 bd fe 84 	ble-    cr7,ffc243c4 <rtems_rfs_file_io_end+0x154>
ffc24544:	4b ff ff c4 	b       ffc24508 <rtems_rfs_file_io_end+0x298> 
   * 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)))           
ffc24548:	81 3f 00 1c 	lwz     r9,28(r31)                             <== NOT EXECUTED
                       bool                   read)                   
{                                                                     
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
ffc2454c:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
   * increase the block number and adjust the offset.                 
   *                                                                  
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
ffc24550:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc24554:	81 69 00 98 	lwz     r11,152(r9)                            <== NOT EXECUTED
   * increase the block number and adjust the offset.                 
   *                                                                  
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
ffc24558:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc2455c:	80 0b 00 08 	lwz     r0,8(r11)                              <== NOT EXECUTED
   * increase the block number and adjust the offset.                 
   *                                                                  
   * If we are the last block and the position is past the current size update
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
ffc24560:	93 bf 00 14 	stw     r29,20(r31)                            <== NOT EXECUTED
                                                                      
  if (handle->bpos.boff >=                                            
ffc24564:	7f 9d 00 40 	cmplw   cr7,r29,r0                             <== NOT EXECUTED
ffc24568:	41 bc fe 54 	blt-    cr7,ffc243bc <rtems_rfs_file_io_end+0x14c><== NOT EXECUTED
ffc2456c:	4b ff fe 3c 	b       ffc243a8 <rtems_rfs_file_io_end+0x138> <== NOT EXECUTED
  if (atime || mtime)                                                 
  {                                                                   
    time_t now = time (NULL);                                         
    if (read && atime)                                                
      handle->shared->atime = now;                                    
    if (!read && mtime)                                               
ffc24570:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc24574:	41 be ff 18 	beq-    cr7,ffc2448c <rtems_rfs_file_io_end+0x21c>
      handle->shared->mtime = now;                                    
ffc24578:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc2457c:	90 69 00 90 	stw     r3,144(r9)                             
ffc24580:	4b ff ff 0c 	b       ffc2448c <rtems_rfs_file_io_end+0x21c> 
                                                                      

ffc24584 <rtems_rfs_file_io_release>: return rc; } int rtems_rfs_file_io_release (rtems_rfs_file_handle* handle) {
ffc24584:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc24588:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc2458c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc24590:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  int rc = 0;                                                         
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc24594:	80 03 00 0c 	lwz     r0,12(r3)                              <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_io_release (rtems_rfs_file_handle* handle)             
{                                                                     
  int rc = 0;                                                         
ffc24598:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc2459c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc245a0:	41 9e 00 14 	beq-    cr7,ffc245b4 <rtems_rfs_file_io_release+0x30><== NOT EXECUTED
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc245a4:	81 24 00 1c 	lwz     r9,28(r4)                              <== NOT EXECUTED
ffc245a8:	38 84 00 04 	addi    r4,r4,4                                <== NOT EXECUTED
ffc245ac:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc245b0:	4b ff d1 f5 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                          rtems_rfs_file_buffer (handle));
  return rc;                                                          
}                                                                     
ffc245b4:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc245b8:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc245bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc245c0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc24014 <rtems_rfs_file_io_start>: int rtems_rfs_file_io_start (rtems_rfs_file_handle* handle, size_t* available, bool read) {
ffc24014:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc24018:	7d 80 00 26 	mfcr    r12                                    
ffc2401c:	7c 08 02 a6 	mflr    r0                                     
ffc24020:	93 c1 00 28 	stw     r30,40(r1)                             
ffc24024:	7c 9e 23 78 	mr      r30,r4                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24028:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc2402c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc24030:	7c 7f 1b 78 	mr      r31,r3                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24034:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc24038:	93 a1 00 24 	stw     r29,36(r1)                             
ffc2403c:	7c bd 2b 78 	mr      r29,r5                                 
ffc24040:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc24044:	90 01 00 34 	stw     r0,52(r1)                              
ffc24048:	93 61 00 1c 	stw     r27,28(r1)                             
ffc2404c:	93 81 00 20 	stw     r28,32(r1)                             
ffc24050:	91 81 00 18 	stw     r12,24(r1)                             
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24054:	4b ff 35 79 	bl      ffc175cc <rtems_rfs_trace>             
ffc24058:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2405c:	41 9e 00 28 	beq-    cr7,ffc24084 <rtems_rfs_file_io_start+0x70><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
ffc24060:	40 92 00 d4 	bne-    cr4,ffc24134 <rtems_rfs_file_io_start+0x120><== NOT EXECUTED
ffc24064:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc24068:	38 84 84 2c 	addi    r4,r4,-31700                           <== NOT EXECUTED
ffc2406c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24070:	80 bf 00 10 	lwz     r5,16(r31)                             <== NOT EXECUTED
ffc24074:	80 df 00 14 	lwz     r6,20(r31)                             <== NOT EXECUTED
ffc24078:	38 63 b9 3c 	addi    r3,r3,-18116                           <== NOT EXECUTED
ffc2407c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24080:	48 00 58 21 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            read ? "read" : "write",  handle->bpos.bno, handle->bpos.boff);
                                                                      
  if (!rtems_rfs_buffer_handle_has_block (&handle->buffer))           
ffc24084:	83 9f 00 0c 	lwz     r28,12(r31)                            
ffc24088:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc2408c:	41 9e 00 c4 	beq-    cr7,ffc24150 <rtems_rfs_file_io_start+0x13c><== ALWAYS TAKEN
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc24090:	81 3f 00 1c 	lwz     r9,28(r31)                             
                                          block, request_read);       
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
ffc24094:	40 92 00 78 	bne-    cr4,ffc2410c <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));      
ffc24098:	81 29 00 98 	lwz     r9,152(r9)                             
ffc2409c:	83 a9 00 08 	lwz     r29,8(r9)                              
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
ffc240a0:	80 1f 00 14 	lwz     r0,20(r31)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc240a4:	38 60 00 20 	li      r3,32                                  
ffc240a8:	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);           
ffc240ac:	7c 00 e8 50 	subf    r0,r0,r29                              
ffc240b0:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
            *available, size);                                        
                                                                      
  return 0;                                                           
ffc240b4:	3b 60 00 00 	li      r27,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))                      
ffc240b8:	4b ff 35 15 	bl      ffc175cc <rtems_rfs_trace>             
ffc240bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc240c0:	41 be 00 1c 	beq+    cr7,ffc240dc <rtems_rfs_file_io_start+0xc8><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
ffc240c4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc240c8:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc240cc:	38 63 b9 c0 	addi    r3,r3,-17984                           <== NOT EXECUTED
ffc240d0:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc240d4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc240d8:	48 00 57 c9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc240dc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc240e0:	7f 63 db 78 	mr      r3,r27                                 
ffc240e4:	81 81 00 18 	lwz     r12,24(r1)                             
ffc240e8:	7c 08 03 a6 	mtlr    r0                                     
ffc240ec:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc240f0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc240f4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc240f8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc240fc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc24100:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc24104:	38 21 00 30 	addi    r1,r1,48                               
ffc24108:	4e 80 00 20 	blr                                            
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc2410c:	80 09 00 44 	lwz     r0,68(r9)                              
ffc24110:	81 69 00 3c 	lwz     r11,60(r9)                             
ffc24114:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc24118:	40 9e 00 28 	bne-    cr7,ffc24140 <rtems_rfs_file_io_start+0x12c><== NEVER TAKEN
ffc2411c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc24120:	40 9e 00 20 	bne-    cr7,ffc24140 <rtems_rfs_file_io_start+0x12c><== ALWAYS TAKEN
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
ffc24124:	83 a9 00 40 	lwz     r29,64(r9)                             
ffc24128:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc2412c:	40 be ff 74 	bne-    cr7,ffc240a0 <rtems_rfs_file_io_start+0x8c><== ALWAYS TAKEN
ffc24130:	4b ff ff 68 	b       ffc24098 <rtems_rfs_file_io_start+0x84><== NOT EXECUTED
                         bool                   read)                 
{                                                                     
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
ffc24134:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc24138:	38 84 a4 2c 	addi    r4,r4,-23508                           <== NOT EXECUTED
ffc2413c:	4b ff ff 30 	b       ffc2406c <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))       
ffc24140:	39 6b ff ff 	addi    r11,r11,-1                             
ffc24144:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc24148:	40 9e ff 50 	bne+    cr7,ffc24098 <rtems_rfs_file_io_start+0x84><== NEVER TAKEN
ffc2414c:	4b ff ff d8 	b       ffc24124 <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),        
ffc24150:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc24154:	38 bf 00 10 	addi    r5,r31,16                              
ffc24158:	38 c1 00 08 	addi    r6,r1,8                                
ffc2415c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc24160:	38 84 00 34 	addi    r4,r4,52                               
ffc24164:	4b ff c9 75 	bl      ffc20ad8 <rtems_rfs_block_map_find>    
                                   rtems_rfs_file_map (handle),       
                                   rtems_rfs_file_bpos (handle),      
                                   &block);                           
    if (rc > 0)                                                       
ffc24168:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc2416c:	40 81 00 1c 	ble-    ffc24188 <rtems_rfs_file_io_start+0x174><== ALWAYS TAKEN
    {                                                                 
      /*                                                              
       * Has the read reached the EOF ?                               
       */                                                             
      if (read && (rc == ENXIO))                                      
ffc24170:	2f 9b 00 06 	cmpwi   cr7,r27,6                              <== NOT EXECUTED
ffc24174:	41 92 00 a0 	beq-    cr4,ffc24214 <rtems_rfs_file_io_start+0x200><== NOT EXECUTED
ffc24178:	40 9e ff 64 	bne+    cr7,ffc240dc <rtems_rfs_file_io_start+0xc8><== NOT EXECUTED
      {                                                               
        *available = 0;                                               
ffc2417c:	93 9e 00 00 	stw     r28,0(r30)                             <== NOT EXECUTED
        return 0;                                                     
ffc24180:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc24184:	4b ff ff 58 	b       ffc240dc <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 &&                                                    
ffc24188:	40 92 00 30 	bne-    cr4,ffc241b8 <rtems_rfs_file_io_start+0x1a4>
ffc2418c:	80 1f 00 14 	lwz     r0,20(r31)                             
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
ffc24190:	3b a0 00 01 	li      r29,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 &&                                                    
ffc24194:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc24198:	40 9e 00 20 	bne-    cr7,ffc241b8 <rtems_rfs_file_io_start+0x1a4><== NEVER TAKEN
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc2419c:	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) ||                    
ffc241a0:	83 be 00 00 	lwz     r29,0(r30)                             
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc241a4:	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) ||                    
ffc241a8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc241ac:	7f a0 e8 10 	subfc   r29,r0,r29                             
ffc241b0:	7f bd e9 10 	subfe   r29,r29,r29                            
ffc241b4:	7f bd 00 d0 	neg     r29,r29                                
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
ffc241b8:	38 60 00 20 	li      r3,32                                  
ffc241bc:	38 80 00 00 	li      r4,0                                   
ffc241c0:	4b ff 34 0d 	bl      ffc175cc <rtems_rfs_trace>             
ffc241c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc241c8:	41 9e 00 28 	beq-    cr7,ffc241f0 <rtems_rfs_file_io_start+0x1dc><== ALWAYS TAKEN
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
ffc241cc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc241d0:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc241d4:	41 9e 00 80 	beq-    cr7,ffc24254 <rtems_rfs_file_io_start+0x240><== NOT EXECUTED
ffc241d8:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc241dc:	38 a5 9e d4 	addi    r5,r5,-24876                           <== NOT EXECUTED
ffc241e0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc241e4:	38 63 b9 88 	addi    r3,r3,-18040                           <== NOT EXECUTED
ffc241e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc241ec:	48 00 56 b5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              block, request_read ? "yes" : "no");                    
                                                                      
    rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle), 
ffc241f0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc241f4:	38 9f 00 04 	addi    r4,r31,4                               
ffc241f8:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc241fc:	7f a6 eb 78 	mr      r6,r29                                 
ffc24200:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24204:	4b ff d7 b5 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
                                          rtems_rfs_file_buffer (handle),
                                          block, request_read);       
    if (rc > 0)                                                       
ffc24208:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc2420c:	41 81 fe d0 	bgt+    ffc240dc <rtems_rfs_file_io_start+0xc8><== NEVER TAKEN
ffc24210:	4b ff fe 80 	b       ffc24090 <rtems_rfs_file_io_start+0x7c>
      {                                                               
        *available = 0;                                               
        return 0;                                                     
      }                                                               
                                                                      
      if (rc != ENXIO)                                                
ffc24214:	40 9e fe c8 	bne+    cr7,ffc240dc <rtems_rfs_file_io_start+0xc8><== NOT EXECUTED
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
ffc24218:	38 60 00 20 	li      r3,32                                  <== NOT EXECUTED
ffc2421c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc24220:	4b ff 33 ad 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24224:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24228:	40 9e 00 38 	bne-    cr7,ffc24260 <rtems_rfs_file_io_start+0x24c><== NOT EXECUTED
        printf ("rtems-rfs: file-io: start: grow\n");                 
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
ffc2422c:	80 9f 00 1c 	lwz     r4,28(r31)                             <== NOT EXECUTED
ffc24230:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc24234:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc24238:	80 64 00 98 	lwz     r3,152(r4)                             <== NOT EXECUTED
ffc2423c:	38 84 00 34 	addi    r4,r4,52                               <== NOT EXECUTED
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
        return rc;                                                    
                                                                      
      request_read = false;                                           
ffc24240:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
        printf ("rtems-rfs: file-io: start: grow\n");                 
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
ffc24244:	4b ff cb 41 	bl      ffc20d84 <rtems_rfs_block_map_grow>    <== NOT EXECUTED
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
ffc24248:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc2424c:	41 81 fe 90 	bgt+    ffc240dc <rtems_rfs_file_io_start+0xc8><== NOT EXECUTED
ffc24250:	4b ff ff 68 	b       ffc241b8 <rtems_rfs_file_io_start+0x1a4><== NOT EXECUTED
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
ffc24254:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc24258:	38 a5 a3 b0 	addi    r5,r5,-23632                           <== NOT EXECUTED
ffc2425c:	4b ff ff 84 	b       ffc241e0 <rtems_rfs_file_io_start+0x1cc><== NOT EXECUTED
                                                                      
      if (rc != ENXIO)                                                
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
        printf ("rtems-rfs: file-io: start: grow\n");                 
ffc24260:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24264:	38 63 b9 68 	addi    r3,r3,-18072                           <== NOT EXECUTED
ffc24268:	48 00 57 ed 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc2426c:	4b ff ff c0 	b       ffc2422c <rtems_rfs_file_io_start+0x218><== NOT EXECUTED
                                                                      

ffc238d8 <rtems_rfs_file_open>: int rtems_rfs_file_open (rtems_rfs_file_system* fs, rtems_rfs_ino ino, uint32_t flags, rtems_rfs_file_handle** file) {
ffc238d8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc238dc:	7c 08 02 a6 	mflr    r0                                     
ffc238e0:	93 61 00 14 	stw     r27,20(r1)                             
ffc238e4:	7c 7b 1b 78 	mr      r27,r3                                 
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc238e8:	38 60 00 08 	li      r3,8                                   
int                                                                   
rtems_rfs_file_open (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_ino           ino,                     
                     uint32_t                flags,                   
                     rtems_rfs_file_handle** file)                    
{                                                                     
ffc238ec:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc238f0:	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))                    
ffc238f4:	38 80 00 00 	li      r4,0                                   
int                                                                   
rtems_rfs_file_open (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_ino           ino,                     
                     uint32_t                flags,                   
                     rtems_rfs_file_handle** file)                    
{                                                                     
ffc238f8:	93 41 00 10 	stw     r26,16(r1)                             
ffc238fc:	7c ba 2b 78 	mr      r26,r5                                 
ffc23900:	93 81 00 18 	stw     r28,24(r1)                             
ffc23904:	7c dc 33 78 	mr      r28,r6                                 
ffc23908:	90 01 00 2c 	stw     r0,44(r1)                              
ffc2390c:	93 01 00 08 	stw     r24,8(r1)                              
ffc23910:	93 21 00 0c 	stw     r25,12(r1)                             
ffc23914:	93 c1 00 20 	stw     r30,32(r1)                             
ffc23918:	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))                    
ffc2391c:	4b ff 3c b1 	bl      ffc175cc <rtems_rfs_trace>             
ffc23920:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23924:	40 9e 00 d4 	bne-    cr7,ffc239f8 <rtems_rfs_file_open+0x120><== NEVER TAKEN
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
                                                                      
  *file = NULL;                                                       
ffc23928:	3b 20 00 00 	li      r25,0                                  
ffc2392c:	93 3c 00 00 	stw     r25,0(r28)                             
  /*                                                                  
   * 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));                   
ffc23930:	38 60 00 20 	li      r3,32                                  
  if (!handle)                                                        
    return ENOMEM;                                                    
ffc23934:	3b 00 00 0c 	li      r24,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));                   
ffc23938:	4b fe 54 b5 	bl      ffc08dec <malloc>                      
  if (!handle)                                                        
ffc2393c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc23940:	41 82 00 84 	beq-    ffc239c4 <rtems_rfs_file_open+0xec>    <== NEVER TAKEN
    return ENOMEM;                                                    
                                                                      
  memset (handle, 0, sizeof (rtems_rfs_file_handle));                 
ffc23944:	93 3e 00 04 	stw     r25,4(r30)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc23948:	39 3b 00 74 	addi    r9,r27,116                             
ffc2394c:	93 3e 00 00 	stw     r25,0(r30)                             
ffc23950:	93 3e 00 10 	stw     r25,16(r30)                            
ffc23954:	93 3e 00 14 	stw     r25,20(r30)                            
ffc23958:	93 3e 00 18 	stw     r25,24(r30)                            
ffc2395c:	93 3e 00 1c 	stw     r25,28(r30)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc23960:	83 fb 00 70 	lwz     r31,112(r27)                           
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc23964:	9b 3e 00 04 	stb     r25,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))               
ffc23968:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
  handle->bnum  = 0;                                                  
ffc2396c:	93 3e 00 08 	stw     r25,8(r30)                             
  handle->buffer = NULL;                                              
ffc23970:	93 3e 00 0c 	stw     r25,12(r30)                            
ffc23974:	40 be 00 14 	bne+    cr7,ffc23988 <rtems_rfs_file_open+0xb0><== NEVER TAKEN
ffc23978:	48 00 00 c0 	b       ffc23a38 <rtems_rfs_file_open+0x160>   
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc2397c:	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))               
ffc23980:	7f 9f 48 00 	cmpw    cr7,r31,r9                             <== NOT EXECUTED
ffc23984:	41 9e 00 b4 	beq-    cr7,ffc23a38 <rtems_rfs_file_open+0x160><== NOT EXECUTED
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc23988:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
ffc2398c:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc23990:	40 9e ff ec 	bne+    cr7,ffc2397c <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++;                                             
ffc23994:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc23998:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc2399c:	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++;                                             
ffc239a0:	38 09 00 01 	addi    r0,r9,1                                <== NOT EXECUTED
ffc239a4:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc239a8:	4b ff 3c 25 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc239ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc239b0:	40 9e 00 60 	bne-    cr7,ffc23a10 <rtems_rfs_file_open+0x138><== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
  }                                                                   
                                                                      
  handle->flags  = flags;                                             
ffc239b4:	93 5e 00 00 	stw     r26,0(r30)                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
ffc239b8:	3b 00 00 00 	li      r24,0                                  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
  }                                                                   
                                                                      
  handle->flags  = flags;                                             
  handle->shared = shared;                                            
ffc239bc:	93 fe 00 1c 	stw     r31,28(r30)                            
                                                                      
  *file = handle;                                                     
ffc239c0:	93 dc 00 00 	stw     r30,0(r28)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc239c4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc239c8:	7f 03 c3 78 	mr      r3,r24                                 
ffc239cc:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc239d0:	7c 08 03 a6 	mtlr    r0                                     
ffc239d4:	83 01 00 08 	lwz     r24,8(r1)                              
ffc239d8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc239dc:	83 61 00 14 	lwz     r27,20(r1)                             
ffc239e0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc239e4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc239e8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc239ec:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc239f0:	38 21 00 28 	addi    r1,r1,40                               
ffc239f4:	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);          
ffc239f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc239fc:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23a00:	38 63 b7 90 	addi    r3,r3,-18544                           <== NOT EXECUTED
ffc23a04:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23a08:	48 00 5e 99 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23a0c:	4b ff ff 1c 	b       ffc23928 <rtems_rfs_file_open+0x50>    <== 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); 
ffc23a10:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23a14:	38 63 b7 b0 	addi    r3,r3,-18512                           <== NOT EXECUTED
ffc23a18:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23a1c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23a20:	48 00 5e 81 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  handle->flags  = flags;                                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
ffc23a24:	3b 00 00 00 	li      r24,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  = flags;                                             
ffc23a28:	93 5e 00 00 	stw     r26,0(r30)                             <== NOT EXECUTED
  handle->shared = shared;                                            
ffc23a2c:	93 fe 00 1c 	stw     r31,28(r30)                            <== NOT EXECUTED
                                                                      
  *file = handle;                                                     
ffc23a30:	93 dc 00 00 	stw     r30,0(r28)                             <== NOT EXECUTED
ffc23a34:	4b ff ff 90 	b       ffc239c4 <rtems_rfs_file_open+0xec>    <== 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));                 
ffc23a38:	38 60 00 9c 	li      r3,156                                 
ffc23a3c:	4b fe 53 b1 	bl      ffc08dec <malloc>                      
    if (!shared)                                                      
ffc23a40:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc23a44:	41 82 00 f4 	beq-    ffc23b38 <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));               
ffc23a48:	38 80 00 00 	li      r4,0                                   
ffc23a4c:	38 a0 00 9c 	li      r5,156                                 
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc23a50:	3b 3f 00 0c 	addi    r25,r31,12                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
ffc23a54:	48 00 5c bd 	bl      ffc29710 <memset>                      
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc23a58:	7f 63 db 78 	mr      r3,r27                                 
ffc23a5c:	7f a4 eb 78 	mr      r4,r29                                 
ffc23a60:	7f 25 cb 78 	mr      r5,r25                                 
ffc23a64:	38 c0 00 01 	li      r6,1                                   
ffc23a68:	4b ff 04 49 	bl      ffc13eb0 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc23a6c:	7c 78 1b 79 	mr.     r24,r3                                 
ffc23a70:	40 81 00 6c 	ble-    ffc23adc <rtems_rfs_file_open+0x204>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc23a74:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc23a78:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23a7c:	4b ff 3b 51 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23a80:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23a84:	41 be 00 24 	beq+    cr7,ffc23aa8 <rtems_rfs_file_open+0x1d0><== NOT EXECUTED
        printf ("rtems-rfs: file-open: inode open failed: %d: %s\n",  
ffc23a88:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc23a8c:	48 00 6b 81 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23a90:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc23a94:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23a98:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23a9c:	38 63 b7 d8 	addi    r3,r3,-18472                           <== NOT EXECUTED
ffc23aa0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23aa4:	48 00 5d fd 	bl      ffc298a0 <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);                                                  
ffc23aa8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23aac:	4b fe 4a 35 	bl      ffc084e0 <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);                       
ffc23ab0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc23ab4:	38 9e 00 04 	addi    r4,r30,4                               <== NOT EXECUTED
ffc23ab8:	4b ff dc ed 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23abc:	38 00 00 00 	li      r0,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;                                              
ffc23ac0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23ac4:	90 1e 00 08 	stw     r0,8(r30)                              <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
ffc23ac8:	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;                                              
ffc23acc:	99 3e 00 04 	stb     r9,4(r30)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23ad0:	90 1e 00 0c 	stw     r0,12(r30)                             <== NOT EXECUTED
ffc23ad4:	4b fe 4a 0d 	bl      ffc084e0 <free>                        <== NOT EXECUTED
      return rc;                                                      
ffc23ad8:	4b ff fe ec 	b       ffc239c4 <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); 
ffc23adc:	7f 63 db 78 	mr      r3,r27                                 
ffc23ae0:	7f 24 cb 78 	mr      r4,r25                                 
ffc23ae4:	38 bf 00 34 	addi    r5,r31,52                              
ffc23ae8:	4b ff cb d5 	bl      ffc206bc <rtems_rfs_block_map_open>    
    if (rc > 0)                                                       
ffc23aec:	7c 78 1b 79 	mr.     r24,r3                                 
ffc23af0:	40 81 00 70 	ble-    ffc23b60 <rtems_rfs_file_open+0x288>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc23af4:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc23af8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23afc:	4b ff 3a d1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc23b00:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23b04:	41 be 00 24 	beq+    cr7,ffc23b28 <rtems_rfs_file_open+0x250><== NOT EXECUTED
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
ffc23b08:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc23b0c:	48 00 6b 01 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc23b10:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc23b14:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23b18:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23b1c:	38 63 b8 0c 	addi    r3,r3,-18420                           <== NOT EXECUTED
ffc23b20:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23b24:	48 00 5d 7d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
ffc23b28:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc23b2c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc23b30:	4b ff 05 e1 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc23b34:	4b ff ff 74 	b       ffc23aa8 <rtems_rfs_file_open+0x1d0>   <== 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);                       
ffc23b38:	38 9e 00 04 	addi    r4,r30,4                               <== NOT EXECUTED
ffc23b3c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc23b40:	4b ff dc 65 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc23b44:	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);                                                  
ffc23b48:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23b4c:	93 fe 00 08 	stw     r31,8(r30)                             <== NOT EXECUTED
      return ENOMEM;                                                  
ffc23b50:	3b 00 00 0c 	li      r24,12                                 <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc23b54:	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);                                                  
ffc23b58:	4b fe 49 89 	bl      ffc084e0 <free>                        <== NOT EXECUTED
      return ENOMEM;                                                  
ffc23b5c:	4b ff fe 68 	b       ffc239c4 <rtems_rfs_file_open+0xec>    <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc23b60:	38 00 00 01 	li      r0,1                                   
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc23b64:	81 3f 00 18 	lwz     r9,24(r31)                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc23b68:	90 1f 00 08 	stw     r0,8(r31)                              
ffc23b6c:	38 7b 00 70 	addi    r3,r27,112                             
ffc23b70:	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);             
ffc23b74:	89 09 00 0c 	lbz     r8,12(r9)                              
ffc23b78:	89 49 00 0d 	lbz     r10,13(r9)                             
ffc23b7c:	89 69 00 0f 	lbz     r11,15(r9)                             
ffc23b80:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc23b84:	88 09 00 0e 	lbz     r0,14(r9)                              
ffc23b88:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc23b8c:	7d 0a 53 78 	or      r10,r8,r10                             
ffc23b90:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc23b94:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc23b98:	7d 60 03 78 	or      r0,r11,r0                              
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
ffc23b9c:	90 1f 00 84 	stw     r0,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);            
ffc23ba0:	89 69 00 0a 	lbz     r11,10(r9)                             
ffc23ba4:	88 09 00 0b 	lbz     r0,11(r9)                              
ffc23ba8:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
ffc23bac:	7d 60 03 78 	or      r0,r11,r0                              
ffc23bb0:	90 1f 00 88 	stw     r0,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);                   
ffc23bb4:	89 09 00 10 	lbz     r8,16(r9)                              
ffc23bb8:	89 49 00 11 	lbz     r10,17(r9)                             
ffc23bbc:	89 69 00 13 	lbz     r11,19(r9)                             
ffc23bc0:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc23bc4:	88 09 00 12 	lbz     r0,18(r9)                              
ffc23bc8:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc23bcc:	7d 0a 53 78 	or      r10,r8,r10                             
ffc23bd0:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc23bd4:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc23bd8:	7d 60 03 78 	or      r0,r11,r0                              
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
ffc23bdc:	90 1f 00 8c 	stw     r0,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);                   
ffc23be0:	89 09 00 14 	lbz     r8,20(r9)                              
ffc23be4:	89 49 00 15 	lbz     r10,21(r9)                             
ffc23be8:	89 69 00 17 	lbz     r11,23(r9)                             
ffc23bec:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc23bf0:	88 09 00 16 	lbz     r0,22(r9)                              
ffc23bf4:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc23bf8:	7d 0a 53 78 	or      r10,r8,r10                             
ffc23bfc:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc23c00:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc23c04:	7d 60 03 78 	or      r0,r11,r0                              
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
ffc23c08:	90 1f 00 90 	stw     r0,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);                   
ffc23c0c:	89 09 00 19 	lbz     r8,25(r9)                              
ffc23c10:	89 49 00 18 	lbz     r10,24(r9)                             
ffc23c14:	89 69 00 1b 	lbz     r11,27(r9)                             
ffc23c18:	88 09 00 1a 	lbz     r0,26(r9)                              
ffc23c1c:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc23c20:	55 09 80 1e 	rlwinm  r9,r8,16,0,15                          
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
    shared->fs = fs;                                                  
ffc23c24:	93 7f 00 98 	stw     r27,152(r31)                           
ffc23c28:	7d 49 4b 78 	or      r9,r10,r9                              
ffc23c2c:	7d 29 5b 78 	or      r9,r9,r11                              
ffc23c30:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc23c34:	7d 20 03 78 	or      r0,r9,r0                               
    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);       
ffc23c38:	90 1f 00 94 	stw     r0,148(r31)                            
ffc23c3c:	4b fe ab 11 	bl      ffc0e74c <_Chain_Append>               
    shared->fs = fs;                                                  
                                                                      
    rtems_chain_append (&fs->file_shares, &shared->link);             
                                                                      
    rtems_rfs_inode_unload (fs, &shared->inode, false);               
ffc23c40:	7f 24 cb 78 	mr      r4,r25                                 
ffc23c44:	38 a0 00 00 	li      r5,0                                   
ffc23c48:	7f 63 db 78 	mr      r3,r27                                 
ffc23c4c:	4b ff 03 85 	bl      ffc13fd0 <rtems_rfs_inode_unload>      
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc23c50:	38 60 00 08 	li      r3,8                                   
ffc23c54:	38 80 00 00 	li      r4,0                                   
ffc23c58:	4b ff 39 75 	bl      ffc175cc <rtems_rfs_trace>             
ffc23c5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23c60:	41 9e fd 54 	beq+    cr7,ffc239b4 <rtems_rfs_file_open+0xdc><== ALWAYS TAKEN
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
ffc23c64:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23c68:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23c6c:	38 63 b8 44 	addi    r3,r3,-18364                           <== NOT EXECUTED
ffc23c70:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23c74:	48 00 5c 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc23c78:	4b ff fd 3c 	b       ffc239b4 <rtems_rfs_file_open+0xdc>    <== NOT EXECUTED
                                                                      

ffc245c4 <rtems_rfs_file_seek>: int rtems_rfs_file_seek (rtems_rfs_file_handle* handle, rtems_rfs_pos pos, rtems_rfs_pos* new_pos) {
ffc245c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc245c8:	7c 08 02 a6 	mflr    r0                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc245cc:	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)                  
{                                                                     
ffc245d0:	93 81 00 08 	stw     r28,8(r1)                              
ffc245d4:	7c 7c 1b 78 	mr      r28,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc245d8:	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)                  
{                                                                     
ffc245dc:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc245e0:	7c dd 33 78 	mr      r29,r6                                 
ffc245e4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc245e8:	7c fe 3b 78 	mr      r30,r7                                 
ffc245ec:	93 e1 00 14 	stw     r31,20(r1)                             
ffc245f0:	7c bf 2b 78 	mr      r31,r5                                 
ffc245f4:	90 01 00 1c 	stw     r0,28(r1)                              
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc245f8:	4b ff 2f d5 	bl      ffc175cc <rtems_rfs_trace>             
ffc245fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24600:	40 9e 00 9c 	bne-    cr7,ffc2469c <rtems_rfs_file_seek+0xd8><== 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),
ffc24604:	80 9c 00 1c 	lwz     r4,28(r28)                             
ffc24608:	80 64 00 98 	lwz     r3,152(r4)                             
ffc2460c:	38 84 00 84 	addi    r4,r4,132                              
ffc24610:	4b ff c0 55 	bl      ffc20664 <rtems_rfs_block_get_size>    
ffc24614:	7f 83 f8 40 	cmplw   cr7,r3,r31                             
ffc24618:	41 9d 00 40 	bgt-    cr7,ffc24658 <rtems_rfs_file_seek+0x94><== NEVER TAKEN
ffc2461c:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc24620:	41 9e 00 30 	beq-    cr7,ffc24650 <rtems_rfs_file_seek+0x8c><== ALWAYS TAKEN
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
ffc24624:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc24628:	38 60 00 00 	li      r3,0                                   
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
                                                                      
  *new_pos = pos;                                                     
ffc2462c:	93 fe 00 00 	stw     r31,0(r30)                             
  return 0;                                                           
}                                                                     
ffc24630:	7c 08 03 a6 	mtlr    r0                                     
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
                                                                      
  *new_pos = pos;                                                     
ffc24634:	93 be 00 04 	stw     r29,4(r30)                             
  return 0;                                                           
}                                                                     
ffc24638:	83 81 00 08 	lwz     r28,8(r1)                              
ffc2463c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc24640:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc24644:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc24648:	38 21 00 18 	addi    r1,r1,24                               
ffc2464c:	4e 80 00 20 	blr                                            
   *     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),
ffc24650:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
ffc24654:	40 9d ff d0 	ble+    cr7,ffc24624 <rtems_rfs_file_seek+0x60><== ALWAYS TAKEN
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
ffc24658:	81 3c 00 1c 	lwz     r9,28(r28)                             <== NOT EXECUTED
ffc2465c:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc24660:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc24664:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc24668:	38 fc 00 10 	addi    r7,r28,16                              <== NOT EXECUTED
ffc2466c:	4b ff be b1 	bl      ffc2051c <rtems_rfs_block_get_bpos>    <== NOT EXECUTED
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
ffc24670:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
                                                                      
  *new_pos = pos;                                                     
ffc24674:	93 fe 00 00 	stw     r31,0(r30)                             <== NOT EXECUTED
  return 0;                                                           
}                                                                     
ffc24678:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2467c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
                                                                      
  *new_pos = pos;                                                     
ffc24680:	93 be 00 04 	stw     r29,4(r30)                             <== NOT EXECUTED
  return 0;                                                           
}                                                                     
ffc24684:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc24688:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc2468c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc24690:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc24694:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc24698:	4e 80 00 20 	blr                                            <== NOT EXECUTED
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);          
ffc2469c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc246a0:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc246a4:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc246a8:	38 63 ba 90 	addi    r3,r3,-17776                           <== NOT EXECUTED
ffc246ac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc246b0:	48 00 51 f1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc246b4:	4b ff ff 50 	b       ffc24604 <rtems_rfs_file_seek+0x40>    <== NOT EXECUTED
                                                                      

ffc246b8 <rtems_rfs_file_set_size>: } int rtems_rfs_file_set_size (rtems_rfs_file_handle* handle, rtems_rfs_pos new_size) {
ffc246b8:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc246bc:	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))                      
ffc246c0:	38 80 00 00 	li      r4,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc246c4:	90 01 00 54 	stw     r0,84(r1)                              
ffc246c8:	93 21 00 34 	stw     r25,52(r1)                             
ffc246cc:	7c 79 1b 78 	mr      r25,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))                      
ffc246d0:	38 60 00 20 	li      r3,32                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc246d4:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc246d8:	93 01 00 30 	stw     r24,48(r1)                             
ffc246dc:	93 41 00 38 	stw     r26,56(r1)                             
ffc246e0:	7c ba 2b 78 	mr      r26,r5                                 
ffc246e4:	93 61 00 3c 	stw     r27,60(r1)                             
ffc246e8:	7c db 33 78 	mr      r27,r6                                 
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc246ec:	83 19 00 1c 	lwz     r24,28(r25)                            
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc246f0:	92 61 00 1c 	stw     r19,28(r1)                             
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc246f4:	3a f8 00 34 	addi    r23,r24,52                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc246f8:	92 81 00 20 	stw     r20,32(r1)                             
ffc246fc:	92 a1 00 24 	stw     r21,36(r1)                             
ffc24700:	92 c1 00 28 	stw     r22,40(r1)                             
ffc24704:	93 81 00 40 	stw     r28,64(r1)                             
ffc24708:	93 a1 00 44 	stw     r29,68(r1)                             
ffc2470c:	93 c1 00 48 	stw     r30,72(r1)                             
ffc24710:	93 e1 00 4c 	stw     r31,76(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))                      
ffc24714:	4b ff 2e b9 	bl      ffc175cc <rtems_rfs_trace>             
ffc24718:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2471c:	40 9e 02 10 	bne-    cr7,ffc2492c <rtems_rfs_file_set_size+0x274><== NEVER TAKEN
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
                                                                      
  /*                                                                  
   * Short cut for the common truncate on open call.                  
   */                                                                 
  if (new_size == 0)                                                  
ffc24720:	7f 40 db 79 	or.     r0,r26,r27                             
ffc24724:	40 82 00 64 	bne-    ffc24788 <rtems_rfs_file_set_size+0xd0>
  {                                                                   
    rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
ffc24728:	81 39 00 1c 	lwz     r9,28(r25)                             
ffc2472c:	7e e4 bb 78 	mr      r4,r23                                 
ffc24730:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24734:	4b ff ce 09 	bl      ffc2153c <rtems_rfs_block_map_free_all>
    if (rc > 0)                                                       
ffc24738:	7c 76 1b 79 	mr.     r22,r3                                 
ffc2473c:	40 81 01 bc 	ble-    ffc248f8 <rtems_rfs_file_set_size+0x240><== ALWAYS TAKEN
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
    handle->shared->mtime = time (NULL);                              
                                                                      
  return 0;                                                           
}                                                                     
ffc24740:	80 01 00 54 	lwz     r0,84(r1)                              
ffc24744:	7e c3 b3 78 	mr      r3,r22                                 
ffc24748:	82 61 00 1c 	lwz     r19,28(r1)                             
ffc2474c:	7c 08 03 a6 	mtlr    r0                                     
ffc24750:	82 81 00 20 	lwz     r20,32(r1)                             
ffc24754:	82 a1 00 24 	lwz     r21,36(r1)                             
ffc24758:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc2475c:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc24760:	83 01 00 30 	lwz     r24,48(r1)                             
ffc24764:	83 21 00 34 	lwz     r25,52(r1)                             
ffc24768:	83 41 00 38 	lwz     r26,56(r1)                             
ffc2476c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc24770:	83 81 00 40 	lwz     r28,64(r1)                             
ffc24774:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc24778:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc2477c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc24780:	38 21 00 50 	addi    r1,r1,80                               
ffc24784:	4e 80 00 20 	blr                                            
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
  else                                                                
  {                                                                   
    size = rtems_rfs_file_size (handle);                              
ffc24788:	80 99 00 1c 	lwz     r4,28(r25)                             
ffc2478c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc24790:	38 84 00 84 	addi    r4,r4,132                              
ffc24794:	4b ff be d1 	bl      ffc20664 <rtems_rfs_block_get_size>    
                                                                      
    /*                                                                
     * If the file is same size do nothing else grow or shrink it ?   
     */                                                               
    if (size != new_size)                                             
ffc24798:	7f 9a 18 00 	cmpw    cr7,r26,r3                             
ffc2479c:	41 9e 01 54 	beq-    cr7,ffc248f0 <rtems_rfs_file_set_size+0x238><== ALWAYS TAKEN
    {                                                                 
      if (size < new_size)                                            
ffc247a0:	7f 1a 18 40 	cmplw   cr6,r26,r3                             
ffc247a4:	40 99 01 a4 	ble-    cr6,ffc24948 <rtems_rfs_file_set_size+0x290><== 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));
ffc247a8:	82 b9 00 1c 	lwz     r21,28(r25)                            
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
ffc247ac:	7f e4 d8 10 	subfc   r31,r4,r27                             
ffc247b0:	7f c3 d1 10 	subfe   r30,r3,r26                             
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc247b4:	7f c0 fb 79 	or.     r0,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));
ffc247b8:	81 35 00 98 	lwz     r9,152(r21)                            
ffc247bc:	7e b6 ab 78 	mr      r22,r21                                
ffc247c0:	83 49 00 08 	lwz     r26,8(r9)                              
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc247c4:	41 82 01 38 	beq-    ffc248fc <rtems_rfs_file_set_size+0x244><== NEVER TAKEN
ffc247c8:	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);
ffc247cc:	3b 60 00 00 	li      r27,0                                  
ffc247d0:	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),
ffc247d4:	3a b9 00 04 	addi    r21,r25,4                              
ffc247d8:	48 00 00 94 	b       ffc2486c <rtems_rfs_file_set_size+0x1b4>
                                           map, 1, &block);           
            if (rc > 0)                                               
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
ffc247dc:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc247e0:	40 9d 01 04 	ble-    cr7,ffc248e4 <rtems_rfs_file_set_size+0x22c><== NEVER TAKEN
          {                                                           
            length = count + bpos.boff;                               
ffc247e4:	7f 40 fa 14 	add     r26,r0,r31                             
ffc247e8:	9a 98 00 34 	stb     r20,52(r24)                            
            read_block = true;                                        
ffc247ec:	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;                                          
ffc247f0:	93 58 00 40 	stw     r26,64(r24)                            
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
ffc247f4:	81 39 00 1c 	lwz     r9,28(r25)                             
ffc247f8:	7e a4 ab 78 	mr      r4,r21                                 
ffc247fc:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc24800:	7e 66 9b 78 	mr      r6,r19                                 
ffc24804:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24808:	4b ff d1 b1 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
                                                rtems_rfs_file_buffer (handle),
                                                block, read_block);   
          if (rc > 0)                                                 
ffc2480c:	7c 76 1b 79 	mr.     r22,r3                                 
ffc24810:	41 a1 ff 30 	bgt-    ffc24740 <rtems_rfs_file_set_size+0x88><== NEVER TAKEN
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
ffc24814:	81 39 00 0c 	lwz     r9,12(r25)                             
          memset (dst + bpos.boff, 0, length - bpos.boff);            
ffc24818:	38 80 00 00 	li      r4,0                                   
ffc2481c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc24820:	80 69 00 24 	lwz     r3,36(r9)                              
ffc24824:	7c a0 d0 50 	subf    r5,r0,r26                              
ffc24828:	7c 63 02 14 	add     r3,r3,r0                               
ffc2482c:	48 00 4e e5 	bl      ffc29710 <memset>                      
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc24830:	81 39 00 1c 	lwz     r9,28(r25)                             
            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));
ffc24834:	9a 99 00 04 	stb     r20,4(r25)                             
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc24838:	7e a4 ab 78 	mr      r4,r21                                 
ffc2483c:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24840:	4b ff cf 65 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
                                                rtems_rfs_file_buffer (handle));
          if (rc > 0)                                                 
ffc24844:	7c 76 1b 79 	mr.     r22,r3                                 
ffc24848:	41 a1 fe f8 	bgt-    ffc24740 <rtems_rfs_file_set_size+0x88><== NEVER TAKEN
            return rc;                                                
                                                                      
          count -= length - bpos.boff;                                
ffc2484c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc24850:	3b 80 00 00 	li      r28,0                                  
ffc24854:	7f a0 d0 50 	subf    r29,r0,r26                             
ffc24858:	7f fd f8 10 	subfc   r31,r29,r31                            
ffc2485c:	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)                                                 
ffc24860:	7f c9 fb 79 	or.     r9,r30,r31                             
ffc24864:	41 82 00 94 	beq-    ffc248f8 <rtems_rfs_file_set_size+0x240><== ALWAYS TAKEN
ffc24868:	82 d9 00 1c 	lwz     r22,28(r25)                            <== NOT EXECUTED
          /*                                                          
           * 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);
ffc2486c:	80 18 00 40 	lwz     r0,64(r24)                             
ffc24870:	81 38 00 3c 	lwz     r9,60(r24)                             
ffc24874:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc24878:	90 01 00 10 	stw     r0,16(r1)                              
ffc2487c:	91 21 00 0c 	stw     r9,12(r1)                              
ffc24880:	93 61 00 14 	stw     r27,20(r1)                             
ffc24884:	41 9e 00 0c 	beq-    cr7,ffc24890 <rtems_rfs_file_set_size+0x1d8>
ffc24888:	39 29 ff ff 	addi    r9,r9,-1                               
ffc2488c:	91 21 00 0c 	stw     r9,12(r1)                              
          rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),  
ffc24890:	80 76 00 98 	lwz     r3,152(r22)                            
ffc24894:	7e e4 bb 78 	mr      r4,r23                                 
ffc24898:	38 a1 00 0c 	addi    r5,r1,12                               
ffc2489c:	38 c1 00 08 	addi    r6,r1,8                                
ffc248a0:	4b ff c2 39 	bl      ffc20ad8 <rtems_rfs_block_map_find>    
                                         map, &bpos, &block);         
          if (rc > 0)                                                 
ffc248a4:	7c 76 1b 79 	mr.     r22,r3                                 
ffc248a8:	40 81 00 2c 	ble-    ffc248d4 <rtems_rfs_file_set_size+0x21c>
          {                                                           
            /*                                                        
             * Have we reached the EOF ?                              
             */                                                       
            if (rc != ENXIO)                                          
ffc248ac:	2f 96 00 06 	cmpwi   cr7,r22,6                              
ffc248b0:	40 be fe 90 	bne-    cr7,ffc24740 <rtems_rfs_file_set_size+0x88><== NEVER TAKEN
              return rc;                                              
                                                                      
            rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),
ffc248b4:	81 39 00 1c 	lwz     r9,28(r25)                             
ffc248b8:	7e e4 bb 78 	mr      r4,r23                                 
ffc248bc:	38 a0 00 01 	li      r5,1                                   
ffc248c0:	80 69 00 98 	lwz     r3,152(r9)                             
ffc248c4:	38 c1 00 08 	addi    r6,r1,8                                
ffc248c8:	4b ff c4 bd 	bl      ffc20d84 <rtems_rfs_block_map_grow>    
                                           map, 1, &block);           
            if (rc > 0)                                               
ffc248cc:	7c 76 1b 79 	mr.     r22,r3                                 
ffc248d0:	41 a1 fe 70 	bgt-    ffc24740 <rtems_rfs_file_set_size+0x88><== NEVER TAKEN
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
ffc248d4:	7f 9b f0 00 	cmpw    cr7,r27,r30                            
ffc248d8:	80 01 00 10 	lwz     r0,16(r1)                              
ffc248dc:	7d 20 d0 50 	subf    r9,r0,r26                              
ffc248e0:	41 be fe fc 	beq-    cr7,ffc247dc <rtems_rfs_file_set_size+0x124><== ALWAYS TAKEN
ffc248e4:	93 78 00 40 	stw     r27,64(r24)                            <== NOT EXECUTED
  map->dirty = true;                                                  
ffc248e8:	9a 98 00 34 	stb     r20,52(r24)                            <== NOT EXECUTED
ffc248ec:	4b ff ff 08 	b       ffc247f4 <rtems_rfs_file_set_size+0x13c><== NOT EXECUTED
    size = rtems_rfs_file_size (handle);                              
                                                                      
    /*                                                                
     * If the file is same size do nothing else grow or shrink it ?   
     */                                                               
    if (size != new_size)                                             
ffc248f0:	7f 1b 20 00 	cmpw    cr6,r27,r4                             
ffc248f4:	40 9a fe ac 	bne+    cr6,ffc247a0 <rtems_rfs_file_set_size+0xe8>
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc248f8:	82 b9 00 1c 	lwz     r21,28(r25)                            
ffc248fc:	83 d8 00 3c 	lwz     r30,60(r24)                            
ffc24900:	80 98 00 40 	lwz     r4,64(r24)                             
  }                                                                   
                                                                      
  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))                           
ffc24904:	80 19 00 00 	lwz     r0,0(r25)                              
    handle->shared->mtime = time (NULL);                              
                                                                      
  return 0;                                                           
ffc24908:	3a c0 00 00 	li      r22,0                                  
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
ffc2490c:	93 d5 00 84 	stw     r30,132(r21)                           
  handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
ffc24910:	70 09 00 02 	andi.   r9,r0,2                                
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
  handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
ffc24914:	90 95 00 88 	stw     r4,136(r21)                            
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
ffc24918:	40 82 fe 28 	bne+    ffc24740 <rtems_rfs_file_set_size+0x88><== NEVER TAKEN
    handle->shared->mtime = time (NULL);                              
ffc2491c:	38 60 00 00 	li      r3,0                                   
ffc24920:	48 00 88 01 	bl      ffc2d120 <time>                        
ffc24924:	90 75 00 90 	stw     r3,144(r21)                            
ffc24928:	4b ff fe 18 	b       ffc24740 <rtems_rfs_file_set_size+0x88>
  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);
ffc2492c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24930:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc24934:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc24938:	38 63 ba b0 	addi    r3,r3,-17744                           <== NOT EXECUTED
ffc2493c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24940:	48 00 4f 61 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc24944:	4b ff fd dc 	b       ffc24720 <rtems_rfs_file_set_size+0x68><== NOT EXECUTED
    /*                                                                
     * If the file is same size do nothing else grow or shrink it ?   
     */                                                               
    if (size != new_size)                                             
    {                                                                 
      if (size < new_size)                                            
ffc24948:	40 9e 00 0c 	bne-    cr7,ffc24954 <rtems_rfs_file_set_size+0x29c><== NEVER TAKEN
ffc2494c:	7f 9b 20 40 	cmplw   cr7,r27,r4                             
ffc24950:	41 bd fe 58 	bgt-    cr7,ffc247a8 <rtems_rfs_file_set_size+0xf0><== 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);
ffc24954:	82 d9 00 1c 	lwz     r22,28(r25)                            <== NOT EXECUTED
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc24958:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc2495c:	30 9b ff ff 	addic   r4,r27,-1                              <== NOT EXECUTED
ffc24960:	7c 7a 01 d4 	addme   r3,r26                                 <== NOT EXECUTED
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
ffc24964:	83 d8 00 3c 	lwz     r30,60(r24)                            <== NOT EXECUTED
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
ffc24968:	82 f6 00 98 	lwz     r23,152(r22)                           <== NOT EXECUTED
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc2496c:	83 97 00 08 	lwz     r28,8(r23)                             <== NOT EXECUTED
ffc24970:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc24974:	48 01 24 85 	bl      ffc36df8 <__udivdi3>                   <== NOT EXECUTED
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
ffc24978:	7c 85 20 f8 	not     r5,r4                                  <== NOT EXECUTED
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
                                                                      
        offset =                                                      
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
                                                                      
        if (blocks)                                                   
ffc2497c:	7c a5 f2 15 	add.    r5,r5,r30                              <== NOT EXECUTED
ffc24980:	40 82 00 88 	bne-    ffc24a08 <rtems_rfs_file_set_size+0x350><== NOT EXECUTED
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
                                                                      
        offset =                                                      
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc24984:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc24988:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc2498c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc24990:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc24994:	48 01 28 59 	bl      ffc371ec <__umoddi3>                   <== NOT EXECUTED
ffc24998:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc2499c:	90 98 00 40 	stw     r4,64(r24)                             <== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
ffc249a0:	80 19 00 10 	lwz     r0,16(r25)                             <== NOT EXECUTED
  map->dirty = true;                                                  
ffc249a4:	99 38 00 34 	stb     r9,52(r24)                             <== NOT EXECUTED
ffc249a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc249ac:	41 9e 00 34 	beq-    cr7,ffc249e0 <rtems_rfs_file_set_size+0x328><== NOT EXECUTED
ffc249b0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc249b4:	40 9e 00 2c 	bne-    cr7,ffc249e0 <rtems_rfs_file_set_size+0x328><== NOT EXECUTED
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
ffc249b8:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
ffc249bc:	93 d9 00 10 	stw     r30,16(r25)                            <== NOT EXECUTED
ffc249c0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc249c4:	90 99 00 14 	stw     r4,20(r25)                             <== NOT EXECUTED
ffc249c8:	90 19 00 18 	stw     r0,24(r25)                             <== NOT EXECUTED
ffc249cc:	41 9e 00 0c 	beq-    cr7,ffc249d8 <rtems_rfs_file_set_size+0x320><== NOT EXECUTED
ffc249d0:	38 1e ff ff 	addi    r0,r30,-1                              <== NOT EXECUTED
ffc249d4:	90 19 00 10 	stw     r0,16(r25)                             <== NOT EXECUTED
ffc249d8:	7e d5 b3 78 	mr      r21,r22                                <== NOT EXECUTED
ffc249dc:	4b ff ff 28 	b       ffc24904 <rtems_rfs_file_set_size+0x24c><== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
ffc249e0:	7f 80 f0 40 	cmplw   cr7,r0,r30                             <== NOT EXECUTED
ffc249e4:	40 bc ff d4 	bge-    cr7,ffc249b8 <rtems_rfs_file_set_size+0x300><== NOT EXECUTED
ffc249e8:	39 3e ff ff 	addi    r9,r30,-1                              <== NOT EXECUTED
ffc249ec:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc249f0:	40 9e ff e8 	bne+    cr7,ffc249d8 <rtems_rfs_file_set_size+0x320><== NOT EXECUTED
ffc249f4:	80 19 00 14 	lwz     r0,20(r25)                             <== NOT EXECUTED
ffc249f8:	7f 84 00 40 	cmplw   cr7,r4,r0                              <== NOT EXECUTED
ffc249fc:	41 bc ff bc 	blt-    cr7,ffc249b8 <rtems_rfs_file_set_size+0x300><== NOT EXECUTED
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
ffc24a00:	7e d5 b3 78 	mr      r21,r22                                <== NOT EXECUTED
ffc24a04:	4b ff ff 00 	b       ffc24904 <rtems_rfs_file_set_size+0x24c><== NOT EXECUTED
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
                                                                      
        if (blocks)                                                   
        {                                                             
          int rc;                                                     
          rc = rtems_rfs_block_map_shrink (rtems_rfs_file_fs (handle),
ffc24a08:	38 96 00 34 	addi    r4,r22,52                              <== NOT EXECUTED
ffc24a0c:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc24a10:	4b ff c7 9d 	bl      ffc211ac <rtems_rfs_block_map_shrink>  <== NOT EXECUTED
                                           rtems_rfs_file_map (handle),
                                           blocks);                   
          if (rc > 0)                                                 
ffc24a14:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24a18:	7c 76 1b 78 	mr      r22,r3                                 <== NOT EXECUTED
ffc24a1c:	41 9d fd 24 	bgt+    cr7,ffc24740 <rtems_rfs_file_set_size+0x88><== NOT EXECUTED
ffc24a20:	83 d8 00 3c 	lwz     r30,60(r24)                            <== NOT EXECUTED
ffc24a24:	82 d9 00 1c 	lwz     r22,28(r25)                            <== NOT EXECUTED
ffc24a28:	4b ff ff 5c 	b       ffc24984 <rtems_rfs_file_set_size+0x2cc><== NOT EXECUTED
                                                                      

ffc12458 <rtems_rfs_format>: return rc; } int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config) {
ffc12458:	94 21 fe d8 	stwu    r1,-296(r1)                            
ffc1245c:	7c 08 02 a6 	mflr    r0                                     
ffc12460:	7d 80 00 26 	mfcr    r12                                    
ffc12464:	90 01 01 2c 	stw     r0,300(r1)                             
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc12468:	88 04 00 15 	lbz     r0,21(r4)                              
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc1246c:	92 e1 01 04 	stw     r23,260(r1)                            
ffc12470:	7c 77 1b 78 	mr      r23,r3                                 
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc12474:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc12478:	93 a1 01 1c 	stw     r29,284(r1)                            
ffc1247c:	7c 9d 23 78 	mr      r29,r4                                 
ffc12480:	92 21 00 ec 	stw     r17,236(r1)                            
ffc12484:	92 41 00 f0 	stw     r18,240(r1)                            
ffc12488:	92 61 00 f4 	stw     r19,244(r1)                            
ffc1248c:	92 81 00 f8 	stw     r20,248(r1)                            
ffc12490:	92 a1 00 fc 	stw     r21,252(r1)                            
ffc12494:	92 c1 01 00 	stw     r22,256(r1)                            
ffc12498:	93 01 01 08 	stw     r24,264(r1)                            
ffc1249c:	93 21 01 0c 	stw     r25,268(r1)                            
ffc124a0:	93 41 01 10 	stw     r26,272(r1)                            
ffc124a4:	93 61 01 14 	stw     r27,276(r1)                            
ffc124a8:	93 81 01 18 	stw     r28,280(r1)                            
ffc124ac:	93 c1 01 20 	stw     r30,288(r1)                            
ffc124b0:	93 e1 01 24 	stw     r31,292(r1)                            
ffc124b4:	91 81 00 e8 	stw     r12,232(r1)                            
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc124b8:	40 9e 02 5c 	bne-    cr7,ffc12714 <rtems_rfs_format+0x2bc>  <== NEVER TAKEN
    printf ("rtems-rfs: format: %s\n", name);                         
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
ffc124bc:	38 80 00 00 	li      r4,0                                   
ffc124c0:	38 a0 00 80 	li      r5,128                                 
ffc124c4:	38 61 00 5c 	addi    r3,r1,92                               
ffc124c8:	48 01 72 49 	bl      ffc29710 <memset>                      
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc124cc:	7c 28 0b 78 	mr      r8,r1                                  
ffc124d0:	38 01 00 a0 	addi    r0,r1,160                              
ffc124d4:	7c 2a 0b 78 	mr      r10,r1                                 
ffc124d8:	94 08 00 9c 	stwu    r0,156(r8)                             
ffc124dc:	38 01 00 b0 	addi    r0,r1,176                              
ffc124e0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc124e4:	94 0a 00 ac 	stwu    r0,172(r10)                            
ffc124e8:	38 01 00 c0 	addi    r0,r1,192                              
ffc124ec:	7c 29 0b 78 	mr      r9,r1                                  
ffc124f0:	94 0b 00 bc 	stwu    r0,188(r11)                            
ffc124f4:	38 01 00 d0 	addi    r0,r1,208                              
ffc124f8:	94 09 00 cc 	stwu    r0,204(r9)                             
  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;                
ffc124fc:	38 00 00 05 	li      r0,5                                   
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc12500:	7e e3 bb 78 	mr      r3,r23                                 
  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;                
ffc12504:	90 01 00 98 	stw     r0,152(r1)                             
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc12508:	38 81 00 5c 	addi    r4,r1,92                               
  fs.max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;                
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
ffc1250c:	38 00 00 02 	li      r0,2                                   
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc12510:	91 01 00 a4 	stw     r8,164(r1)                             
ffc12514:	91 41 00 b4 	stw     r10,180(r1)                            
ffc12518:	91 61 00 c4 	stw     r11,196(r1)                            
ffc1251c:	91 21 00 d4 	stw     r9,212(r1)                             
ffc12520:	90 01 00 5c 	stw     r0,92(r1)                              
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc12524:	48 00 f7 a5 	bl      ffc21cc8 <rtems_rfs_buffer_open>       
  if (rc > 0)                                                         
ffc12528:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1252c:	41 81 0d 78 	bgt-    ffc132a4 <rtems_rfs_format+0xe4c>      <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
ffc12530:	81 21 00 68 	lwz     r9,104(r1)                             
ffc12534:	80 a9 00 24 	lwz     r5,36(r9)                              
ffc12538:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1253c:	41 9e 0d b0 	beq-    cr7,ffc132ec <rtems_rfs_format+0xe94>  <== 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;                                
ffc12540:	80 9d 00 00 	lwz     r4,0(r29)                              
  if (!fs->block_size)                                                
ffc12544:	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;                                
ffc12548:	90 81 00 64 	stw     r4,100(r1)                             
  if (!fs->block_size)                                                
ffc1254c:	41 9e 03 88 	beq-    cr7,ffc128d4 <rtems_rfs_format+0x47c>  <== NEVER TAKEN
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
ffc12550:	7c 04 2b 96 	divwu   r0,r4,r5                               
ffc12554:	7c 00 29 d6 	mullw   r0,r0,r5                               
ffc12558:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc1255c:	40 9e 03 c8 	bne-    cr7,ffc12924 <rtems_rfs_format+0x4cc>  <== 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;                            
ffc12560:	80 1d 00 04 	lwz     r0,4(r29)                              
  {                                                                   
    /*                                                                
     * 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);  
ffc12564:	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)                                              
ffc12568:	2f 80 00 00 	cmpwi   cr7,r0,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;                            
ffc1256c:	90 01 00 80 	stw     r0,128(r1)                             
  if (!fs->group_blocks)                                              
ffc12570:	40 9e 01 38 	bne-    cr7,ffc126a8 <rtems_rfs_format+0x250>  <== 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);  
ffc12574:	90 81 00 80 	stw     r4,128(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;         
ffc12578:	38 61 00 5c 	addi    r3,r1,92                               
ffc1257c:	48 01 25 15 	bl      ffc24a90 <rtems_rfs_fs_media_size>     
ffc12580:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc12584:	38 a0 00 00 	li      r5,0                                   
ffc12588:	7f e6 fb 78 	mr      r6,r31                                 
ffc1258c:	48 02 48 6d 	bl      ffc36df8 <__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));  
ffc12590:	57 e9 18 38 	rlwinm  r9,r31,3,0,28                          
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12594:	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;         
ffc12598:	90 81 00 60 	stw     r4,96(r1)                              
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
ffc1259c:	38 00 00 01 	li      r0,1                                   
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc125a0:	41 9e 00 10 	beq-    cr7,ffc125b0 <rtems_rfs_format+0x158>  <== NEVER TAKEN
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc125a4:	39 64 ff ff 	addi    r11,r4,-1                              
ffc125a8:	7d 6b 4b 96 	divwu   r11,r11,r9                             
ffc125ac:	38 0b 00 01 	addi    r0,r11,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;                            
ffc125b0:	81 7d 00 08 	lwz     r11,8(r29)                             
  /*                                                                  
   * 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), 
ffc125b4:	90 01 00 7c 	stw     r0,124(r1)                             
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
  if (!fs->group_inodes)                                              
ffc125b8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc125bc:	41 9e 05 38 	beq-    cr7,ffc12af4 <rtems_rfs_format+0x69c>  <== ALWAYS TAKEN
ffc125c0:	3c 00 24 92 	lis     r0,9362                                <== NOT EXECUTED
ffc125c4:	57 ea e8 fe 	rlwinm  r10,r31,29,3,31                        <== NOT EXECUTED
ffc125c8:	60 00 49 25 	ori     r0,r0,18725                            <== NOT EXECUTED
ffc125cc:	7c 0a 00 16 	mulhwu  r0,r10,r0                              <== 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;
ffc125d0:	90 01 00 88 	stw     r0,136(r1)                             <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc125d4:	39 4b ff ff 	addi    r10,r11,-1                             
ffc125d8:	7d 4a 03 96 	divwu   r10,r10,r0                             
ffc125dc:	39 4a 00 01 	addi    r10,r10,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;
ffc125e0:	7c 0a 01 d6 	mullw   r0,r10,r0                              
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc125e4:	7f 89 00 40 	cmplw   cr7,r9,r0                              
                                                                      
  /*                                                                  
   * 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 =                                                  
ffc125e8:	90 01 00 84 	stw     r0,132(r1)                             
    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))
ffc125ec:	40 9c 00 08 	bge-    cr7,ffc125f4 <rtems_rfs_format+0x19c>  <== ALWAYS TAKEN
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
ffc125f0:	91 21 00 84 	stw     r9,132(r1)                             <== NOT EXECUTED
                                                                      
  fs->max_name_length = config->max_name_length;                      
ffc125f4:	80 1d 00 10 	lwz     r0,16(r29)                             
  if (!fs->max_name_length)                                           
ffc125f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                            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;                      
ffc125fc:	90 01 00 74 	stw     r0,116(r1)                             
  if (!fs->max_name_length)                                           
ffc12600:	40 9e 00 0c 	bne-    cr7,ffc1260c <rtems_rfs_format+0x1b4>  <== NEVER TAKEN
  {                                                                   
    fs->max_name_length = 512;                                        
ffc12604:	38 00 02 00 	li      r0,512                                 
ffc12608:	90 01 00 74 	stw     r0,116(r1)                             
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
ffc1260c:	88 1d 00 15 	lbz     r0,21(r29)                             
ffc12610:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12614:	40 9e 03 28 	bne-    cr7,ffc1293c <rtems_rfs_format+0x4e4>  <== 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));
ffc12618:	7f e4 fb 78 	mr      r4,r31                                 
ffc1261c:	38 61 00 5c 	addi    r3,r1,92                               
ffc12620:	48 00 f9 d5 	bl      ffc21ff4 <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc12624:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc12628:	41 81 0a 28 	bgt-    ffc13050 <rtems_rfs_format+0xbf8>      <== 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;                                                  
ffc1262c:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc12630:	38 00 00 00 	li      r0,0                                   
  handle->bnum  = 0;                                                  
ffc12634:	93 e1 00 14 	stw     r31,20(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);       
ffc12638:	38 61 00 5c 	addi    r3,r1,92                               
ffc1263c:	38 81 00 10 	addi    r4,r1,16                               
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc12640:	98 01 00 10 	stb     r0,16(r1)                              
ffc12644:	38 a0 00 00 	li      r5,0                                   
ffc12648:	38 c0 00 00 	li      r6,0                                   
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc1264c:	93 e1 00 18 	stw     r31,24(r1)                             
ffc12650:	48 00 f3 69 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc12654:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc12658:	40 81 00 d4 	ble-    ffc1272c <rtems_rfs_format+0x2d4>      <== 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);                       
ffc1265c:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12660:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12664:	48 00 f1 41 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
ffc12668:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1266c:	9b e1 00 10 	stb     r31,16(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12670:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc12674:	93 e1 00 18 	stw     r31,24(r1)                             <== NOT EXECUTED
ffc12678:	48 01 7f 95 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc1267c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc12680:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12684:	38 63 97 c0 	addi    r3,r3,-26688                           <== NOT EXECUTED
ffc12688:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1268c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12690:	48 01 72 11 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
ffc12694:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12698:	38 63 98 34 	addi    r3,r3,-26572                           <== NOT EXECUTED
ffc1269c:	48 01 73 b9 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
    return -1;                                                        
ffc126a0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc126a4:	48 00 00 1c 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
     * block.                                                         
     */                                                               
    fs->group_blocks = rtems_rfs_bitmap_numof_bits (fs->block_size);  
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc126a8:	7f 80 20 40 	cmplw   cr7,r0,r4                              <== NOT EXECUTED
ffc126ac:	40 bd fe cc 	ble-    cr7,ffc12578 <rtems_rfs_format+0x120>  <== NOT EXECUTED
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
ffc126b0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc126b4:	38 63 95 84 	addi    r3,r3,-27260                           <== NOT EXECUTED
ffc126b8:	48 01 73 9d 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
ffc126bc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc126c0:	80 01 01 2c 	lwz     r0,300(r1)                             
ffc126c4:	81 81 00 e8 	lwz     r12,232(r1)                            
ffc126c8:	7c 08 03 a6 	mtlr    r0                                     
ffc126cc:	82 21 00 ec 	lwz     r17,236(r1)                            
ffc126d0:	82 41 00 f0 	lwz     r18,240(r1)                            
ffc126d4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc126d8:	82 61 00 f4 	lwz     r19,244(r1)                            
ffc126dc:	82 81 00 f8 	lwz     r20,248(r1)                            
ffc126e0:	82 a1 00 fc 	lwz     r21,252(r1)                            
ffc126e4:	82 c1 01 00 	lwz     r22,256(r1)                            
ffc126e8:	82 e1 01 04 	lwz     r23,260(r1)                            
ffc126ec:	83 01 01 08 	lwz     r24,264(r1)                            
ffc126f0:	83 21 01 0c 	lwz     r25,268(r1)                            
ffc126f4:	83 41 01 10 	lwz     r26,272(r1)                            
ffc126f8:	83 61 01 14 	lwz     r27,276(r1)                            
ffc126fc:	83 81 01 18 	lwz     r28,280(r1)                            
ffc12700:	83 a1 01 1c 	lwz     r29,284(r1)                            
ffc12704:	83 c1 01 20 	lwz     r30,288(r1)                            
ffc12708:	83 e1 01 24 	lwz     r31,292(r1)                            
ffc1270c:	38 21 01 28 	addi    r1,r1,296                              
ffc12710:	4e 80 00 20 	blr                                            
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
    printf ("rtems-rfs: format: %s\n", name);                         
ffc12714:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12718:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc1271c:	38 63 94 d4 	addi    r3,r3,-27436                           <== NOT EXECUTED
ffc12720:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12724:	48 01 71 7d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc12728:	4b ff fd 94 	b       ffc124bc <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);                               
ffc1272c:	81 21 00 18 	lwz     r9,24(r1)                              
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
ffc12730:	38 80 00 ff 	li      r4,255                                 
ffc12734:	80 a1 00 64 	lwz     r5,100(r1)                             
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc12738:	83 c9 00 24 	lwz     r30,36(r9)                             
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
ffc1273c:	7f c3 f3 78 	mr      r3,r30                                 
ffc12740:	48 01 6f d1 	bl      ffc29710 <memset>                      
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
ffc12744:	38 00 00 28 	li      r0,40                                  
ffc12748:	98 1e 00 00 	stb     r0,0(r30)                              
ffc1274c:	38 00 00 09 	li      r0,9                                   
ffc12750:	39 20 00 01 	li      r9,1                                   
ffc12754:	98 1e 00 01 	stb     r0,1(r30)                              
ffc12758:	38 00 00 20 	li      r0,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);                 
ffc1275c:	38 61 00 5c 	addi    r3,r1,92                               
                                                                      
#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);           
ffc12760:	99 3e 00 03 	stb     r9,3(r30)                              
  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);                 
ffc12764:	38 81 00 10 	addi    r4,r1,16                               
                                                                      
#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);           
ffc12768:	98 1e 00 02 	stb     r0,2(r30)                              
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
ffc1276c:	9b fe 00 04 	stb     r31,4(r30)                             
ffc12770:	9b fe 00 05 	stb     r31,5(r30)                             
ffc12774:	9b fe 00 06 	stb     r31,6(r30)                             
ffc12778:	9b fe 00 07 	stb     r31,7(r30)                             
  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));
ffc1277c:	89 61 00 64 	lbz     r11,100(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));    
ffc12780:	80 01 00 60 	lwz     r0,96(r1)                              
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc12784:	99 7e 00 08 	stb     r11,8(r30)                             
                                                                      
  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));    
ffc12788:	54 08 46 3e 	rlwinm  r8,r0,8,24,31                          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc1278c:	a1 61 00 64 	lhz     r11,100(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));    
ffc12790:	54 0a 84 3e 	rlwinm  r10,r0,16,16,31                        
ffc12794:	99 1e 00 0c 	stb     r8,12(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc12798:	99 7e 00 09 	stb     r11,9(r30)                             
                                                                      
  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));    
ffc1279c:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc127a0:	81 01 00 64 	lwz     r8,100(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));    
ffc127a4:	98 1e 00 0f 	stb     r0,15(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc127a8:	55 08 c2 3e 	rlwinm  r8,r8,24,8,31                          
ffc127ac:	99 1e 00 0a 	stb     r8,10(r30)                             
ffc127b0:	80 01 00 64 	lwz     r0,100(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));    
ffc127b4:	99 5e 00 0d 	stb     r10,13(r30)                            
ffc127b8:	99 7e 00 0e 	stb     r11,14(r30)                            
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc127bc:	98 1e 00 0b 	stb     r0,11(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
ffc127c0:	88 01 00 70 	lbz     r0,112(r1)                             
ffc127c4:	98 1e 00 10 	stb     r0,16(r30)                             
ffc127c8:	a0 01 00 70 	lhz     r0,112(r1)                             
ffc127cc:	98 1e 00 11 	stb     r0,17(r30)                             
ffc127d0:	80 01 00 70 	lwz     r0,112(r1)                             
ffc127d4:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc127d8:	98 1e 00 12 	stb     r0,18(r30)                             
ffc127dc:	80 01 00 70 	lwz     r0,112(r1)                             
ffc127e0:	98 1e 00 13 	stb     r0,19(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
ffc127e4:	88 01 00 74 	lbz     r0,116(r1)                             
ffc127e8:	98 1e 00 14 	stb     r0,20(r30)                             
ffc127ec:	a0 01 00 74 	lhz     r0,116(r1)                             
ffc127f0:	98 1e 00 15 	stb     r0,21(r30)                             
ffc127f4:	80 01 00 74 	lwz     r0,116(r1)                             
ffc127f8:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc127fc:	98 1e 00 16 	stb     r0,22(r30)                             
ffc12800:	80 01 00 74 	lwz     r0,116(r1)                             
ffc12804:	98 1e 00 17 	stb     r0,23(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
ffc12808:	88 01 00 7c 	lbz     r0,124(r1)                             
ffc1280c:	98 1e 00 18 	stb     r0,24(r30)                             
ffc12810:	a0 01 00 7c 	lhz     r0,124(r1)                             
ffc12814:	98 1e 00 19 	stb     r0,25(r30)                             
ffc12818:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc1281c:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc12820:	98 1e 00 1a 	stb     r0,26(r30)                             
ffc12824:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc12828:	98 1e 00 1b 	stb     r0,27(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
ffc1282c:	88 01 00 80 	lbz     r0,128(r1)                             
ffc12830:	98 1e 00 1c 	stb     r0,28(r30)                             
ffc12834:	a0 01 00 80 	lhz     r0,128(r1)                             
ffc12838:	98 1e 00 1d 	stb     r0,29(r30)                             
ffc1283c:	80 01 00 80 	lwz     r0,128(r1)                             
ffc12840:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc12844:	98 1e 00 1e 	stb     r0,30(r30)                             
ffc12848:	80 01 00 80 	lwz     r0,128(r1)                             
ffc1284c:	98 1e 00 1f 	stb     r0,31(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
ffc12850:	88 01 00 84 	lbz     r0,132(r1)                             
ffc12854:	98 1e 00 20 	stb     r0,32(r30)                             
ffc12858:	a0 01 00 84 	lhz     r0,132(r1)                             
ffc1285c:	98 1e 00 21 	stb     r0,33(r30)                             
ffc12860:	80 01 00 84 	lwz     r0,132(r1)                             
ffc12864:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc12868:	98 1e 00 22 	stb     r0,34(r30)                             
ffc1286c:	80 01 00 84 	lwz     r0,132(r1)                             
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc12870:	9b fe 00 24 	stb     r31,36(r30)                            
  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);      
ffc12874:	98 1e 00 23 	stb     r0,35(r30)                             
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc12878:	38 00 00 38 	li      r0,56                                  
ffc1287c:	9b fe 00 25 	stb     r31,37(r30)                            
ffc12880:	9b fe 00 26 	stb     r31,38(r30)                            
ffc12884:	98 1e 00 27 	stb     r0,39(r30)                             
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
ffc12888:	99 21 00 10 	stb     r9,16(r1)                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
ffc1288c:	48 00 ef 19 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  if (rc > 0)                                                         
ffc12890:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc12894:	40 81 03 8c 	ble-    ffc12c20 <rtems_rfs_format+0x7c8>      <== 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);                       
ffc12898:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc1289c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc128a0:	48 00 ef 05 	bl      ffc217a4 <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",
ffc128a4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  handle->dirty = false;                                              
ffc128a8:	9b e1 00 10 	stb     r31,16(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc128ac:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc128b0:	93 e1 00 18 	stw     r31,24(r1)                             <== NOT EXECUTED
ffc128b4:	48 01 7d 59 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc128b8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc128bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc128c0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc128c4:	38 63 97 f8 	addi    r3,r3,-26632                           <== NOT EXECUTED
ffc128c8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc128cc:	48 01 6f d5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc128d0:	4b ff fd c4 	b       ffc12694 <rtems_rfs_format+0x23c>      <== 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);               
ffc128d4:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc128d8:	48 01 21 b9 	bl      ffc24a90 <rtems_rfs_fs_media_size>     <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
ffc128dc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc128e0:	40 82 02 6c 	bne-    ffc12b4c <rtems_rfs_format+0x6f4>      <== NOT EXECUTED
ffc128e4:	3c 00 00 0f 	lis     r0,15                                  <== NOT EXECUTED
ffc128e8:	60 00 ff ff 	ori     r0,r0,65535                            <== NOT EXECUTED
ffc128ec:	7f 84 00 40 	cmplw   cr7,r4,r0                              <== NOT EXECUTED
ffc128f0:	41 9d 02 5c 	bgt-    cr7,ffc12b4c <rtems_rfs_format+0x6f4>  <== NOT EXECUTED
ffc128f4:	80 81 00 64 	lwz     r4,100(r1)                             <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
ffc128f8:	2b 84 01 ff 	cmplwi  cr7,r4,511                             <== NOT EXECUTED
ffc128fc:	41 9d 02 9c 	bgt-    cr7,ffc12b98 <rtems_rfs_format+0x740>  <== NOT EXECUTED
      fs->block_size = 512;                                           
ffc12900:	81 21 00 68 	lwz     r9,104(r1)                             <== NOT EXECUTED
ffc12904:	38 00 02 00 	li      r0,512                                 <== NOT EXECUTED
ffc12908:	38 80 02 00 	li      r4,512                                 <== NOT EXECUTED
ffc1290c:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
ffc12910:	80 a9 00 24 	lwz     r5,36(r9)                              <== NOT EXECUTED
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
ffc12914:	7c 04 2b 96 	divwu   r0,r4,r5                               <== NOT EXECUTED
ffc12918:	7c 00 29 d6 	mullw   r0,r0,r5                               <== NOT EXECUTED
ffc1291c:	7f 84 00 00 	cmpw    cr7,r4,r0                              <== NOT EXECUTED
ffc12920:	41 9e fc 40 	beq+    cr7,ffc12560 <rtems_rfs_format+0x108>  <== NOT EXECUTED
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
ffc12924:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12928:	38 63 95 44 	addi    r3,r3,-27324                           <== NOT EXECUTED
ffc1292c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12930:	48 01 6f 71 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
ffc12934:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12938:	4b ff fd 88 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
ffc1293c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12940:	48 01 21 51 	bl      ffc24a90 <rtems_rfs_fs_media_size>     <== NOT EXECUTED
ffc12944:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc12948:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1294c:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc12950:	38 63 95 b4 	addi    r3,r3,-27212                           <== NOT EXECUTED
ffc12954:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12958:	48 01 6f 49 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
            rtems_rfs_fs_media_blocks (&fs));                         
ffc1295c:	81 21 00 68 	lwz     r9,104(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",        
ffc12960:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12964:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc12968:	38 63 95 dc 	addi    r3,r3,-27172                           <== NOT EXECUTED
ffc1296c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12970:	48 01 6f 31 	bl      ffc298a0 <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));                     
ffc12974:	81 21 00 68 	lwz     r9,104(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",    
ffc12978:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1297c:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc12980:	38 63 96 04 	addi    r3,r3,-27132                           <== NOT EXECUTED
ffc12984:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12988:	48 01 6f 19 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    printf ("rtems-rfs: format: size = %" PRIu64 "\n",                
ffc1298c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12990:	48 01 20 ed 	bl      ffc24a7c <rtems_rfs_fs_size>           <== NOT EXECUTED
ffc12994:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc12998:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1299c:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc129a0:	38 63 96 30 	addi    r3,r3,-27088                           <== NOT EXECUTED
ffc129a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc129a8:	48 01 6e f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
ffc129ac:	80 81 00 60 	lwz     r4,96(r1)                              <== NOT EXECUTED
ffc129b0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc129b4:	38 63 96 50 	addi    r3,r3,-27056                           <== NOT EXECUTED
ffc129b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc129bc:	48 01 6e e5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
ffc129c0:	80 81 00 64 	lwz     r4,100(r1)                             <== NOT EXECUTED
ffc129c4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc129c8:	38 63 96 74 	addi    r3,r3,-27020                           <== NOT EXECUTED
ffc129cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc129d0:	48 01 6e d1 	bl      ffc298a0 <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));  
ffc129d4:	80 81 00 64 	lwz     r4,100(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",               
ffc129d8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc129dc:	54 84 18 38 	rlwinm  r4,r4,3,0,28                           <== NOT EXECUTED
ffc129e0:	38 63 96 9c 	addi    r3,r3,-26980                           <== NOT EXECUTED
ffc129e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc129e8:	48 01 6e b9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
ffc129ec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc129f0:	38 80 00 38 	li      r4,56                                  <== NOT EXECUTED
ffc129f4:	38 63 96 c4 	addi    r3,r3,-26940                           <== NOT EXECUTED
ffc129f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc129fc:	48 01 6e a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
            fs.group_inodes * fs.group_count,                         
ffc12a00:	80 01 00 84 	lwz     r0,132(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",            
ffc12a04:	80 81 00 7c 	lwz     r4,124(r1)                             <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12a08:	38 c0 07 d0 	li      r6,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,
ffc12a0c:	1c e0 00 38 	mulli   r7,r0,56                               <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
ffc12a10:	81 01 00 64 	lwz     r8,100(r1)                             <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12a14:	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",            
ffc12a18:	7c 80 21 d6 	mullw   r4,r0,r4                               <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12a1c:	40 9e 01 9c 	bne-    cr7,ffc12bb8 <rtems_rfs_format+0x760>  <== 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))
ffc12a20:	81 61 00 60 	lwz     r11,96(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));  
ffc12a24:	55 09 18 38 	rlwinm  r9,r8,3,0,28                           <== NOT EXECUTED
ffc12a28:	7d 20 4b 78 	mr      r0,r9                                  <== 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))
ffc12a2c:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
ffc12a30:	7f 09 58 40 	cmplw   cr6,r9,r11                             <== NOT EXECUTED
{                                                                     
  int blocks;                                                         
  int bits_per_block;                                                 
  blocks = rtems_rfs_rup_quotient(fs->group_inodes * RTEMS_RFS_INODE_SIZE,
                                  rtems_rfs_fs_block_size (fs));      
  bits_per_block = rtems_rfs_bits_per_block (fs);                     
ffc12a34:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
  /*                                                                  
   * 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))
ffc12a38:	40 99 00 08 	ble-    cr6,ffc12a40 <rtems_rfs_format+0x5e8>  <== NOT EXECUTED
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
ffc12a3c:	7d 6a 5b 78 	mr      r10,r11                                <== NOT EXECUTED
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
ffc12a40:	7d 46 53 d6 	divw    r10,r6,r10                             <== 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",            
ffc12a44:	3c a0 66 66 	lis     r5,26214                               <== NOT EXECUTED
ffc12a48:	60 a5 66 67 	ori     r5,r5,26215                            <== NOT EXECUTED
ffc12a4c:	7c aa 28 96 	mulhw   r5,r10,r5                              <== NOT EXECUTED
ffc12a50:	7d 4a fe 70 	srawi   r10,r10,31                             <== NOT EXECUTED
ffc12a54:	7c a5 16 70 	srawi   r5,r5,2                                <== NOT EXECUTED
ffc12a58:	7c aa 28 50 	subf    r5,r10,r5                              <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12a5c:	41 9e 01 8c 	beq-    cr7,ffc12be8 <rtems_rfs_format+0x790>  <== NOT EXECUTED
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12a60:	39 47 ff ff 	addi    r10,r7,-1                              <== NOT EXECUTED
ffc12a64:	7d 4a 43 96 	divwu   r10,r10,r8                             <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12a68:	39 4a 00 02 	addi    r10,r10,2                              <== NOT EXECUTED
ffc12a6c:	1d 4a 03 e8 	mulli   r10,r10,1000                           <== 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))
ffc12a70:	7f 89 58 40 	cmplw   cr7,r9,r11                             <== NOT EXECUTED
ffc12a74:	40 9d 00 08 	ble-    cr7,ffc12a7c <rtems_rfs_format+0x624>  <== NOT EXECUTED
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
ffc12a78:	7d 60 5b 78 	mr      r0,r11                                 <== NOT EXECUTED
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
ffc12a7c:	7c 0a 03 d6 	divw    r0,r10,r0                              <== 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",            
ffc12a80:	3c c0 66 66 	lis     r6,26214                               <== NOT EXECUTED
ffc12a84:	60 c6 66 67 	ori     r6,r6,26215                            <== NOT EXECUTED
ffc12a88:	7c c0 30 96 	mulhw   r6,r0,r6                               <== NOT EXECUTED
ffc12a8c:	7c 09 fe 70 	srawi   r9,r0,31                               <== NOT EXECUTED
ffc12a90:	7c c6 16 70 	srawi   r6,r6,2                                <== NOT EXECUTED
ffc12a94:	7c c9 30 50 	subf    r6,r9,r6                               <== NOT EXECUTED
ffc12a98:	1c c6 00 0a 	mulli   r6,r6,10                               <== NOT EXECUTED
ffc12a9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12aa0:	7c c6 00 50 	subf    r6,r6,r0                               <== NOT EXECUTED
ffc12aa4:	38 63 96 ec 	addi    r3,r3,-26900                           <== NOT EXECUTED
ffc12aa8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12aac:	48 01 6d f5 	bl      ffc298a0 <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);      
ffc12ab0:	80 81 00 7c 	lwz     r4,124(r1)                             <== NOT EXECUTED
ffc12ab4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12ab8:	38 63 97 18 	addi    r3,r3,-26856                           <== NOT EXECUTED
ffc12abc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12ac0:	48 01 6d e1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
ffc12ac4:	80 81 00 80 	lwz     r4,128(r1)                             <== NOT EXECUTED
ffc12ac8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12acc:	38 63 97 38 	addi    r3,r3,-26824                           <== NOT EXECUTED
ffc12ad0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12ad4:	48 01 6d cd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
ffc12ad8:	80 81 00 84 	lwz     r4,132(r1)                             <== NOT EXECUTED
ffc12adc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12ae0:	38 63 97 60 	addi    r3,r3,-26784                           <== NOT EXECUTED
ffc12ae4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12ae8:	48 01 6d b9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc12aec:	83 e1 00 64 	lwz     r31,100(r1)                            <== NOT EXECUTED
ffc12af0:	4b ff fb 28 	b       ffc12618 <rtems_rfs_format+0x1c0>      <== 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)                                       
ffc12af4:	81 5d 00 0c 	lwz     r10,12(r29)                            
ffc12af8:	39 60 00 01 	li      r11,1                                  
ffc12afc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc12b00:	41 9e 00 08 	beq-    cr7,ffc12b08 <rtems_rfs_format+0x6b0>  <== ALWAYS TAKEN
ffc12b04:	7d 4b 53 78 	mr      r11,r10                                <== NOT EXECUTED
static int                                                            
rtems_rfs_inodes_from_percent (rtems_rfs_file_system* fs,             
                               int                    percentage)     
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
ffc12b08:	38 84 ff ff 	addi    r4,r4,-1                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
ffc12b0c:	7d 6b 21 d6 	mullw   r11,r11,r4                             
ffc12b10:	3d 40 51 eb 	lis     r10,20971                              
ffc12b14:	61 4a 85 1f 	ori     r10,r10,34079                          
ffc12b18:	7d 4b 50 16 	mulhwu  r10,r11,r10                            
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12b1c:	39 60 00 01 	li      r11,1                                  
ffc12b20:	55 4a d9 7f 	rlwinm. r10,r10,27,5,31                        
ffc12b24:	40 82 00 cc 	bne-    ffc12bf0 <rtems_rfs_format+0x798>      <== ALWAYS TAKEN
{                                                                     
  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);
ffc12b28:	3c 00 24 92 	lis     r0,9362                                <== NOT EXECUTED
ffc12b2c:	57 ea e8 fe 	rlwinm  r10,r31,29,3,31                        <== NOT EXECUTED
ffc12b30:	60 00 49 25 	ori     r0,r0,18725                            <== NOT EXECUTED
ffc12b34:	7c 0a 00 16 	mulhwu  r0,r10,r0                              <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12b38:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc12b3c:	7d 6b 01 d7 	mullw.  r11,r11,r0                             <== 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;
ffc12b40:	90 01 00 88 	stw     r0,136(r1)                             <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12b44:	41 82 fa 9c 	beq+    ffc125e0 <rtems_rfs_format+0x188>      <== NOT EXECUTED
ffc12b48:	4b ff fa 8c 	b       ffc125d4 <rtems_rfs_format+0x17c>      <== NOT EXECUTED
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
ffc12b4c:	3c 04 00 10 	addis   r0,r4,16                               <== NOT EXECUTED
ffc12b50:	7c 84 00 10 	subfc   r4,r4,r0                               <== NOT EXECUTED
ffc12b54:	7c 84 21 10 	subfe   r4,r4,r4                               <== NOT EXECUTED
ffc12b58:	7c 84 18 50 	subf    r4,r4,r3                               <== NOT EXECUTED
ffc12b5c:	54 00 65 3e 	rlwinm  r0,r0,12,20,31                         <== NOT EXECUTED
ffc12b60:	54 8b 60 26 	rlwinm  r11,r4,12,0,19                         <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc12b64:	39 20 00 1f 	li      r9,31                                  <== NOT EXECUTED
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
ffc12b68:	7d 6b 03 78 	or      r11,r11,r0                             <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
        if ((gigs & (1 << b)) != 0)                                   
ffc12b6c:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc12b70:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc12b74:	48 00 00 08 	b       ffc12b7c <rtems_rfs_format+0x724>      <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc12b78:	42 40 06 0c 	bdz-    ffc13184 <rtems_rfs_format+0xd2c>      <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
ffc12b7c:	7c 04 48 30 	slw     r4,r0,r9                               <== NOT EXECUTED
ffc12b80:	7c 8a 58 39 	and.    r10,r4,r11                             <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc12b84:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
ffc12b88:	41 82 ff f0 	beq+    ffc12b78 <rtems_rfs_format+0x720>      <== NOT EXECUTED
          break;                                                      
      fs->block_size = 1 << b;                                        
ffc12b8c:	90 81 00 64 	stw     r4,100(r1)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
ffc12b90:	2b 84 01 ff 	cmplwi  cr7,r4,511                             <== NOT EXECUTED
ffc12b94:	40 bd fd 6c 	ble-    cr7,ffc12900 <rtems_rfs_format+0x4a8>  <== NOT EXECUTED
      fs->block_size = 512;                                           
                                                                      
    if (fs->block_size > (4 * 1024))                                  
ffc12b98:	2b 84 10 00 	cmplwi  cr7,r4,4096                            <== NOT EXECUTED
ffc12b9c:	40 9d 00 10 	ble-    cr7,ffc12bac <rtems_rfs_format+0x754>  <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
ffc12ba0:	38 00 10 00 	li      r0,4096                                <== NOT EXECUTED
ffc12ba4:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
ffc12ba8:	38 80 10 00 	li      r4,4096                                <== NOT EXECUTED
ffc12bac:	81 21 00 68 	lwz     r9,104(r1)                             <== NOT EXECUTED
ffc12bb0:	80 a9 00 24 	lwz     r5,36(r9)                              <== NOT EXECUTED
ffc12bb4:	4b ff f9 9c 	b       ffc12550 <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;                              
ffc12bb8:	38 c7 ff ff 	addi    r6,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))
ffc12bbc:	81 61 00 60 	lwz     r11,96(r1)                             <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12bc0:	7c c6 43 96 	divwu   r6,r6,r8                               <== 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));  
ffc12bc4:	55 09 18 38 	rlwinm  r9,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))
ffc12bc8:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
ffc12bcc:	7f 09 58 40 	cmplw   cr6,r9,r11                             <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12bd0:	38 c6 00 02 	addi    r6,r6,2                                <== NOT EXECUTED
ffc12bd4:	1c c6 03 e8 	mulli   r6,r6,1000                             <== 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));  
ffc12bd8:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
{                                                                     
  int blocks;                                                         
  int bits_per_block;                                                 
  blocks = rtems_rfs_rup_quotient(fs->group_inodes * RTEMS_RFS_INODE_SIZE,
                                  rtems_rfs_fs_block_size (fs));      
  bits_per_block = rtems_rfs_bits_per_block (fs);                     
ffc12bdc:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
  /*                                                                  
   * 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))
ffc12be0:	40 b9 fe 60 	ble-    cr6,ffc12a40 <rtems_rfs_format+0x5e8>  <== NOT EXECUTED
ffc12be4:	4b ff fe 58 	b       ffc12a3c <rtems_rfs_format+0x5e4>      <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12be8:	39 40 07 d0 	li      r10,2000                               <== NOT EXECUTED
ffc12bec:	4b ff fe 84 	b       ffc12a70 <rtems_rfs_format+0x618>      <== NOT EXECUTED
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12bf0:	39 6a ff ff 	addi    r11,r10,-1                             
ffc12bf4:	7d 6b 03 96 	divwu   r11,r11,r0                             
{                                                                     
  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);
ffc12bf8:	3c 00 24 92 	lis     r0,9362                                
ffc12bfc:	57 ea e8 fe 	rlwinm  r10,r31,29,3,31                        
ffc12c00:	60 00 49 25 	ori     r0,r0,18725                            
ffc12c04:	7c 0a 00 16 	mulhwu  r0,r10,r0                              
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12c08:	39 6b 00 01 	addi    r11,r11,1                              
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12c0c:	7d 6b 01 d7 	mullw.  r11,r11,r0                             
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc12c10:	90 01 00 88 	stw     r0,136(r1)                             
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12c14:	39 40 00 01 	li      r10,1                                  
ffc12c18:	41 82 f9 c8 	beq+    ffc125e0 <rtems_rfs_format+0x188>      <== NEVER TAKEN
ffc12c1c:	4b ff f9 b8 	b       ffc125d4 <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);                       
ffc12c20:	38 61 00 5c 	addi    r3,r1,92                               
ffc12c24:	38 81 00 10 	addi    r4,r1,16                               
ffc12c28:	48 00 eb 7d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc12c2c:	80 01 00 7c 	lwz     r0,124(r1)                             
  handle->dirty = false;                                              
ffc12c30:	9b e1 00 10 	stb     r31,16(r1)                             
ffc12c34:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  handle->bnum  = 0;                                                  
ffc12c38:	93 e1 00 14 	stw     r31,20(r1)                             
  handle->buffer = NULL;                                              
ffc12c3c:	93 e1 00 18 	stw     r31,24(r1)                             
ffc12c40:	40 9d 02 68 	ble-    cr7,ffc12ea8 <rtems_rfs_format+0xa50>  <== NEVER TAKEN
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc12c44:	81 21 00 60 	lwz     r9,96(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,                           
ffc12c48:	8b 3d 00 14 	lbz     r25,20(r29)                            
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc12c4c:	2f 89 00 00 	cmpwi   cr7,r9,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,                           
ffc12c50:	88 1d 00 15 	lbz     r0,21(r29)                             
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc12c54:	83 e1 00 80 	lwz     r31,128(r1)                            
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc12c58:	41 9e 07 14 	beq-    cr7,ffc1336c <rtems_rfs_format+0xf14>  <== 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",
ffc12c5c:	3e 80 ff c4 	lis     r20,-60                                
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc12c60:	3e a0 ff c4 	lis     r21,-60                                
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc12c64:	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))                          
ffc12c68:	3b c0 00 01 	li      r30,1                                  
ffc12c6c:	3b 60 00 00 	li      r27,0                                  
ffc12c70:	3b 80 00 00 	li      r28,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",
ffc12c74:	3a 94 98 9c 	addi    r20,r20,-26468                         
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc12c78:	3a c0 00 00 	li      r22,0                                  
  handle->bnum  = 0;                                                  
ffc12c7c:	3b 00 00 00 	li      r24,0                                  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc12c80:	3a b5 98 d4 	addi    r21,r21,-26412                         
    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);                              
ffc12c84:	3a 60 00 01 	li      r19,1                                  
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc12c88:	3a 52 99 bc 	addi    r18,r18,-26180                         
  /*                                                                  
   * 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))           
ffc12c8c:	7d 7f f2 14 	add     r11,r31,r30                            
ffc12c90:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc12c94:	40 9c 00 08 	bge-    cr7,ffc12c9c <rtems_rfs_format+0x844>  <== NEVER TAKEN
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
ffc12c98:	7f fe 48 50 	subf    r31,r30,r9                             
                                                                      
  if (verbose)                                                        
ffc12c9c:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc12ca0:	40 92 00 f4 	bne-    cr4,ffc12d94 <rtems_rfs_format+0x93c>  <== NEVER TAKEN
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc12ca4:	98 01 00 10 	stb     r0,16(r1)                              
  handle->bnum  = 0;                                                  
ffc12ca8:	90 01 00 14 	stw     r0,20(r1)                              
  handle->buffer = NULL;                                              
ffc12cac:	90 01 00 18 	stw     r0,24(r1)                              
    printf (", blocks");                                              
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
ffc12cb0:	38 61 00 1c 	addi    r3,r1,28                               
ffc12cb4:	38 81 00 5c 	addi    r4,r1,92                               
ffc12cb8:	38 a1 00 10 	addi    r5,r1,16                               
ffc12cbc:	7f e6 fb 78 	mr      r6,r31                                 
ffc12cc0:	7f c7 f3 78 	mr      r7,r30                                 
ffc12cc4:	48 00 d3 e9 	bl      ffc200ac <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc12cc8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc12ccc:	40 81 00 50 	ble-    ffc12d1c <rtems_rfs_format+0x8c4>      <== 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);                       
ffc12cd0:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12cd4:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12cd8:	48 00 ea cd 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc12cdc:	38 00 00 00 	li      r0,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;                                              
ffc12ce0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12ce4:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
ffc12ce8:	7f 43 d3 78 	mr      r3,r26                                 <== 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;                                              
ffc12cec:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc12cf0:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc12cf4:	48 01 79 19 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12cf8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc12cfc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12d00:	38 63 98 e0 	addi    r3,r3,-26400                           <== NOT EXECUTED
ffc12d04:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12d08:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc12d0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12d10:	48 01 6b 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc12d14:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12d18:	4b ff f9 a8 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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));
ffc12d1c:	81 21 00 18 	lwz     r9,24(r1)                              
ffc12d20:	38 80 00 ff 	li      r4,255                                 
ffc12d24:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc12d28:	80 69 00 24 	lwz     r3,36(r9)                              
ffc12d2c:	48 01 69 e5 	bl      ffc29710 <memset>                      
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc12d30:	38 61 00 1c 	addi    r3,r1,28                               
ffc12d34:	48 00 d0 4d 	bl      ffc1fd80 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc12d38:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc12d3c:	40 81 00 8c 	ble-    ffc12dc8 <rtems_rfs_format+0x970>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc12d40:	38 61 00 1c 	addi    r3,r1,28                               <== NOT EXECUTED
ffc12d44:	48 00 d3 d9 	bl      ffc2011c <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);                       
ffc12d48:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12d4c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12d50:	48 00 ea 55 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc12d54:	38 00 00 00 	li      r0,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;                                              
ffc12d58:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12d5c:	90 01 00 14 	stw     r0,20(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",
ffc12d60:	7f 43 d3 78 	mr      r3,r26                                 <== 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;                                              
ffc12d64:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc12d68:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc12d6c:	48 01 78 a1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12d70:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc12d74:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12d78:	38 63 99 28 	addi    r3,r3,-26328                           <== NOT EXECUTED
ffc12d7c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12d80:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc12d84:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12d88:	48 01 6b 19 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc12d8c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12d90:	4b ff f9 30 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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",
ffc12d94:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc12d98:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12d9c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc12da0:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc12da4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12da8:	48 01 6a f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc12dac:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc12db0:	9a c1 00 10 	stb     r22,16(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12db4:	93 01 00 14 	stw     r24,20(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc12db8:	93 01 00 18 	stw     r24,24(r1)                             <== NOT EXECUTED
ffc12dbc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12dc0:	48 01 6a e1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc12dc4:	4b ff fe ec 	b       ffc12cb0 <rtems_rfs_format+0x858>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Forced allocation of the block bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
ffc12dc8:	38 80 00 00 	li      r4,0                                   
ffc12dcc:	38 61 00 1c 	addi    r3,r1,28                               
ffc12dd0:	48 00 cc bd 	bl      ffc1fa8c <rtems_rfs_bitmap_map_set>    
                                                                      
  /*                                                                  
   * Forced allocation of the inode bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
ffc12dd4:	38 61 00 1c 	addi    r3,r1,28                               
ffc12dd8:	38 80 00 01 	li      r4,1                                   
ffc12ddc:	48 00 cc b1 	bl      ffc1fa8c <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);
ffc12de0:	81 21 00 84 	lwz     r9,132(r1)                             
ffc12de4:	80 01 00 88 	lwz     r0,136(r1)                             
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12de8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12dec:	40 9e 00 a8 	bne-    cr7,ffc12e94 <rtems_rfs_format+0xa3c>  <== ALWAYS TAKEN
    return 1;                                                         
ffc12df0:	3b 40 00 01 	li      r26,1                                  <== NOT EXECUTED
ffc12df4:	3a 20 00 00 	li      r17,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);
ffc12df8:	38 91 00 02 	addi    r4,r17,2                               
ffc12dfc:	38 61 00 1c 	addi    r3,r1,28                               
  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++)                                        
ffc12e00:	3a 31 00 01 	addi    r17,r17,1                              
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
ffc12e04:	48 00 cc 89 	bl      ffc1fa8c <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++)                                        
ffc12e08:	7f 9a 88 00 	cmpw    cr7,r26,r17                            
ffc12e0c:	41 9d ff ec 	bgt+    cr7,ffc12df8 <rtems_rfs_format+0x9a0>  
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
                                                                      
  /*                                                                  
   * Close the block bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc12e10:	38 61 00 1c 	addi    r3,r1,28                               
ffc12e14:	48 00 d3 09 	bl      ffc2011c <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc12e18:	7c 71 1b 79 	mr.     r17,r3                                 
ffc12e1c:	41 81 01 08 	bgt-    ffc12f24 <rtems_rfs_format+0xacc>      <== 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);                              
ffc12e20:	9a 61 00 10 	stb     r19,16(r1)                             
                                                                      
  if (verbose)                                                        
ffc12e24:	40 92 01 c4 	bne-    cr4,ffc12fe8 <rtems_rfs_format+0xb90>  <== 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,       
ffc12e28:	7f e6 fb 78 	mr      r6,r31                                 
ffc12e2c:	38 61 00 1c 	addi    r3,r1,28                               
ffc12e30:	38 81 00 5c 	addi    r4,r1,92                               
ffc12e34:	38 a1 00 10 	addi    r5,r1,16                               
ffc12e38:	38 fb 00 02 	addi    r7,r27,2                               
ffc12e3c:	48 00 d2 71 	bl      ffc200ac <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc12e40:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc12e44:	40 81 01 2c 	ble-    ffc12f70 <rtems_rfs_format+0xb18>      <== 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);                       
ffc12e48:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12e4c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12e50:	48 00 e9 55 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc12e54:	38 00 00 00 	li      r0,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;                                              
ffc12e58:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12e5c:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
ffc12e60:	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;                                              
ffc12e64:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc12e68:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc12e6c:	48 01 77 a1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12e70:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc12e74:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12e78:	38 63 99 c8 	addi    r3,r3,-26168                           <== NOT EXECUTED
ffc12e7c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12e80:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc12e84:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12e88:	48 01 6a 19 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc12e8c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12e90:	4b ff f8 30 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12e94:	3b 49 ff ff 	addi    r26,r9,-1                              
ffc12e98:	7f 5a 03 96 	divwu   r26,r26,r0                             
  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++)                                        
ffc12e9c:	37 5a 00 01 	addic.  r26,r26,1                              
ffc12ea0:	41 81 ff 54 	bgt+    ffc12df4 <rtems_rfs_format+0x99c>      <== ALWAYS TAKEN
ffc12ea4:	4b ff ff 6c 	b       ffc12e10 <rtems_rfs_format+0x9b8>      <== 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)                                                
ffc12ea8:	88 1d 00 15 	lbz     r0,21(r29)                             
ffc12eac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12eb0:	40 9e 01 94 	bne-    cr7,ffc13044 <rtems_rfs_format+0xbec>  <== NEVER TAKEN
    printf ("\n");                                                    
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
ffc12eb4:	38 61 00 5c 	addi    r3,r1,92                               
ffc12eb8:	48 00 f2 91 	bl      ffc22148 <rtems_rfs_buffer_close>      
  if (rc > 0)                                                         
ffc12ebc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc12ec0:	41 81 04 08 	bgt-    ffc132c8 <rtems_rfs_format+0xe70>      <== NEVER TAKEN
  int                    rc;                                          
                                                                      
  /*                                                                  
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
ffc12ec4:	7e e3 bb 78 	mr      r3,r23                                 
ffc12ec8:	38 80 00 00 	li      r4,0                                   
ffc12ecc:	38 a0 00 04 	li      r5,4                                   
ffc12ed0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc12ed4:	48 01 1b d5 	bl      ffc24aa8 <rtems_rfs_fs_open>           
  if (rc < 0)                                                         
ffc12ed8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12edc:	41 9c 04 cc 	blt-    cr7,ffc133a8 <rtems_rfs_format+0xf50>  <== 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);          
ffc12ee0:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc12ee4:	38 80 00 01 	li      r4,1                                   
ffc12ee8:	38 a1 00 08 	addi    r5,r1,8                                
ffc12eec:	48 00 0e 8d 	bl      ffc13d78 <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc12ef0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc12ef4:	41 81 01 04 	bgt-    ffc12ff8 <rtems_rfs_format+0xba0>      <== NEVER TAKEN
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  if (ino != RTEMS_RFS_ROOT_INO)                                      
ffc12ef8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc12efc:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc12f00:	41 9e 01 74 	beq-    cr7,ffc13074 <rtems_rfs_format+0xc1c>  <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
ffc12f04:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12f08:	38 63 9b 84 	addi    r3,r3,-25724                           <== NOT EXECUTED
ffc12f0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12f10:	48 01 69 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc12f14:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc12f18:	48 01 24 ad 	bl      ffc253c4 <rtems_rfs_fs_close>          <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc12f1c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc12f20:	4b ff f7 a0 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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);                       
ffc12f24:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12f28:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12f2c:	48 00 e8 79 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc12f30:	38 00 00 00 	li      r0,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;                                              
ffc12f34:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12f38:	90 01 00 14 	stw     r0,20(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",
ffc12f3c:	7e 23 8b 78 	mr      r3,r17                                 <== 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;                                              
ffc12f40:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc12f44:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc12f48:	48 01 76 c5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12f4c:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc12f50:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12f54:	38 63 99 74 	addi    r3,r3,-26252                           <== NOT EXECUTED
ffc12f58:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12f5c:	7e 25 8b 78 	mr      r5,r17                                 <== NOT EXECUTED
ffc12f60:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12f64:	48 01 69 3d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc12f68:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12f6c:	4b ff f7 54 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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));
ffc12f70:	81 21 00 18 	lwz     r9,24(r1)                              
ffc12f74:	38 80 00 00 	li      r4,0                                   
ffc12f78:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc12f7c:	80 69 00 24 	lwz     r3,36(r9)                              
ffc12f80:	48 01 67 91 	bl      ffc29710 <memset>                      
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc12f84:	38 61 00 1c 	addi    r3,r1,28                               
ffc12f88:	48 00 cd f9 	bl      ffc1fd80 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc12f8c:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc12f90:	38 61 00 1c 	addi    r3,r1,28                               
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
  if (rc > 0)                                                         
ffc12f94:	40 81 01 34 	ble-    ffc130c8 <rtems_rfs_format+0xc70>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc12f98:	48 00 d1 85 	bl      ffc2011c <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);                       
ffc12f9c:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12fa0:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc12fa4:	48 00 e8 01 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc12fa8:	38 00 00 00 	li      r0,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;                                              
ffc12fac:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc12fb0:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: inode bitmap" \     
ffc12fb4:	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;                                              
ffc12fb8:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc12fbc:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc12fc0:	48 01 76 4d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12fc4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc12fc8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc12fcc:	38 63 9a 10 	addi    r3,r3,-26096                           <== NOT EXECUTED
ffc12fd0:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12fd4:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc12fd8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12fdc:	48 01 68 c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc12fe0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12fe4:	4b ff f6 dc 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc12fe8:	7e 43 93 78 	mr      r3,r18                                 <== NOT EXECUTED
ffc12fec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc12ff0:	48 01 68 b1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc12ff4:	4b ff fe 34 	b       ffc12e28 <rtems_rfs_format+0x9d0>      <== 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",   
ffc12ff8:	48 01 76 15 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc12ffc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13000:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13004:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13008:	38 63 9b 50 	addi    r3,r3,-25776                           <== NOT EXECUTED
ffc1300c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13010:	48 01 68 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
ffc13014:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc13018:	48 01 23 ad 	bl      ffc253c4 <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",   
ffc1301c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc13020:	48 01 75 ed 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13024:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13028:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1302c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13030:	38 63 9c bc 	addi    r3,r3,-25412                           <== NOT EXECUTED
ffc13034:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13038:	48 01 68 69 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc1303c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc13040:	4b ff f6 80 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
                                                                      
  if (config->verbose)                                                
    printf ("\n");                                                    
ffc13044:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc13048:	48 01 69 15 	bl      ffc2995c <putchar>                     <== NOT EXECUTED
ffc1304c:	4b ff fe 68 	b       ffc12eb4 <rtems_rfs_format+0xa5c>      <== 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", 
ffc13050:	48 01 75 bd 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13054:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13058:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1305c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13060:	38 63 97 88 	addi    r3,r3,-26744                           <== NOT EXECUTED
ffc13064:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13068:	48 01 68 39 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc1306c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc13070:	4b ff f6 50 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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);                  
ffc13074:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc13078:	38 80 00 01 	li      r4,1                                   
ffc1307c:	38 a1 00 34 	addi    r5,r1,52                               
ffc13080:	38 c0 00 01 	li      r6,1                                   
ffc13084:	48 00 0e 2d 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc13088:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1308c:	40 81 01 50 	ble-    ffc131dc <rtems_rfs_format+0xd84>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: inode open failed: %d: %s\n",         
ffc13090:	48 01 75 7d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13094:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13098:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1309c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc130a0:	38 63 9b bc 	addi    r3,r3,-25668                           <== NOT EXECUTED
ffc130a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc130a8:	48 01 67 f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
ffc130ac:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc130b0:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc130b4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc130b8:	48 00 09 7d 	bl      ffc13a34 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc130bc:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc130c0:	48 01 23 05 	bl      ffc253c4 <rtems_rfs_fs_close>          <== NOT EXECUTED
ffc130c4:	4b ff ff 58 	b       ffc1301c <rtems_rfs_format+0xbc4>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Close the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc130c8:	48 00 d0 55 	bl      ffc2011c <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc130cc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc130d0:	41 81 00 c0 	bgt-    ffc13190 <rtems_rfs_format+0xd38>      <== NEVER TAKEN
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc130d4:	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);                              
ffc130d8:	9a 61 00 10 	stb     r19,16(r1)                             
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc130dc:	41 9e 02 2c 	beq-    cr7,ffc13308 <rtems_rfs_format+0xeb0>  <== ALWAYS TAKEN
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc130e0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc130e4:	40 9d 02 24 	ble-    cr7,ffc13308 <rtems_rfs_format+0xeb0>  <== NOT EXECUTED
ffc130e8:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
ffc130ec:	7f 5e d2 14 	add     r26,r30,r26                            <== NOT EXECUTED
ffc130f0:	48 00 00 24 	b       ffc13114 <rtems_rfs_format+0xcbc>      <== 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));
ffc130f4:	81 21 00 18 	lwz     r9,24(r1)                              <== NOT EXECUTED
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
ffc130f8:	3b de 00 01 	addi    r30,r30,1                              <== 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));
ffc130fc:	80 a1 00 64 	lwz     r5,100(r1)                             <== NOT EXECUTED
ffc13100:	80 69 00 24 	lwz     r3,36(r9)                              <== NOT EXECUTED
ffc13104:	48 01 66 0d 	bl      ffc29710 <memset>                      <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc13108:	7f 9e d0 00 	cmpw    cr7,r30,r26                            <== 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);                          
ffc1310c:	9a 61 00 10 	stb     r19,16(r1)                             <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc13110:	41 9e 01 f8 	beq-    cr7,ffc13308 <rtems_rfs_format+0xeb0>  <== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
ffc13114:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc13118:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1311c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc13120:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc13124:	48 00 e8 95 	bl      ffc219b8 <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));
ffc13128:	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)                                                     
ffc1312c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc13130:	40 81 ff c4 	ble+    ffc130f4 <rtems_rfs_format+0xc9c>      <== 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);                       
ffc13134:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc13138:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc1313c:	48 00 e6 69 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc13140:	38 00 00 00 	li      r0,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;                                              
ffc13144:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc13148:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
      {                                                               
        rtems_rfs_buffer_handle_close (fs, &handle);                  
        printf ("\nrtems-rfs: write-group: group %3d: block %" PRId32 " request failed: %d: %s\n",
ffc1314c:	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;                                              
ffc13150:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc13154:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc13158:	48 01 74 b5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc1315c:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc13160:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13164:	38 63 9a a4 	addi    r3,r3,-25948                           <== NOT EXECUTED
ffc13168:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1316c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc13170:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc13174:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13178:	48 01 67 29 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc1317c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc13180:	4b ff f5 40 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc13184:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
ffc13188:	90 81 00 64 	stw     r4,100(r1)                             <== NOT EXECUTED
ffc1318c:	4b ff fa 04 	b       ffc12b90 <rtems_rfs_format+0x738>      <== 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);                       
ffc13190:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc13194:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc13198:	48 00 e6 0d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc1319c:	38 00 00 00 	li      r0,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;                                              
ffc131a0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc131a4:	90 01 00 14 	stw     r0,20(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" \      
ffc131a8:	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;                                              
ffc131ac:	99 21 00 10 	stb     r9,16(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc131b0:	90 01 00 18 	stw     r0,24(r1)                              <== NOT EXECUTED
ffc131b4:	48 01 74 59 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc131b8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc131bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc131c0:	38 63 9a 5c 	addi    r3,r3,-26020                           <== NOT EXECUTED
ffc131c4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc131c8:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc131cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc131d0:	48 01 66 d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc131d4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc131d8:	4b ff f4 e8 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, 0,                         
ffc131dc:	38 61 00 34 	addi    r3,r1,52                               
ffc131e0:	38 80 00 00 	li      r4,0                                   
ffc131e4:	38 a0 41 c9 	li      r5,16841                               
ffc131e8:	38 c0 00 00 	li      r6,0                                   
ffc131ec:	38 e0 00 00 	li      r7,0                                   
ffc131f0:	48 00 11 dd 	bl      ffc143cc <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)                                                         
ffc131f4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc131f8:	40 81 00 20 	ble-    ffc13218 <rtems_rfs_format+0xdc0>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode initialise failed: %d: %s\n",   
ffc131fc:	48 01 74 11 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13200:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13204:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13208:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1320c:	38 63 9b ec 	addi    r3,r3,-25620                           <== NOT EXECUTED
ffc13210:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13214:	48 01 66 8d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, ino);             
ffc13218:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc1321c:	3c a0 ff c4 	lis     r5,-60                                 
ffc13220:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc13224:	38 81 00 34 	addi    r4,r1,52                               
ffc13228:	38 a5 83 ac 	addi    r5,r5,-31828                           
ffc1322c:	38 c0 00 01 	li      r6,1                                   
ffc13230:	48 00 f5 c9 	bl      ffc227f8 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc13234:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc13238:	40 81 00 20 	ble-    ffc13258 <rtems_rfs_format+0xe00>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: directory add failed: %d: %s\n",      
ffc1323c:	48 01 73 d1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13240:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13244:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13248:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1324c:	38 63 9c 20 	addi    r3,r3,-25568                           <== NOT EXECUTED
ffc13250:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13254:	48 01 66 4d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc13258:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc1325c:	38 81 00 34 	addi    r4,r1,52                               
ffc13260:	48 00 0e b1 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc13264:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc13268:	40 81 00 20 	ble-    ffc13288 <rtems_rfs_format+0xe30>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
ffc1326c:	48 01 73 a1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13270:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13274:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13278:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1327c:	38 63 9c 54 	addi    r3,r3,-25516                           <== NOT EXECUTED
ffc13280:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13284:	48 01 66 1d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
ffc13288:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc1328c:	48 01 21 39 	bl      ffc253c4 <rtems_rfs_fs_close>          
  if (rc < 0)                                                         
ffc13290:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc13294:	41 80 00 e0 	blt-    ffc13374 <rtems_rfs_format+0xf1c>      <== NEVER TAKEN
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
ffc13298:	40 a2 fd 84 	bne-    ffc1301c <rtems_rfs_format+0xbc4>      <== NEVER TAKEN
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc1329c:	38 60 00 00 	li      r3,0                                   
ffc132a0:	4b ff f4 20 	b       ffc126c0 <rtems_rfs_format+0x268>      
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: buffer open failed: %d: %s\n",        
ffc132a4:	48 01 73 69 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc132a8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc132ac:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc132b0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc132b4:	38 63 94 ec 	addi    r3,r3,-27412                           <== NOT EXECUTED
ffc132b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc132bc:	48 01 65 e5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc132c0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc132c4:	4b ff f3 fc 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
    printf ("\n");                                                    
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: buffer close failed: %d: %s\n",       
ffc132c8:	48 01 73 45 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc132cc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc132d0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc132d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc132d8:	38 63 9a ec 	addi    r3,r3,-25876                           <== NOT EXECUTED
ffc132dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc132e0:	48 01 65 c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc132e4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc132e8:	4b ff f3 d8 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
ffc132ec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc132f0:	38 63 95 1c 	addi    r3,r3,-27364                           <== NOT EXECUTED
ffc132f4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc132f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc132fc:	48 01 65 a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    return -1;                                                        
ffc13300:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc13304:	4b ff f3 bc 	b       ffc126c0 <rtems_rfs_format+0x268>      <== 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);                       
ffc13308:	38 61 00 5c 	addi    r3,r1,92                               
ffc1330c:	38 81 00 10 	addi    r4,r1,16                               
ffc13310:	48 00 e4 95 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc13314:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc13318:	3b 9c 00 01 	addi    r28,r28,1                              
  handle->dirty = false;                                              
ffc1331c:	9a c1 00 10 	stb     r22,16(r1)                             
ffc13320:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
  handle->bnum  = 0;                                                  
ffc13324:	93 01 00 14 	stw     r24,20(r1)                             
  handle->buffer = NULL;                                              
ffc13328:	93 01 00 18 	stw     r24,24(r1)                             
ffc1332c:	40 bd fb 7c 	ble-    cr7,ffc12ea8 <rtems_rfs_format+0xa50>  <== ALWAYS TAKEN
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc13330:	83 e1 00 80 	lwz     r31,128(r1)                            <== NOT EXECUTED
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc13334:	81 21 00 60 	lwz     r9,96(r1)                              <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc13338:	7f 7c f9 d6 	mullw   r27,r28,r31                            <== 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,                           
ffc1333c:	8b 3d 00 14 	lbz     r25,20(r29)                            <== NOT EXECUTED
ffc13340:	88 1d 00 15 	lbz     r0,21(r29)                             <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc13344:	3b db 00 01 	addi    r30,r27,1                              <== NOT EXECUTED
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc13348:	7f 9e 48 40 	cmplw   cr7,r30,r9                             <== NOT EXECUTED
ffc1334c:	40 9d f9 40 	ble+    cr7,ffc12c8c <rtems_rfs_format+0x834>  <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
ffc13350:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13354:	38 63 98 60 	addi    r3,r3,-26528                           <== NOT EXECUTED
ffc13358:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1335c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13360:	48 01 65 41 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
ffc13364:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc13368:	4b ff f3 58 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc1336c:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc13370:	4b ff ff e0 	b       ffc13350 <rtems_rfs_format+0xef8>      <== 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));                                 
ffc13374:	48 01 54 49 	bl      ffc287bc <__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",  
ffc13378:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc1337c:	48 01 54 41 	bl      ffc287bc <__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",  
ffc13380:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc13384:	48 01 72 89 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13388:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1338c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13390:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13394:	38 63 9c 84 	addi    r3,r3,-25468                           <== NOT EXECUTED
ffc13398:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1339c:	48 01 65 05 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc133a0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc133a4:	4b ff f3 1c 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
            errno, strerror (errno));                                 
ffc133a8:	48 01 54 15 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
ffc133ac:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc133b0:	48 01 54 0d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
ffc133b4:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc133b8:	48 01 72 55 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc133bc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc133c0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc133c4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc133c8:	38 63 9b 1c 	addi    r3,r3,-25828                           <== NOT EXECUTED
ffc133cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc133d0:	48 01 64 d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc133d4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc133d8:	4b ff f2 e8 	b       ffc126c0 <rtems_rfs_format+0x268>      <== NOT EXECUTED
                                                                      

ffc253c4 <rtems_rfs_fs_close>: return 0; } int rtems_rfs_fs_close (rtems_rfs_file_system* fs) {
ffc253c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc253c8:	7c 08 02 a6 	mflr    r0                                     
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc253cc:	38 80 00 02 	li      r4,2                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc253d0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc253d4:	7c 7f 1b 78 	mr      r31,r3                                 
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc253d8:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc253dc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc253e0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc253e4:	93 c1 00 10 	stw     r30,16(r1)                             
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc253e8:	4b ff 21 e5 	bl      ffc175cc <rtems_rfs_trace>             
ffc253ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc253f0:	40 9e 00 6c 	bne-    cr7,ffc2545c <rtems_rfs_fs_close+0x98> <== NEVER TAKEN
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
ffc253f4:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc253f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc253fc:	40 9d 00 30 	ble-    cr7,ffc2542c <rtems_rfs_fs_close+0x68> <== NEVER TAKEN
ffc25400:	3b a0 00 00 	li      r29,0                                  
ffc25404:	3b c0 00 00 	li      r30,0                                  
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
ffc25408:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc2540c:	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++)                   
ffc25410:	3b de 00 01 	addi    r30,r30,1                              
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
ffc25414:	7c 84 ea 14 	add     r4,r4,r29                              
ffc25418:	4b fe e2 8d 	bl      ffc136a4 <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++)                   
ffc2541c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc25420:	3b bd 00 50 	addi    r29,r29,80                             
ffc25424:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc25428:	41 9d ff e0 	bgt+    cr7,ffc25408 <rtems_rfs_fs_close+0x44> <== NEVER TAKEN
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
                                                                      
  rtems_rfs_buffer_close (fs);                                        
ffc2542c:	7f e3 fb 78 	mr      r3,r31                                 
ffc25430:	4b ff cd 19 	bl      ffc22148 <rtems_rfs_buffer_close>      
                                                                      
  free (fs);                                                          
ffc25434:	7f e3 fb 78 	mr      r3,r31                                 
ffc25438:	4b fe 30 a9 	bl      ffc084e0 <free>                        
  return 0;                                                           
}                                                                     
ffc2543c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc25440:	38 60 00 00 	li      r3,0                                   
ffc25444:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc25448:	7c 08 03 a6 	mtlr    r0                                     
ffc2544c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc25450:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc25454:	38 21 00 18 	addi    r1,r1,24                               
ffc25458:	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");                                    
ffc2545c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25460:	38 63 be 00 	addi    r3,r3,-16896                           <== NOT EXECUTED
ffc25464:	48 00 45 f1 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc25468:	4b ff ff 8c 	b       ffc253f4 <rtems_rfs_fs_close+0x30>     <== NOT EXECUTED
                                                                      

ffc24aa8 <rtems_rfs_fs_open>: int rtems_rfs_fs_open (const char* name, void* user, uint32_t flags, rtems_rfs_file_system** fs) {
ffc24aa8:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc24aac:	7c 08 02 a6 	mflr    r0                                     
ffc24ab0:	93 61 00 54 	stw     r27,84(r1)                             
ffc24ab4:	7c 9b 23 78 	mr      r27,r4                                 
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24ab8:	38 80 00 01 	li      r4,1                                   
int                                                                   
rtems_rfs_fs_open (const char*             name,                      
                   void*                   user,                      
                   uint32_t                flags,                     
                   rtems_rfs_file_system** fs)                        
{                                                                     
ffc24abc:	93 c1 00 60 	stw     r30,96(r1)                             
ffc24ac0:	7c 7e 1b 78 	mr      r30,r3                                 
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24ac4:	38 60 00 00 	li      r3,0                                   
int                                                                   
rtems_rfs_fs_open (const char*             name,                      
                   void*                   user,                      
                   uint32_t                flags,                     
                   rtems_rfs_file_system** fs)                        
{                                                                     
ffc24ac8:	93 81 00 58 	stw     r28,88(r1)                             
ffc24acc:	7c bc 2b 78 	mr      r28,r5                                 
ffc24ad0:	93 e1 00 64 	stw     r31,100(r1)                            
ffc24ad4:	7c df 33 78 	mr      r31,r6                                 
ffc24ad8:	90 01 00 6c 	stw     r0,108(r1)                             
ffc24adc:	93 41 00 50 	stw     r26,80(r1)                             
ffc24ae0:	93 a1 00 5c 	stw     r29,92(r1)                             
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24ae4:	4b ff 2a e9 	bl      ffc175cc <rtems_rfs_trace>             
ffc24ae8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24aec:	40 9e 02 00 	bne-    cr7,ffc24cec <rtems_rfs_fs_open+0x244> <== NEVER TAKEN
    printf ("rtems-rfs: open: %s\n", name);                           
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
ffc24af0:	38 60 00 80 	li      r3,128                                 
ffc24af4:	4b fe 42 f9 	bl      ffc08dec <malloc>                      
  if (!*fs)                                                           
ffc24af8:	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));                      
ffc24afc:	90 7f 00 00 	stw     r3,0(r31)                              
  if (!*fs)                                                           
ffc24b00:	41 9e 05 d0 	beq-    cr7,ffc250d0 <rtems_rfs_fs_open+0x628> <== 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));                    
ffc24b04:	38 80 00 00 	li      r4,0                                   
ffc24b08:	38 a0 00 80 	li      r5,128                                 
ffc24b0c:	48 00 4c 05 	bl      ffc29710 <memset>                      
                                                                      
  (*fs)->user = user;                                                 
ffc24b10:	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;                                              
ffc24b14:	3b a0 00 00 	li      r29,0                                  
ffc24b18:	93 69 00 7c 	stw     r27,124(r9)                            
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc24b1c:	7f c3 f3 78 	mr      r3,r30                                 
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
                                                                      
  (*fs)->user = user;                                                 
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
ffc24b20:	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 );                        
ffc24b24:	39 69 00 40 	addi    r11,r9,64                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc24b28:	93 a9 00 44 	stw     r29,68(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 );                        
ffc24b2c:	38 09 00 44 	addi    r0,r9,68                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc24b30:	91 69 00 48 	stw     r11,72(r9)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc24b34:	90 09 00 40 	stw     r0,64(r9)                              
  rtems_chain_initialize_empty (&(*fs)->release);                     
ffc24b38:	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 );                        
ffc24b3c:	39 69 00 50 	addi    r11,r9,80                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc24b40:	93 a9 00 54 	stw     r29,84(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 );                        
ffc24b44:	38 09 00 54 	addi    r0,r9,84                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc24b48:	91 69 00 58 	stw     r11,88(r9)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc24b4c:	90 09 00 50 	stw     r0,80(r9)                              
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
ffc24b50:	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 );                        
ffc24b54:	39 69 00 60 	addi    r11,r9,96                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc24b58:	93 a9 00 64 	stw     r29,100(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 );                        
ffc24b5c:	38 09 00 64 	addi    r0,r9,100                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc24b60:	91 69 00 68 	stw     r11,104(r9)                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc24b64:	90 09 00 60 	stw     r0,96(r9)                              
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
ffc24b68:	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 );                        
ffc24b6c:	38 09 00 70 	addi    r0,r9,112                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc24b70:	93 a9 00 74 	stw     r29,116(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 );                        
ffc24b74:	39 69 00 74 	addi    r11,r9,116                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc24b78:	90 09 00 78 	stw     r0,120(r9)                             
                                                                      
  (*fs)->max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;            
ffc24b7c:	38 00 00 05 	li      r0,5                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc24b80:	91 69 00 70 	stw     r11,112(r9)                            
ffc24b84:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc24b88:	90 09 00 3c 	stw     r0,60(r9)                              
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc24b8c:	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 = RTEMS_RFS_FS_MAX_HELD_BUFFERS;            
  (*fs)->buffers_count = 0;                                           
ffc24b90:	93 a9 00 4c 	stw     r29,76(r9)                             
  (*fs)->release_count = 0;                                           
ffc24b94:	93 a9 00 5c 	stw     r29,92(r9)                             
  (*fs)->release_modified_count = 0;                                  
ffc24b98:	93 a9 00 6c 	stw     r29,108(r9)                            
  (*fs)->flags = flags;                                               
ffc24b9c:	93 89 00 00 	stw     r28,0(r9)                              
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc24ba0:	4b ff d1 29 	bl      ffc21cc8 <rtems_rfs_buffer_open>       
  if (rc > 0)                                                         
ffc24ba4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24ba8:	41 81 02 a8 	bgt-    ffc24e50 <rtems_rfs_fs_open+0x3a8>     <== NEVER TAKEN
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
ffc24bac:	83 df 00 00 	lwz     r30,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);        
ffc24bb0:	38 81 00 08 	addi    r4,r1,8                                
ffc24bb4:	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;                                              
ffc24bb8:	9b a1 00 08 	stb     r29,8(r1)                              
ffc24bbc:	7f c3 f3 78 	mr      r3,r30                                 
ffc24bc0:	38 c0 00 01 	li      r6,1                                   
  handle->bnum  = 0;                                                  
ffc24bc4:	93 a1 00 0c 	stw     r29,12(r1)                             
  handle->buffer = NULL;                                              
ffc24bc8:	93 a1 00 10 	stw     r29,16(r1)                             
ffc24bcc:	4b ff cd ed 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc24bd0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc24bd4:	40 81 00 70 	ble-    ffc24c44 <rtems_rfs_fs_open+0x19c>     <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24bd8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24bdc:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24be0:	4b ff 29 ed 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24be4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24be8:	40 9e 01 3c 	bne-    cr7,ffc24d24 <rtems_rfs_fs_open+0x27c> <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc24bec:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24bf0:	4b ff d5 59 	bl      ffc22148 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc24bf4:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24bf8:	4b fe 38 e9 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24bfc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24c00:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24c04:	4b ff 29 c9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24c08:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24c0c:	40 9e 00 bc 	bne-    cr7,ffc24cc8 <rtems_rfs_fs_open+0x220> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
              rc, strerror (rc));                                     
    errno = rc;                                                       
ffc24c10:	48 00 3b ad 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc24c14:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
    return -1;                                                        
ffc24c18:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc24c1c:	80 01 00 6c 	lwz     r0,108(r1)                             <== NOT EXECUTED
ffc24c20:	83 41 00 50 	lwz     r26,80(r1)                             <== NOT EXECUTED
ffc24c24:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc24c28:	83 61 00 54 	lwz     r27,84(r1)                             <== NOT EXECUTED
ffc24c2c:	83 81 00 58 	lwz     r28,88(r1)                             <== NOT EXECUTED
ffc24c30:	83 a1 00 5c 	lwz     r29,92(r1)                             <== NOT EXECUTED
ffc24c34:	83 c1 00 60 	lwz     r30,96(r1)                             <== NOT EXECUTED
ffc24c38:	83 e1 00 64 	lwz     r31,100(r1)                            <== NOT EXECUTED
ffc24c3c:	38 21 00 68 	addi    r1,r1,104                              <== NOT EXECUTED
ffc24c40:	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);                               
ffc24c44:	81 21 00 10 	lwz     r9,16(r1)                              
ffc24c48:	83 a9 00 24 	lwz     r29,36(r9)                             
                                                                      
#define read_sb(_o) rtems_rfs_read_u32 (sb + (_o))                    
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_MAGIC) != RTEMS_RFS_SB_MAGIC)      
ffc24c4c:	89 5d 00 00 	lbz     r10,0(r29)                             
ffc24c50:	89 3d 00 01 	lbz     r9,1(r29)                              
ffc24c54:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc24c58:	89 7d 00 03 	lbz     r11,3(r29)                             
ffc24c5c:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc24c60:	88 1d 00 02 	lbz     r0,2(r29)                              
ffc24c64:	7d 49 4b 78 	or      r9,r10,r9                              
ffc24c68:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc24c6c:	7d 29 5b 78 	or      r9,r9,r11                              
ffc24c70:	7d 29 03 78 	or      r9,r9,r0                               
ffc24c74:	6d 20 28 09 	xoris   r0,r9,10249                            
ffc24c78:	2f 80 20 01 	cmpwi   cr7,r0,8193                            
ffc24c7c:	41 9e 00 cc 	beq-    cr7,ffc24d48 <rtems_rfs_fs_open+0x2a0> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24c80:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24c84:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24c88:	4b ff 29 45 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24c8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24c90:	40 9e 00 74 	bne-    cr7,ffc24d04 <rtems_rfs_fs_open+0x25c> <== 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);                       
ffc24c94:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24c98:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc24c9c:	4b ff cb 09 	bl      ffc217a4 <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;                                                       
ffc24ca0:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc24ca4:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24ca8:	4b ff d4 a1 	bl      ffc22148 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc24cac:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24cb0:	4b fe 38 31 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24cb4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24cb8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24cbc:	4b ff 29 11 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24cc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24cc4:	41 9e ff 4c 	beq+    cr7,ffc24c10 <rtems_rfs_fs_open+0x168> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
ffc24cc8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc24ccc:	48 00 59 41 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc24cd0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc24cd4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24cd8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24cdc:	38 63 bd 44 	addi    r3,r3,-17084                           <== NOT EXECUTED
ffc24ce0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24ce4:	48 00 4b bd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc24ce8:	4b ff ff 28 	b       ffc24c10 <rtems_rfs_fs_open+0x168>     <== 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);                           
ffc24cec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24cf0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24cf4:	38 63 ba d8 	addi    r3,r3,-17704                           <== NOT EXECUTED
ffc24cf8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24cfc:	48 00 4b a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc24d00:	4b ff fd f0 	b       ffc24af0 <rtems_rfs_fs_open+0x48>      <== 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");
ffc24d04:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24d08:	38 63 bb 84 	addi    r3,r3,-17532                           <== NOT EXECUTED
ffc24d0c:	48 00 4d 49 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc24d10:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24d14:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc24d18:	4b ff ca 8d 	bl      ffc217a4 <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;                                                       
ffc24d1c:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
ffc24d20:	4b ff ff 84 	b       ffc24ca4 <rtems_rfs_fs_open+0x1fc>     <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_handle_request (fs, &handle, 0, true);        
  if (rc > 0)                                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
ffc24d24:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc24d28:	48 00 58 e5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc24d2c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc24d30:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24d34:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24d38:	38 63 bb 50 	addi    r3,r3,-17584                           <== NOT EXECUTED
ffc24d3c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24d40:	48 00 4b 61 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc24d44:	4b ff fe a8 	b       ffc24bec <rtems_rfs_fs_open+0x144>     <== 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);              
ffc24d48:	89 5d 00 0c 	lbz     r10,12(r29)                            
ffc24d4c:	89 7d 00 0d 	lbz     r11,13(r29)                            
ffc24d50:	89 3d 00 0f 	lbz     r9,15(r29)                             
ffc24d54:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc24d58:	88 1d 00 0e 	lbz     r0,14(r29)                             
ffc24d5c:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        
ffc24d60:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc24d64:	7d 6b 4b 78 	or      r11,r11,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);  
ffc24d68:	81 3e 00 0c 	lwz     r9,12(r30)                             
      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);              
ffc24d6c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc24d70:	7d 6b 03 78 	or      r11,r11,r0                             
                                                                      
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);
ffc24d74:	80 c9 00 24 	lwz     r6,36(r9)                              
      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);              
ffc24d78:	91 7e 00 04 	stw     r11,4(r30)                             
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
ffc24d7c:	88 fd 00 08 	lbz     r7,8(r29)                              
ffc24d80:	88 1d 00 09 	lbz     r0,9(r29)                              
ffc24d84:	89 1d 00 0b 	lbz     r8,11(r29)                             
ffc24d88:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc24d8c:	89 5d 00 0a 	lbz     r10,10(r29)                            
ffc24d90:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc24d94:	7c e0 03 78 	or      r0,r7,r0                               
}                                                                     
                                                                      
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
ffc24d98:	80 e9 00 1c 	lwz     r7,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);          
ffc24d9c:	7c 00 43 78 	or      r0,r0,r8                               
ffc24da0:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc24da4:	7c 00 53 78 	or      r0,r0,r10                              
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;                                         
ffc24da8:	7d 00 58 16 	mulhwu  r8,r0,r11                              
    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);          
ffc24dac:	90 1e 00 08 	stw     r0,8(r30)                              
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;                             
ffc24db0:	7d 46 38 16 	mulhwu  r10,r6,r7                              
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;                                         
ffc24db4:	7d 20 59 d6 	mullw   r9,r0,r11                              
  }                                                                   
                                                                      
  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))           
ffc24db8:	7f 88 50 40 	cmplw   cr7,r8,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;                             
ffc24dbc:	7d 66 39 d6 	mullw   r11,r6,r7                              
  }                                                                   
                                                                      
  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))           
ffc24dc0:	41 9d 01 08 	bgt-    cr7,ffc24ec8 <rtems_rfs_fs_open+0x420> <== NEVER TAKEN
ffc24dc4:	7f 88 50 00 	cmpw    cr7,r8,r10                             
ffc24dc8:	41 9e 00 f8 	beq-    cr7,ffc24ec0 <rtems_rfs_fs_open+0x418> <== 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)
ffc24dcc:	89 1d 00 24 	lbz     r8,36(r29)                             
ffc24dd0:	89 3d 00 25 	lbz     r9,37(r29)                             
ffc24dd4:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc24dd8:	89 5d 00 27 	lbz     r10,39(r29)                            
ffc24ddc:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc24de0:	89 7d 00 26 	lbz     r11,38(r29)                            
ffc24de4:	7d 09 4b 78 	or      r9,r8,r9                               
ffc24de8:	7d 29 53 78 	or      r9,r9,r10                              
ffc24dec:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc24df0:	7d 29 5b 78 	or      r9,r9,r11                              
ffc24df4:	2f 89 00 38 	cmpwi   cr7,r9,56                              
ffc24df8:	41 9e 00 f4 	beq-    cr7,ffc24eec <rtems_rfs_fs_open+0x444> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24dfc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24e00:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24e04:	4b ff 27 c9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24e08:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24e0c:	41 9e fe 88 	beq+    cr7,ffc24c94 <rtems_rfs_fs_open+0x1ec> <== 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);
ffc24e10:	88 9d 00 04 	lbz     r4,4(r29)                              <== 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",
ffc24e14:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc24e18:	89 7d 00 05 	lbz     r11,5(r29)                             <== 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",
ffc24e1c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc24e20:	89 3d 00 07 	lbz     r9,7(r29)                              <== NOT EXECUTED
ffc24e24:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           <== NOT EXECUTED
ffc24e28:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc24e2c:	88 1d 00 06 	lbz     r0,6(r29)                              <== NOT EXECUTED
ffc24e30:	7c 84 5b 78 	or      r4,r4,r11                              <== NOT EXECUTED
ffc24e34:	7c 84 4b 78 	or      r4,r4,r9                               <== NOT EXECUTED
ffc24e38:	54 00 40 2e 	rlwinm  r0,r0,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",
ffc24e3c:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc24e40:	38 63 bc 00 	addi    r3,r3,-17408                           <== NOT EXECUTED
ffc24e44:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24e48:	48 00 4a 59 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc24e4c:	4b ff fe 48 	b       ffc24c94 <rtems_rfs_fs_open+0x1ec>     <== NOT EXECUTED
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
  if (rc > 0)                                                         
  {                                                                   
    free (*fs);                                                       
ffc24e50:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e54:	4b fe 36 8d 	bl      ffc084e0 <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 27 6d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24e64:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24e68:	41 be 00 24 	beq+    cr7,ffc24e8c <rtems_rfs_fs_open+0x3e4> <== NOT EXECUTED
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
ffc24e6c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24e70:	48 00 57 9d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc24e74:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24e78:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24e7c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24e80:	38 63 bb 20 	addi    r3,r3,-17632                           <== NOT EXECUTED
ffc24e84:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24e88:	48 00 4a 19 	bl      ffc298a0 <printf>                      <== 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;                                                       
ffc24e8c:	48 00 39 31 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc24e90:	80 01 00 6c 	lwz     r0,108(r1)                             <== 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;                                                       
ffc24e94:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
    return -1;                                                        
ffc24e98:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc24e9c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc24ea0:	83 41 00 50 	lwz     r26,80(r1)                             <== NOT EXECUTED
ffc24ea4:	83 61 00 54 	lwz     r27,84(r1)                             <== NOT EXECUTED
ffc24ea8:	83 81 00 58 	lwz     r28,88(r1)                             <== NOT EXECUTED
ffc24eac:	83 a1 00 5c 	lwz     r29,92(r1)                             <== NOT EXECUTED
ffc24eb0:	83 c1 00 60 	lwz     r30,96(r1)                             <== NOT EXECUTED
ffc24eb4:	83 e1 00 64 	lwz     r31,100(r1)                            <== NOT EXECUTED
ffc24eb8:	38 21 00 68 	addi    r1,r1,104                              <== NOT EXECUTED
ffc24ebc:	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))           
ffc24ec0:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc24ec4:	40 bd ff 08 	ble-    cr7,ffc24dcc <rtems_rfs_fs_open+0x324> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24ec8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24ecc:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24ed0:	4b ff 26 fd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc24ed4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24ed8:	41 9e fd bc 	beq+    cr7,ffc24c94 <rtems_rfs_fs_open+0x1ec> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block/size count\n");
ffc24edc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24ee0:	38 63 bb c0 	addi    r3,r3,-17472                           <== NOT EXECUTED
ffc24ee4:	48 00 4b 71 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc24ee8:	4b ff fd ac 	b       ffc24c94 <rtems_rfs_fs_open+0x1ec>     <== 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);     
ffc24eec:	89 1d 00 10 	lbz     r8,16(r29)                             
  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)))     
ffc24ef0:	54 05 18 38 	rlwinm  r5,r0,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);     
ffc24ef4:	89 7d 00 11 	lbz     r11,17(r29)                            
ffc24ef8:	89 5d 00 13 	lbz     r10,19(r29)                            
ffc24efc:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc24f00:	89 3d 00 12 	lbz     r9,18(r29)                             
ffc24f04:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        
ffc24f08:	7d 0b 5b 78 	or      r11,r8,r11                             
ffc24f0c:	7d 6b 53 78 	or      r11,r11,r10                            
ffc24f10:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc24f14:	7d 69 4b 78 	or      r9,r11,r9                              
ffc24f18:	91 3e 00 14 	stw     r9,20(r30)                             
  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);    
ffc24f1c:	54 09 f0 be 	rlwinm  r9,r0,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;       
ffc24f20:	54 00 e8 fe 	rlwinm  r0,r0,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);
ffc24f24:	88 fd 00 14 	lbz     r7,20(r29)                             
ffc24f28:	89 5d 00 15 	lbz     r10,21(r29)                            
ffc24f2c:	89 1d 00 17 	lbz     r8,23(r29)                             
ffc24f30:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc24f34:	89 7d 00 16 	lbz     r11,22(r29)                            
ffc24f38:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc24f3c:	7c ea 53 78 	or      r10,r7,r10                             
ffc24f40:	7d 4a 43 78 	or      r10,r10,r8                             
ffc24f44:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc24f48:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc24f4c:	91 7e 00 18 	stw     r11,24(r30)                            
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
ffc24f50:	88 fd 00 18 	lbz     r7,24(r29)                             
ffc24f54:	89 5d 00 19 	lbz     r10,25(r29)                            
ffc24f58:	89 1d 00 1b 	lbz     r8,27(r29)                             
ffc24f5c:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc24f60:	89 7d 00 1a 	lbz     r11,26(r29)                            
ffc24f64:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc24f68:	7c ea 53 78 	or      r10,r7,r10                             
ffc24f6c:	7d 4a 43 78 	or      r10,r10,r8                             
ffc24f70:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc24f74:	7d 4a 5b 78 	or      r10,r10,r11                            
ffc24f78:	91 5e 00 20 	stw     r10,32(r30)                            
    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;
ffc24f7c:	7c e9 49 d6 	mullw   r7,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);   
ffc24f80:	88 9d 00 1c 	lbz     r4,28(r29)                             
ffc24f84:	89 1d 00 1d 	lbz     r8,29(r29)                             
ffc24f88:	88 dd 00 1f 	lbz     r6,31(r29)                             
ffc24f8c:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           
ffc24f90:	89 7d 00 1e 	lbz     r11,30(r29)                            
ffc24f94:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc24f98:	7c 88 43 78 	or      r8,r4,r8                               
ffc24f9c:	7d 08 33 78 	or      r8,r8,r6                               
ffc24fa0:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc24fa4:	7d 08 5b 78 	or      r8,r8,r11                              
ffc24fa8:	91 1e 00 24 	stw     r8,36(r30)                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc24fac:	7f 88 28 40 	cmplw   cr7,r8,r5                              
                                                                      
  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);   
ffc24fb0:	88 7d 00 20 	lbz     r3,32(r29)                             
ffc24fb4:	88 dd 00 21 	lbz     r6,33(r29)                             
ffc24fb8:	88 9d 00 23 	lbz     r4,35(r29)                             
ffc24fbc:	54 63 c0 0e 	rlwinm  r3,r3,24,0,7                           
ffc24fc0:	89 7d 00 22 	lbz     r11,34(r29)                            
ffc24fc4:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc24fc8:	7c 66 33 78 	or      r6,r3,r6                               
                                                                      
  fs->blocks_per_block =                                              
ffc24fcc:	91 3e 00 30 	stw     r9,48(r30)                             
                                                                      
  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);   
ffc24fd0:	7c c6 23 78 	or      r6,r6,r4                               
ffc24fd4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc24fd8:	7c cb 5b 78 	or      r11,r6,r11                             
  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;                    
ffc24fdc:	7d 4b 51 d6 	mullw   r10,r11,r10                            
                                                                      
  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);   
ffc24fe0:	91 7e 00 28 	stw     r11,40(r30)                            
  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;       
ffc24fe4:	3d 60 24 92 	lis     r11,9362                               
ffc24fe8:	61 6b 49 25 	ori     r11,r11,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;                    
ffc24fec:	91 5e 00 10 	stw     r10,16(r30)                            
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc24ff0:	7c 00 58 16 	mulhwu  r0,r0,r11                              
                                                                      
  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;                    
ffc24ff4:	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;       
ffc24ff8:	90 1e 00 2c 	stw     r0,44(r30)                             
    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;
ffc24ffc:	1d 67 00 05 	mulli   r11,r7,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 =                                       
ffc25000:	91 3e 00 34 	stw     r9,52(r30)                             
ffc25004:	38 81 00 08 	addi    r4,r1,8                                
ffc25008:	7f c3 f3 78 	mr      r3,r30                                 
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
ffc2500c:	91 7e 00 38 	stw     r11,56(r30)                            
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc25010:	40 9d 00 44 	ble-    cr7,ffc25054 <rtems_rfs_fs_open+0x5ac> <== ALWAYS TAKEN
ffc25014:	4b ff c7 91 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc25018:	38 00 00 00 	li      r0,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;                                              
ffc2501c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25020:	90 01 00 0c 	stw     r0,12(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))                       
ffc25024:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25028:	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;                                              
ffc2502c:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
    return EIO;                                                       
ffc25030:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc25034:	90 01 00 10 	stw     r0,16(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))                       
ffc25038:	4b ff 25 95 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2503c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25040:	41 9e fb ac 	beq+    cr7,ffc24bec <rtems_rfs_fs_open+0x144> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
ffc25044:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25048:	38 63 bc 44 	addi    r3,r3,-17340                           <== NOT EXECUTED
ffc2504c:	48 00 4a 09 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc25050:	4b ff fb 9c 	b       ffc24bec <rtems_rfs_fs_open+0x144>     <== 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);                       
ffc25054:	4b ff c7 51 	bl      ffc217a4 <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));
ffc25058:	80 9e 00 08 	lwz     r4,8(r30)                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc2505c:	3b a0 00 00 	li      r29,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;                                              
ffc25060:	38 00 00 00 	li      r0,0                                   
  handle->bnum  = 0;                                                  
ffc25064:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc25068:	7f c3 f3 78 	mr      r3,r30                                 
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;                                              
ffc2506c:	98 01 00 08 	stb     r0,8(r1)                               
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc25070:	93 a1 00 10 	stw     r29,16(r1)                             
ffc25074:	4b ff cf 81 	bl      ffc21ff4 <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc25078:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc2507c:	40 81 00 88 	ble-    ffc25104 <rtems_rfs_fs_open+0x65c>     <== 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);                       
ffc25080:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc25084:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25088:	4b ff c7 1d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc2508c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25090:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
  handle->dirty = false;                                              
ffc25094:	9b a1 00 08 	stb     r29,8(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25098:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc2509c:	93 a1 00 10 	stw     r29,16(r1)                             <== NOT EXECUTED
ffc250a0:	4b ff 25 2d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc250a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc250a8:	41 9e fb 44 	beq+    cr7,ffc24bec <rtems_rfs_fs_open+0x144> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
ffc250ac:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc250b0:	48 00 55 5d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc250b4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc250b8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc250bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc250c0:	38 63 bc 88 	addi    r3,r3,-17272                           <== NOT EXECUTED
ffc250c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc250c8:	48 00 47 d9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc250cc:	4b ff fb 20 	b       ffc24bec <rtems_rfs_fs_open+0x144>     <== 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))                       
ffc250d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc250d4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc250d8:	4b ff 24 f5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc250dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc250e0:	41 be 00 10 	beq+    cr7,ffc250f0 <rtems_rfs_fs_open+0x648> <== NOT EXECUTED
      printf ("rtems-rfs: open: no memory for file system data\n");   
ffc250e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc250e8:	38 63 ba f0 	addi    r3,r3,-17680                           <== NOT EXECUTED
ffc250ec:	48 00 49 69 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
    errno = ENOMEM;                                                   
ffc250f0:	48 00 36 cd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc250f4:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc250f8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
    return -1;                                                        
ffc250fc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc25100:	4b ff fb 1c 	b       ffc24c1c <rtems_rfs_fs_open+0x174>     <== 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));    
ffc25104:	83 be 00 20 	lwz     r29,32(r30)                            
ffc25108:	38 80 00 50 	li      r4,80                                  
ffc2510c:	7f a3 eb 78 	mr      r3,r29                                 
ffc25110:	4b fe 2d 21 	bl      ffc07e30 <calloc>                      
                                                                      
  if (!fs->groups)                                                    
ffc25114:	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));    
ffc25118:	90 7e 00 1c 	stw     r3,28(r30)                             
ffc2511c:	7c 67 1b 78 	mr      r7,r3                                  
                                                                      
  if (!fs->groups)                                                    
ffc25120:	41 9e 02 5c 	beq-    cr7,ffc2537c <rtems_rfs_fs_open+0x8d4> <== 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++)                   
ffc25124:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc25128:	40 9d 00 d8 	ble-    cr7,ffc25200 <rtems_rfs_fs_open+0x758> <== NEVER TAKEN
                                                                      
  if (!fs->groups)                                                    
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
ffc2512c:	80 be 00 24 	lwz     r5,36(r30)                             
  /*                                                                  
   * 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++)                   
ffc25130:	3b 80 00 00 	li      r28,0                                  
ffc25134:	3b a0 00 00 	li      r29,0                                  
ffc25138:	48 00 00 1c 	b       ffc25154 <rtems_rfs_fs_open+0x6ac>     
ffc2513c:	80 1e 00 20 	lwz     r0,32(r30)                             
ffc25140:	3b bd 00 01 	addi    r29,r29,1                              
ffc25144:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc25148:	40 9c 00 b8 	bge-    cr7,ffc25200 <rtems_rfs_fs_open+0x758> <== ALWAYS TAKEN
ffc2514c:	80 be 00 24 	lwz     r5,36(r30)                             <== NOT EXECUTED
ffc25150:	80 fe 00 1c 	lwz     r7,28(r30)                             <== NOT EXECUTED
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
ffc25154:	7c 9d 29 d6 	mullw   r4,r29,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,                                    
ffc25158:	80 de 00 28 	lwz     r6,40(r30)                             
ffc2515c:	7c e7 e2 14 	add     r7,r7,r28                              
ffc25160:	7f c3 f3 78 	mr      r3,r30                                 
ffc25164:	38 84 00 01 	addi    r4,r4,1                                
ffc25168:	4b fe e2 75 	bl      ffc133dc <rtems_rfs_group_open>        
  /*                                                                  
   * 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++)                   
ffc2516c:	3b 9c 00 50 	addi    r28,r28,80                             
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
                               fs->group_blocks,                      
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
ffc25170:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc25174:	40 81 ff c8 	ble+    ffc2513c <rtems_rfs_fs_open+0x694>     <== ALWAYS TAKEN
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc25178:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc2517c:	41 9e 00 2c 	beq-    cr7,ffc251a8 <rtems_rfs_fs_open+0x700> <== NOT EXECUTED
ffc25180:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc25184:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
ffc25188:	80 9e 00 1c 	lwz     r4,28(r30)                             <== NOT EXECUTED
ffc2518c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc25190:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
ffc25194:	7c 84 d2 14 	add     r4,r4,r26                              <== NOT EXECUTED
ffc25198:	4b fe e5 0d 	bl      ffc136a4 <rtems_rfs_group_close>       <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc2519c:	7f 9c e8 00 	cmpw    cr7,r28,r29                            <== NOT EXECUTED
ffc251a0:	3b 5a 00 50 	addi    r26,r26,80                             <== NOT EXECUTED
ffc251a4:	40 9e ff e4 	bne+    cr7,ffc25188 <rtems_rfs_fs_open+0x6e0> <== 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);                       
ffc251a8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc251ac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc251b0:	4b ff c5 f5 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc251b4:	38 00 00 00 	li      r0,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;                                              
ffc251b8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc251bc:	90 01 00 0c 	stw     r0,12(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))                     
ffc251c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc251c4:	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;                                              
ffc251c8:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc251cc:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
ffc251d0:	4b ff 23 fd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc251d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc251d8:	41 9e fa 14 	beq+    cr7,ffc24bec <rtems_rfs_fs_open+0x144> <== NOT EXECUTED
        printf ("rtems-rfs: read-superblock: no memory for group table%d: %s\n",
ffc251dc:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc251e0:	48 00 54 2d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc251e4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc251e8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc251ec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc251f0:	38 63 bd 04 	addi    r3,r3,-17148                           <== NOT EXECUTED
ffc251f4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc251f8:	48 00 46 a9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc251fc:	4b ff f9 f0 	b       ffc24bec <rtems_rfs_fs_open+0x144>     <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
ffc25200:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc25204:	38 80 00 01 	li      r4,1                                   
ffc25208:	38 a1 00 14 	addi    r5,r1,20                               
ffc2520c:	38 c0 00 01 	li      r6,1                                   
ffc25210:	4b fe ec a1 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc25214:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25218:	41 81 01 1c 	bgt-    ffc25334 <rtems_rfs_fs_open+0x88c>     <== NEVER TAKEN
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  if (((*fs)->flags & RTEMS_RFS_FS_FORCE_OPEN) == 0)                  
ffc2521c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc25220:	80 03 00 00 	lwz     r0,0(r3)                               
ffc25224:	70 09 00 04 	andi.   r9,r0,4                                
ffc25228:	40 82 00 30 	bne-    ffc25258 <rtems_rfs_fs_open+0x7b0>     
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
ffc2522c:	81 21 00 20 	lwz     r9,32(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);                    
ffc25230:	88 09 00 02 	lbz     r0,2(r9)                               
ffc25234:	89 29 00 03 	lbz     r9,3(r9)                               
ffc25238:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc2523c:	7c 00 4b 78 	or      r0,r0,r9                               
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
ffc25240:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc25244:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc25248:	41 9e 00 a0 	beq-    cr7,ffc252e8 <rtems_rfs_fs_open+0x840> <== NEVER TAKEN
ffc2524c:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc25250:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc25254:	40 9e 00 94 	bne-    cr7,ffc252e8 <rtems_rfs_fs_open+0x840> <== NEVER TAKEN
      errno = EIO;                                                    
      return -1;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
ffc25258:	38 81 00 14 	addi    r4,r1,20                               
ffc2525c:	4b fe ee b5 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc25260:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25264:	41 81 00 3c 	bgt-    ffc252a0 <rtems_rfs_fs_open+0x7f8>     <== NEVER TAKEN
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
ffc25268:	48 00 35 55 	bl      ffc287bc <__errno>                     
ffc2526c:	38 00 00 00 	li      r0,0                                   
ffc25270:	90 03 00 00 	stw     r0,0(r3)                               
  return 0;                                                           
ffc25274:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc25278:	80 01 00 6c 	lwz     r0,108(r1)                             
ffc2527c:	83 41 00 50 	lwz     r26,80(r1)                             
ffc25280:	7c 08 03 a6 	mtlr    r0                                     
ffc25284:	83 61 00 54 	lwz     r27,84(r1)                             
ffc25288:	83 81 00 58 	lwz     r28,88(r1)                             
ffc2528c:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc25290:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc25294:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc25298:	38 21 00 68 	addi    r1,r1,104                              
ffc2529c:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc252a0:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc252a4:	4b ff ce a5 	bl      ffc22148 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc252a8:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc252ac:	4b fe 32 35 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc252b0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc252b4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc252b8:	4b ff 23 15 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc252bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc252c0:	41 9e fb cc 	beq+    cr7,ffc24e8c <rtems_rfs_fs_open+0x3e4> <== NOT EXECUTED
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
ffc252c4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc252c8:	48 00 53 45 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc252cc:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc252d0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc252d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc252d8:	38 63 bd d0 	addi    r3,r3,-16944                           <== NOT EXECUTED
ffc252dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc252e0:	48 00 45 c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc252e4:	4b ff fb a8 	b       ffc24e8c <rtems_rfs_fs_open+0x3e4>     <== NOT EXECUTED
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
    {                                                                 
      rtems_rfs_inode_close (*fs, &inode);                            
ffc252e8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc252ec:	4b fe ee 25 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      rtems_rfs_buffer_close (*fs);                                   
ffc252f0:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc252f4:	4b ff ce 55 	bl      ffc22148 <rtems_rfs_buffer_close>      <== NOT EXECUTED
      free (*fs);                                                     
ffc252f8:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc252fc:	4b fe 31 e5 	bl      ffc084e0 <free>                        <== NOT EXECUTED
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
ffc25300:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25304:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc25308:	4b ff 22 c5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2530c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25310:	41 be 00 10 	beq+    cr7,ffc25320 <rtems_rfs_fs_open+0x878> <== NOT EXECUTED
        printf ("rtems-rfs: open: invalid root inode mode\n");        
ffc25314:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25318:	38 63 bd a4 	addi    r3,r3,-16988                           <== NOT EXECUTED
ffc2531c:	48 00 47 39 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
      errno = EIO;                                                    
ffc25320:	48 00 34 9d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc25324:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc25328:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      return -1;                                                      
ffc2532c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc25330:	4b ff f8 ec 	b       ffc24c1c <rtems_rfs_fs_open+0x174>     <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc25334:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc25338:	4b ff ce 11 	bl      ffc22148 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc2533c:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc25340:	4b fe 31 a1 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc25344:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25348:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc2534c:	4b ff 22 81 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25350:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25354:	41 9e fb 38 	beq+    cr7,ffc24e8c <rtems_rfs_fs_open+0x3e4> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading root inode: %d: %s\n",        
ffc25358:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2535c:	48 00 52 b1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25360:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25364:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25368:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2536c:	38 63 bd 74 	addi    r3,r3,-17036                           <== NOT EXECUTED
ffc25370:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25374:	48 00 45 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25378:	4b ff fb 14 	b       ffc24e8c <rtems_rfs_fs_open+0x3e4>     <== 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);                       
ffc2537c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc25380:	90 e1 00 48 	stw     r7,72(r1)                              <== NOT EXECUTED
ffc25384:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25388:	4b ff c4 1d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc2538c:	80 e1 00 48 	lwz     r7,72(r1)                              <== 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))                       
ffc25390:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25394:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc25398:	98 e1 00 08 	stb     r7,8(r1)                               <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
    return ENOMEM;                                                    
ffc2539c:	3b 60 00 0c 	li      r27,12                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc253a0:	90 e1 00 0c 	stw     r7,12(r1)                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc253a4:	90 e1 00 10 	stw     r7,16(r1)                              <== 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))                       
ffc253a8:	4b ff 22 25 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc253ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc253b0:	41 9e f8 3c 	beq+    cr7,ffc24bec <rtems_rfs_fs_open+0x144> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
ffc253b4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc253b8:	38 63 bc cc 	addi    r3,r3,-17204                           <== NOT EXECUTED
ffc253bc:	48 00 46 99 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc253c0:	4b ff f8 2c 	b       ffc24bec <rtems_rfs_fs_open+0x144>     <== NOT EXECUTED
                                                                      

ffc24a7c <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);
ffc24a7c:	80 03 00 04 	lwz     r0,4(r3)                               <== NOT EXECUTED
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
ffc24a80:	81 23 00 08 	lwz     r9,8(r3)                               <== NOT EXECUTED
  return blocks * block_size;                                         
ffc24a84:	7c 69 00 16 	mulhwu  r3,r9,r0                               <== NOT EXECUTED
ffc24a88:	7c 89 01 d6 	mullw   r4,r9,r0                               <== NOT EXECUTED
}                                                                     
ffc24a8c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc137bc <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) {
ffc137bc:	7d 80 00 26 	mfcr    r12                                    
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc137c0:	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)          
{                                                                     
ffc137c4:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc137c8:	7c 08 02 a6 	mflr    r0                                     
ffc137cc:	92 a1 00 24 	stw     r21,36(r1)                             
ffc137d0:	7c d5 33 78 	mr      r21,r6                                 
ffc137d4:	93 81 00 40 	stw     r28,64(r1)                             
ffc137d8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc137dc:	90 01 00 54 	stw     r0,84(r1)                              
ffc137e0:	92 81 00 20 	stw     r20,32(r1)                             
ffc137e4:	92 c1 00 28 	stw     r22,40(r1)                             
ffc137e8:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc137ec:	93 01 00 30 	stw     r24,48(r1)                             
ffc137f0:	93 21 00 34 	stw     r25,52(r1)                             
ffc137f4:	93 41 00 38 	stw     r26,56(r1)                             
ffc137f8:	93 61 00 3c 	stw     r27,60(r1)                             
ffc137fc:	93 a1 00 44 	stw     r29,68(r1)                             
ffc13800:	93 c1 00 48 	stw     r30,72(r1)                             
ffc13804:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc13808:	91 81 00 1c 	stw     r12,28(r1)                             
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc1380c:	41 92 01 e8 	beq-    cr4,ffc139f4 <rtems_rfs_group_bitmap_alloc+0x238>
  {                                                                   
    size = fs->group_inodes;                                          
ffc13810:	83 03 00 28 	lwz     r24,40(r3)                             
    goal -= RTEMS_RFS_ROOT_INO;                                       
ffc13814:	38 84 ff ff 	addi    r4,r4,-1                               
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
ffc13818:	7f 44 c3 96 	divwu   r26,r4,r24                             
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc1381c:	7c 1a c1 d6 	mullw   r0,r26,r24                             
                                                                      
    /*                                                                
     * 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);                       
ffc13820:	7f 5f d3 78 	mr      r31,r26                                
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc13824:	7c 80 20 50 	subf    r4,r0,r4                               
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc13828:	38 00 00 00 	li      r0,0                                   
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc1382c:	90 81 00 0c 	stw     r4,12(r1)                              
  offset = 0;                                                         
  updown = true;                                                      
  direction = 1;                                                      
ffc13830:	3b c0 00 01 	li      r30,1                                  
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc13834:	98 01 00 08 	stb     r0,8(r1)                               
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
ffc13838:	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;                                                         
ffc1383c:	3b a0 00 00 	li      r29,0                                  
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc13840:	3a c0 00 00 	li      r22,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))                    
ffc13844:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc13848:	41 9c 00 94 	blt-    cr7,ffc138dc <rtems_rfs_group_bitmap_alloc+0x120><== NEVER TAKEN
ffc1384c:	80 1c 00 20 	lwz     r0,32(r28)                             
ffc13850:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc13854:	40 9d 00 88 	ble-    cr7,ffc138dc <rtems_rfs_group_bitmap_alloc+0x120><== NEVER TAKEN
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc13858:	1e ff 00 50 	mulli   r23,r31,80                             
ffc1385c:	83 3c 00 1c 	lwz     r25,28(r28)                            
ffc13860:	7f 39 ba 14 	add     r25,r25,r23                            
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
ffc13864:	41 92 01 88 	beq-    cr4,ffc139ec <rtems_rfs_group_bitmap_alloc+0x230>
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc13868:	3b 39 00 2c 	addi    r25,r25,44                             
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
                                                                      
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
ffc1386c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc13870:	7f 23 cb 78 	mr      r3,r25                                 
ffc13874:	38 a1 00 08 	addi    r5,r1,8                                
ffc13878:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1387c:	48 00 c5 e9 	bl      ffc1fe64 <rtems_rfs_bitmap_map_alloc>  
    if (rc > 0)                                                       
ffc13880:	7c 74 1b 79 	mr.     r20,r3                                 
ffc13884:	41 81 00 f4 	bgt-    ffc13978 <rtems_rfs_group_bitmap_alloc+0x1bc><== NEVER TAKEN
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
ffc13888:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc1388c:	70 09 00 01 	andi.   r9,r0,1                                
ffc13890:	41 82 01 6c 	beq-    ffc139fc <rtems_rfs_group_bitmap_alloc+0x240><== ALWAYS TAKEN
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
ffc13894:	88 01 00 08 	lbz     r0,8(r1)                               
ffc13898:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1389c:	40 9e 00 88 	bne-    cr7,ffc13924 <rtems_rfs_group_bitmap_alloc+0x168><== ALWAYS TAKEN
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
    }                                                                 
                                                                      
    if (updown)                                                       
ffc138a0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc138a4:	41 9e 00 14 	beq-    cr7,ffc138b8 <rtems_rfs_group_bitmap_alloc+0xfc><== NOT EXECUTED
      direction = direction > 0 ? -1 : 1;                             
ffc138a8:	6b de 00 01 	xori    r30,r30,1                              <== NOT EXECUTED
ffc138ac:	33 de ff ff 	addic   r30,r30,-1                             <== NOT EXECUTED
ffc138b0:	7f de f1 10 	subfe   r30,r30,r30                            <== NOT EXECUTED
ffc138b4:	63 de 00 01 	ori     r30,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)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc138b8:	2f 9e 00 01 	cmpwi   cr7,r30,1                              <== NOT EXECUTED
    }                                                                 
                                                                      
    if (updown)                                                       
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
ffc138bc:	3b bd 00 01 	addi    r29,r29,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);                       
ffc138c0:	7f fe e9 d6 	mullw   r31,r30,r29                            <== NOT EXECUTED
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc138c4:	38 00 00 00 	li      r0,0                                   <== 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);                       
ffc138c8:	7f ff d2 14 	add     r31,r31,r26                            <== NOT EXECUTED
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc138cc:	40 9e 00 4c 	bne-    cr7,ffc13918 <rtems_rfs_group_bitmap_alloc+0x15c><== NOT EXECUTED
ffc138d0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    /*                                                                
     * If we are still looking up and down and if the group is out of range we
     * have reached one end. Stopping looking up and down and just move in the
     * one direction one group at a time.                             
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
ffc138d4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc138d8:	40 9c ff 74 	bge+    cr7,ffc1384c <rtems_rfs_group_bitmap_alloc+0x90><== NOT EXECUTED
    {                                                                 
      if (!updown)                                                    
ffc138dc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc138e0:	41 9e 00 e4 	beq-    cr7,ffc139c4 <rtems_rfs_group_bitmap_alloc+0x208><== NOT EXECUTED
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc138e4:	6b de 00 01 	xori    r30,r30,1                              <== NOT EXECUTED
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc138e8:	9a c1 00 08 	stb     r22,8(r1)                              <== NOT EXECUTED
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc138ec:	33 de ff ff 	addic   r30,r30,-1                             <== NOT EXECUTED
ffc138f0:	7f de f1 10 	subfe   r30,r30,r30                            <== 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)                                                       
ffc138f4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc138f8:	63 de 00 01 	ori     r30,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);                       
ffc138fc:	7f fe e9 d6 	mullw   r31,r30,r29                            <== NOT EXECUTED
    if (offset)                                                       
ffc13900:	3b 60 00 00 	li      r27,0                                  <== 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);                       
ffc13904:	7f ff d2 14 	add     r31,r31,r26                            <== NOT EXECUTED
    if (offset)                                                       
ffc13908:	41 9e ff 3c 	beq+    cr7,ffc13844 <rtems_rfs_group_bitmap_alloc+0x88><== NOT EXECUTED
      bit = direction > 0 ? 0 : size - 1;                             
ffc1390c:	2f 9e 00 01 	cmpwi   cr7,r30,1                              <== NOT EXECUTED
ffc13910:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc13914:	41 9e ff bc 	beq+    cr7,ffc138d0 <rtems_rfs_group_bitmap_alloc+0x114><== NOT EXECUTED
ffc13918:	38 18 ff ff 	addi    r0,r24,-1                              <== NOT EXECUTED
ffc1391c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc13920:	4b ff ff b4 	b       ffc138d4 <rtems_rfs_group_bitmap_alloc+0x118><== NOT EXECUTED
    if (rtems_rfs_fs_release_bitmaps (fs))                            
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
ffc13924:	40 92 00 e8 	bne-    cr4,ffc13a0c <rtems_rfs_group_bitmap_alloc+0x250>
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
ffc13928:	81 3c 00 1c 	lwz     r9,28(r28)                             
ffc1392c:	7c 09 b8 2e 	lwzx    r0,r9,r23                              
ffc13930:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc13934:	7c 09 02 14 	add     r0,r9,r0                               
ffc13938:	90 15 00 00 	stw     r0,0(r21)                              
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc1393c:	38 60 00 00 	li      r3,0                                   
ffc13940:	3c 80 00 02 	lis     r4,2                                   
ffc13944:	48 00 3c 89 	bl      ffc175cc <rtems_rfs_trace>             
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
ffc13948:	3a 80 00 00 	li      r20,0                                  
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc1394c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13950:	41 9e 00 28 	beq-    cr7,ffc13978 <rtems_rfs_group_bitmap_alloc+0x1bc><== ALWAYS TAKEN
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
ffc13954:	40 92 00 d4 	bne-    cr4,ffc13a28 <rtems_rfs_group_bitmap_alloc+0x26c><== NOT EXECUTED
ffc13958:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc1395c:	38 84 9e 0c 	addi    r4,r4,-25076                           <== NOT EXECUTED
ffc13960:	80 b5 00 00 	lwz     r5,0(r21)                              <== NOT EXECUTED
ffc13964:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13968:	38 63 9e 14 	addi    r3,r3,-25068                           <== NOT EXECUTED
ffc1396c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13970:	48 01 5f 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
ffc13974:	3a 80 00 00 	li      r20,0                                  <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
                                                                      
  return ENOSPC;                                                      
}                                                                     
ffc13978:	80 01 00 54 	lwz     r0,84(r1)                              
ffc1397c:	7e 83 a3 78 	mr      r3,r20                                 
ffc13980:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc13984:	7c 08 03 a6 	mtlr    r0                                     
ffc13988:	82 81 00 20 	lwz     r20,32(r1)                             
ffc1398c:	82 a1 00 24 	lwz     r21,36(r1)                             
ffc13990:	7d 80 81 20 	mtcrf   8,r12                                  
ffc13994:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc13998:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc1399c:	83 01 00 30 	lwz     r24,48(r1)                             
ffc139a0:	83 21 00 34 	lwz     r25,52(r1)                             
ffc139a4:	83 41 00 38 	lwz     r26,56(r1)                             
ffc139a8:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc139ac:	83 81 00 40 	lwz     r28,64(r1)                             
ffc139b0:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc139b4:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc139b8:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc139bc:	38 21 00 50 	addi    r1,r1,80                               
ffc139c0:	4e 80 00 20 	blr                                            
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc139c4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc139c8:	3c 80 00 02 	lis     r4,2                                   <== NOT EXECUTED
ffc139cc:	48 00 3c 01 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
                                                                      
  return ENOSPC;                                                      
ffc139d0:	3a 80 00 1c 	li      r20,28                                 <== NOT EXECUTED
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc139d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc139d8:	41 9e ff a0 	beq+    cr7,ffc13978 <rtems_rfs_group_bitmap_alloc+0x1bc><== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
ffc139dc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc139e0:	38 63 9e 48 	addi    r3,r3,-25016                           <== NOT EXECUTED
ffc139e4:	48 01 60 71 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc139e8:	4b ff ff 90 	b       ffc13978 <rtems_rfs_group_bitmap_alloc+0x1bc><== NOT EXECUTED
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
ffc139ec:	3b 39 00 08 	addi    r25,r25,8                              
ffc139f0:	4b ff fe 7c 	b       ffc1386c <rtems_rfs_group_bitmap_alloc+0xb0>
  {                                                                   
    size = fs->group_inodes;                                          
    goal -= RTEMS_RFS_ROOT_INO;                                       
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
ffc139f4:	83 03 00 24 	lwz     r24,36(r3)                             
ffc139f8:	4b ff fe 20 	b       ffc13818 <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);                   
ffc139fc:	80 99 00 00 	lwz     r4,0(r25)                              
ffc13a00:	7f 83 e3 78 	mr      r3,r28                                 
ffc13a04:	48 00 dd a1 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
ffc13a08:	4b ff fe 8c 	b       ffc13894 <rtems_rfs_group_bitmap_alloc+0xd8>
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
ffc13a0c:	80 1c 00 28 	lwz     r0,40(r28)                             
ffc13a10:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc13a14:	7f ff 01 d6 	mullw   r31,r31,r0                             
ffc13a18:	38 09 00 01 	addi    r0,r9,1                                
ffc13a1c:	7c 00 fa 14 	add     r0,r0,r31                              
ffc13a20:	90 15 00 00 	stw     r0,0(r21)                              
ffc13a24:	4b ff ff 18 	b       ffc1393c <rtems_rfs_group_bitmap_alloc+0x180>
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
ffc13a28:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc13a2c:	38 84 9e 04 	addi    r4,r4,-25084                           <== NOT EXECUTED
ffc13a30:	4b ff ff 30 	b       ffc13960 <rtems_rfs_group_bitmap_alloc+0x1a4><== NOT EXECUTED
                                                                      

ffc13a34 <rtems_rfs_group_bitmap_free>: int rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no) {
ffc13a34:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc13a38:	7d 80 00 26 	mfcr    r12                                    
ffc13a3c:	7c 08 02 a6 	mflr    r0                                     
ffc13a40:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc13a44:	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))                
ffc13a48:	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)               
{                                                                     
ffc13a4c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc13a50:	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))                
ffc13a54:	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)               
{                                                                     
ffc13a58:	93 c1 00 10 	stw     r30,16(r1)                             
ffc13a5c:	7c be 2b 78 	mr      r30,r5                                 
ffc13a60:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc13a64:	90 01 00 1c 	stw     r0,28(r1)                              
ffc13a68:	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))                
ffc13a6c:	48 00 3b 61 	bl      ffc175cc <rtems_rfs_trace>             
ffc13a70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13a74:	41 9e 00 24 	beq-    cr7,ffc13a98 <rtems_rfs_group_bitmap_free+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
ffc13a78:	40 92 00 ec 	bne-    cr4,ffc13b64 <rtems_rfs_group_bitmap_free+0x130><== NOT EXECUTED
ffc13a7c:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc13a80:	38 84 9e 0c 	addi    r4,r4,-25076                           <== NOT EXECUTED
ffc13a84:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13a88:	38 63 9e 7c 	addi    r3,r3,-24964                           <== NOT EXECUTED
ffc13a8c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc13a90:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13a94:	48 01 5e 0d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc13a98:	41 92 00 68 	beq-    cr4,ffc13b00 <rtems_rfs_group_bitmap_free+0xcc><== NEVER TAKEN
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
ffc13a9c:	80 9f 00 28 	lwz     r4,40(r31)                             
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
ffc13aa0:	3b de ff ff 	addi    r30,r30,-1                             
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc13aa4:	83 bf 00 1c 	lwz     r29,28(r31)                            
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13aa8:	7c 1e 23 96 	divwu   r0,r30,r4                              
ffc13aac:	7c 80 21 d6 	mullw   r4,r0,r4                               
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc13ab0:	1c 00 00 50 	mulli   r0,r0,80                               
ffc13ab4:	7f bd 02 14 	add     r29,r29,r0                             
ffc13ab8:	3b bd 00 2c 	addi    r29,r29,44                             
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13abc:	7c 84 f0 50 	subf    r4,r4,r30                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc13ac0:	7f a3 eb 78 	mr      r3,r29                                 
ffc13ac4:	48 00 c0 85 	bl      ffc1fb48 <rtems_rfs_bitmap_map_clear>  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13ac8:	80 9d 00 00 	lwz     r4,0(r29)                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc13acc:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13ad0:	7f e3 fb 78 	mr      r3,r31                                 
ffc13ad4:	48 00 dc d1 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
                                                                      
  return rc;                                                          
}                                                                     
ffc13ad8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc13adc:	81 81 00 08 	lwz     r12,8(r1)                              
ffc13ae0:	7f c3 f3 78 	mr      r3,r30                                 
ffc13ae4:	7c 08 03 a6 	mtlr    r0                                     
ffc13ae8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc13aec:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc13af0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc13af4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc13af8:	38 21 00 18 	addi    r1,r1,24                               
ffc13afc:	4e 80 00 20 	blr                                            
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
ffc13b00:	80 9f 00 24 	lwz     r4,36(r31)                             <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
ffc13b04:	3b de ff ff 	addi    r30,r30,-1                             <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc13b08:	83 bf 00 1c 	lwz     r29,28(r31)                            <== NOT EXECUTED
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13b0c:	7c 1e 23 96 	divwu   r0,r30,r4                              <== NOT EXECUTED
ffc13b10:	7c 80 21 d6 	mullw   r4,r0,r4                               <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc13b14:	1c 00 00 50 	mulli   r0,r0,80                               <== NOT EXECUTED
ffc13b18:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
ffc13b1c:	3b bd 00 08 	addi    r29,r29,8                              <== NOT EXECUTED
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13b20:	7c 84 f0 50 	subf    r4,r4,r30                              <== NOT EXECUTED
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc13b24:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc13b28:	48 00 c0 21 	bl      ffc1fb48 <rtems_rfs_bitmap_map_clear>  <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13b2c:	80 9d 00 00 	lwz     r4,0(r29)                              <== NOT EXECUTED
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc13b30:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13b34:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc13b38:	48 00 dc 6d 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
ffc13b3c:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc13b40:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc13b44:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc13b48:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc13b4c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc13b50:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc13b54:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc13b58:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc13b5c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc13b60:	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-free: %s free: %" PRId32 "\n",   
ffc13b64:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc13b68:	38 84 9e 04 	addi    r4,r4,-25084                           <== NOT EXECUTED
ffc13b6c:	4b ff ff 18 	b       ffc13a84 <rtems_rfs_group_bitmap_free+0x50><== NOT EXECUTED
                                                                      

ffc13b70 <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) {
ffc13b70:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc13b74:	7d 80 00 26 	mfcr    r12                                    <== NOT EXECUTED
ffc13b78:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc13b7c:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc13b80:	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))                
ffc13b84:	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)            
{                                                                     
ffc13b88:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
ffc13b8c:	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))                
ffc13b90:	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)            
{                                                                     
ffc13b94:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc13b98:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
ffc13b9c:	2e 1d 00 00 	cmpwi   cr4,r29,0                              <== NOT EXECUTED
ffc13ba0:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc13ba4:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
ffc13ba8:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc13bac:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc13bb0:	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))                
ffc13bb4:	48 00 3a 19 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc13bb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13bbc:	41 9e 00 24 	beq-    cr7,ffc13be0 <rtems_rfs_group_bitmap_test+0x70><== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
ffc13bc0:	40 92 00 e8 	bne-    cr4,ffc13ca8 <rtems_rfs_group_bitmap_test+0x138><== NOT EXECUTED
ffc13bc4:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc13bc8:	38 84 9e 0c 	addi    r4,r4,-25076                           <== NOT EXECUTED
ffc13bcc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13bd0:	38 63 9e a8 	addi    r3,r3,-24920                           <== NOT EXECUTED
ffc13bd4:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc13bd8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13bdc:	48 01 5c c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc13be0:	41 92 00 4c 	beq-    cr4,ffc13c2c <rtems_rfs_group_bitmap_test+0xbc><== NOT EXECUTED
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
ffc13be4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
        return EINVAL;                                                
ffc13be8:	3b 60 00 16 	li      r27,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))) 
ffc13bec:	40 9d 00 10 	ble-    cr7,ffc13bfc <rtems_rfs_group_bitmap_test+0x8c><== NOT EXECUTED
ffc13bf0:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc13bf4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc13bf8:	40 9d 00 bc 	ble-    cr7,ffc13cb4 <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;                                                          
}                                                                     
ffc13bfc:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc13c00:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc13c04:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc13c08:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc13c0c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc13c10:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc13c14:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc13c18:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc13c1c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc13c20:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc13c24:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc13c28:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
ffc13c2c:	80 1e 00 04 	lwz     r0,4(r30)                              <== NOT EXECUTED
        return EINVAL;                                                
ffc13c30:	3b 60 00 16 	li      r27,22                                 <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
ffc13c34:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc13c38:	40 9c ff c4 	bge+    cr7,ffc13bfc <rtems_rfs_group_bitmap_test+0x8c><== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
ffc13c3c:	80 9e 00 24 	lwz     r4,36(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;                         
ffc13c40:	83 be 00 1c 	lwz     r29,28(r30)                            <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13c44:	7c 1f 23 96 	divwu   r0,r31,r4                              <== NOT EXECUTED
ffc13c48:	7c 80 21 d6 	mullw   r4,r0,r4                               <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc13c4c:	1c 00 00 50 	mulli   r0,r0,80                               <== NOT EXECUTED
ffc13c50:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13c54:	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;                         
ffc13c58:	3b bd 00 08 	addi    r29,r29,8                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
ffc13c5c:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc13c60:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc13c64:	48 00 bf ad 	bl      ffc1fc10 <rtems_rfs_bitmap_map_test>   <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13c68:	80 9d 00 00 	lwz     r4,0(r29)                              <== 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);                
ffc13c6c:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc13c70:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc13c74:	48 00 db 31 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
ffc13c78:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc13c7c:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc13c80:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc13c84:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc13c88:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc13c8c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc13c90:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc13c94:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc13c98:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc13c9c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc13ca0:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc13ca4:	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",   
ffc13ca8:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc13cac:	38 84 9e 04 	addi    r4,r4,-25084                           <== NOT EXECUTED
ffc13cb0:	4b ff ff 1c 	b       ffc13bcc <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;                                          
ffc13cb4:	80 9e 00 28 	lwz     r4,40(r30)                             <== NOT EXECUTED
                                                                      
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
ffc13cb8:	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;                         
ffc13cbc:	83 be 00 1c 	lwz     r29,28(r30)                            <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13cc0:	7c 1f 23 96 	divwu   r0,r31,r4                              <== NOT EXECUTED
ffc13cc4:	7c 80 21 d6 	mullw   r4,r0,r4                               <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc13cc8:	1c 00 00 50 	mulli   r0,r0,80                               <== NOT EXECUTED
ffc13ccc:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc13cd0:	7c 84 f8 50 	subf    r4,r4,r31                              <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc13cd4:	3b bd 00 2c 	addi    r29,r29,44                             <== NOT EXECUTED
ffc13cd8:	4b ff ff 84 	b       ffc13c5c <rtems_rfs_group_bitmap_test+0xec><== NOT EXECUTED
                                                                      

ffc136a4 <rtems_rfs_group_close>: return 0; } int rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group) {
ffc136a4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc136a8:	7c 08 02 a6 	mflr    r0                                     
ffc136ac:	93 c1 00 10 	stw     r30,16(r1)                             
ffc136b0:	7c 7e 1b 78 	mr      r30,r3                                 
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc136b4:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group)
{                                                                     
ffc136b8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc136bc:	7c 9f 23 78 	mr      r31,r4                                 
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc136c0:	3c 80 00 01 	lis     r4,1                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group)
{                                                                     
ffc136c4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc136c8:	93 81 00 08 	stw     r28,8(r1)                              
ffc136cc:	93 a1 00 0c 	stw     r29,12(r1)                             
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc136d0:	48 00 3e fd 	bl      ffc175cc <rtems_rfs_trace>             
ffc136d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc136d8:	40 9e 00 84 	bne-    cr7,ffc1375c <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);                 
ffc136dc:	38 7f 00 2c 	addi    r3,r31,44                              
ffc136e0:	48 00 ca 3d 	bl      ffc2011c <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);                       
ffc136e4:	38 9f 00 44 	addi    r4,r31,68                              
ffc136e8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc136ec:	7f c3 f3 78 	mr      r3,r30                                 
ffc136f0:	48 00 e0 b5 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc136f4:	38 00 00 00 	li      r0,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;                                              
ffc136f8:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc136fc:	90 1f 00 48 	stw     r0,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);                 
ffc13700:	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;                                              
ffc13704:	99 3f 00 44 	stb     r9,68(r31)                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc13708:	90 1f 00 4c 	stw     r0,76(r31)                             
ffc1370c:	48 00 ca 11 	bl      ffc2011c <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc13710:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc13714:	40 81 00 98 	ble-    ffc137ac <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);                       
ffc13718:	7f c3 f3 78 	mr      r3,r30                                 
ffc1371c:	38 9f 00 20 	addi    r4,r31,32                              
ffc13720:	48 00 e0 85 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc13724:	38 00 00 00 	li      r0,0                                   
ffc13728:	90 1f 00 24 	stw     r0,36(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;                                              
ffc1372c:	39 20 00 00 	li      r9,0                                   
  rc = rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
                                                                      
  return result;                                                      
}                                                                     
ffc13730:	7f a3 eb 78 	mr      r3,r29                                 
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc13734:	90 1f 00 28 	stw     r0,40(r31)                             
ffc13738:	80 01 00 1c 	lwz     r0,28(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;                                              
ffc1373c:	99 3f 00 20 	stb     r9,32(r31)                             
ffc13740:	7c 08 03 a6 	mtlr    r0                                     
ffc13744:	83 81 00 08 	lwz     r28,8(r1)                              
ffc13748:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1374c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc13750:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc13754:	38 21 00 18 	addi    r1,r1,24                               
ffc13758:	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);
ffc1375c:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc13760:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13764:	38 63 9d e0 	addi    r3,r3,-25120                           <== NOT EXECUTED
ffc13768:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1376c:	48 01 61 35 	bl      ffc298a0 <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);                 
ffc13770:	38 7f 00 2c 	addi    r3,r31,44                              <== NOT EXECUTED
ffc13774:	48 00 c9 a9 	bl      ffc2011c <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);                       
ffc13778:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
ffc1377c:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc13780:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc13784:	48 00 e0 21 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc13788:	38 00 00 00 	li      r0,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;                                              
ffc1378c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc13790:	90 1f 00 48 	stw     r0,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);                 
ffc13794:	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;                                              
ffc13798:	99 3f 00 44 	stb     r9,68(r31)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc1379c:	90 1f 00 4c 	stw     r0,76(r31)                             <== NOT EXECUTED
ffc137a0:	48 00 c9 7d 	bl      ffc2011c <rtems_rfs_bitmap_close>      <== NOT EXECUTED
  if (rc > 0)                                                         
ffc137a4:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc137a8:	41 81 ff 70 	bgt+    ffc13718 <rtems_rfs_group_close+0x74>  <== NOT EXECUTED
ffc137ac:	7f 9d e0 f8 	not     r29,r28                                
ffc137b0:	7f bd fe 70 	srawi   r29,r29,31                             
ffc137b4:	7f 9d e8 38 	and     r29,r28,r29                            
ffc137b8:	4b ff ff 60 	b       ffc13718 <rtems_rfs_group_close+0x74>  
                                                                      

ffc133dc <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) {
ffc133dc:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc133e0:	7c 08 02 a6 	mflr    r0                                     
ffc133e4:	90 01 00 2c 	stw     r0,44(r1)                              
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc133e8:	80 03 00 04 	lwz     r0,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)                   
{                                                                     
ffc133ec:	93 61 00 14 	stw     r27,20(r1)                             
ffc133f0:	7c 7b 1b 78 	mr      r27,r3                                 
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc133f4:	7f 80 20 40 	cmplw   cr7,r0,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)                   
{                                                                     
ffc133f8:	93 81 00 18 	stw     r28,24(r1)                             
ffc133fc:	7c 9c 23 78 	mr      r28,r4                                 
ffc13400:	93 c1 00 20 	stw     r30,32(r1)                             
ffc13404:	7c be 2b 78 	mr      r30,r5                                 
ffc13408:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1340c:	7c ff 3b 78 	mr      r31,r7                                 
ffc13410:	93 01 00 08 	stw     r24,8(r1)                              
ffc13414:	93 21 00 0c 	stw     r25,12(r1)                             
ffc13418:	93 41 00 10 	stw     r26,16(r1)                             
ffc1341c:	93 a1 00 1c 	stw     r29,28(r1)                             
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc13420:	40 9d 01 1c 	ble-    cr7,ffc1353c <rtems_rfs_group_open+0x160><== 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))                      
ffc13424:	7d 25 22 14 	add     r9,r5,r4                               
ffc13428:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc1342c:	41 9d 00 08 	bgt-    cr7,ffc13434 <rtems_rfs_group_open+0x58><== NEVER TAKEN
    size = rtems_rfs_fs_blocks (fs) - base;                           
ffc13430:	7f c4 00 50 	subf    r30,r4,r0                              
ffc13434:	7f 9e 30 40 	cmplw   cr7,r30,r6                             
ffc13438:	7f d8 f3 78 	mr      r24,r30                                
ffc1343c:	41 9d 00 c4 	bgt-    cr7,ffc13500 <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))                   
ffc13440:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc13444:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc13448:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
ffc1344c:	48 00 41 81 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc13450:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13454:	40 9e 00 c8 	bne-    cr7,ffc1351c <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;                                                  
ffc13458:	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;                                                 
ffc1345c:	93 9f 00 00 	stw     r28,0(r31)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc13460:	38 00 00 00 	li      r0,0                                   
      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,               
ffc13464:	3b 3f 00 08 	addi    r25,r31,8                              
  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;                                                 
  group->size = size;                                                 
ffc13468:	93 df 00 04 	stw     r30,4(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,               
ffc1346c:	3b 5f 00 20 	addi    r26,r31,32                             
ffc13470:	98 1f 00 20 	stb     r0,32(r31)                             
ffc13474:	7f 87 e3 78 	mr      r7,r28                                 
ffc13478:	7f 23 cb 78 	mr      r3,r25                                 
  handle->bnum  = 0;                                                  
ffc1347c:	93 bf 00 24 	stw     r29,36(r31)                            
ffc13480:	7f 64 db 78 	mr      r4,r27                                 
ffc13484:	7f 45 d3 78 	mr      r5,r26                                 
  handle->buffer = NULL;                                              
ffc13488:	93 bf 00 28 	stw     r29,40(r31)                            
ffc1348c:	7f c6 f3 78 	mr      r6,r30                                 
ffc13490:	48 00 cc 1d 	bl      ffc200ac <rtems_rfs_bitmap_open>       
                              &group->block_bitmap_buffer, size,      
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc13494:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc13498:	40 81 01 38 	ble-    ffc135d0 <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);                       
ffc1349c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc134a0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc134a4:	48 00 e3 01 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc134a8:	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))                 
ffc134ac:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc134b0:	93 bf 00 24 	stw     r29,36(r31)                            <== NOT EXECUTED
ffc134b4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc134b8:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc134bc:	93 bf 00 28 	stw     r29,40(r31)                            <== NOT EXECUTED
ffc134c0:	48 00 41 0d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc134c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc134c8:	40 9e 00 b4 	bne-    cr7,ffc1357c <rtems_rfs_group_open+0x1a0><== NOT EXECUTED
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc134cc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc134d0:	7f 83 e3 78 	mr      r3,r28                                 
ffc134d4:	83 01 00 08 	lwz     r24,8(r1)                              
ffc134d8:	7c 08 03 a6 	mtlr    r0                                     
ffc134dc:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc134e0:	83 41 00 10 	lwz     r26,16(r1)                             
ffc134e4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc134e8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc134ec:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc134f0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc134f4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc134f8:	38 21 00 28 	addi    r1,r1,40                               
ffc134fc:	4e 80 00 20 	blr                                            
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
ffc13500:	38 80 00 00 	li      r4,0                                   
ffc13504:	38 60 00 00 	li      r3,0                                   
ffc13508:	60 84 80 00 	ori     r4,r4,32768                            
              EIO, strerror (EIO));                                   
    return EIO;                                                       
  }                                                                   
                                                                      
  if ((base + size) >= rtems_rfs_fs_blocks (fs))                      
    size = rtems_rfs_fs_blocks (fs) - base;                           
ffc1350c:	7c d8 33 78 	mr      r24,r6                                 
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
ffc13510:	48 00 40 bd 	bl      ffc175cc <rtems_rfs_trace>             
ffc13514:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13518:	41 9e ff 40 	beq+    cr7,ffc13458 <rtems_rfs_group_open+0x7c><== ALWAYS TAKEN
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
ffc1351c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13520:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc13524:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc13528:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc1352c:	38 63 9d 30 	addi    r3,r3,-25296                           <== NOT EXECUTED
ffc13530:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13534:	48 01 63 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc13538:	4b ff ff 20 	b       ffc13458 <rtems_rfs_group_open+0x7c>   <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc1353c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc13540:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc13544:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
ffc13548:	48 00 40 85 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
              EIO, strerror (EIO));                                   
    return EIO;                                                       
ffc1354c:	3b 80 00 05 	li      r28,5                                  <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc13550:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13554:	41 9e ff 78 	beq+    cr7,ffc134cc <rtems_rfs_group_open+0xf0><== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
ffc13558:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc1355c:	48 01 70 b1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13560:	38 80 00 05 	li      r4,5                                   <== NOT EXECUTED
ffc13564:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13568:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1356c:	38 63 9c f0 	addi    r3,r3,-25360                           <== NOT EXECUTED
ffc13570:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13574:	48 01 63 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc13578:	4b ff ff 54 	b       ffc134cc <rtems_rfs_group_open+0xf0>   <== 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",
ffc1357c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc13580:	48 01 70 8d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc13584:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc13588:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1358c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13590:	38 63 9d 68 	addi    r3,r3,-25240                           <== NOT EXECUTED
ffc13594:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13598:	48 01 63 09 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1359c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc135a0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc135a4:	83 01 00 08 	lwz     r24,8(r1)                              <== NOT EXECUTED
ffc135a8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc135ac:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc135b0:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc135b4:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc135b8:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc135bc:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc135c0:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc135c4:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc135c8:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc135cc:	4e 80 00 20 	blr                                            <== 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,               
ffc135d0:	80 ff 00 00 	lwz     r7,0(r31)                              
ffc135d4:	3b df 00 44 	addi    r30,r31,68                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc135d8:	9b bf 00 44 	stb     r29,68(r31)                            
ffc135dc:	38 7f 00 2c 	addi    r3,r31,44                              
ffc135e0:	7f 64 db 78 	mr      r4,r27                                 
  handle->bnum  = 0;                                                  
ffc135e4:	93 bf 00 48 	stw     r29,72(r31)                            
ffc135e8:	7f c5 f3 78 	mr      r5,r30                                 
ffc135ec:	7f 06 c3 78 	mr      r6,r24                                 
  handle->buffer = NULL;                                              
ffc135f0:	93 bf 00 4c 	stw     r29,76(r31)                            
ffc135f4:	38 e7 00 01 	addi    r7,r7,1                                
ffc135f8:	48 00 ca b5 	bl      ffc200ac <rtems_rfs_bitmap_open>       
                              &group->inode_bitmap_buffer, inodes,    
                              group->base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc135fc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc13600:	40 81 00 78 	ble-    ffc13678 <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);                       
ffc13604:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc13608:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1360c:	48 00 e1 99 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc13610:	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);                    
ffc13614:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc13618:	93 bf 00 48 	stw     r29,72(r31)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1361c:	93 bf 00 4c 	stw     r29,76(r31)                            <== NOT EXECUTED
ffc13620:	48 00 ca fd 	bl      ffc2011c <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);                       
ffc13624:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc13628:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1362c:	48 00 e1 79 	bl      ffc217a4 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc13630:	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))                 
ffc13634:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc13638:	93 bf 00 24 	stw     r29,36(r31)                            <== NOT EXECUTED
ffc1363c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc13640:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc13644:	93 bf 00 28 	stw     r29,40(r31)                            <== NOT EXECUTED
ffc13648:	48 00 3f 85 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1364c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13650:	41 9e fe 7c 	beq+    cr7,ffc134cc <rtems_rfs_group_open+0xf0><== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
ffc13654:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc13658:	48 01 6f b5 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc1365c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc13660:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc13664:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13668:	38 63 9d a4 	addi    r3,r3,-25180                           <== NOT EXECUTED
ffc1366c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13670:	48 01 62 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc13674:	4b ff fe 58 	b       ffc134cc <rtems_rfs_group_open+0xf0>   <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
ffc13678:	80 1b 00 00 	lwz     r0,0(r27)                              
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
ffc1367c:	3b 80 00 00 	li      r28,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))                              
ffc13680:	70 09 00 01 	andi.   r9,r0,1                                
ffc13684:	40 82 fe 48 	bne+    ffc134cc <rtems_rfs_group_open+0xf0>   <== NEVER TAKEN
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
ffc13688:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc1368c:	7f 63 db 78 	mr      r3,r27                                 
ffc13690:	48 00 e1 15 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
ffc13694:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc13698:	7f 63 db 78 	mr      r3,r27                                 
ffc1369c:	48 00 e1 09 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
ffc136a0:	4b ff fe 2c 	b       ffc134cc <rtems_rfs_group_open+0xf0>   
                                                                      

ffc13cdc <rtems_rfs_group_usage>: size_t* blocks, size_t* inodes) { int g; *blocks = 0;
ffc13cdc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc13ce0:	90 04 00 00 	stw     r0,0(r4)                               <== NOT EXECUTED
  *inodes = 0;                                                        
ffc13ce4:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc13ce8:	80 03 00 20 	lwz     r0,32(r3)                              <== NOT EXECUTED
ffc13cec:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc13cf0:	40 9d 00 50 	ble-    cr7,ffc13d40 <rtems_rfs_group_usage+0x64><== NOT EXECUTED
ffc13cf4:	81 23 00 1c 	lwz     r9,28(r3)                              <== NOT EXECUTED
ffc13cf8:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc13cfc:	81 09 00 14 	lwz     r8,20(r9)                              <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc13d00:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc13d04:	80 04 00 00 	lwz     r0,0(r4)                               <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
ffc13d08:	81 49 00 18 	lwz     r10,24(r9)                             <== NOT EXECUTED
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc13d0c:	7c 08 02 14 	add     r0,r8,r0                               <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
ffc13d10:	7c 0a 00 50 	subf    r0,r10,r0                              <== NOT EXECUTED
ffc13d14:	90 04 00 00 	stw     r0,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) -              
ffc13d18:	81 09 00 38 	lwz     r8,56(r9)                              <== NOT EXECUTED
ffc13d1c:	80 05 00 00 	lwz     r0,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 +=                                                        
ffc13d20:	81 49 00 3c 	lwz     r10,60(r9)                             <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc13d24:	39 29 00 50 	addi    r9,r9,80                               <== 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 +=                                                        
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
ffc13d28:	7c 08 02 14 	add     r0,r8,r0                               <== 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 +=                                                        
ffc13d2c:	7c 0a 00 50 	subf    r0,r10,r0                              <== NOT EXECUTED
ffc13d30:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc13d34:	80 03 00 20 	lwz     r0,32(r3)                              <== NOT EXECUTED
ffc13d38:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
ffc13d3c:	41 9d ff c0 	bgt+    cr7,ffc13cfc <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))                             
ffc13d40:	81 23 00 04 	lwz     r9,4(r3)                               <== NOT EXECUTED
ffc13d44:	80 04 00 00 	lwz     r0,0(r4)                               <== NOT EXECUTED
ffc13d48:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc13d4c:	40 9d 00 08 	ble-    cr7,ffc13d54 <rtems_rfs_group_usage+0x78><== NOT EXECUTED
ffc13d50:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc13d54:	90 04 00 00 	stw     r0,0(r4)                               <== NOT EXECUTED
    *blocks = rtems_rfs_fs_blocks (fs);                               
  if (*inodes > rtems_rfs_fs_inodes (fs))                             
ffc13d58:	81 23 00 10 	lwz     r9,16(r3)                              <== NOT EXECUTED
ffc13d5c:	80 05 00 00 	lwz     r0,0(r5)                               <== NOT EXECUTED
ffc13d60:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc13d64:	40 9d 00 08 	ble-    cr7,ffc13d6c <rtems_rfs_group_usage+0x90><== NOT EXECUTED
ffc13d68:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc13d6c:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
    *inodes = rtems_rfs_fs_inodes (fs);                               
                                                                      
  return 0;                                                           
}                                                                     
ffc13d70:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc13d74:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc14110 <rtems_rfs_inode_close>: } int rtems_rfs_inode_close (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc14110:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc14114:	7c 08 02 a6 	mflr    r0                                     
ffc14118:	93 c1 00 08 	stw     r30,8(r1)                              
ffc1411c:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc14120:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_close (rtems_rfs_file_system*  fs,                    
                       rtems_rfs_inode_handle* handle)                
{                                                                     
ffc14124:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc14128:	7c 9f 23 78 	mr      r31,r4                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc1412c:	3c 80 00 08 	lis     r4,8                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_close (rtems_rfs_file_system*  fs,                    
                       rtems_rfs_inode_handle* handle)                
{                                                                     
ffc14130:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc14134:	48 00 34 99 	bl      ffc175cc <rtems_rfs_trace>             
ffc14138:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1413c:	40 9e 00 64 	bne-    cr7,ffc141a0 <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);                     
ffc14140:	7f c3 f3 78 	mr      r3,r30                                 
ffc14144:	7f e4 fb 78 	mr      r4,r31                                 
ffc14148:	38 a0 00 01 	li      r5,1                                   
ffc1414c:	4b ff fe 85 	bl      ffc13fd0 <rtems_rfs_inode_unload>      
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
ffc14150:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14154:	40 82 00 28 	bne-    ffc1417c <rtems_rfs_inode_close+0x6c>  <== NEVER TAKEN
ffc14158:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc1415c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14160:	40 9d 00 1c 	ble-    cr7,ffc1417c <rtems_rfs_inode_close+0x6c><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
ffc14164:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14168:	3c 80 00 08 	lis     r4,8                                   <== NOT EXECUTED
ffc1416c:	48 00 34 61 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
ffc14170:	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))                
ffc14174:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14178:	40 9e 00 40 	bne-    cr7,ffc141b8 <rtems_rfs_inode_close+0xa8><== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc1417c:	38 00 00 00 	li      r0,0                                   
ffc14180:	90 1f 00 08 	stw     r0,8(r31)                              
  return rc;                                                          
}                                                                     
ffc14184:	7f c3 f3 78 	mr      r3,r30                                 
ffc14188:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1418c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc14190:	7c 08 03 a6 	mtlr    r0                                     
ffc14194:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc14198:	38 21 00 10 	addi    r1,r1,16                               
ffc1419c:	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);
ffc141a0:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc141a4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc141a8:	38 63 9f 68 	addi    r3,r3,-24728                           <== NOT EXECUTED
ffc141ac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc141b0:	48 01 56 f1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc141b4:	4b ff ff 8c 	b       ffc14140 <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",       
ffc141b8:	80 9f 00 24 	lwz     r4,36(r31)                             <== NOT EXECUTED
ffc141bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc141c0:	38 63 9f 8c 	addi    r3,r3,-24692                           <== NOT EXECUTED
ffc141c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc141c8:	48 01 56 d9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc141cc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc141d0:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc141d4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc141d8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc141dc:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc141e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc141e4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc141e8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc141ec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc14534 <rtems_rfs_inode_create>: uint16_t mode, uint16_t links, uid_t uid, gid_t gid, rtems_rfs_ino* ino) {
ffc14534:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc14538:	7d 80 00 26 	mfcr    r12                                    
ffc1453c:	7c 08 02 a6 	mflr    r0                                     
ffc14540:	93 81 00 80 	stw     r28,128(r1)                            
ffc14544:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc14548:	38 60 00 00 	li      r3,0                                   
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc1454c:	93 a1 00 84 	stw     r29,132(r1)                            
ffc14550:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc14554:	3c 80 00 40 	lis     r4,64                                  
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc14558:	92 c1 00 68 	stw     r22,104(r1)                            
ffc1455c:	7d 56 53 78 	mr      r22,r10                                
ffc14560:	92 e1 00 6c 	stw     r23,108(r1)                            
ffc14564:	7d 37 4b 78 	mr      r23,r9                                 
ffc14568:	93 01 00 70 	stw     r24,112(r1)                            
ffc1456c:	93 21 00 74 	stw     r25,116(r1)                            
ffc14570:	93 41 00 78 	stw     r26,120(r1)                            
ffc14574:	7d 1a 43 78 	mr      r26,r8                                 
ffc14578:	93 61 00 7c 	stw     r27,124(r1)                            
ffc1457c:	7c fb 3b 78 	mr      r27,r7                                 
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
ffc14580:	57 79 04 26 	rlwinm  r25,r27,0,16,19                        
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc14584:	93 c1 00 88 	stw     r30,136(r1)                            
ffc14588:	7c be 2b 78 	mr      r30,r5                                 
ffc1458c:	2e 19 60 00 	cmpwi   cr4,r25,24576                          
ffc14590:	93 e1 00 8c 	stw     r31,140(r1)                            
ffc14594:	7c df 33 78 	mr      r31,r6                                 
ffc14598:	90 01 00 94 	stw     r0,148(r1)                             
ffc1459c:	92 81 00 60 	stw     r20,96(r1)                             
ffc145a0:	92 a1 00 64 	stw     r21,100(r1)                            
ffc145a4:	91 81 00 5c 	stw     r12,92(r1)                             
ffc145a8:	83 01 00 98 	lwz     r24,152(r1)                            
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc145ac:	48 00 30 21 	bl      ffc175cc <rtems_rfs_trace>             
ffc145b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc145b4:	41 9e 00 94 	beq-    cr7,ffc14648 <rtems_rfs_inode_create+0x114><== ALWAYS TAKEN
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
ffc145b8:	2f 99 40 00 	cmpwi   cr7,r25,16384                          <== NOT EXECUTED
ffc145bc:	41 9e 01 50 	beq-    cr7,ffc1470c <rtems_rfs_inode_create+0x1d8><== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
ffc145c0:	2f 99 20 00 	cmpwi   cr7,r25,8192                           <== NOT EXECUTED
ffc145c4:	41 9e 01 64 	beq-    cr7,ffc14728 <rtems_rfs_inode_create+0x1f4><== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
ffc145c8:	2e 19 60 00 	cmpwi   cr4,r25,24576                          <== NOT EXECUTED
ffc145cc:	41 92 01 50 	beq-    cr4,ffc1471c <rtems_rfs_inode_create+0x1e8><== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
ffc145d0:	6f 20 ff ff 	xoris   r0,r25,65535                           <== NOT EXECUTED
ffc145d4:	2f 80 80 00 	cmpwi   cr7,r0,-32768                          <== NOT EXECUTED
ffc145d8:	41 9e 01 60 	beq-    cr7,ffc14738 <rtems_rfs_inode_create+0x204><== NOT EXECUTED
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
ffc145dc:	6f 20 ff ff 	xoris   r0,r25,65535                           <== NOT EXECUTED
ffc145e0:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          <== NOT EXECUTED
ffc145e4:	41 9e 01 60 	beq-    cr7,ffc14744 <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";                                     
ffc145e8:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc145ec:	3a b5 9f f4 	addi    r21,r21,-24588                         <== 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);
ffc145f0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc145f4:	38 63 a0 04 	addi    r3,r3,-24572                           <== NOT EXECUTED
ffc145f8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc145fc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14600:	48 01 52 a1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc14604:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc14608:	41 9e 00 24 	beq-    cr7,ffc1462c <rtems_rfs_inode_create+0xf8><== NOT EXECUTED
ffc1460c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc14610:	3a 80 00 00 	li      r20,0                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc14614:	7c 7e 00 ae 	lbzx    r3,r30,r0                              <== 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++)                                      
ffc14618:	3a 94 00 01 	addi    r20,r20,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1461c:	48 01 53 41 	bl      ffc2995c <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++)                                      
ffc14620:	7f 94 f8 00 	cmpw    cr7,r20,r31                            <== NOT EXECUTED
ffc14624:	7e 80 a3 78 	mr      r0,r20                                 <== NOT EXECUTED
ffc14628:	40 9e ff ec 	bne+    cr7,ffc14614 <rtems_rfs_inode_create+0xe0><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" type:%s mode:%04x (%03o)\n", type, mode, mode & ((1 << 10) - 1));
ffc1462c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14630:	38 63 a0 30 	addi    r3,r3,-24528                           <== NOT EXECUTED
ffc14634:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc14638:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1463c:	57 66 05 be 	clrlwi  r6,r27,22                              <== NOT EXECUTED
ffc14640:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14644:	48 01 52 5d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
ffc14648:	41 92 00 80 	beq-    cr4,ffc146c8 <rtems_rfs_inode_create+0x194><== NEVER TAKEN
ffc1464c:	40 91 00 6c 	ble-    cr4,ffc146b8 <rtems_rfs_inode_create+0x184>
ffc14650:	6f 20 ff ff 	xoris   r0,r25,65535                           
ffc14654:	2f 80 80 00 	cmpwi   cr7,r0,-32768                          
ffc14658:	41 9e 00 70 	beq-    cr7,ffc146c8 <rtems_rfs_inode_create+0x194>
ffc1465c:	6f 20 ff ff 	xoris   r0,r25,65535                           
ffc14660:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          
ffc14664:	41 9e 00 64 	beq-    cr7,ffc146c8 <rtems_rfs_inode_create+0x194><== ALWAYS TAKEN
    case RTEMS_RFS_S_IFBLK:                                           
    case RTEMS_RFS_S_IFREG:                                           
    case RTEMS_RFS_S_IFLNK:                                           
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
ffc14668:	3a a0 00 16 	li      r21,22                                 <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1466c:	80 01 00 94 	lwz     r0,148(r1)                             
ffc14670:	7e a3 ab 78 	mr      r3,r21                                 
ffc14674:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc14678:	7c 08 03 a6 	mtlr    r0                                     
ffc1467c:	82 81 00 60 	lwz     r20,96(r1)                             
ffc14680:	82 a1 00 64 	lwz     r21,100(r1)                            
ffc14684:	7d 80 81 20 	mtcrf   8,r12                                  
ffc14688:	82 c1 00 68 	lwz     r22,104(r1)                            
ffc1468c:	82 e1 00 6c 	lwz     r23,108(r1)                            
ffc14690:	83 01 00 70 	lwz     r24,112(r1)                            
ffc14694:	83 21 00 74 	lwz     r25,116(r1)                            
ffc14698:	83 41 00 78 	lwz     r26,120(r1)                            
ffc1469c:	83 61 00 7c 	lwz     r27,124(r1)                            
ffc146a0:	83 81 00 80 	lwz     r28,128(r1)                            
ffc146a4:	83 a1 00 84 	lwz     r29,132(r1)                            
ffc146a8:	83 c1 00 88 	lwz     r30,136(r1)                            
ffc146ac:	83 e1 00 8c 	lwz     r31,140(r1)                            
ffc146b0:	38 21 00 90 	addi    r1,r1,144                              
ffc146b4:	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)                                    
ffc146b8:	2f 99 20 00 	cmpwi   cr7,r25,8192                           
ffc146bc:	41 9e 00 0c 	beq-    cr7,ffc146c8 <rtems_rfs_inode_create+0x194><== NEVER TAKEN
ffc146c0:	2f 99 40 00 	cmpwi   cr7,r25,16384                          
ffc146c4:	40 9e ff a4 	bne+    cr7,ffc14668 <rtems_rfs_inode_create+0x134><== NEVER TAKEN
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, parent, ino);                       
ffc146c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc146cc:	7f a4 eb 78 	mr      r4,r29                                 
ffc146d0:	7f 05 c3 78 	mr      r5,r24                                 
ffc146d4:	4b ff f6 a5 	bl      ffc13d78 <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc146d8:	7c 75 1b 79 	mr.     r21,r3                                 
ffc146dc:	41 81 ff 90 	bgt+    ffc1466c <rtems_rfs_inode_create+0x138><== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, *ino, &inode, true);                 
ffc146e0:	80 98 00 00 	lwz     r4,0(r24)                              
ffc146e4:	7f 83 e3 78 	mr      r3,r28                                 
ffc146e8:	38 a1 00 08 	addi    r5,r1,8                                
ffc146ec:	38 c0 00 01 	li      r6,1                                   
ffc146f0:	4b ff f7 c1 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc146f4:	7c 75 1b 79 	mr.     r21,r3                                 
ffc146f8:	40 81 00 58 	ble-    ffc14750 <rtems_rfs_inode_create+0x21c><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
ffc146fc:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc14700:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc14704:	4b ff f6 b1 	bl      ffc13db4 <rtems_rfs_inode_free>        <== NOT EXECUTED
    return rc;                                                        
ffc14708:	4b ff ff 64 	b       ffc1466c <rtems_rfs_inode_create+0x138><== 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";                                                   
ffc1470c:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc14710:	3a b5 9f e8 	addi    r21,r21,-24600                         <== NOT EXECUTED
ffc14714:	2e 19 60 00 	cmpwi   cr4,r25,24576                          <== NOT EXECUTED
ffc14718:	4b ff fe d8 	b       ffc145f0 <rtems_rfs_inode_create+0xbc> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
ffc1471c:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc14720:	3a b5 9e 0c 	addi    r21,r21,-25076                         <== NOT EXECUTED
ffc14724:	4b ff fe cc 	b       ffc145f0 <rtems_rfs_inode_create+0xbc> <== 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";                                                  
ffc14728:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc1472c:	3a b5 9f ec 	addi    r21,r21,-24596                         <== NOT EXECUTED
ffc14730:	2e 19 60 00 	cmpwi   cr4,r25,24576                          <== NOT EXECUTED
ffc14734:	4b ff fe bc 	b       ffc145f0 <rtems_rfs_inode_create+0xbc> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
ffc14738:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc1473c:	3a b5 83 60 	addi    r21,r21,-31904                         <== NOT EXECUTED
ffc14740:	4b ff fe b0 	b       ffc145f0 <rtems_rfs_inode_create+0xbc> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
ffc14744:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc14748:	3a b5 9f fc 	addi    r21,r21,-24580                         <== NOT EXECUTED
ffc1474c:	4b ff fe a4 	b       ffc145f0 <rtems_rfs_inode_create+0xbc> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
ffc14750:	38 61 00 08 	addi    r3,r1,8                                
ffc14754:	7f 44 d3 78 	mr      r4,r26                                 
ffc14758:	7f 65 db 78 	mr      r5,r27                                 
ffc1475c:	7e e6 bb 78 	mr      r6,r23                                 
ffc14760:	7e c7 b3 78 	mr      r7,r22                                 
ffc14764:	4b ff fc 69 	bl      ffc143cc <rtems_rfs_inode_initialise>  
  if (rc > 0)                                                         
ffc14768:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1476c:	41 81 00 44 	bgt-    ffc147b0 <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))                                       
ffc14770:	2e 19 40 00 	cmpwi   cr4,r25,16384                          
ffc14774:	41 92 00 ac 	beq-    cr4,ffc14820 <rtems_rfs_inode_create+0x2ec>
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc14778:	7f 83 e3 78 	mr      r3,r28                                 
ffc1477c:	7f a4 eb 78 	mr      r4,r29                                 
ffc14780:	38 a1 00 30 	addi    r5,r1,48                               
ffc14784:	38 c0 00 01 	li      r6,1                                   
ffc14788:	4b ff f7 29 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1478c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc14790:	40 81 00 3c 	ble-    ffc147cc <rtems_rfs_inode_create+0x298><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc14794:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc14798:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1479c:	4b ff fa 55 	bl      ffc141f0 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc147a0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc147a4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc147a8:	4b ff f9 69 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rc;                                                        
ffc147ac:	4b ff fe c0 	b       ffc1466c <rtems_rfs_inode_create+0x138><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc147b0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc147b4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc147b8:	4b ff f9 59 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
ffc147bc:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc147c0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc147c4:	4b ff f5 f1 	bl      ffc13db4 <rtems_rfs_inode_free>        <== NOT EXECUTED
    return rc;                                                        
ffc147c8:	4b ff fe a4 	b       ffc1466c <rtems_rfs_inode_create+0x138><== 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);
ffc147cc:	80 f8 00 00 	lwz     r7,0(r24)                              
ffc147d0:	7f 83 e3 78 	mr      r3,r28                                 
ffc147d4:	38 81 00 30 	addi    r4,r1,48                               
ffc147d8:	7f c5 f3 78 	mr      r5,r30                                 
ffc147dc:	7f e6 fb 78 	mr      r6,r31                                 
ffc147e0:	48 00 e0 19 	bl      ffc227f8 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc147e4:	7c 75 1b 79 	mr.     r21,r3                                 
ffc147e8:	41 81 00 8c 	bgt-    ffc14874 <rtems_rfs_inode_create+0x340><== 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))                                       
ffc147ec:	41 92 00 c4 	beq-    cr4,ffc148b0 <rtems_rfs_inode_create+0x37c>
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
ffc147f0:	38 81 00 30 	addi    r4,r1,48                               
ffc147f4:	7f 83 e3 78 	mr      r3,r28                                 
ffc147f8:	4b ff f9 19 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc147fc:	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)                                                         
ffc14800:	7c 75 1b 79 	mr.     r21,r3                                 
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc14804:	7f 83 e3 78 	mr      r3,r28                                 
  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)                                                         
ffc14808:	40 81 00 94 	ble-    ffc1489c <rtems_rfs_inode_create+0x368><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc1480c:	4b ff f9 e5 	bl      ffc141f0 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc14810:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc14814:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc14818:	4b ff f8 f9 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rc;                                                        
ffc1481c:	4b ff fe 50 	b       ffc1466c <rtems_rfs_inode_create+0x138><== 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);          
ffc14820:	80 f8 00 00 	lwz     r7,0(r24)                              
ffc14824:	3c a0 ff c4 	lis     r5,-60                                 
ffc14828:	7f 83 e3 78 	mr      r3,r28                                 
ffc1482c:	38 81 00 08 	addi    r4,r1,8                                
ffc14830:	38 a5 83 ac 	addi    r5,r5,-31828                           
ffc14834:	38 c0 00 01 	li      r6,1                                   
ffc14838:	48 00 df c1 	bl      ffc227f8 <rtems_rfs_dir_add_entry>     
    if (rc == 0)                                                      
ffc1483c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc14840:	41 82 00 0c 	beq-    ffc1484c <rtems_rfs_inode_create+0x318><== ALWAYS TAKEN
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
    if (rc > 0)                                                       
ffc14844:	40 81 ff 34 	ble+    ffc14778 <rtems_rfs_inode_create+0x244><== NOT EXECUTED
ffc14848:	4b ff ff 4c 	b       ffc14794 <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);     
ffc1484c:	3c a0 ff c4 	lis     r5,-60                                 
ffc14850:	7f 83 e3 78 	mr      r3,r28                                 
ffc14854:	38 81 00 08 	addi    r4,r1,8                                
ffc14858:	38 a5 82 54 	addi    r5,r5,-32172                           
ffc1485c:	38 c0 00 02 	li      r6,2                                   
ffc14860:	7f a7 eb 78 	mr      r7,r29                                 
ffc14864:	48 00 df 95 	bl      ffc227f8 <rtems_rfs_dir_add_entry>     
ffc14868:	7c 75 1b 79 	mr.     r21,r3                                 
    if (rc > 0)                                                       
ffc1486c:	40 81 ff 0c 	ble+    ffc14778 <rtems_rfs_inode_create+0x244><== ALWAYS TAKEN
ffc14870:	4b ff ff 24 	b       ffc14794 <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);                              
ffc14874:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc14878:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1487c:	4b ff f9 75 	bl      ffc141f0 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc14880:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc14884:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc14888:	4b ff f8 89 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc1488c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc14890:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc14894:	4b ff f8 7d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rc;                                                        
ffc14898:	4b ff fd d4 	b       ffc1466c <rtems_rfs_inode_create+0x138><== NOT EXECUTED
    rtems_rfs_inode_delete (fs, &inode);                              
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1489c:	4b ff f8 75 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc148a0:	7c 75 1b 79 	mr.     r21,r3                                 
ffc148a4:	41 81 fe 58 	bgt+    ffc146fc <rtems_rfs_inode_create+0x1c8><== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc148a8:	3a a0 00 00 	li      r21,0                                  
ffc148ac:	4b ff fd c0 	b       ffc1466c <rtems_rfs_inode_create+0x138>
   * 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);
ffc148b0:	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);                  
ffc148b4:	89 69 00 00 	lbz     r11,0(r9)                              
ffc148b8:	88 09 00 01 	lbz     r0,1(r9)                               
ffc148bc:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc148c0:	7d 6b 03 78 	or      r11,r11,r0                             
  if (links == 0xffff)                                                
ffc148c4:	6d 60 ff ff 	xoris   r0,r11,65535                           
ffc148c8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc148cc:	41 9e 00 28 	beq-    cr7,ffc148f4 <rtems_rfs_inode_create+0x3c0><== 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,                         
ffc148d0:	38 0b 00 01 	addi    r0,r11,1                               
ffc148d4:	54 00 04 3e 	clrlwi  r0,r0,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);                  
ffc148d8:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc148dc:	99 69 00 00 	stb     r11,0(r9)                              
ffc148e0:	81 21 00 3c 	lwz     r9,60(r1)                              
ffc148e4:	98 09 00 01 	stb     r0,1(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc148e8:	38 00 00 01 	li      r0,1                                   
ffc148ec:	98 01 00 40 	stb     r0,64(r1)                              
ffc148f0:	4b ff ff 00 	b       ffc147f0 <rtems_rfs_inode_create+0x2bc>
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;                                                        
ffc148f4:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc148f8:	4b ff ff d8 	b       ffc148d0 <rtems_rfs_inode_create+0x39c><== NOT EXECUTED
                                                                      

ffc141f0 <rtems_rfs_inode_delete>: } int rtems_rfs_inode_delete (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc141f0:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc141f4:	7c 08 02 a6 	mflr    r0                                     
ffc141f8:	93 c1 00 58 	stw     r30,88(r1)                             
ffc141fc:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc14200:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
ffc14204:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc14208:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc1420c:	3c 80 00 80 	lis     r4,128                                 
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
ffc14210:	90 01 00 64 	stw     r0,100(r1)                             
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc14214:	48 00 33 b9 	bl      ffc175cc <rtems_rfs_trace>             
ffc14218:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1421c:	41 9e 00 2c 	beq-    cr7,ffc14248 <rtems_rfs_inode_delete+0x58><== ALWAYS TAKEN
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
ffc14220:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc14224:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc14228:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1422c:	41 9e 00 58 	beq-    cr7,ffc14284 <rtems_rfs_inode_delete+0x94><== NOT EXECUTED
ffc14230:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc14234:	38 a5 9e d4 	addi    r5,r5,-24876                           <== NOT EXECUTED
ffc14238:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1423c:	38 63 9f bc 	addi    r3,r3,-24644                           <== NOT EXECUTED
ffc14240:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14244:	48 01 56 5d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc14248:	80 1f 00 0c 	lwz     r0,12(r31)                             
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
  int rc = 0;                                                         
ffc1424c:	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))                             
ffc14250:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14254:	41 9e 00 18 	beq-    cr7,ffc1426c <rtems_rfs_inode_delete+0x7c><== NEVER TAKEN
    rtems_rfs_block_map map;                                          
                                                                      
    /*                                                                
     * Free the ino number.                                           
     */                                                               
    rc = rtems_rfs_inode_free (fs, handle->ino);                      
ffc14258:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc1425c:	7f c3 f3 78 	mr      r3,r30                                 
ffc14260:	4b ff fb 55 	bl      ffc13db4 <rtems_rfs_inode_free>        
    if (rc > 0)                                                       
ffc14264:	2c 03 00 00 	cmpwi   r3,0                                   
ffc14268:	40 81 00 28 	ble-    ffc14290 <rtems_rfs_inode_delete+0xa0> <== ALWAYS TAKEN
      handle->loads = 0;                                              
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
  return rc;                                                          
}                                                                     
ffc1426c:	80 01 00 64 	lwz     r0,100(r1)                             
ffc14270:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc14274:	7c 08 03 a6 	mtlr    r0                                     
ffc14278:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc1427c:	38 21 00 60 	addi    r1,r1,96                               
ffc14280:	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",    
ffc14284:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc14288:	38 a5 a3 b0 	addi    r5,r5,-23632                           <== NOT EXECUTED
ffc1428c:	4b ff ff ac 	b       ffc14238 <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);                 
ffc14290:	7f c3 f3 78 	mr      r3,r30                                 
ffc14294:	7f e4 fb 78 	mr      r4,r31                                 
ffc14298:	38 a1 00 08 	addi    r5,r1,8                                
ffc1429c:	48 00 c4 21 	bl      ffc206bc <rtems_rfs_block_map_open>    
    if (rc == 0)                                                      
ffc142a0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc142a4:	40 82 ff c8 	bne+    ffc1426c <rtems_rfs_inode_delete+0x7c> <== NEVER TAKEN
    {                                                                 
      int rrc;                                                        
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
ffc142a8:	38 81 00 08 	addi    r4,r1,8                                
ffc142ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc142b0:	48 00 d2 8d 	bl      ffc2153c <rtems_rfs_block_map_free_all>
      rc = rtems_rfs_block_map_close (fs, &map);                      
ffc142b4:	38 81 00 08 	addi    r4,r1,8                                
ffc142b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc142bc:	48 00 c6 09 	bl      ffc208c4 <rtems_rfs_block_map_close>   
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
ffc142c0:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc142c4:	38 80 00 ff 	li      r4,255                                 
ffc142c8:	38 a0 00 38 	li      r5,56                                  
ffc142cc:	48 01 54 45 	bl      ffc29710 <memset>                      
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
ffc142d0:	38 00 00 01 	li      r0,1                                   
ffc142d4:	7f e4 fb 78 	mr      r4,r31                                 
ffc142d8:	9c 04 00 10 	stbu    r0,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);     
ffc142dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc142e0:	48 00 d4 c5 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
      handle->loads = 0;                                              
ffc142e4:	38 00 00 00 	li      r0,0                                   
ffc142e8:	90 1f 00 24 	stw     r0,36(r31)                             
      handle->node = NULL;                                            
ffc142ec:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc142f0:	4b ff ff 7c 	b       ffc1426c <rtems_rfs_inode_delete+0x7c> 
                                                                      

ffc13ddc <rtems_rfs_inode_load>: } int rtems_rfs_inode_load (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc13ddc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc13de0:	7c 08 02 a6 	mflr    r0                                     
ffc13de4:	93 c1 00 08 	stw     r30,8(r1)                              
ffc13de8:	7c 7e 1b 78 	mr      r30,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc13dec:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
ffc13df0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc13df4:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc13df8:	3c 80 00 10 	lis     r4,16                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
ffc13dfc:	90 01 00 14 	stw     r0,20(r1)                              
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc13e00:	48 00 37 cd 	bl      ffc175cc <rtems_rfs_trace>             
ffc13e04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13e08:	41 9e 00 30 	beq-    cr7,ffc13e38 <rtems_rfs_inode_load+0x5c><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc13e0c:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc13e10:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc13e14:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc13e18:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc13e1c:	41 9e 00 50 	beq-    cr7,ffc13e6c <rtems_rfs_inode_load+0x90><== NOT EXECUTED
ffc13e20:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc13e24:	38 c6 9e d4 	addi    r6,r6,-24876                           <== NOT EXECUTED
ffc13e28:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13e2c:	38 63 9e d8 	addi    r3,r3,-24872                           <== NOT EXECUTED
ffc13e30:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13e34:	48 01 5a 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * An inode does not move so once loaded no need to do again.       
   */                                                                 
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc13e38:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc13e3c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc13e40:	41 9e 00 38 	beq-    cr7,ffc13e78 <rtems_rfs_inode_load+0x9c>
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc13e44:	81 3f 00 24 	lwz     r9,36(r31)                             
                                                                      
  return 0;                                                           
ffc13e48:	38 60 00 00 	li      r3,0                                   
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc13e4c:	38 09 00 01 	addi    r0,r9,1                                
ffc13e50:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc13e54:	80 01 00 14 	lwz     r0,20(r1)                              
ffc13e58:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc13e5c:	7c 08 03 a6 	mtlr    r0                                     
ffc13e60:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc13e64:	38 21 00 10 	addi    r1,r1,16                               
ffc13e68:	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",
ffc13e6c:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc13e70:	38 c6 a3 b0 	addi    r6,r6,-23632                           <== NOT EXECUTED
ffc13e74:	4b ff ff b4 	b       ffc13e28 <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,         
ffc13e78:	80 bf 00 1c 	lwz     r5,28(r31)                             
ffc13e7c:	7f c3 f3 78 	mr      r3,r30                                 
ffc13e80:	38 9f 00 10 	addi    r4,r31,16                              
ffc13e84:	38 c0 00 01 	li      r6,1                                   
ffc13e88:	48 00 db 31 	bl      ffc219b8 <rtems_rfs_buffer_handle_request>
                                          handle->block, true);       
    if (rc > 0)                                                       
ffc13e8c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc13e90:	41 81 ff c4 	bgt+    ffc13e54 <rtems_rfs_inode_load+0x78>   <== NEVER TAKEN
      return rc;                                                      
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
ffc13e94:	81 3f 00 18 	lwz     r9,24(r31)                             
    handle->node += handle->offset;                                   
ffc13e98:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc13e9c:	81 29 00 24 	lwz     r9,36(r9)                              
ffc13ea0:	1c 00 00 38 	mulli   r0,r0,56                               
ffc13ea4:	7c 09 02 14 	add     r0,r9,r0                               
ffc13ea8:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc13eac:	4b ff ff 98 	b       ffc13e44 <rtems_rfs_inode_load+0x68>   
                                                                      

ffc13eb0 <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) {
ffc13eb0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc13eb4:	7c 08 02 a6 	mflr    r0                                     
ffc13eb8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc13ebc:	7c 7e 1b 78 	mr      r30,r3                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc13ec0:	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)                   
{                                                                     
ffc13ec4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc13ec8:	7c 9f 23 78 	mr      r31,r4                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc13ecc:	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)                   
{                                                                     
ffc13ed0:	93 81 00 08 	stw     r28,8(r1)                              
ffc13ed4:	7c dc 33 78 	mr      r28,r6                                 
ffc13ed8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc13edc:	7c bd 2b 78 	mr      r29,r5                                 
ffc13ee0:	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))                   
ffc13ee4:	48 00 36 e9 	bl      ffc175cc <rtems_rfs_trace>             
ffc13ee8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13eec:	40 9e 00 cc 	bne-    cr7,ffc13fb8 <rtems_rfs_inode_open+0x108><== NEVER TAKEN
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
ffc13ef0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    return EINVAL;                                                    
ffc13ef4:	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)                                     
ffc13ef8:	40 9e 00 24 	bne-    cr7,ffc13f1c <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;                                                          
}                                                                     
ffc13efc:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc13f00:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc13f04:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc13f08:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc13f0c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc13f10:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc13f14:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc13f18:	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))          
ffc13f1c:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc13f20:	38 1f ff ff 	addi    r0,r31,-1                              
ffc13f24:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc13f28:	41 9d ff d4 	bgt+    cr7,ffc13efc <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;                                    
ffc13f2c:	81 5e 00 28 	lwz     r10,40(r30)                            
                                                                      
  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)                                              
ffc13f30:	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;
ffc13f34:	81 3e 00 2c 	lwz     r9,44(r30)                             
                                                                      
  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);            
ffc13f38:	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;                                    
ffc13f3c:	7d 60 53 96 	divwu   r11,r0,r10                             
  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); 
ffc13f40:	80 fe 00 1c 	lwz     r7,28(r30)                             
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
ffc13f44:	93 fd 00 08 	stw     r31,8(r29)                             
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc13f48:	7d 4b 51 d6 	mullw   r10,r11,r10                            
  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); 
ffc13f4c:	1d 0b 00 50 	mulli   r8,r11,80                              
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc13f50:	7c 0a 00 50 	subf    r0,r10,r0                              
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
ffc13f54:	7d 47 40 2e 	lwzx    r10,r7,r8                              
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
ffc13f58:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc13f5c:	7d 0b 49 d6 	mullw   r8,r11,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;
ffc13f60:	39 4a 00 02 	addi    r10,r10,2                              
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
ffc13f64:	39 20 00 00 	li      r9,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;                       
ffc13f68:	7c 08 00 50 	subf    r0,r8,r0                               
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
ffc13f6c:	91 3d 00 0c 	stw     r9,12(r29)                             
  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); 
ffc13f70:	7d 6a 5a 14 	add     r11,r10,r11                            
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
ffc13f74:	91 3d 00 24 	stw     r9,36(r29)                             
  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;                       
ffc13f78:	90 1d 00 20 	stw     r0,32(r29)                             
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
ffc13f7c:	91 7d 00 1c 	stw     r11,28(r29)                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc13f80:	99 3d 00 10 	stb     r9,16(r29)                             
  handle->bnum  = 0;                                                  
ffc13f84:	91 3d 00 14 	stw     r9,20(r29)                             
  handle->buffer = NULL;                                              
ffc13f88:	91 3d 00 18 	stw     r9,24(r29)                             
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
ffc13f8c:	41 9e ff 70 	beq+    cr7,ffc13efc <rtems_rfs_inode_open+0x4c><== NEVER TAKEN
    rc = rtems_rfs_inode_load (fs, handle);                           
  return rc;                                                          
}                                                                     
ffc13f90:	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);                           
ffc13f94:	7f c3 f3 78 	mr      r3,r30                                 
ffc13f98:	7f a4 eb 78 	mr      r4,r29                                 
  return rc;                                                          
}                                                                     
ffc13f9c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc13fa0:	7c 08 03 a6 	mtlr    r0                                     
ffc13fa4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc13fa8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc13fac:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc13fb0:	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);                           
ffc13fb4:	4b ff fe 28 	b       ffc13ddc <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);        
ffc13fb8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc13fbc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc13fc0:	38 63 9f 0c 	addi    r3,r3,-24820                           <== NOT EXECUTED
ffc13fc4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13fc8:	48 01 58 d9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc13fcc:	4b ff ff 24 	b       ffc13ef0 <rtems_rfs_inode_open+0x40>   <== NOT EXECUTED
                                                                      

ffc142f4 <rtems_rfs_inode_time_stamp_now>: int rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle, bool atime, bool mtime) {
ffc142f4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc142f8:	7c 08 02 a6 	mflr    r0                                     
ffc142fc:	90 01 00 1c 	stw     r0,28(r1)                              
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc14300:	80 03 00 0c 	lwz     r0,12(r3)                              
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc14304:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc14308:	7c bd 2b 78 	mr      r29,r5                                 
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc1430c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc14310:	93 c1 00 10 	stw     r30,16(r1)                             
ffc14314:	7c 9e 23 78 	mr      r30,r4                                 
ffc14318:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1431c:	7c 7f 1b 78 	mr      r31,r3                                 
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
    return ENXIO;                                                     
ffc14320:	38 60 00 06 	li      r3,6                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc14324:	41 9e 00 8c 	beq-    cr7,ffc143b0 <rtems_rfs_inode_time_stamp_now+0xbc><== NEVER TAKEN
    return ENXIO;                                                     
  now = time (NULL);                                                  
ffc14328:	38 60 00 00 	li      r3,0                                   
ffc1432c:	48 01 8d f5 	bl      ffc2d120 <time>                        
  if (atime)                                                          
ffc14330:	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);                                                  
ffc14334:	7c 60 1b 78 	mr      r0,r3                                  
  if (atime)                                                          
ffc14338:	41 9e 00 38 	beq-    cr7,ffc14370 <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);                  
ffc1433c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14340:	54 6b 46 3e 	rlwinm  r11,r3,8,24,31                         
ffc14344:	54 6a 84 3e 	rlwinm  r10,r3,16,16,31                        
ffc14348:	99 69 00 10 	stb     r11,16(r9)                             
ffc1434c:	54 6b c2 3e 	rlwinm  r11,r3,24,8,31                         
ffc14350:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14354:	99 49 00 11 	stb     r10,17(r9)                             
ffc14358:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1435c:	99 69 00 12 	stb     r11,18(r9)                             
ffc14360:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14364:	98 69 00 13 	stb     r3,19(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc14368:	39 20 00 01 	li      r9,1                                   
ffc1436c:	99 3f 00 10 	stb     r9,16(r31)                             
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
ffc14370:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
ffc14374:	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)                                                          
ffc14378:	41 9e 00 38 	beq-    cr7,ffc143b0 <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);                  
ffc1437c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14380:	54 0b 46 3e 	rlwinm  r11,r0,8,24,31                         
ffc14384:	54 0a 84 3e 	rlwinm  r10,r0,16,16,31                        
ffc14388:	99 69 00 14 	stb     r11,20(r9)                             
ffc1438c:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc14390:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14394:	99 49 00 15 	stb     r10,21(r9)                             
ffc14398:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1439c:	99 69 00 16 	stb     r11,22(r9)                             
ffc143a0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc143a4:	98 09 00 17 	stb     r0,23(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc143a8:	38 00 00 01 	li      r0,1                                   
ffc143ac:	98 1f 00 10 	stb     r0,16(r31)                             
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
}                                                                     
ffc143b0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc143b4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc143b8:	7c 08 03 a6 	mtlr    r0                                     
ffc143bc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc143c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc143c4:	38 21 00 18 	addi    r1,r1,24                               
ffc143c8:	4e 80 00 20 	blr                                            
                                                                      

ffc13fd0 <rtems_rfs_inode_unload>: int rtems_rfs_inode_unload (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle, bool update_ctime) {
ffc13fd0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc13fd4:	7c 08 02 a6 	mflr    r0                                     
ffc13fd8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc13fdc:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc13fe0:	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)         
{                                                                     
ffc13fe4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc13fe8:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc13fec:	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)         
{                                                                     
ffc13ff0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc13ff4:	7c bd 2b 78 	mr      r29,r5                                 
ffc13ff8:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc13ffc:	48 00 35 d1 	bl      ffc175cc <rtems_rfs_trace>             
ffc14000:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14004:	41 9e 00 30 	beq-    cr7,ffc14034 <rtems_rfs_inode_unload+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc14008:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc1400c:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc14010:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc14014:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc14018:	41 9e 00 b0 	beq-    cr7,ffc140c8 <rtems_rfs_inode_unload+0xf8><== NOT EXECUTED
ffc1401c:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc14020:	38 c6 9e d4 	addi    r6,r6,-24876                           <== NOT EXECUTED
ffc14024:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14028:	38 63 9f 30 	addi    r3,r3,-24784                           <== NOT EXECUTED
ffc1402c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14030:	48 01 58 71 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc14034:	80 1f 00 0c 	lwz     r0,12(r31)                             
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
ffc14038:	38 60 00 00 	li      r3,0                                   
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc1403c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14040:	41 9e 00 14 	beq-    cr7,ffc14054 <rtems_rfs_inode_unload+0x84>
  {                                                                   
    if (handle->loads == 0)                                           
ffc14044:	81 3f 00 24 	lwz     r9,36(r31)                             
      return EIO;                                                     
ffc14048:	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)                                           
ffc1404c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14050:	40 9e 00 20 	bne-    cr7,ffc14070 <rtems_rfs_inode_unload+0xa0><== ALWAYS TAKEN
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc14054:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc14058:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1405c:	7c 08 03 a6 	mtlr    r0                                     
ffc14060:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc14064:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc14068:	38 21 00 18 	addi    r1,r1,24                               
ffc1406c:	4e 80 00 20 	blr                                            
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc14070:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
    if (handle->loads == 0)                                           
ffc14074:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc14078:	91 3f 00 24 	stw     r9,36(r31)                             
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
ffc1407c:	38 60 00 00 	li      r3,0                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
                                                                      
    if (handle->loads == 0)                                           
ffc14080:	40 be ff d4 	bne-    cr7,ffc14054 <rtems_rfs_inode_unload+0x84>
    {                                                                 
      /*                                                              
       * If the buffer is dirty it will be release. Also set the ctime.
       */                                                             
      if (rtems_rfs_buffer_dirty (&handle->buffer) && update_ctime)   
ffc14084:	88 1f 00 10 	lbz     r0,16(r31)                             
ffc14088:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1408c:	41 9e 00 0c 	beq-    cr7,ffc14098 <rtems_rfs_inode_unload+0xc8>
ffc14090:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc14094:	40 9e 00 40 	bne-    cr7,ffc140d4 <rtems_rfs_inode_unload+0x104><== ALWAYS TAKEN
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
ffc14098:	7f c3 f3 78 	mr      r3,r30                                 
ffc1409c:	38 9f 00 10 	addi    r4,r31,16                              
ffc140a0:	48 00 d7 05 	bl      ffc217a4 <rtems_rfs_buffer_handle_release>
      handle->node = NULL;                                            
ffc140a4:	38 00 00 00 	li      r0,0                                   
ffc140a8:	90 1f 00 0c 	stw     r0,12(r31)                             
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc140ac:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc140b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc140b4:	7c 08 03 a6 	mtlr    r0                                     
ffc140b8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc140bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc140c0:	38 21 00 18 	addi    r1,r1,24                               
ffc140c4:	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",
ffc140c8:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc140cc:	38 c6 a3 b0 	addi    r6,r6,-23632                           <== NOT EXECUTED
ffc140d0:	4b ff ff 54 	b       ffc14024 <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));              
ffc140d4:	48 01 90 4d 	bl      ffc2d120 <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);                  
ffc140d8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc140dc:	54 60 46 3e 	rlwinm  r0,r3,8,24,31                          
ffc140e0:	98 09 00 18 	stb     r0,24(r9)                              
ffc140e4:	54 6b 84 3e 	rlwinm  r11,r3,16,16,31                        
ffc140e8:	54 60 c2 3e 	rlwinm  r0,r3,24,8,31                          
ffc140ec:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc140f0:	99 69 00 19 	stb     r11,25(r9)                             
ffc140f4:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc140f8:	98 09 00 1a 	stb     r0,26(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc140fc:	38 00 00 01 	li      r0,1                                   
 */                                                                   
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);                  
ffc14100:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc14104:	98 69 00 1b 	stb     r3,27(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc14108:	98 1f 00 10 	stb     r0,16(r31)                             
ffc1410c:	4b ff ff 8c 	b       ffc14098 <rtems_rfs_inode_unload+0xc8> 
                                                                      

ffc2546c <rtems_rfs_link>: const char* name, int length, rtems_rfs_ino parent, rtems_rfs_ino target, bool link_dir) {
ffc2546c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc25470:	7c 08 02 a6 	mflr    r0                                     
ffc25474:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc25478:	7c 7d 1b 78 	mr      r29,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))                         
ffc2547c:	38 60 00 00 	li      r3,0                                   
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc25480:	93 c1 00 70 	stw     r30,112(r1)                            
ffc25484:	7c 9e 23 78 	mr      r30,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))                         
ffc25488:	3c 80 01 00 	lis     r4,256                                 
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc2548c:	93 41 00 60 	stw     r26,96(r1)                             
ffc25490:	7d 1a 43 78 	mr      r26,r8                                 
ffc25494:	93 61 00 64 	stw     r27,100(r1)                            
ffc25498:	7c fb 3b 78 	mr      r27,r7                                 
ffc2549c:	93 81 00 68 	stw     r28,104(r1)                            
ffc254a0:	7c dc 33 78 	mr      r28,r6                                 
ffc254a4:	93 e1 00 74 	stw     r31,116(r1)                            
ffc254a8:	7c bf 2b 78 	mr      r31,r5                                 
ffc254ac:	90 01 00 7c 	stw     r0,124(r1)                             
ffc254b0:	93 21 00 5c 	stw     r25,92(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))                         
ffc254b4:	4b ff 21 19 	bl      ffc175cc <rtems_rfs_trace>             
ffc254b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc254bc:	40 9e 01 70 	bne-    cr7,ffc2562c <rtems_rfs_link+0x1c0>    <== 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);        
ffc254c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc254c4:	7f 64 db 78 	mr      r4,r27                                 
ffc254c8:	38 a1 00 08 	addi    r5,r1,8                                
ffc254cc:	38 c0 00 01 	li      r6,1                                   
ffc254d0:	4b fe e9 e1 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc254d4:	7c 79 1b 79 	mr.     r25,r3                                 
ffc254d8:	40 82 00 dc 	bne-    ffc255b4 <rtems_rfs_link+0x148>        <== 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)))
ffc254dc:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc254e0:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  /*                                                                  
   * 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)))
ffc254e4:	40 9e 00 18 	bne-    cr7,ffc254fc <rtems_rfs_link+0x90>     <== NEVER TAKEN
ffc254e8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc254ec:	88 09 00 02 	lbz     r0,2(r9)                               
ffc254f0:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc254f4:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc254f8:	41 9e 01 80 	beq-    cr7,ffc25678 <rtems_rfs_link+0x20c>    <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc254fc:	7f 84 e3 78 	mr      r4,r28                                 
ffc25500:	38 a1 00 30 	addi    r5,r1,48                               
ffc25504:	38 c0 00 01 	li      r6,1                                   
ffc25508:	4b fe e9 a9 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc2550c:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc25510:	7f a3 eb 78 	mr      r3,r29                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc)                                                             
ffc25514:	40 82 00 e0 	bne-    ffc255f4 <rtems_rfs_link+0x188>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
ffc25518:	38 81 00 30 	addi    r4,r1,48                               
ffc2551c:	7f c5 f3 78 	mr      r5,r30                                 
ffc25520:	7f e6 fb 78 	mr      r6,r31                                 
ffc25524:	7f 67 db 78 	mr      r7,r27                                 
ffc25528:	4b ff d2 d1 	bl      ffc227f8 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc2552c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc25530:	41 81 00 b4 	bgt-    ffc255e4 <rtems_rfs_link+0x178>        <== 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;              
ffc25534:	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);                  
  if (links == 0xffff)                                                
ffc25538:	39 60 00 00 	li      r11,0                                  
 */                                                                   
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);                  
ffc2553c:	89 49 00 00 	lbz     r10,0(r9)                              
ffc25540:	88 09 00 01 	lbz     r0,1(r9)                               
ffc25544:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc25548:	7d 4a 03 78 	or      r10,r10,r0                             
  if (links == 0xffff)                                                
ffc2554c:	38 00 00 00 	li      r0,0                                   
ffc25550:	60 00 ff ff 	ori     r0,r0,65535                            
ffc25554:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc25558:	38 00 00 01 	li      r0,1                                   
ffc2555c:	41 9e 00 14 	beq-    cr7,ffc25570 <rtems_rfs_link+0x104>    <== NEVER TAKEN
ffc25560:	38 0a 00 01 	addi    r0,r10,1                               
ffc25564:	54 00 04 3e 	clrlwi  r0,r0,16                               
ffc25568:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc2556c:	54 00 06 3e 	clrlwi  r0,r0,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);                  
ffc25570:	99 69 00 00 	stb     r11,0(r9)                              
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc25574:	38 80 00 01 	li      r4,1                                   
ffc25578:	38 61 00 30 	addi    r3,r1,48                               
ffc2557c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc25580:	38 a0 00 01 	li      r5,1                                   
ffc25584:	98 09 00 01 	stb     r0,1(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25588:	38 00 00 01 	li      r0,1                                   
ffc2558c:	98 01 00 18 	stb     r0,24(r1)                              
ffc25590:	4b fe ed 65 	bl      ffc142f4 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc25594:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc25598:	38 81 00 30 	addi    r4,r1,48                               
ffc2559c:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  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)                                                         
ffc255a0:	40 81 01 14 	ble-    ffc256b4 <rtems_rfs_link+0x248>        <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc255a4:	4b fe eb 6d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc255a8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc255ac:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc255b0:	4b fe eb 61 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc255b4:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc255b8:	7f 23 cb 78 	mr      r3,r25                                 
ffc255bc:	83 41 00 60 	lwz     r26,96(r1)                             
ffc255c0:	7c 08 03 a6 	mtlr    r0                                     
ffc255c4:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc255c8:	83 61 00 64 	lwz     r27,100(r1)                            
ffc255cc:	83 81 00 68 	lwz     r28,104(r1)                            
ffc255d0:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc255d4:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc255d8:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc255dc:	38 21 00 78 	addi    r1,r1,120                              
ffc255e0:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc255e4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc255e8:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc255ec:	4b fe eb 25 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc255f0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc255f4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc255f8:	4b fe eb 19 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc255fc:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc25600:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc25604:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc25608:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2560c:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc25610:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc25614:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc25618:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc2561c:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc25620:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc25624:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc25628:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_LINK))                         
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
ffc2562c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25630:	38 63 be 14 	addi    r3,r3,-16876                           <== NOT EXECUTED
ffc25634:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc25638:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2563c:	48 00 42 65 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc25640:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc25644:	40 9d 00 1c 	ble-    cr7,ffc25660 <rtems_rfs_link+0x1f4>    <== NOT EXECUTED
ffc25648:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc2564c:	7c 7e c8 ae 	lbzx    r3,r30,r25                             <== 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++)                                      
ffc25650:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc25654:	48 00 43 09 	bl      ffc2995c <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++)                                      
ffc25658:	7f 99 f8 00 	cmpw    cr7,r25,r31                            <== NOT EXECUTED
ffc2565c:	40 9e ff f0 	bne+    cr7,ffc2564c <rtems_rfs_link+0x1e0>    <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
ffc25660:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25664:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc25668:	38 63 be 5c 	addi    r3,r3,-16804                           <== NOT EXECUTED
ffc2566c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25670:	48 00 42 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25674:	4b ff fe 4c 	b       ffc254c0 <rtems_rfs_link+0x54>         <== 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);                        
ffc25678:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc2567c:	4b fe ea 95 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc25680:	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;                                                   
ffc25684:	3b 20 00 86 	li      r25,134                                <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc25688:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc2568c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25690:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc25694:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc25698:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc2569c:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc256a0:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc256a4:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc256a8:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc256ac:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc256b0:	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);                     
ffc256b4:	4b fe ea 5d 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc256b8:	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)                                                         
ffc256bc:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc256c0:	7f a3 eb 78 	mr      r3,r29                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
  if (rc > 0)                                                         
ffc256c4:	41 81 ff 34 	bgt+    ffc255f8 <rtems_rfs_link+0x18c>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
ffc256c8:	4b fe ea 49 	bl      ffc14110 <rtems_rfs_inode_close>       
ffc256cc:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
  return rc;                                                          
ffc256d0:	4b ff fe e4 	b       ffc255b4 <rtems_rfs_link+0x148>        
                                                                      

ffc260c8 <rtems_rfs_mutex_create>: RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL) #endif int rtems_rfs_mutex_create (rtems_rfs_mutex* mutex) {
ffc260c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc260cc:	7c 08 02 a6 	mflr    r0                                     
ffc260d0:	7c 67 1b 78 	mr      r7,r3                                  
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc260d4:	3c 60 52 46 	lis     r3,21062                               
   RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc260d8:	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'), 
ffc260dc:	60 63 53 6d 	ori     r3,r3,21357                            
ffc260e0:	38 80 00 01 	li      r4,1                                   
   RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc260e4:	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'), 
ffc260e8:	38 a0 00 24 	li      r5,36                                  
ffc260ec:	38 c0 00 00 	li      r6,0                                   
   RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc260f0:	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'), 
ffc260f4:	4b fe 73 c1 	bl      ffc0d4b4 <rtems_semaphore_create>      
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc260f8:	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)                                         
ffc260fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc26100:	40 82 00 20 	bne-    ffc26120 <rtems_rfs_mutex_create+0x58> <== NEVER TAKEN
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc26104:	80 01 00 14 	lwz     r0,20(r1)                              
ffc26108:	7f e3 fb 78 	mr      r3,r31                                 
ffc2610c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc26110:	7c 08 03 a6 	mtlr    r0                                     
ffc26114:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc26118:	38 21 00 10 	addi    r1,r1,16                               
ffc2611c:	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))                      
ffc26120:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26124:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26128:	4b ff 14 a5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc2612c:	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))                      
ffc26130:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26134:	41 9e ff d0 	beq+    cr7,ffc26104 <rtems_rfs_mutex_create+0x3c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
ffc26138:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2613c:	4b ff 62 d1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26140:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26144:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26148:	38 63 c0 44 	addi    r3,r3,-16316                           <== NOT EXECUTED
ffc2614c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26150:	48 00 37 51 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc26154:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc26158:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2615c:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc26160:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26164:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc26168:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc2616c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26170 <rtems_rfs_mutex_destroy>: int rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex) {
ffc26170:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc26174:	7c 08 02 a6 	mflr    r0                                     
ffc26178:	90 01 00 14 	stw     r0,20(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc2617c:	80 63 00 00 	lwz     r3,0(r3)                               
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex)                      
{                                                                     
ffc26180:	93 c1 00 08 	stw     r30,8(r1)                              
ffc26184:	93 e1 00 0c 	stw     r31,12(r1)                             
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc26188:	4b fe 75 29 	bl      ffc0d6b0 <rtems_semaphore_delete>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2618c:	7c 7e 1b 79 	mr.     r30,r3                                 
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc26190:	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)                                         
ffc26194:	40 82 00 20 	bne-    ffc261b4 <rtems_rfs_mutex_destroy+0x44><== NEVER TAKEN
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc26198:	80 01 00 14 	lwz     r0,20(r1)                              
ffc2619c:	7f e3 fb 78 	mr      r3,r31                                 
ffc261a0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc261a4:	7c 08 03 a6 	mtlr    r0                                     
ffc261a8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc261ac:	38 21 00 10 	addi    r1,r1,16                               
ffc261b0:	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))                      
ffc261b4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc261b8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc261bc:	4b ff 14 11 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc261c0:	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))                      
ffc261c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc261c8:	41 9e ff d0 	beq+    cr7,ffc26198 <rtems_rfs_mutex_destroy+0x28><== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
ffc261cc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc261d0:	4b ff 62 3d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc261d4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc261d8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc261dc:	38 63 c0 68 	addi    r3,r3,-16280                           <== NOT EXECUTED
ffc261e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc261e4:	48 00 36 bd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc261e8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc261ec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc261f0:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc261f4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc261f8:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc261fc:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc26200:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc21544 <rtems_rfs_release_chain>: static int rtems_rfs_release_chain (rtems_chain_control* chain, uint32_t* count, bool modified) {
ffc21544:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc21548:	7c 08 02 a6 	mflr    r0                                     
ffc2154c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc21550:	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))                
ffc21554:	38 80 00 80 	li      r4,128                                 
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc21558:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc2155c:	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))                
ffc21560:	38 60 00 00 	li      r3,0                                   
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc21564:	93 41 00 08 	stw     r26,8(r1)                              
ffc21568:	7c ba 2b 78 	mr      r26,r5                                 
ffc2156c:	90 01 00 24 	stw     r0,36(r1)                              
ffc21570:	93 61 00 0c 	stw     r27,12(r1)                             
ffc21574:	93 81 00 10 	stw     r28,16(r1)                             
ffc21578:	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))                
ffc2157c:	4b ff 60 51 	bl      ffc175cc <rtems_rfs_trace>             
ffc21580:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21584:	40 9e 00 8c 	bne-    cr7,ffc21610 <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))                                       
ffc21588:	3b a0 00 00 	li      r29,0                                  
ffc2158c:	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;                                         
ffc21590:	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))                               
ffc21594:	80 1f 00 00 	lwz     r0,0(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc21598:	7f e3 fb 78 	mr      r3,r31                                 
ffc2159c:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc215a0:	41 9e 00 44 	beq-    cr7,ffc215e4 <rtems_rfs_release_chain+0xa0>
ffc215a4:	4b fe d2 01 	bl      ffc0e7a4 <_Chain_Get>                  
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
ffc215a8:	81 7e 00 00 	lwz     r11,0(r30)                             
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc215ac:	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)--;                                                       
ffc215b0:	38 0b ff ff 	addi    r0,r11,-1                              
ffc215b4:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
    buffer->user = (void*) 0;                                         
ffc215b8:	93 63 00 3c 	stw     r27,60(r3)                             
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc215bc:	48 00 6e a1 	bl      ffc2845c <rtems_rfs_buffer_bdbuf_release>
    if ((rc > 0) && (rrc == 0))                                       
ffc215c0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc215c4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc215c8:	40 a1 ff cc 	ble-    ffc21594 <rtems_rfs_release_chain+0x50><== ALWAYS TAKEN
ffc215cc:	40 be ff c8 	bne-    cr7,ffc21594 <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))                               
ffc215d0:	80 1f 00 00 	lwz     r0,0(r31)                              <== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
ffc215d4:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc215d8:	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))                               
ffc215dc:	7f 80 e0 00 	cmpw    cr7,r0,r28                             <== NOT EXECUTED
ffc215e0:	40 9e ff c4 	bne+    cr7,ffc215a4 <rtems_rfs_release_chain+0x60><== NOT EXECUTED
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
      rrc = rc;                                                       
  }                                                                   
  return rrc;                                                         
}                                                                     
ffc215e4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc215e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc215ec:	83 41 00 08 	lwz     r26,8(r1)                              
ffc215f0:	7c 08 03 a6 	mtlr    r0                                     
ffc215f4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc215f8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc215fc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc21600:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc21604:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc21608:	38 21 00 20 	addi    r1,r1,32                               
ffc2160c:	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); 
ffc21610:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc21614:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21618:	38 63 ac 20 	addi    r3,r3,-21472                           <== NOT EXECUTED
ffc2161c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21620:	48 00 82 81 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc21624:	4b ff ff 64 	b       ffc21588 <rtems_rfs_release_chain+0x44><== NOT EXECUTED
                                                                      

ffc15bb8 <rtems_rfs_rtems_chown>: static int rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc, uid_t owner, gid_t group) {
ffc15bb8:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc15bbc:	7c 08 02 a6 	mflr    r0                                     
ffc15bc0:	7c 69 1b 78 	mr      r9,r3                                  
ffc15bc4:	90 01 00 54 	stw     r0,84(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc15bc8:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
static int                                                            
rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc,     
                       uid_t                             owner,       
                       gid_t                             group)       
{                                                                     
ffc15bcc:	93 e1 00 4c 	stw     r31,76(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc15bd0:	83 eb 00 34 	lwz     r31,52(r11)                            
                                                                      
static int                                                            
rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc,     
                       uid_t                             owner,       
                       gid_t                             group)       
{                                                                     
ffc15bd4:	93 a1 00 44 	stw     r29,68(r1)                             
ffc15bd8:	7c bd 2b 78 	mr      r29,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);
ffc15bdc:	38 a0 00 00 	li      r5,0                                   
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc15be0:	81 7f 00 7c 	lwz     r11,124(r31)                           
                                                                      
static int                                                            
rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc,     
                       uid_t                             owner,       
                       gid_t                             group)       
{                                                                     
ffc15be4:	93 c1 00 48 	stw     r30,72(r1)                             
ffc15be8:	7c 9e 23 78 	mr      r30,r4                                 
ffc15bec:	38 80 00 00 	li      r4,0                                   
ffc15bf0:	80 6b 00 00 	lwz     r3,0(r11)                              
ffc15bf4:	93 61 00 3c 	stw     r27,60(r1)                             
ffc15bf8:	93 81 00 40 	stw     r28,64(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc15bfc:	83 89 00 00 	lwz     r28,0(r9)                              
ffc15c00:	4b ff 7b 8d 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15c04:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc15c08:	40 82 00 a4 	bne-    ffc15cac <rtems_rfs_rtems_chown+0xf4>  <== NEVER TAKEN
    printf ("rtems-rfs-rtems: chown: in: ino:%" PRId32 " uid:%d gid:%d\n",
            ino, owner, group);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc15c0c:	7f 84 e3 78 	mr      r4,r28                                 
ffc15c10:	7f e3 fb 78 	mr      r3,r31                                 
ffc15c14:	38 a1 00 08 	addi    r5,r1,8                                
ffc15c18:	38 c0 00 01 	li      r6,1                                   
ffc15c1c:	4b ff e2 95 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc15c20:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc15c24:	40 81 00 d4 	ble-    ffc15cf8 <rtems_rfs_rtems_chown+0x140> <== 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);            
ffc15c28:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15c2c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15c30:	48 00 c3 19 	bl      ffc21f48 <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);            
ffc15c34:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc15c38:	4b ff 7c e1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15c3c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15c40:	40 82 00 38 	bne-    ffc15c78 <rtems_rfs_rtems_chown+0xc0>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("chown: opening inode", rc);        
ffc15c44:	48 01 2b 79 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc15c48:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15c4c:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15c50:	80 01 00 54 	lwz     r0,84(r1)                              
ffc15c54:	7f e3 fb 78 	mr      r3,r31                                 
ffc15c58:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc15c5c:	7c 08 03 a6 	mtlr    r0                                     
ffc15c60:	83 81 00 40 	lwz     r28,64(r1)                             
ffc15c64:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc15c68:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc15c6c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc15c70:	38 21 00 50 	addi    r1,r1,80                               
ffc15c74:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15c78:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15c7c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15c80:	48 00 19 4d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15c84:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15c88:	41 9e ff bc 	beq+    cr7,ffc15c44 <rtems_rfs_rtems_chown+0x8c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15c8c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15c90:	48 00 67 7d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15c94:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15c98:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15c9c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15ca0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15ca4:	48 01 3b fd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15ca8:	4b ff ff 9c 	b       ffc15c44 <rtems_rfs_rtems_chown+0x8c>  <== 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))                      
ffc15cac:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15cb0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15cb4:	48 00 19 19 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15cb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15cbc:	41 9e ff 50 	beq+    cr7,ffc15c0c <rtems_rfs_rtems_chown+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc15cc0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc15cc4:	48 00 67 49 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15cc8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15ccc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15cd0:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc15cd4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15cd8:	48 01 3b c9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs-rtems: chown: in: ino:%" PRId32 " uid:%d gid:%d\n",
            ino, owner, group);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc15cdc:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc15ce0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15ce4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc15ce8:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc15cec:	4b ff e1 c5 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc > 0)                                                         
ffc15cf0:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc15cf4:	41 81 ff 34 	bgt+    ffc15c28 <rtems_rfs_rtems_chown+0x70>  <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_uid_gid (rtems_rfs_inode_handle* handle,          
                             uint16_t uid, uint16_t gid)              
{                                                                     
  rtems_rfs_write_u32 (&handle->node->owner, (((uint32_t) gid) << 16) | uid);
ffc15cf8:	57 bd 80 1e 	rlwinm  r29,r29,16,0,15                        
ffc15cfc:	81 21 00 14 	lwz     r9,20(r1)                              
ffc15d00:	7f bd f3 78 	or      r29,r29,r30                            
ffc15d04:	57 a0 46 3e 	rlwinm  r0,r29,8,24,31                         
ffc15d08:	98 09 00 04 	stb     r0,4(r9)                               
ffc15d0c:	57 a0 84 3e 	rlwinm  r0,r29,16,16,31                        
ffc15d10:	57 bd c2 3e 	rlwinm  r29,r29,24,8,31                        
ffc15d14:	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);                            
ffc15d18:	7f e3 fb 78 	mr      r3,r31                                 
ffc15d1c:	38 81 00 08 	addi    r4,r1,8                                
ffc15d20:	98 09 00 05 	stb     r0,5(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc15d24:	38 00 00 01 	li      r0,1                                   
 */                                                                   
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);
ffc15d28:	81 21 00 14 	lwz     r9,20(r1)                              
ffc15d2c:	9b a9 00 06 	stb     r29,6(r9)                              
ffc15d30:	81 21 00 14 	lwz     r9,20(r1)                              
ffc15d34:	9b c9 00 07 	stb     r30,7(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc15d38:	98 01 00 18 	stb     r0,24(r1)                              
ffc15d3c:	4b ff e3 d5 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc)                                                             
ffc15d40:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc15d44:	41 82 00 54 	beq-    ffc15d98 <rtems_rfs_rtems_chown+0x1e0> <== 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);            
ffc15d48:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15d4c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15d50:	48 00 c1 f9 	bl      ffc21f48 <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);            
ffc15d54:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc15d58:	4b ff 7b c1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15d5c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15d60:	40 82 00 8c 	bne-    ffc15dec <rtems_rfs_rtems_chown+0x234> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
ffc15d64:	48 01 2a 59 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15d68:	80 01 00 54 	lwz     r0,84(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
ffc15d6c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15d70:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15d74:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15d78:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15d7c:	83 61 00 3c 	lwz     r27,60(r1)                             <== NOT EXECUTED
ffc15d80:	83 81 00 40 	lwz     r28,64(r1)                             <== NOT EXECUTED
ffc15d84:	83 a1 00 44 	lwz     r29,68(r1)                             <== NOT EXECUTED
ffc15d88:	83 c1 00 48 	lwz     r30,72(r1)                             <== NOT EXECUTED
ffc15d8c:	83 e1 00 4c 	lwz     r31,76(r1)                             <== NOT EXECUTED
ffc15d90:	38 21 00 50 	addi    r1,r1,80                               <== NOT EXECUTED
ffc15d94:	4e 80 00 20 	blr                                            <== 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);            
ffc15d98:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc15d9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc15da0:	48 00 c1 a9 	bl      ffc21f48 <rtems_rfs_buffers_release>   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc15da4:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc15da8:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc15dac:	4b ff 7b 6d 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15db0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc15db4:	41 82 fe 9c 	beq+    ffc15c50 <rtems_rfs_rtems_chown+0x98>  <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15db8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15dbc:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15dc0:	48 00 18 0d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15dc4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15dc8:	41 9e fe 88 	beq+    cr7,ffc15c50 <rtems_rfs_rtems_chown+0x98><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15dcc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15dd0:	48 00 66 3d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15dd4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15dd8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15ddc:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15de0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15de4:	48 01 3a bd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15de8:	4b ff fe 68 	b       ffc15c50 <rtems_rfs_rtems_chown+0x98>  <== 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))                      
ffc15dec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15df0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15df4:	48 00 17 d9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15df8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15dfc:	41 9e ff 68 	beq+    cr7,ffc15d64 <rtems_rfs_rtems_chown+0x1ac><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15e00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15e04:	48 00 66 09 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15e08:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15e0c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15e10:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15e14:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15e18:	48 01 3a 89 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15e1c:	4b ff ff 48 	b       ffc15d64 <rtems_rfs_rtems_chown+0x1ac> <== NOT EXECUTED
                                                                      

ffc2639c <rtems_rfs_rtems_device_close>: * @return int */ static int rtems_rfs_rtems_device_close (rtems_libio_t* iop) {
ffc2639c:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc263a0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc263a4:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc263a8:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close (major, minor, (void *) &args);             
ffc263ac:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
ffc263b0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  rtems_status_code             status;                               
  int                           major;                                
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc263b4:	80 89 00 38 	lwz     r4,56(r9)                              <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_status_code             status;                               
  int                           major;                                
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
ffc263b8:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
ffc263bc:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  args.mode  = 0;                                                     
ffc263c0:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
ffc263c4:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close (major, minor, (void *) &args);             
ffc263c8:	48 00 1c 91 	bl      ffc28058 <rtems_io_close>              <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
ffc263cc:	48 00 14 e5 	bl      ffc278b0 <rtems_deviceio_errno>        <== NOT EXECUTED
}                                                                     
ffc263d0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc263d4:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc263d8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc263dc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

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

ffc26218 <rtems_rfs_rtems_device_ioctl>: static int rtems_rfs_rtems_device_ioctl (rtems_libio_t* iop, uint32_t command, void* buffer) {
ffc26218:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc2621c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc26220:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc26224:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
  rtems_status_code        status;                                    
  int                      major;                                     
  int                      minor;                                     
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc26228:	80 09 00 38 	lwz     r0,56(r9)                              <== NOT EXECUTED
  rtems_libio_ioctl_args_t args;                                      
  rtems_status_code        status;                                    
  int                      major;                                     
  int                      minor;                                     
                                                                      
  major = (int) iop->data0;                                           
ffc2622c:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
ffc26230:	90 81 00 0c 	stw     r4,12(r1)                              <== NOT EXECUTED
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc26234:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
ffc26238:	90 a1 00 10 	stw     r5,16(r1)                              <== NOT EXECUTED
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc2623c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
  int                      minor;                                     
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop     = iop;                                                 
ffc26240:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc26244:	48 00 1e 89 	bl      ffc280cc <rtems_io_control>            <== NOT EXECUTED
  if (status)                                                         
ffc26248:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return args.ioctl_return;                                           
ffc2624c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
  if (status)                                                         
ffc26250:	40 9e 00 18 	bne-    cr7,ffc26268 <rtems_rfs_rtems_device_ioctl+0x50><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return args.ioctl_return;                                           
}                                                                     
ffc26254:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc26258:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc2625c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc26260:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26264:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
  if (status)                                                         
    return rtems_deviceio_errno (status);                             
ffc26268:	48 00 16 49 	bl      ffc278b0 <rtems_deviceio_errno>        <== NOT EXECUTED
ffc2626c:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
ffc26270:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc26274:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc26278:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc2627c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26280:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26204 <rtems_rfs_rtems_device_lseek>: rtems_rfs_rtems_device_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) { return offset; }
ffc26204:	7c a3 2b 78 	mr      r3,r5                                  <== NOT EXECUTED
ffc26208:	7c c4 33 78 	mr      r4,r6                                  <== NOT EXECUTED
ffc2620c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc263e0 <rtems_rfs_rtems_device_open>: static int rtems_rfs_rtems_device_open ( rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
ffc263e0:	94 21 ff 88 	stwu    r1,-120(r1)                            <== NOT EXECUTED
ffc263e4:	7c 08 02 a6 	mflr    r0                                     <== 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);
ffc263e8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc263ec:	90 01 00 7c 	stw     r0,124(r1)                             <== NOT EXECUTED
ffc263f0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc263f4:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              uint32_t       flag,                    
                              uint32_t       mode)                    
{                                                                     
ffc263f8:	93 e1 00 74 	stw     r31,116(r1)                            <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc263fc:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              uint32_t       flag,                    
                              uint32_t       mode)                    
{                                                                     
ffc26400:	93 c1 00 70 	stw     r30,112(r1)                            <== NOT EXECUTED
ffc26404:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_filesystem_default_fsync,                      
  .fdatasync_h = rtems_filesystem_default_fdatasync,                  
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc26408:	81 3f 00 7c 	lwz     r9,124(r31)                            <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              uint32_t       flag,                    
                              uint32_t       mode)                    
{                                                                     
ffc2640c:	93 61 00 64 	stw     r27,100(r1)                            <== NOT EXECUTED
ffc26410:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc26414:	93 81 00 68 	stw     r28,104(r1)                            <== NOT EXECUTED
ffc26418:	93 a1 00 6c 	stw     r29,108(r1)                            <== NOT EXECUTED
ffc2641c:	7c dd 33 78 	mr      r29,r6                                 <== NOT EXECUTED
ffc26420:	92 81 00 48 	stw     r20,72(r1)                             <== NOT EXECUTED
ffc26424:	92 a1 00 4c 	stw     r21,76(r1)                             <== NOT EXECUTED
ffc26428:	92 c1 00 50 	stw     r22,80(r1)                             <== NOT EXECUTED
ffc2642c:	92 e1 00 54 	stw     r23,84(r1)                             <== NOT EXECUTED
ffc26430:	93 01 00 58 	stw     r24,88(r1)                             <== NOT EXECUTED
ffc26434:	93 21 00 5c 	stw     r25,92(r1)                             <== NOT EXECUTED
ffc26438:	93 41 00 60 	stw     r26,96(r1)                             <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_iop_ino (iop);
ffc2643c:	83 9e 00 1c 	lwz     r28,28(r30)                            <== NOT EXECUTED
ffc26440:	4b fe 73 4d 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26444:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc26448:	40 82 00 bc 	bne-    ffc26504 <rtems_rfs_rtems_device_open+0x124><== NOT EXECUTED
  rtems_status_code             status;                               
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc2644c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc26450:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26454:	38 a1 00 14 	addi    r5,r1,20                               <== NOT EXECUTED
ffc26458:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc2645c:	4b fe da 55 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc > 0)                                                         
ffc26460:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc26464:	40 81 00 d4 	ble-    ffc26538 <rtems_rfs_rtems_device_open+0x158><== 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);            
ffc26468:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc2646c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26470:	4b ff ba d9 	bl      ffc21f48 <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);            
ffc26474:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26478:	4b fe 74 a1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2647c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26480:	40 82 00 50 	bne-    ffc264d0 <rtems_rfs_rtems_device_open+0xf0><== 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);  
ffc26484:	48 00 23 39 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26488:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc2648c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
                                                                      
  return rtems_deviceio_errno (status);                               
}                                                                     
ffc26490:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc26494:	82 81 00 48 	lwz     r20,72(r1)                             <== NOT EXECUTED
ffc26498:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2649c:	82 a1 00 4c 	lwz     r21,76(r1)                             <== NOT EXECUTED
ffc264a0:	82 c1 00 50 	lwz     r22,80(r1)                             <== NOT EXECUTED
ffc264a4:	82 e1 00 54 	lwz     r23,84(r1)                             <== NOT EXECUTED
ffc264a8:	83 01 00 58 	lwz     r24,88(r1)                             <== NOT EXECUTED
ffc264ac:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc264b0:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc264b4:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc264b8:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc264bc:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc264c0:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc264c4:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc264c8:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc264cc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc264d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc264d4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc264d8:	4b ff 10 f5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc264dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc264e0:	41 9e ff a4 	beq+    cr7,ffc26484 <rtems_rfs_rtems_device_open+0xa4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc264e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc264e8:	4b ff 5f 25 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc264ec:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc264f0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc264f4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc264f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc264fc:	48 00 33 a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26500:	4b ff ff 84 	b       ffc26484 <rtems_rfs_rtems_device_open+0xa4><== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26504:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26508:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc2650c:	4b ff 10 c1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26510:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26514:	41 9e ff 38 	beq+    cr7,ffc2644c <rtems_rfs_rtems_device_open+0x6c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26518:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc2651c:	4b ff 5e f1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26520:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26524:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26528:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc2652c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26530:	48 00 33 71 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26534:	4b ff ff 18 	b       ffc2644c <rtems_rfs_rtems_device_open+0x6c><== 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);                      
ffc26538:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc2653c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26540:	38 81 00 14 	addi    r4,r1,20                               <== 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]);      
ffc26544:	8a 89 00 1c 	lbz     r20,28(r9)                             <== NOT EXECUTED
ffc26548:	8a a9 00 1d 	lbz     r21,29(r9)                             <== NOT EXECUTED
ffc2654c:	8b 49 00 1e 	lbz     r26,30(r9)                             <== NOT EXECUTED
ffc26550:	8b 09 00 1f 	lbz     r24,31(r9)                             <== NOT EXECUTED
ffc26554:	8a c9 00 20 	lbz     r22,32(r9)                             <== NOT EXECUTED
ffc26558:	8a e9 00 21 	lbz     r23,33(r9)                             <== NOT EXECUTED
ffc2655c:	8b 69 00 22 	lbz     r27,34(r9)                             <== NOT EXECUTED
ffc26560:	8b 29 00 23 	lbz     r25,35(r9)                             <== NOT EXECUTED
ffc26564:	4b fe db ad 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc26568:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc2656c:	41 81 fe fc 	bgt+    ffc26468 <rtems_rfs_rtems_device_open+0x88><== 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);            
ffc26570:	83 9f 00 7c 	lwz     r28,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26574:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26578:	4b ff b9 d1 	bl      ffc21f48 <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);            
ffc2657c:	80 7c 00 00 	lwz     r3,0(r28)                              <== NOT EXECUTED
ffc26580:	4b fe 73 99 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26584:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26588:	40 82 00 60 	bne-    ffc265e8 <rtems_rfs_rtems_device_open+0x208><== NOT EXECUTED
ffc2658c:	56 83 c0 0e 	rlwinm  r3,r20,24,0,7                          <== NOT EXECUTED
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
ffc26590:	80 1e 00 18 	lwz     r0,24(r30)                             <== NOT EXECUTED
ffc26594:	56 b5 80 1e 	rlwinm  r21,r21,16,0,15                        <== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
ffc26598:	93 c1 00 08 	stw     r30,8(r1)                              <== NOT EXECUTED
ffc2659c:	56 d6 c0 0e 	rlwinm  r22,r22,24,0,7                         <== NOT EXECUTED
ffc265a0:	56 f7 80 1e 	rlwinm  r23,r23,16,0,15                        <== NOT EXECUTED
  args.flags = iop->flags;                                            
ffc265a4:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc265a8:	7c 63 ab 78 	or      r3,r3,r21                              <== NOT EXECUTED
ffc265ac:	7e d7 bb 78 	or      r23,r22,r23                            <== NOT EXECUTED
  args.mode  = mode;                                                  
ffc265b0:	93 a1 00 10 	stw     r29,16(r1)                             <== NOT EXECUTED
ffc265b4:	7c 78 c3 78 	or      r24,r3,r24                             <== NOT EXECUTED
ffc265b8:	7e f9 cb 78 	or      r25,r23,r25                            <== NOT EXECUTED
ffc265bc:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         <== NOT EXECUTED
ffc265c0:	57 7b 40 2e 	rlwinm  r27,r27,8,0,23                         <== NOT EXECUTED
ffc265c4:	7f 3b db 78 	or      r27,r25,r27                            <== NOT EXECUTED
ffc265c8:	7f 03 d3 78 	or      r3,r24,r26                             <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
ffc265cc:	93 7e 00 38 	stw     r27,56(r30)                            <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
ffc265d0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
ffc265d4:	90 7e 00 34 	stw     r3,52(r30)                             <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
ffc265d8:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc265dc:	48 00 1b 65 	bl      ffc28140 <rtems_io_open>               <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
ffc265e0:	48 00 12 d1 	bl      ffc278b0 <rtems_deviceio_errno>        <== NOT EXECUTED
ffc265e4:	4b ff fe ac 	b       ffc26490 <rtems_rfs_rtems_device_open+0xb0><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc265e8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc265ec:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc265f0:	4b ff 0f dd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc265f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc265f8:	41 9e ff 94 	beq+    cr7,ffc2658c <rtems_rfs_rtems_device_open+0x1ac><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc265fc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26600:	4b ff 5e 0d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26604:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26608:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2660c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26610:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26614:	48 00 32 8d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26618:	4b ff ff 74 	b       ffc2658c <rtems_rfs_rtems_device_open+0x1ac><== NOT EXECUTED
                                                                      

ffc26310 <rtems_rfs_rtems_device_read>: * @return ssize_t */ static ssize_t rtems_rfs_rtems_device_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc26310:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc26314:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc26318:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc2631c:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc26320:	80 09 00 18 	lwz     r0,24(r9)                              <== NOT EXECUTED
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc26324:	81 09 00 38 	lwz     r8,56(r9)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc26328:	81 49 00 10 	lwz     r10,16(r9)                             <== NOT EXECUTED
ffc2632c:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
ffc26330:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
ffc26334:	90 81 00 18 	stw     r4,24(r1)                              <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
ffc26338:	7d 04 43 78 	mr      r4,r8                                  <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
ffc2633c:	90 a1 00 1c 	stw     r5,28(r1)                              <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
ffc26340:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc26344:	90 01 00 20 	stw     r0,32(r1)                              <== NOT EXECUTED
  args.bytes_moved = 0;                                               
ffc26348:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc2634c:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
ffc26350:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.offset      = iop->offset;                                     
ffc26354:	91 41 00 10 	stw     r10,16(r1)                             <== NOT EXECUTED
ffc26358:	91 61 00 14 	stw     r11,20(r1)                             <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
ffc2635c:	48 00 1e 59 	bl      ffc281b4 <rtems_io_read>               <== NOT EXECUTED
  if (status)                                                         
ffc26360:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
ffc26364:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
  if (status)                                                         
ffc26368:	40 9e 00 18 	bne-    cr7,ffc26380 <rtems_rfs_rtems_device_read+0x70><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc2636c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc26370:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc26374:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc26378:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2637c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
  if (status)                                                         
    return rtems_deviceio_errno (status);                             
ffc26380:	48 00 15 31 	bl      ffc278b0 <rtems_deviceio_errno>        <== NOT EXECUTED
ffc26384:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc26388:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc2638c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc26390:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc26394:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26398:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26284 <rtems_rfs_rtems_device_write>: static ssize_t rtems_rfs_rtems_device_write (rtems_libio_t* iop, const void* buffer, size_t count) {
ffc26284:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc26288:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc2628c:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc26290:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc26294:	80 09 00 18 	lwz     r0,24(r9)                              <== NOT EXECUTED
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc26298:	81 09 00 38 	lwz     r8,56(r9)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc2629c:	81 49 00 10 	lwz     r10,16(r9)                             <== NOT EXECUTED
ffc262a0:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
ffc262a4:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
ffc262a8:	90 81 00 18 	stw     r4,24(r1)                              <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
ffc262ac:	7d 04 43 78 	mr      r4,r8                                  <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
ffc262b0:	90 a1 00 1c 	stw     r5,28(r1)                              <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
ffc262b4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc262b8:	90 01 00 20 	stw     r0,32(r1)                              <== NOT EXECUTED
  args.bytes_moved = 0;                                               
ffc262bc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc262c0:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
ffc262c4:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.offset      = iop->offset;                                     
ffc262c8:	91 41 00 10 	stw     r10,16(r1)                             <== NOT EXECUTED
ffc262cc:	91 61 00 14 	stw     r11,20(r1)                             <== NOT EXECUTED
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
ffc262d0:	48 00 1f 59 	bl      ffc28228 <rtems_io_write>              <== NOT EXECUTED
  if (status)                                                         
ffc262d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
ffc262d8:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
  if (status)                                                         
ffc262dc:	40 9e 00 18 	bne-    cr7,ffc262f4 <rtems_rfs_rtems_device_write+0x70><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc262e0:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc262e4:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc262e8:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc262ec:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc262f0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
  if (status)                                                         
    return rtems_deviceio_errno (status);                             
ffc262f4:	48 00 15 bd 	bl      ffc278b0 <rtems_deviceio_errno>        <== NOT EXECUTED
ffc262f8:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc262fc:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc26300:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc26304:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc26308:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2630c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26624 <rtems_rfs_rtems_dir_lseek>: static rtems_off64_t rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) { switch (whence)
ffc26624:	2b 87 00 01 	cmplwi  cr7,r7,1                               <== NOT EXECUTED
 */                                                                   
static rtems_off64_t                                                  
rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop,                        
                           rtems_off64_t  offset,                     
                           int            whence)                     
{                                                                     
ffc26628:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc2662c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
                      /* is not a permitted operation                     */
    default:                                                          
      return rtems_rfs_rtems_error ("dir_lseek: bad whence", EINVAL); 
      break;                                                          
  }                                                                   
  return 0;                                                           
ffc26630:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26634:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 */                                                                   
static rtems_off64_t                                                  
rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop,                        
                           rtems_off64_t  offset,                     
                           int            whence)                     
{                                                                     
ffc26638:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  switch (whence)                                                     
ffc2663c:	40 9d 00 18 	ble-    cr7,ffc26654 <rtems_rfs_rtems_dir_lseek+0x30><== NOT EXECUTED
      break;                                                          
                                                                      
     case SEEK_END:   /* Movement past the end of the directory via lseek */
                      /* is not a permitted operation                     */
    default:                                                          
      return rtems_rfs_rtems_error ("dir_lseek: bad whence", EINVAL); 
ffc26640:	48 00 21 7d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26644:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc26648:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc2664c:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
ffc26650:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc26654:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc26658:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc2665c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26660:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26b10 <rtems_rfs_rtems_dir_open>: static int rtems_rfs_rtems_dir_open (rtems_libio_t* iop, const char* pathname, uint32_t flag, uint32_t mode) {
ffc26b10:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc26b14:	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);
ffc26b18:	38 80 00 00 	li      r4,0                                   
ffc26b1c:	90 01 00 4c 	stw     r0,76(r1)                              
ffc26b20:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26b24:	81 23 00 2c 	lwz     r9,44(r3)                              
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          uint32_t       flag,                        
                          uint32_t       mode)                        
{                                                                     
ffc26b28:	93 e1 00 44 	stw     r31,68(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26b2c:	83 e9 00 34 	lwz     r31,52(r9)                             
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          uint32_t       flag,                        
                          uint32_t       mode)                        
{                                                                     
ffc26b30:	93 a1 00 3c 	stw     r29,60(r1)                             
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_filesystem_default_fsync,                      
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_dir_rmnod                            
};                                                                    
ffc26b34:	81 3f 00 7c 	lwz     r9,124(r31)                            
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          uint32_t       flag,                        
                          uint32_t       mode)                        
{                                                                     
ffc26b38:	93 c1 00 40 	stw     r30,64(r1)                             
ffc26b3c:	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);     
ffc26b40:	83 a3 00 1c 	lwz     r29,28(r3)                             
ffc26b44:	80 69 00 00 	lwz     r3,0(r9)                               
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          uint32_t       flag,                        
                          uint32_t       mode)                        
{                                                                     
ffc26b48:	93 81 00 38 	stw     r28,56(r1)                             
ffc26b4c:	4b fe 6c 41 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26b50:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc26b54:	40 82 00 c8 	bne-    ffc26c1c <rtems_rfs_rtems_dir_open+0x10c><== NEVER TAKEN
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26b58:	7f a4 eb 78 	mr      r4,r29                                 
ffc26b5c:	7f e3 fb 78 	mr      r3,r31                                 
ffc26b60:	38 a1 00 08 	addi    r5,r1,8                                
ffc26b64:	38 c0 00 01 	li      r6,1                                   
ffc26b68:	4b fe d3 49 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc26b6c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26b70:	40 82 00 f8 	bne-    ffc26c68 <rtems_rfs_rtems_dir_open+0x158><== 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)))         
ffc26b74:	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);                    
ffc26b78:	88 09 00 02 	lbz     r0,2(r9)                               
ffc26b7c:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc26b80:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc26b84:	40 9e 01 64 	bne-    cr7,ffc26ce8 <rtems_rfs_rtems_dir_open+0x1d8><== 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;                                                    
ffc26b88:	39 40 00 00 	li      r10,0                                  
ffc26b8c:	39 60 00 00 	li      r11,0                                  
ffc26b90:	91 5e 00 10 	stw     r10,16(r30)                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26b94:	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;                                                    
ffc26b98:	91 7e 00 14 	stw     r11,20(r30)                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26b9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc26ba0:	4b fe d5 71 	bl      ffc14110 <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);            
ffc26ba4:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc26ba8:	7f e3 fb 78 	mr      r3,r31                                 
ffc26bac:	4b ff b3 9d 	bl      ffc21f48 <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);            
ffc26bb0:	80 7e 00 00 	lwz     r3,0(r30)                              
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc26bb4:	3b e0 00 00 	li      r31,0                                  
ffc26bb8:	4b fe 6d 61 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26bbc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc26bc0:	40 82 00 28 	bne-    ffc26be8 <rtems_rfs_rtems_dir_open+0xd8><== NEVER TAKEN
}                                                                     
ffc26bc4:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc26bc8:	7f e3 fb 78 	mr      r3,r31                                 
ffc26bcc:	83 81 00 38 	lwz     r28,56(r1)                             
ffc26bd0:	7c 08 03 a6 	mtlr    r0                                     
ffc26bd4:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc26bd8:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc26bdc:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc26be0:	38 21 00 48 	addi    r1,r1,72                               
ffc26be4:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26be8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26bec:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26bf0:	4b ff 09 dd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26bf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26bf8:	41 9e ff cc 	beq+    cr7,ffc26bc4 <rtems_rfs_rtems_dir_open+0xb4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26bfc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26c00:	4b ff 58 0d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26c04:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26c08:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26c0c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26c10:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26c14:	48 00 2c 8d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26c18:	4b ff ff ac 	b       ffc26bc4 <rtems_rfs_rtems_dir_open+0xb4><== 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))                      
ffc26c1c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26c20:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26c24:	4b ff 09 a9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26c28:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26c2c:	41 9e ff 2c 	beq+    cr7,ffc26b58 <rtems_rfs_rtems_dir_open+0x48><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26c30:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26c34:	4b ff 57 d9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26c38:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26c3c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26c40:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc26c44:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26c48:	48 00 2c 59 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26c4c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc26c50:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26c54:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc26c58:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc26c5c:	4b fe d2 55 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc26c60:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26c64:	41 82 ff 10 	beq+    ffc26b74 <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);            
ffc26c68:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26c6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26c70:	4b ff b2 d9 	bl      ffc21f48 <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);            
ffc26c74:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26c78:	4b fe 6c a1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26c7c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26c80:	40 82 00 34 	bne-    ffc26cb4 <rtems_rfs_rtems_dir_open+0x1a4><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
ffc26c84:	48 00 1b 39 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  iop->offset = 0;                                                    
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc26c88:	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);     
ffc26c8c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc26c90:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
  iop->offset = 0;                                                    
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc26c94:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26c98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26c9c:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc26ca0:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc26ca4:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc26ca8:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc26cac:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc26cb0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26cb4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26cb8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26cbc:	4b ff 09 11 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26cc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26cc4:	41 9e ff c0 	beq+    cr7,ffc26c84 <rtems_rfs_rtems_dir_open+0x174><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26cc8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26ccc:	4b ff 57 41 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26cd0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26cd4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26cd8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26cdc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26ce0:	48 00 2b c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26ce4:	4b ff ff a0 	b       ffc26c84 <rtems_rfs_rtems_dir_open+0x174><== 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);                               
ffc26ce8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc26cec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26cf0:	4b fe d4 21 	bl      ffc14110 <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);            
ffc26cf4:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26cf8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26cfc:	4b ff b2 4d 	bl      ffc21f48 <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);            
ffc26d00:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26d04:	4b fe 6c 15 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26d08:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26d0c:	40 82 00 18 	bne-    ffc26d24 <rtems_rfs_rtems_dir_open+0x214><== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
ffc26d10:	48 00 1a ad 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26d14:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc26d18:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc26d1c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc26d20:	4b ff fe a4 	b       ffc26bc4 <rtems_rfs_rtems_dir_open+0xb4><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26d24:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26d28:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26d2c:	4b ff 08 a1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26d30:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26d34:	41 9e ff dc 	beq+    cr7,ffc26d10 <rtems_rfs_rtems_dir_open+0x200><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26d38:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26d3c:	4b ff 56 d1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26d40:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26d44:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26d48:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26d4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26d50:	48 00 2b 51 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26d54:	4b ff ff bc 	b       ffc26d10 <rtems_rfs_rtems_dir_open+0x200><== NOT EXECUTED
                                                                      

ffc26824 <rtems_rfs_rtems_dir_read>: */ static ssize_t rtems_rfs_rtems_dir_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc26824:	94 21 ff a0 	stwu    r1,-96(r1)                             <== NOT EXECUTED
ffc26828:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc2682c:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26830:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc26834:	93 41 00 48 	stw     r26,72(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26838:	83 49 00 34 	lwz     r26,52(r9)                             <== NOT EXECUTED
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc2683c:	93 61 00 4c 	stw     r27,76(r1)                             <== NOT EXECUTED
ffc26840:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_filesystem_default_fsync,                      
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_dir_rmnod                            
};                                                                    
ffc26844:	81 3a 00 7c 	lwz     r9,124(r26)                            <== NOT EXECUTED
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc26848:	93 01 00 40 	stw     r24,64(r1)                             <== NOT EXECUTED
ffc2684c:	7c b8 2b 78 	mr      r24,r5                                 <== 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);
ffc26850:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc26854:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc26858:	93 21 00 44 	stw     r25,68(r1)                             <== NOT EXECUTED
ffc2685c:	7c 99 23 78 	mr      r25,r4                                 <== NOT EXECUTED
ffc26860:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc26864:	93 81 00 50 	stw     r28,80(r1)                             <== NOT EXECUTED
ffc26868:	93 a1 00 54 	stw     r29,84(r1)                             <== NOT EXECUTED
ffc2686c:	92 e1 00 3c 	stw     r23,60(r1)                             <== NOT EXECUTED
ffc26870:	93 c1 00 58 	stw     r30,88(r1)                             <== NOT EXECUTED
ffc26874:	93 e1 00 5c 	stw     r31,92(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);     
ffc26878:	83 bb 00 1c 	lwz     r29,28(r27)                            <== NOT EXECUTED
ffc2687c:	4b fe 6f 11 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26880:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc26884:	40 82 01 6c 	bne-    ffc269f0 <rtems_rfs_rtems_dir_read+0x1cc><== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26888:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc2688c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26890:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc26894:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc26898:	4b fe d6 19 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc2689c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc268a0:	40 82 01 9c 	bne-    ffc26a3c <rtems_rfs_rtems_dir_read+0x218><== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
ffc268a4:	3c 00 0e a0 	lis     r0,3744                                <== NOT EXECUTED
ffc268a8:	57 18 e8 fe 	rlwinm  r24,r24,29,3,31                        <== NOT EXECUTED
ffc268ac:	60 00 ea 0f 	ori     r0,r0,59919                            <== NOT EXECUTED
ffc268b0:	7f 18 00 16 	mulhwu  r24,r24,r0                             <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc268b4:	57 18 f8 7f 	rlwinm. r24,r24,31,1,31                        <== NOT EXECUTED
ffc268b8:	41 82 02 50 	beq-    ffc26b08 <rtems_rfs_rtems_dir_read+0x2e4><== 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);        
ffc268bc:	80 bb 00 10 	lwz     r5,16(r27)                             <== NOT EXECUTED
 * exisiting file, the remaining entries will be placed in the buffer and the
 * returned value will be equal to -m actual- times the size of a directory
 * entry.                                                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
ffc268c0:	3b 80 00 00 	li      r28,0                                  <== 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);        
ffc268c4:	80 db 00 14 	lwz     r6,20(r27)                             <== NOT EXECUTED
 * exisiting file, the remaining entries will be placed in the buffer and the
 * returned value will be equal to -m actual- times the size of a directory
 * entry.                                                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
ffc268c8:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc268cc:	48 00 00 30 	b       ffc268fc <rtems_rfs_rtems_dir_read+0xd8><== NOT EXECUTED
    if (rc == ENOENT)                                                 
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
ffc268d0:	41 99 01 cc 	bgt-    cr6,ffc26a9c <rtems_rfs_rtems_dir_read+0x278><== NOT EXECUTED
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc268d4:	81 5b 00 10 	lwz     r10,16(r27)                            <== NOT EXECUTED
ffc268d8:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc268dc:	81 7b 00 14 	lwz     r11,20(r27)                            <== NOT EXECUTED
 * exisiting file, the remaining entries will be placed in the buffer and the
 * returned value will be equal to -m actual- times the size of a directory
 * entry.                                                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
ffc268e0:	3b bd 01 18 	addi    r29,r29,280                            <== NOT EXECUTED
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc268e4:	83 e1 00 08 	lwz     r31,8(r1)                              <== NOT EXECUTED
ffc268e8:	7c df 58 14 	addc    r6,r31,r11                             <== NOT EXECUTED
ffc268ec:	7c be 51 14 	adde    r5,r30,r10                             <== NOT EXECUTED
ffc268f0:	90 bb 00 10 	stw     r5,16(r27)                             <== NOT EXECUTED
ffc268f4:	90 db 00 14 	stw     r6,20(r27)                             <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc268f8:	41 86 00 30 	beq-    cr1,ffc26928 <rtems_rfs_rtems_dir_read+0x104><== NOT EXECUTED
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
ffc268fc:	7c f9 ea 14 	add     r7,r25,r29                             <== NOT EXECUTED
ffc26900:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26904:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc26908:	39 01 00 08 	addi    r8,r1,8                                <== NOT EXECUTED
ffc2690c:	4b ff c8 99 	bl      ffc231a4 <rtems_rfs_dir_read>          <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26910:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
    if (rc == ENOENT)                                                 
ffc26914:	2f 83 00 02 	cmpwi   cr7,r3,2                               <== NOT EXECUTED
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
ffc26918:	7c 77 1b 78 	mr      r23,r3                                 <== NOT EXECUTED
    if (rc == ENOENT)                                                 
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
ffc2691c:	2f 03 00 00 	cmpwi   cr6,r3,0                               <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26920:	7c 9c c0 00 	cmpw    cr1,r28,r24                            <== NOT EXECUTED
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
    if (rc == ENOENT)                                                 
ffc26924:	40 9e ff ac 	bne+    cr7,ffc268d0 <rtems_rfs_rtems_dir_read+0xac><== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26928:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc2692c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26930:	4b fe d7 e1 	bl      ffc14110 <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);            
ffc26934:	83 da 00 7c 	lwz     r30,124(r26)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26938:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc2693c:	4b ff b6 0d 	bl      ffc21f48 <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);            
ffc26940:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26944:	4b fe 6f d5 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26948:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc2694c:	40 82 00 3c 	bne-    ffc26988 <rtems_rfs_rtems_dir_read+0x164><== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc26950:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc26954:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26958:	82 e1 00 3c 	lwz     r23,60(r1)                             <== NOT EXECUTED
ffc2695c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26960:	83 01 00 40 	lwz     r24,64(r1)                             <== NOT EXECUTED
ffc26964:	83 21 00 44 	lwz     r25,68(r1)                             <== NOT EXECUTED
ffc26968:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc2696c:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc26970:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc26974:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc26978:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc2697c:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc26980:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc26984:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26988:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2698c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26990:	4b ff 0c 3d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26994:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26998:	41 9e ff b8 	beq+    cr7,ffc26950 <rtems_rfs_rtems_dir_read+0x12c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc2699c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc269a0:	4b ff 5a 6d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc269a4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc269a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc269ac:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc269b0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc269b4:	48 00 2e ed 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc269b8:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc269bc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc269c0:	82 e1 00 3c 	lwz     r23,60(r1)                             <== NOT EXECUTED
ffc269c4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc269c8:	83 01 00 40 	lwz     r24,64(r1)                             <== NOT EXECUTED
ffc269cc:	83 21 00 44 	lwz     r25,68(r1)                             <== NOT EXECUTED
ffc269d0:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc269d4:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc269d8:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc269dc:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc269e0:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc269e4:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc269e8:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc269ec:	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))                      
ffc269f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc269f4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc269f8:	4b ff 0b d5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc269fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26a00:	41 9e fe 88 	beq+    cr7,ffc26888 <rtems_rfs_rtems_dir_read+0x64><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26a04:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26a08:	4b ff 5a 05 	bl      ffc1c40c <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 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc26a18:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26a1c:	48 00 2e 85 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26a20:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc26a24:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26a28:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc26a2c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc26a30:	4b fe d4 81 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc26a34:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26a38:	41 82 fe 6c 	beq+    ffc268a4 <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);            
ffc26a3c:	83 da 00 7c 	lwz     r30,124(r26)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26a40:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26a44:	4b ff b5 05 	bl      ffc21f48 <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);            
ffc26a48:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26a4c:	4b fe 6e cd 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26a50:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc26a54:	40 82 00 80 	bne-    ffc26ad4 <rtems_rfs_rtems_dir_read+0x2b0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
ffc26a58:	48 00 1d 65 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc26a5c:	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);        
ffc26a60:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc26a64:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc26a68:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26a6c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26a70:	82 e1 00 3c 	lwz     r23,60(r1)                             <== NOT EXECUTED
ffc26a74:	83 01 00 40 	lwz     r24,64(r1)                             <== NOT EXECUTED
ffc26a78:	83 21 00 44 	lwz     r25,68(r1)                             <== NOT EXECUTED
ffc26a7c:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc26a80:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc26a84:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc26a88:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc26a8c:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc26a90:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc26a94:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc26a98:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc26a9c:	48 00 1d 21 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26aa0:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc26aa4:	92 e3 00 00 	stw     r23,0(r3)                              <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26aa8:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc26aac:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26ab0:	4b fe d6 61 	bl      ffc14110 <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);            
ffc26ab4:	83 da 00 7c 	lwz     r30,124(r26)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26ab8:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc26abc:	4b ff b4 8d 	bl      ffc21f48 <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);            
ffc26ac0:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26ac4:	4b fe 6e 55 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26ac8:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc26acc:	41 82 fe 84 	beq+    ffc26950 <rtems_rfs_rtems_dir_read+0x12c><== NOT EXECUTED
ffc26ad0:	4b ff fe b8 	b       ffc26988 <rtems_rfs_rtems_dir_read+0x164><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26ad4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26ad8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26adc:	4b ff 0a f1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26ae0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26ae4:	41 9e ff 74 	beq+    cr7,ffc26a58 <rtems_rfs_rtems_dir_read+0x234><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26ae8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26aec:	4b ff 59 21 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26af0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26af4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26af8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26afc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26b00:	48 00 2d a1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26b04:	4b ff ff 54 	b       ffc26a58 <rtems_rfs_rtems_dir_read+0x234><== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26b08:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc26b0c:	4b ff fe 1c 	b       ffc26928 <rtems_rfs_rtems_dir_read+0x104><== NOT EXECUTED
                                                                      

ffc26664 <rtems_rfs_rtems_dir_rmnod>: static int rtems_rfs_rtems_dir_rmnod (rtems_filesystem_location_info_t* parent_pathloc, rtems_filesystem_location_info_t* pathloc) {
ffc26664:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc26668:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc2666c:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc26670:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc26674:	83 c4 00 00 	lwz     r30,0(r4)                              <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_dir_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc26678:	81 24 00 10 	lwz     r9,16(r4)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_DIR_RMNOD))        
    printf ("rtems-rfs: dir-rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  if (ino == RTEMS_RFS_ROOT_INO)                                      
ffc2667c:	2f 9e 00 01 	cmpwi   cr7,r30,1                              <== NOT EXECUTED
}                                                                     
                                                                      
static int                                                            
rtems_rfs_rtems_dir_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc26680:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc26684:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc26688:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc2668c:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc26690:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
ffc26694:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (pathloc);
ffc26698:	83 a4 00 04 	lwz     r29,4(r4)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_DIR_RMNOD))        
    printf ("rtems-rfs: dir-rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  if (ino == RTEMS_RFS_ROOT_INO)                                      
ffc2669c:	41 9e 01 74 	beq-    cr7,ffc26810 <rtems_rfs_rtems_dir_rmnod+0x1ac><== NOT EXECUTED
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_filesystem_default_fsync,                      
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_dir_rmnod                            
};                                                                    
ffc266a0:	81 3f 00 7c 	lwz     r9,124(r31)                            <== 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);
ffc266a4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc266a8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc266ac:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc266b0:	4b fe 70 dd 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc266b4:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc266b8:	40 82 00 bc 	bne-    ffc26774 <rtems_rfs_rtems_dir_rmnod+0x110><== NOT EXECUTED
  if (ino == RTEMS_RFS_ROOT_INO)                                      
    return rtems_rfs_rtems_error ("dir_rmnod: root inode", EBUSY);    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_if_empty);
ffc266bc:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc266c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc266c4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc266c8:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc266cc:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
ffc266d0:	4b ff f0 05 	bl      ffc256d4 <rtems_rfs_unlink>            <== NOT EXECUTED
  if (rc)                                                             
ffc266d4:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc266d8:	41 82 00 54 	beq-    ffc2672c <rtems_rfs_rtems_dir_rmnod+0xc8><== 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);            
ffc266dc:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc266e0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc266e4:	4b ff b8 65 	bl      ffc21f48 <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);            
ffc266e8:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc266ec:	4b fe 72 2d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc266f0:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc266f4:	40 82 00 b4 	bne-    ffc267a8 <rtems_rfs_rtems_dir_rmnod+0x144><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_rmnod: unlinking", rc);        
ffc266f8:	48 00 20 c5 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc266fc:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_if_empty);
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_rmnod: unlinking", rc);        
ffc26700:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc26704:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc26708:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2670c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26710:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc26714:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc26718:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc2671c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc26720:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc26724:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc26728:	4e 80 00 20 	blr                                            <== 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);            
ffc2672c:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26730:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26734:	4b ff b8 15 	bl      ffc21f48 <rtems_rfs_buffers_release>   <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_rmnod: unlinking", rc);        
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc26738:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc2673c:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26740:	4b fe 71 d9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26744:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc26748:	40 82 00 94 	bne-    ffc267dc <rtems_rfs_rtems_dir_rmnod+0x178><== NOT EXECUTED
}                                                                     
ffc2674c:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc26750:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26754:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc26758:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2675c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc26760:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc26764:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc26768:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc2676c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc26770:	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))                      
ffc26774:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26778:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc2677c:	4b ff 0e 51 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26780:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26784:	41 9e ff 38 	beq+    cr7,ffc266bc <rtems_rfs_rtems_dir_rmnod+0x58><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26788:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc2678c:	4b ff 5c 81 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26790:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26794:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26798:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc2679c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc267a0:	48 00 31 01 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc267a4:	4b ff ff 18 	b       ffc266bc <rtems_rfs_rtems_dir_rmnod+0x58><== 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))                      
ffc267a8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc267ac:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc267b0:	4b ff 0e 1d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc267b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc267b8:	41 9e ff 40 	beq+    cr7,ffc266f8 <rtems_rfs_rtems_dir_rmnod+0x94><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc267bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc267c0:	4b ff 5c 4d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc267c4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc267c8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc267cc:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc267d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc267d4:	48 00 30 cd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc267d8:	4b ff ff 20 	b       ffc266f8 <rtems_rfs_rtems_dir_rmnod+0x94><== 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))                      
ffc267dc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc267e0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc267e4:	4b ff 0d e9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc267e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc267ec:	41 9e ff 60 	beq+    cr7,ffc2674c <rtems_rfs_rtems_dir_rmnod+0xe8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc267f0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc267f4:	4b ff 5c 19 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc267f8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc267fc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26800:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26804:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26808:	48 00 30 99 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2680c:	4b ff ff 40 	b       ffc2674c <rtems_rfs_rtems_dir_rmnod+0xe8><== NOT EXECUTED
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_DIR_RMNOD))        
    printf ("rtems-rfs: dir-rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  if (ino == RTEMS_RFS_ROOT_INO)                                      
    return rtems_rfs_rtems_error ("dir_rmnod: root inode", EBUSY);    
ffc26810:	48 00 1f ad 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26814:	38 00 00 10 	li      r0,16                                  <== NOT EXECUTED
ffc26818:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc2681c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc26820:	4b ff ff 2c 	b       ffc2674c <rtems_rfs_rtems_dir_rmnod+0xe8><== NOT EXECUTED
                                                                      

ffc16528 <rtems_rfs_rtems_eval_for_make>: */ static int rtems_rfs_rtems_eval_for_make (const char* path, rtems_filesystem_location_info_t* pathloc, const char** name) {
ffc16528:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc1652c:	7c 08 02 a6 	mflr    r0                                     
ffc16530:	90 01 00 6c 	stw     r0,108(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc16534:	80 04 00 00 	lwz     r0,0(r4)                               
static int                                                            
rtems_rfs_rtems_eval_for_make (const char*                       path,
                               rtems_filesystem_location_info_t* pathloc,
                               const char**                      name)
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16538:	81 24 00 10 	lwz     r9,16(r4)                              
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc1653c:	90 01 00 10 	stw     r0,16(r1)                              
  rtems_rfs_ino          node_ino;                                    
  uint32_t               doff = 0;                                    
ffc16540:	38 00 00 00 	li      r0,0                                   
 */                                                                   
static int                                                            
rtems_rfs_rtems_eval_for_make (const char*                       path,
                               rtems_filesystem_location_info_t* pathloc,
                               const char**                      name)
{                                                                     
ffc16544:	93 41 00 50 	stw     r26,80(r1)                             
ffc16548:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1654c:	93 81 00 58 	stw     r28,88(r1)                             
ffc16550:	7c 9c 23 78 	mr      r28,r4                                 
ffc16554:	93 c1 00 60 	stw     r30,96(r1)                             
ffc16558:	7c be 2b 78 	mr      r30,r5                                 
ffc1655c:	93 e1 00 64 	stw     r31,100(r1)                            
ffc16560:	93 21 00 4c 	stw     r25,76(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16564:	83 e9 00 34 	lwz     r31,52(r9)                             
 */                                                                   
static int                                                            
rtems_rfs_rtems_eval_for_make (const char*                       path,
                               rtems_filesystem_location_info_t* pathloc,
                               const char**                      name)
{                                                                     
ffc16568:	93 61 00 54 	stw     r27,84(r1)                             
ffc1656c:	93 a1 00 5c 	stw     r29,92(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_rfs_ino          node_ino;                                    
  uint32_t               doff = 0;                                    
ffc16570:	90 01 00 08 	stw     r0,8(r1)                               
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf ("rtems-rfs-rtems: eval-for-make: path:%s ino:%" PRId32 "\n", path, ino);
                                                                      
  *name = path + strlen (path);                                       
ffc16574:	48 01 40 b1 	bl      ffc2a624 <strlen>                      
ffc16578:	7c 7a 1a 14 	add     r3,r26,r3                              
ffc1657c:	90 7e 00 00 	stw     r3,0(r30)                              
                                                                      
  while (*name != path)                                               
ffc16580:	48 00 00 08 	b       ffc16588 <rtems_rfs_rtems_eval_for_make+0x60>
  {                                                                   
    (*name)--;                                                        
    if (rtems_filesystem_is_separator (**name))                       
    {                                                                 
      (*name)++;                                                      
      break;                                                          
ffc16584:	80 7e 00 00 	lwz     r3,0(r30)                              
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf ("rtems-rfs-rtems: eval-for-make: path:%s ino:%" PRId32 "\n", path, ino);
                                                                      
  *name = path + strlen (path);                                       
                                                                      
  while (*name != path)                                               
ffc16588:	7f 9a 18 00 	cmpw    cr7,r26,r3                             
  {                                                                   
    (*name)--;                                                        
ffc1658c:	38 03 ff ff 	addi    r0,r3,-1                               
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf ("rtems-rfs-rtems: eval-for-make: path:%s ino:%" PRId32 "\n", path, ino);
                                                                      
  *name = path + strlen (path);                                       
                                                                      
  while (*name != path)                                               
ffc16590:	41 9e 00 24 	beq-    cr7,ffc165b4 <rtems_rfs_rtems_eval_for_make+0x8c>
  {                                                                   
    (*name)--;                                                        
ffc16594:	90 1e 00 00 	stw     r0,0(r30)                              
    if (rtems_filesystem_is_separator (**name))                       
ffc16598:	88 63 ff ff 	lbz     r3,-1(r3)                              
ffc1659c:	4b ff 3e 49 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
ffc165a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc165a4:	41 9e ff e0 	beq+    cr7,ffc16584 <rtems_rfs_rtems_eval_for_make+0x5c>
    {                                                                 
      (*name)++;                                                      
ffc165a8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc165ac:	38 09 00 01 	addi    r0,r9,1                                
ffc165b0:	90 1e 00 00 	stw     r0,0(r30)                              
  }                                                                   
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
ffc165b4:	7f 43 d3 78 	mr      r3,r26                                 
ffc165b8:	48 01 40 6d 	bl      ffc2a624 <strlen>                      
ffc165bc:	7c 64 1b 78 	mr      r4,r3                                  
ffc165c0:	7f 43 d3 78 	mr      r3,r26                                 
ffc165c4:	4b ff 1c ed 	bl      ffc082b0 <rtems_filesystem_prefix_separators>
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc165c8:	81 3f 00 7c 	lwz     r9,124(r31)                            
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
  path += stripped;                                                   
ffc165cc:	7f 5a 1a 14 	add     r26,r26,r3                             
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc165d0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc165d4:	38 80 00 00 	li      r4,0                                   
ffc165d8:	38 a0 00 00 	li      r5,0                                   
ffc165dc:	4b ff 71 b1 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc165e0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc165e4:	40 82 02 70 	bne-    ffc16854 <rtems_rfs_rtems_eval_for_make+0x32c><== NEVER TAKEN
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc165e8:	3f 60 ff c4 	lis     r27,-60                                
ffc165ec:	3b 7b 82 54 	addi    r27,r27,-32172                         
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
ffc165f0:	80 81 00 10 	lwz     r4,16(r1)                              
ffc165f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc165f8:	38 a1 00 14 	addi    r5,r1,20                               
ffc165fc:	38 c0 00 01 	li      r6,1                                   
ffc16600:	4b ff d8 b1 	bl      ffc13eb0 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc16604:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc16608:	41 81 03 d8 	bgt-    ffc169e0 <rtems_rfs_rtems_eval_for_make+0x4b8><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
ffc1660c:	81 21 00 20 	lwz     r9,32(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);                    
ffc16610:	88 09 00 02 	lbz     r0,2(r9)                               
ffc16614:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc16618:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc1661c:	41 9e 01 a8 	beq-    cr7,ffc167c4 <rtems_rfs_rtems_eval_for_make+0x29c>
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if (path == *name)                                                
ffc16620:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc16624:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc16628:	41 9e 00 d8 	beq-    cr7,ffc16700 <rtems_rfs_rtems_eval_for_make+0x1d8>
ffc1662c:	7f 5d d3 78 	mr      r29,r26                                
ffc16630:	3b 20 00 00 	li      r25,0                                  
ffc16634:	48 00 00 28 	b       ffc1665c <rtems_rfs_rtems_eval_for_make+0x134>
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
ffc16638:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc1663c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc16640:	41 9e 00 2c 	beq-    cr7,ffc1666c <rtems_rfs_rtems_eval_for_make+0x144><== NEVER TAKEN
           (*path != '\0') &&                                         
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
ffc16644:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc16648:	38 09 ff ff 	addi    r0,r9,-1                               
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
           (*path != '\0') &&                                         
ffc1664c:	7f 99 00 40 	cmplw   cr7,r25,r0                             
ffc16650:	40 9c 00 1c 	bge-    cr7,ffc1666c <rtems_rfs_rtems_eval_for_make+0x144><== NEVER TAKEN
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
    {                                                                 
      node_len++;                                                     
ffc16654:	3b 39 00 01 	addi    r25,r25,1                              
      path++;                                                         
ffc16658:	3b bd 00 01 	addi    r29,r29,1                              
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
ffc1665c:	88 7d 00 00 	lbz     r3,0(r29)                              
ffc16660:	4b ff 3d 85 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
ffc16664:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16668:	41 9e ff d0 	beq+    cr7,ffc16638 <rtems_rfs_rtems_eval_for_make+0x110>
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
ffc1666c:	7f a3 eb 78 	mr      r3,r29                                 
ffc16670:	48 01 3f b5 	bl      ffc2a624 <strlen>                      
ffc16674:	7c 64 1b 78 	mr      r4,r3                                  
ffc16678:	7f a3 eb 78 	mr      r3,r29                                 
ffc1667c:	4b ff 1c 35 	bl      ffc082b0 <rtems_filesystem_prefix_separators>
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16680:	88 1a 00 00 	lbz     r0,0(r26)                              
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
    path += stripped;                                                 
ffc16684:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16688:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1668c:	41 9e 00 5c 	beq-    cr7,ffc166e8 <rtems_rfs_rtems_eval_for_make+0x1c0><== NEVER TAKEN
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (path))                                  
ffc16690:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc16694:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc16698:	40 9e 00 10 	bne-    cr7,ffc166a8 <rtems_rfs_rtems_eval_for_make+0x180><== ALWAYS TAKEN
ffc1669c:	88 1d 00 01 	lbz     r0,1(r29)                              <== NOT EXECUTED
ffc166a0:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc166a4:	41 9e 01 70 	beq-    cr7,ffc16814 <rtems_rfs_rtems_eval_for_make+0x2ec><== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
ffc166a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc166ac:	38 81 00 14 	addi    r4,r1,20                               
ffc166b0:	7f 45 d3 78 	mr      r5,r26                                 
ffc166b4:	7f 26 cb 78 	mr      r6,r25                                 
ffc166b8:	38 e1 00 10 	addi    r7,r1,16                               
ffc166bc:	39 01 00 08 	addi    r8,r1,8                                
ffc166c0:	48 00 bb 59 	bl      ffc22218 <rtems_rfs_dir_lookup_ino>    
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
ffc166c4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc166c8:	41 81 02 70 	bgt-    ffc16938 <rtems_rfs_rtems_eval_for_make+0x410>
      if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))
        printf("rtems-rfs-rtems: eval-for-make: down: path:%s ino:%" PRId32 "\n",
               node, ino);                                            
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
ffc166cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc166d0:	38 81 00 14 	addi    r4,r1,20                               
ffc166d4:	4b ff da 3d 	bl      ffc14110 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc166d8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc166dc:	41 81 02 68 	bgt-    ffc16944 <rtems_rfs_rtems_eval_for_make+0x41c><== NEVER TAKEN
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
    path += stripped;                                                 
ffc166e0:	7f ba eb 78 	mr      r26,r29                                
ffc166e4:	4b ff ff 0c 	b       ffc165f0 <rtems_rfs_rtems_eval_for_make+0xc8>
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc166e8:	88 7a 00 01 	lbz     r3,1(r26)                              <== NOT EXECUTED
ffc166ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc166f0:	40 9e 01 98 	bne-    cr7,ffc16888 <rtems_rfs_rtems_eval_for_make+0x360><== NOT EXECUTED
    {                                                                 
      if (*path)                                                      
ffc166f4:	88 1d 00 00 	lbz     r0,0(r29)                              <== NOT EXECUTED
ffc166f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc166fc:	40 9e 01 a4 	bne-    cr7,ffc168a0 <rtems_rfs_rtems_eval_for_make+0x378><== NOT EXECUTED
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_for_make: closing node", rc);
    }                                                                 
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
ffc16700:	81 21 00 20 	lwz     r9,32(r1)                              
ffc16704:	88 09 00 02 	lbz     r0,2(r9)                               
ffc16708:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc1670c:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc16710:	40 9e 02 fc 	bne-    cr7,ffc16a0c <rtems_rfs_rtems_eval_for_make+0x4e4>
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTDIR); 
  }                                                                   
                                                                      
  if (!rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_WX))     
ffc16714:	38 61 00 14 	addi    r3,r1,20                               
ffc16718:	38 80 00 03 	li      r4,3                                   
ffc1671c:	48 00 0d 69 	bl      ffc17484 <rtems_rfs_rtems_eval_perms>  
ffc16720:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16724:	41 9e 00 b4 	beq-    cr7,ffc167d8 <rtems_rfs_rtems_eval_for_make+0x2b0><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Make sure the name does not already exists in the directory.     
   */                                                                 
  rc = rtems_rfs_dir_lookup_ino (fs, &inode, *name, strlen (*name),   
ffc16728:	83 de 00 00 	lwz     r30,0(r30)                             
ffc1672c:	7f c3 f3 78 	mr      r3,r30                                 
ffc16730:	48 01 3e f5 	bl      ffc2a624 <strlen>                      
ffc16734:	7f c5 f3 78 	mr      r5,r30                                 
ffc16738:	7c 66 1b 78 	mr      r6,r3                                  
ffc1673c:	38 81 00 14 	addi    r4,r1,20                               
ffc16740:	7f e3 fb 78 	mr      r3,r31                                 
ffc16744:	38 e1 00 0c 	addi    r7,r1,12                               
ffc16748:	39 01 00 08 	addi    r8,r1,8                                
ffc1674c:	48 00 ba cd 	bl      ffc22218 <rtems_rfs_dir_lookup_ino>    
                                 &node_ino, &doff);                   
  if (rc == 0)                                                        
ffc16750:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16754:	41 82 03 c4 	beq-    ffc16b18 <rtems_rfs_rtems_eval_for_make+0x5f0>
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: found name", EEXIST);
  }                                                                   
                                                                      
  if (rc != ENOENT)                                                   
ffc16758:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc1675c:	41 9e 01 58 	beq-    cr7,ffc168b4 <rtems_rfs_rtems_eval_for_make+0x38c>
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc16760:	38 81 00 14 	addi    r4,r1,20                               
ffc16764:	7f e3 fb 78 	mr      r3,r31                                 
ffc16768:	4b ff d9 a9 	bl      ffc14110 <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);            
ffc1676c:	83 bf 00 7c 	lwz     r29,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16770:	7f e3 fb 78 	mr      r3,r31                                 
ffc16774:	48 00 b7 d5 	bl      ffc21f48 <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);            
ffc16778:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc1677c:	4b ff 71 9d 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16780:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16784:	40 82 02 18 	bne-    ffc1699c <rtems_rfs_rtems_eval_for_make+0x474><== NEVER TAKEN
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: look up", rc);      
ffc16788:	48 01 20 35 	bl      ffc287bc <__errno>                     
ffc1678c:	93 c3 00 00 	stw     r30,0(r3)                              
ffc16790:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return rc;                                                          
}                                                                     
ffc16794:	80 01 00 6c 	lwz     r0,108(r1)                             
ffc16798:	7f c3 f3 78 	mr      r3,r30                                 
ffc1679c:	83 21 00 4c 	lwz     r25,76(r1)                             
ffc167a0:	7c 08 03 a6 	mtlr    r0                                     
ffc167a4:	83 41 00 50 	lwz     r26,80(r1)                             
ffc167a8:	83 61 00 54 	lwz     r27,84(r1)                             
ffc167ac:	83 81 00 58 	lwz     r28,88(r1)                             
ffc167b0:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc167b4:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc167b8:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc167bc:	38 21 00 68 	addi    r1,r1,104                              
ffc167c0:	4e 80 00 20 	blr                                            
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
ffc167c4:	38 61 00 14 	addi    r3,r1,20                               
ffc167c8:	38 80 00 01 	li      r4,1                                   
ffc167cc:	48 00 0c b9 	bl      ffc17484 <rtems_rfs_rtems_eval_perms>  
    }                                                                 
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
ffc167d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc167d4:	40 9e fe 4c 	bne+    cr7,ffc16620 <rtems_rfs_rtems_eval_for_make+0xf8><== ALWAYS TAKEN
    return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTDIR); 
  }                                                                   
                                                                      
  if (!rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_WX))     
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc167d8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc167dc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc167e0:	4b ff d9 31 	bl      ffc14110 <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);            
ffc167e4:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc167e8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc167ec:	48 00 b7 5d 	bl      ffc21f48 <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);            
ffc167f0:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc167f4:	4b ff 71 25 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc167f8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc167fc:	40 82 02 e8 	bne-    ffc16ae4 <rtems_rfs_rtems_eval_for_make+0x5bc><== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: cannot write", EACCES);
ffc16800:	48 01 1f bd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc16804:	38 00 00 0d 	li      r0,13                                  <== NOT EXECUTED
ffc16808:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1680c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc16810:	4b ff ff 84 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (path))                                  
ffc16814:	88 7d 00 02 	lbz     r3,2(r29)                              <== NOT EXECUTED
ffc16818:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1681c:	40 9e 01 b4 	bne-    cr7,ffc169d0 <rtems_rfs_rtems_eval_for_make+0x4a8><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If we are at the root inode of the file system we have a crossmount
       * path.                                                        
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
ffc16820:	80 01 00 10 	lwz     r0,16(r1)                              <== NOT EXECUTED
ffc16824:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
ffc16828:	41 9e 03 2c 	beq-    cr7,ffc16b54 <rtems_rfs_rtems_eval_for_make+0x62c><== NOT EXECUTED
                                                                      
      /*                                                              
       * If not a directory give and up return. We cannot change dir from a
       * regular file or device node.                                 
       */                                                             
      if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))     
ffc1682c:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
ffc16830:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc16834:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          <== NOT EXECUTED
ffc16838:	2f 80 40 00 	cmpwi   cr7,r0,16384                           <== NOT EXECUTED
ffc1683c:	40 9e 03 8c 	bne-    cr7,ffc16bc8 <rtems_rfs_rtems_eval_for_make+0x6a0><== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc16840:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16844:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc16848:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1684c:	38 c0 00 02 	li      r6,2                                   <== NOT EXECUTED
ffc16850:	4b ff fe 68 	b       ffc166b8 <rtems_rfs_rtems_eval_for_make+0x190><== 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))                      
ffc16854:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16858:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1685c:	48 00 0d 71 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16860:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16864:	41 9e fd 84 	beq+    cr7,ffc165e8 <rtems_rfs_rtems_eval_for_make+0xc0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc16868:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1686c:	48 00 5b a1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16870:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16874:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16878:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc1687c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16880:	48 01 30 21 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16884:	4b ff fd 64 	b       ffc165e8 <rtems_rfs_rtems_eval_for_make+0xc0><== NOT EXECUTED
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16888:	4b ff 3b 5d 	bl      ffc0a3e4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc1688c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16890:	41 be fe 00 	beq-    cr7,ffc16690 <rtems_rfs_rtems_eval_for_make+0x168><== NOT EXECUTED
    {                                                                 
      if (*path)                                                      
ffc16894:	88 1d 00 00 	lbz     r0,0(r29)                              <== NOT EXECUTED
ffc16898:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1689c:	41 9e fe 64 	beq+    cr7,ffc16700 <rtems_rfs_rtems_eval_for_make+0x1d8><== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc168a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc168a4:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc168a8:	4b ff d8 69 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
    path += stripped;                                                 
ffc168ac:	7f ba eb 78 	mr      r26,r29                                <== NOT EXECUTED
ffc168b0:	4b ff fd 40 	b       ffc165f0 <rtems_rfs_rtems_eval_for_make+0xc8><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the parent ino in the path location.                         
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc168b4:	80 01 00 10 	lwz     r0,16(r1)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc168b8:	38 81 00 14 	addi    r4,r1,20                               
ffc168bc:	7f 83 e3 78 	mr      r3,r28                                 
                                                                      
  /*                                                                  
   * Set the parent ino in the path location.                         
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc168c0:	90 1c 00 00 	stw     r0,0(r28)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
ffc168c4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc168c8:	90 1c 00 04 	stw     r0,4(r28)                              
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc168cc:	48 00 0b f5 	bl      ffc174c0 <rtems_rfs_rtems_set_handlers>
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf("rtems-rfs-rtems: eval-for-make: parent ino:%" PRId32 " name:%s\n",
           ino, *name);                                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc168d0:	38 81 00 14 	addi    r4,r1,20                               
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc168d4:	33 c3 ff ff 	addic   r30,r3,-1                              
ffc168d8:	7f de f1 10 	subfe   r30,r30,r30                            
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))    
    printf("rtems-rfs-rtems: eval-for-make: parent ino:%" PRId32 " name:%s\n",
           ino, *name);                                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc168dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc168e0:	4b ff d8 31 	bl      ffc14110 <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);            
ffc168e4:	83 bf 00 7c 	lwz     r29,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc168e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc168ec:	48 00 b6 5d 	bl      ffc21f48 <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);            
ffc168f0:	80 7d 00 00 	lwz     r3,0(r29)                              
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc168f4:	73 de 00 05 	andi.   r30,r30,5                              
ffc168f8:	4b ff 70 21 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc168fc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16900:	41 82 fe 94 	beq+    ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16904:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16908:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1690c:	48 00 0c c1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16910:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16914:	41 9e fe 80 	beq+    cr7,ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16918:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1691c:	48 00 5a f1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16920:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16924:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16928:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1692c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16930:	48 01 2f 71 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16934:	4b ff fe 60 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc16938:	38 81 00 14 	addi    r4,r1,20                               
ffc1693c:	7f e3 fb 78 	mr      r3,r31                                 
ffc16940:	4b ff d7 d1 	bl      ffc14110 <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);            
ffc16944:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16948:	7f e3 fb 78 	mr      r3,r31                                 
ffc1694c:	48 00 b5 fd 	bl      ffc21f48 <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);            
ffc16950:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc16954:	4b ff 6f c5 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16958:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1695c:	40 82 00 ec 	bne-    ffc16a48 <rtems_rfs_rtems_eval_for_make+0x520><== NEVER TAKEN
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_for_make: closing node", rc);
ffc16960:	48 01 1e 5d 	bl      ffc287bc <__errno>                     
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return rc;                                                          
}                                                                     
ffc16964:	80 01 00 6c 	lwz     r0,108(r1)                             
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_for_make: closing node", rc);
ffc16968:	3b c0 ff ff 	li      r30,-1                                 
ffc1696c:	93 43 00 00 	stw     r26,0(r3)                              
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return rc;                                                          
}                                                                     
ffc16970:	7c 08 03 a6 	mtlr    r0                                     
ffc16974:	7f c3 f3 78 	mr      r3,r30                                 
ffc16978:	83 21 00 4c 	lwz     r25,76(r1)                             
ffc1697c:	83 41 00 50 	lwz     r26,80(r1)                             
ffc16980:	83 61 00 54 	lwz     r27,84(r1)                             
ffc16984:	83 81 00 58 	lwz     r28,88(r1)                             
ffc16988:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc1698c:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc16990:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc16994:	38 21 00 68 	addi    r1,r1,104                              
ffc16998:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1699c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc169a0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc169a4:	48 00 0c 29 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc169a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc169ac:	41 9e fd dc 	beq+    cr7,ffc16788 <rtems_rfs_rtems_eval_for_make+0x260><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc169b0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc169b4:	48 00 5a 59 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc169b8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc169bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc169c0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc169c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc169c8:	48 01 2e d9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc169cc:	4b ff fd bc 	b       ffc16788 <rtems_rfs_rtems_eval_for_make+0x260><== NOT EXECUTED
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (path))                                  
ffc169d0:	4b ff 3a 15 	bl      ffc0a3e4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc169d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc169d8:	41 be fc d0 	beq-    cr7,ffc166a8 <rtems_rfs_rtems_eval_for_make+0x180><== NOT EXECUTED
ffc169dc:	4b ff fe 44 	b       ffc16820 <rtems_rfs_rtems_eval_for_make+0x2f8><== 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);            
ffc169e0:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc169e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc169e8:	48 00 b5 61 	bl      ffc21f48 <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);            
ffc169ec:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc169f0:	4b ff 6f 29 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc169f4:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc169f8:	40 82 00 84 	bne-    ffc16a7c <rtems_rfs_rtems_eval_for_make+0x554><== NOT EXECUTED
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_for_make: read ino", rc);   
ffc169fc:	48 01 1d c1 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc16a00:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc16a04:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc16a08:	4b ff fd 8c 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc16a0c:	38 81 00 14 	addi    r4,r1,20                               
ffc16a10:	7f e3 fb 78 	mr      r3,r31                                 
ffc16a14:	4b ff d6 fd 	bl      ffc14110 <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);            
ffc16a18:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16a1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc16a20:	48 00 b5 29 	bl      ffc21f48 <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);            
ffc16a24:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc16a28:	4b ff 6e f1 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16a2c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16a30:	40 82 00 80 	bne-    ffc16ab0 <rtems_rfs_rtems_eval_for_make+0x588><== NEVER TAKEN
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTDIR); 
ffc16a34:	48 01 1d 89 	bl      ffc287bc <__errno>                     
ffc16a38:	38 00 00 14 	li      r0,20                                  
ffc16a3c:	90 03 00 00 	stw     r0,0(r3)                               
ffc16a40:	3b c0 ff ff 	li      r30,-1                                 
ffc16a44:	4b ff fd 50 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c>
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16a48:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16a4c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16a50:	48 00 0b 7d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16a54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16a58:	41 9e ff 08 	beq+    cr7,ffc16960 <rtems_rfs_rtems_eval_for_make+0x438><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16a5c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16a60:	48 00 59 ad 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16a64:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16a68:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16a6c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16a70:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16a74:	48 01 2e 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16a78:	4b ff fe e8 	b       ffc16960 <rtems_rfs_rtems_eval_for_make+0x438><== 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))                      
ffc16a7c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16a80:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16a84:	48 00 0b 49 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16a88:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16a8c:	41 9e ff 70 	beq+    cr7,ffc169fc <rtems_rfs_rtems_eval_for_make+0x4d4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16a90:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16a94:	48 00 59 79 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16a98:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16a9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16aa0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16aa4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16aa8:	48 01 2d f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16aac:	4b ff ff 50 	b       ffc169fc <rtems_rfs_rtems_eval_for_make+0x4d4><== 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))                      
ffc16ab0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16ab4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16ab8:	48 00 0b 15 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16abc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16ac0:	41 9e ff 74 	beq+    cr7,ffc16a34 <rtems_rfs_rtems_eval_for_make+0x50c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16ac4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16ac8:	48 00 59 45 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16acc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16ad0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16ad4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16ad8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16adc:	48 01 2d c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16ae0:	4b ff ff 54 	b       ffc16a34 <rtems_rfs_rtems_eval_for_make+0x50c><== 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))                      
ffc16ae4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16ae8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16aec:	48 00 0a e1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16af0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16af4:	41 9e fd 0c 	beq+    cr7,ffc16800 <rtems_rfs_rtems_eval_for_make+0x2d8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16af8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16afc:	48 00 59 11 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16b00:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16b04:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16b08:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16b0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16b10:	48 01 2d 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16b14:	4b ff fc ec 	b       ffc16800 <rtems_rfs_rtems_eval_for_make+0x2d8><== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_dir_lookup_ino (fs, &inode, *name, strlen (*name),   
                                 &node_ino, &doff);                   
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc16b18:	38 81 00 14 	addi    r4,r1,20                               
ffc16b1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc16b20:	4b ff d5 f1 	bl      ffc14110 <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);            
ffc16b24:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16b28:	7f e3 fb 78 	mr      r3,r31                                 
ffc16b2c:	48 00 b4 1d 	bl      ffc21f48 <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);            
ffc16b30:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc16b34:	4b ff 6d e5 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16b38:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16b3c:	40 82 00 c8 	bne-    ffc16c04 <rtems_rfs_rtems_eval_for_make+0x6dc><== NEVER TAKEN
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("eval_for_make: found name", EEXIST);
ffc16b40:	48 01 1c 7d 	bl      ffc287bc <__errno>                     
ffc16b44:	38 00 00 11 	li      r0,17                                  
ffc16b48:	90 03 00 00 	stw     r0,0(r3)                               
ffc16b4c:	3b c0 ff ff 	li      r30,-1                                 
ffc16b50:	4b ff fc 44 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c>
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
ffc16b54:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc16b58:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16b5c:	4b ff d5 b5 	bl      ffc14110 <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);            
ffc16b60:	83 7f 00 7c 	lwz     r27,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc16b64:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16b68:	48 00 b3 e1 	bl      ffc21f48 <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);            
ffc16b6c:	80 7b 00 00 	lwz     r3,0(r27)                              <== NOT EXECUTED
ffc16b70:	4b ff 6d a9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16b74:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc16b78:	40 82 00 c0 	bne-    ffc16c38 <rtems_rfs_rtems_eval_for_make+0x710><== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc16b7c:	81 3c 00 10 	lwz     r9,16(r28)                             <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc16b80:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc16b84:	38 7d 00 02 	addi    r3,r29,2                               <== NOT EXECUTED
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc16b88:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc16b8c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc16b90:	80 09 00 10 	lwz     r0,16(r9)                              <== NOT EXECUTED
ffc16b94:	81 09 00 08 	lwz     r8,8(r9)                               <== NOT EXECUTED
ffc16b98:	81 49 00 0c 	lwz     r10,12(r9)                             <== NOT EXECUTED
ffc16b9c:	90 1c 00 08 	stw     r0,8(r28)                              <== NOT EXECUTED
ffc16ba0:	91 1c 00 00 	stw     r8,0(r28)                              <== NOT EXECUTED
ffc16ba4:	91 5c 00 04 	stw     r10,4(r28)                             <== NOT EXECUTED
ffc16ba8:	91 7c 00 0c 	stw     r11,12(r28)                            <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc16bac:	80 0b 00 04 	lwz     r0,4(r11)                              <== NOT EXECUTED
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc16bb0:	81 29 00 18 	lwz     r9,24(r9)                              <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc16bb4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc16bb8:	91 3c 00 10 	stw     r9,16(r28)                             <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc16bbc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc16bc0:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc16bc4:	4b ff fb d0 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
       * If not a directory give and up return. We cannot change dir from a
       * regular file or device node.                                 
       */                                                             
      if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))     
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc16bc8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc16bcc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16bd0:	4b ff d5 41 	bl      ffc14110 <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);            
ffc16bd4:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc16bd8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16bdc:	48 00 b3 6d 	bl      ffc21f48 <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);            
ffc16be0:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc16be4:	4b ff 6d 35 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16be8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc16bec:	40 82 00 80 	bne-    ffc16c6c <rtems_rfs_rtems_eval_for_make+0x744><== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
        return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTSUP);
ffc16bf0:	48 01 1b cd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc16bf4:	38 00 00 86 	li      r0,134                                 <== NOT EXECUTED
ffc16bf8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc16bfc:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc16c00:	4b ff fb 94 	b       ffc16794 <rtems_rfs_rtems_eval_for_make+0x26c><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16c04:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16c08:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16c0c:	48 00 09 c1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16c10:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16c14:	41 9e ff 2c 	beq+    cr7,ffc16b40 <rtems_rfs_rtems_eval_for_make+0x618><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16c18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16c1c:	48 00 57 f1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16c20:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16c24:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16c28:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16c2c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16c30:	48 01 2c 71 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16c34:	4b ff ff 0c 	b       ffc16b40 <rtems_rfs_rtems_eval_for_make+0x618><== 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))                      
ffc16c38:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16c3c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16c40:	48 00 09 8d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16c44:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16c48:	41 9e ff 34 	beq+    cr7,ffc16b7c <rtems_rfs_rtems_eval_for_make+0x654><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16c4c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16c50:	48 00 57 bd 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16c54:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16c58:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16c5c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16c60:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16c64:	48 01 2c 3d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16c68:	4b ff ff 14 	b       ffc16b7c <rtems_rfs_rtems_eval_for_make+0x654><== 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))                      
ffc16c6c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16c70:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16c74:	48 00 09 59 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16c78:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16c7c:	41 9e ff 74 	beq+    cr7,ffc16bf0 <rtems_rfs_rtems_eval_for_make+0x6c8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16c80:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16c84:	48 00 57 89 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16c88:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16c8c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16c90:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16c94:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16c98:	48 01 2c 09 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16c9c:	4b ff ff 54 	b       ffc16bf0 <rtems_rfs_rtems_eval_for_make+0x6c8><== NOT EXECUTED
                                                                      

ffc16ca0 <rtems_rfs_rtems_eval_path>: static int rtems_rfs_rtems_eval_path (const char* path, size_t pathlen, int flags, rtems_filesystem_location_info_t* pathloc) {
ffc16ca0:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc16ca4:	7c 08 02 a6 	mflr    r0                                     
ffc16ca8:	90 01 00 64 	stw     r0,100(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16cac:	81 26 00 10 	lwz     r9,16(r6)                              
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc16cb0:	80 06 00 00 	lwz     r0,0(r6)                               
static int                                                            
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc16cb4:	93 c1 00 58 	stw     r30,88(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16cb8:	83 c9 00 34 	lwz     r30,52(r9)                             
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc16cbc:	90 01 00 0c 	stw     r0,12(r1)                              
  uint32_t               doff = 0;                                    
ffc16cc0:	38 00 00 00 	li      r0,0                                   
static int                                                            
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc16cc4:	93 21 00 44 	stw     r25,68(r1)                             
ffc16cc8:	7c 79 1b 78 	mr      r25,r3                                 
ffc16ccc:	93 41 00 48 	stw     r26,72(r1)                             
ffc16cd0:	7c ba 2b 78 	mr      r26,r5                                 
ffc16cd4:	93 81 00 50 	stw     r28,80(r1)                             
ffc16cd8:	7c dc 33 78 	mr      r28,r6                                 
ffc16cdc:	93 a1 00 54 	stw     r29,84(r1)                             
ffc16ce0:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc16ce4:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  uint32_t               doff = 0;                                    
ffc16ce8:	90 01 00 08 	stw     r0,8(r1)                               
static int                                                            
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc16cec:	92 e1 00 3c 	stw     r23,60(r1)                             
ffc16cf0:	93 01 00 40 	stw     r24,64(r1)                             
ffc16cf4:	93 61 00 4c 	stw     r27,76(r1)                             
            path, pathlen, ino);                                      
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
ffc16cf8:	4b ff 15 b9 	bl      ffc082b0 <rtems_filesystem_prefix_separators>
ffc16cfc:	7c 60 1b 78 	mr      r0,r3                                  
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc16d00:	81 3e 00 7c 	lwz     r9,124(r30)                            
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc16d04:	38 80 00 00 	li      r4,0                                   
ffc16d08:	38 a0 00 00 	li      r5,0                                   
ffc16d0c:	80 69 00 00 	lwz     r3,0(r9)                               
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
  path += stripped;                                                   
ffc16d10:	7f 39 02 14 	add     r25,r25,r0                             
  pathlen -= stripped;                                                
ffc16d14:	7f e0 f8 50 	subf    r31,r0,r31                             
ffc16d18:	4b ff 6a 75 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16d1c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc16d20:	40 82 02 28 	bne-    ffc16f48 <rtems_rfs_rtems_eval_path+0x2a8><== NEVER TAKEN
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc16d24:	3f 60 ff c4 	lis     r27,-60                                
ffc16d28:	3b 7b 82 54 	addi    r27,r27,-32172                         
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
ffc16d2c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc16d30:	7f c3 f3 78 	mr      r3,r30                                 
ffc16d34:	38 a1 00 10 	addi    r5,r1,16                               
ffc16d38:	38 c0 00 01 	li      r6,1                                   
ffc16d3c:	4b ff d1 75 	bl      ffc13eb0 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc16d40:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc16d44:	41 81 03 18 	bgt-    ffc1705c <rtems_rfs_rtems_eval_path+0x3bc><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if ((*path == '\0') || (pathlen == 0))                            
ffc16d48:	88 79 00 00 	lbz     r3,0(r25)                              
ffc16d4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16d50:	41 9e 00 e4 	beq-    cr7,ffc16e34 <rtems_rfs_rtems_eval_path+0x194>
ffc16d54:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc16d58:	41 9e 00 dc 	beq-    cr7,ffc16e34 <rtems_rfs_rtems_eval_path+0x194><== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
ffc16d5c:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc16d60:	88 09 00 02 	lbz     r0,2(r9)                               
ffc16d64:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc16d68:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc16d6c:	41 9e 01 58 	beq-    cr7,ffc16ec4 <rtems_rfs_rtems_eval_path+0x224>
ffc16d70:	7f 3d cb 78 	mr      r29,r25                                
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc16d74:	3b 00 00 00 	li      r24,0                                  
ffc16d78:	48 00 00 2c 	b       ffc16da4 <rtems_rfs_rtems_eval_path+0x104>
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
ffc16d7c:	89 3d 00 00 	lbz     r9,0(r29)                              
ffc16d80:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16d84:	41 9e 00 34 	beq-    cr7,ffc16db8 <rtems_rfs_rtems_eval_path+0x118><== NEVER TAKEN
           (*path != '\0') && pathlen &&                              
ffc16d88:	41 9a 01 34 	beq-    cr6,ffc16ebc <rtems_rfs_rtems_eval_path+0x21c><== NEVER TAKEN
ffc16d8c:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc16d90:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc16d94:	40 9c 00 24 	bge-    cr7,ffc16db8 <rtems_rfs_rtems_eval_path+0x118><== NEVER TAKEN
           ((node_len + 1) < rtems_rfs_fs_max_name (fs)))             
    {                                                                 
      path++;                                                         
      pathlen--;                                                      
ffc16d98:	8c 7d 00 01 	lbzu    r3,1(r29)                              
ffc16d9c:	3b ff ff ff 	addi    r31,r31,-1                             
ffc16da0:	7c 18 03 78 	mr      r24,r0                                 
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
ffc16da4:	4b ff 36 41 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
           (*path != '\0') && pathlen &&                              
           ((node_len + 1) < rtems_rfs_fs_max_name (fs)))             
ffc16da8:	38 18 00 01 	addi    r0,r24,1                               
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
ffc16dac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
           (*path != '\0') && pathlen &&                              
ffc16db0:	2f 1f 00 00 	cmpwi   cr6,r31,0                              
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
ffc16db4:	41 9e ff c8 	beq+    cr7,ffc16d7c <rtems_rfs_rtems_eval_path+0xdc>
           (*path != '\0') && pathlen &&                              
ffc16db8:	7f e4 fb 78 	mr      r4,r31                                 
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
ffc16dbc:	7f a3 eb 78 	mr      r3,r29                                 
ffc16dc0:	4b ff 14 f1 	bl      ffc082b0 <rtems_filesystem_prefix_separators>
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16dc4:	88 19 00 00 	lbz     r0,0(r25)                              
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc16dc8:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16dcc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
    pathlen -= stripped;                                              
ffc16dd0:	7f e3 f8 50 	subf    r31,r3,r31                             
    node_len += stripped;                                             
ffc16dd4:	7e e3 c2 14 	add     r23,r3,r24                             
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16dd8:	41 9e 00 44 	beq-    cr7,ffc16e1c <rtems_rfs_rtems_eval_path+0x17c>
      /*                                                              
       * Look up the node name in this directory. If found drop through, close
       * the current inode and let the loop open the inode so the mode can be
       * read and handlers set.                                       
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
ffc16ddc:	7f c3 f3 78 	mr      r3,r30                                 
ffc16de0:	38 81 00 10 	addi    r4,r1,16                               
ffc16de4:	7f 25 cb 78 	mr      r5,r25                                 
ffc16de8:	7f 06 c3 78 	mr      r6,r24                                 
ffc16dec:	38 e1 00 0c 	addi    r7,r1,12                               
ffc16df0:	39 01 00 08 	addi    r8,r1,8                                
ffc16df4:	48 00 b4 25 	bl      ffc22218 <rtems_rfs_dir_lookup_ino>    
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
ffc16df8:	7c 79 1b 79 	mr.     r25,r3                                 
ffc16dfc:	41 81 01 e4 	bgt-    ffc16fe0 <rtems_rfs_rtems_eval_path+0x340>
      }                                                               
      if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))    
        printf("rtems-rfs-rtems: eval-path: down: path:%s ino:%" PRId32 "\n", node, ino);
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
ffc16e00:	7f c3 f3 78 	mr      r3,r30                                 
ffc16e04:	38 81 00 10 	addi    r4,r1,16                               
ffc16e08:	4b ff d3 09 	bl      ffc14110 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc16e0c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc16e10:	41 81 01 d0 	bgt-    ffc16fe0 <rtems_rfs_rtems_eval_path+0x340><== NEVER TAKEN
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc16e14:	7f b9 eb 78 	mr      r25,r29                                
ffc16e18:	4b ff ff 14 	b       ffc16d2c <rtems_rfs_rtems_eval_path+0x8c>
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16e1c:	88 79 00 01 	lbz     r3,1(r25)                              
ffc16e20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16e24:	40 9e 01 58 	bne-    cr7,ffc16f7c <rtems_rfs_rtems_eval_path+0x2dc>
    {                                                                 
      if (*path)                                                      
ffc16e28:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc16e2c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc16e30:	40 9e 01 9c 	bne-    cr7,ffc16fcc <rtems_rfs_rtems_eval_path+0x32c><== NEVER TAKEN
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc16e34:	80 01 00 0c 	lwz     r0,12(r1)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc16e38:	38 81 00 10 	addi    r4,r1,16                               
ffc16e3c:	7f 83 e3 78 	mr      r3,r28                                 
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc16e40:	90 1c 00 00 	stw     r0,0(r28)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
ffc16e44:	80 01 00 08 	lwz     r0,8(r1)                               
ffc16e48:	90 1c 00 04 	stw     r0,4(r28)                              
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc16e4c:	48 00 06 75 	bl      ffc174c0 <rtems_rfs_rtems_set_handlers>
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc16e50:	38 81 00 10 	addi    r4,r1,16                               
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc16e54:	33 e3 ff ff 	addic   r31,r3,-1                              
ffc16e58:	7f ff f9 10 	subfe   r31,r31,r31                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc16e5c:	7f c3 f3 78 	mr      r3,r30                                 
ffc16e60:	4b ff d2 b1 	bl      ffc14110 <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);            
ffc16e64:	83 be 00 7c 	lwz     r29,124(r30)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16e68:	7f c3 f3 78 	mr      r3,r30                                 
ffc16e6c:	48 00 b0 dd 	bl      ffc21f48 <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);            
ffc16e70:	80 7d 00 00 	lwz     r3,0(r29)                              
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc16e74:	73 ff 00 05 	andi.   r31,r31,5                              
ffc16e78:	4b ff 6a a1 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16e7c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16e80:	40 82 00 60 	bne-    ffc16ee0 <rtems_rfs_rtems_eval_path+0x240><== NEVER TAKEN
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
ffc16e84:	80 01 00 64 	lwz     r0,100(r1)                             
ffc16e88:	7f e3 fb 78 	mr      r3,r31                                 
ffc16e8c:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc16e90:	7c 08 03 a6 	mtlr    r0                                     
ffc16e94:	83 01 00 40 	lwz     r24,64(r1)                             
ffc16e98:	83 21 00 44 	lwz     r25,68(r1)                             
ffc16e9c:	83 41 00 48 	lwz     r26,72(r1)                             
ffc16ea0:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc16ea4:	83 81 00 50 	lwz     r28,80(r1)                             
ffc16ea8:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc16eac:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc16eb0:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc16eb4:	38 21 00 60 	addi    r1,r1,96                               
ffc16eb8:	4e 80 00 20 	blr                                            
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
           (*path != '\0') && pathlen &&                              
ffc16ebc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc16ec0:	4b ff fe fc 	b       ffc16dbc <rtems_rfs_rtems_eval_path+0x11c><== NOT EXECUTED
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
ffc16ec4:	38 61 00 10 	addi    r3,r1,16                               
ffc16ec8:	38 80 00 01 	li      r4,1                                   
ffc16ecc:	48 00 05 b9 	bl      ffc17484 <rtems_rfs_rtems_eval_perms>  
      break;                                                          
                                                                      
    /*                                                                
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
ffc16ed0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16ed4:	41 9e 02 94 	beq-    cr7,ffc17168 <rtems_rfs_rtems_eval_path+0x4c8><== NEVER TAKEN
ffc16ed8:	88 79 00 00 	lbz     r3,0(r25)                              
ffc16edc:	4b ff fe 94 	b       ffc16d70 <rtems_rfs_rtems_eval_path+0xd0>
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16ee0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16ee4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16ee8:	48 00 06 e5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16eec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16ef0:	41 9e ff 94 	beq+    cr7,ffc16e84 <rtems_rfs_rtems_eval_path+0x1e4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16ef4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc16ef8:	48 00 55 15 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16efc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16f00:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16f04:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16f08:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16f0c:	48 01 29 95 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
ffc16f10:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc16f14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16f18:	82 e1 00 3c 	lwz     r23,60(r1)                             <== NOT EXECUTED
ffc16f1c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16f20:	83 01 00 40 	lwz     r24,64(r1)                             <== NOT EXECUTED
ffc16f24:	83 21 00 44 	lwz     r25,68(r1)                             <== NOT EXECUTED
ffc16f28:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc16f2c:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc16f30:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc16f34:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc16f38:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc16f3c:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc16f40:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc16f44:	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))                      
ffc16f48:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16f4c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16f50:	48 00 06 7d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16f54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16f58:	41 9e fd cc 	beq+    cr7,ffc16d24 <rtems_rfs_rtems_eval_path+0x84><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc16f5c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc16f60:	48 00 54 ad 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16f64:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16f68:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16f6c:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc16f70:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16f74:	48 01 29 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16f78:	4b ff fd ac 	b       ffc16d24 <rtems_rfs_rtems_eval_path+0x84><== NOT EXECUTED
                                                                      
    /*                                                                
     * If the node is the current directory and there is more path to come move
     * on it else we are at the inode we want.                        
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
ffc16f7c:	4b ff 34 69 	bl      ffc0a3e4 <rtems_filesystem_is_separator>
ffc16f80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16f84:	40 be fe a4 	bne-    cr7,ffc16e28 <rtems_rfs_rtems_eval_path+0x188><== NEVER TAKEN
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (node))                                  
ffc16f88:	88 19 00 00 	lbz     r0,0(r25)                              
ffc16f8c:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc16f90:	40 be fe 4c 	bne-    cr7,ffc16ddc <rtems_rfs_rtems_eval_path+0x13c><== NEVER TAKEN
ffc16f94:	88 19 00 01 	lbz     r0,1(r25)                              
ffc16f98:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc16f9c:	40 9e fe 40 	bne+    cr7,ffc16ddc <rtems_rfs_rtems_eval_path+0x13c><== NEVER TAKEN
ffc16fa0:	88 79 00 02 	lbz     r3,2(r25)                              
ffc16fa4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16fa8:	40 9e 00 a4 	bne-    cr7,ffc1704c <rtems_rfs_rtems_eval_path+0x3ac><== NEVER TAKEN
    {                                                                 
      /*                                                              
       * If we are at root inode of the file system we have a crossmount path.
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
ffc16fac:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc16fb0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc16fb4:	41 9e 01 3c 	beq-    cr7,ffc170f0 <rtems_rfs_rtems_eval_path+0x450>
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc16fb8:	7f c3 f3 78 	mr      r3,r30                                 
ffc16fbc:	38 81 00 10 	addi    r4,r1,16                               
ffc16fc0:	7f 65 db 78 	mr      r5,r27                                 
ffc16fc4:	38 c0 00 02 	li      r6,2                                   
ffc16fc8:	4b ff fe 24 	b       ffc16dec <rtems_rfs_rtems_eval_path+0x14c>
     */                                                               
    if (rtems_rfs_current_dir (node))                                 
    {                                                                 
      if (*path)                                                      
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc16fcc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc16fd0:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc16fd4:	4b ff d1 3d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc16fd8:	7f b9 eb 78 	mr      r25,r29                                <== NOT EXECUTED
ffc16fdc:	4b ff fd 50 	b       ffc16d2c <rtems_rfs_rtems_eval_path+0x8c><== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc16fe0:	38 81 00 10 	addi    r4,r1,16                               
ffc16fe4:	7f c3 f3 78 	mr      r3,r30                                 
ffc16fe8:	4b ff d1 29 	bl      ffc14110 <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);            
ffc16fec:	83 fe 00 7c 	lwz     r31,124(r30)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16ff0:	7f c3 f3 78 	mr      r3,r30                                 
ffc16ff4:	48 00 af 55 	bl      ffc21f48 <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);            
ffc16ff8:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc16ffc:	4b ff 69 1d 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17000:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc17004:	40 82 00 84 	bne-    ffc17088 <rtems_rfs_rtems_eval_path+0x3e8><== NEVER TAKEN
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
ffc17008:	48 01 17 b5 	bl      ffc287bc <__errno>                     
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
ffc1700c:	80 01 00 64 	lwz     r0,100(r1)                             
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
ffc17010:	3b e0 ff ff 	li      r31,-1                                 
ffc17014:	93 23 00 00 	stw     r25,0(r3)                              
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
ffc17018:	7c 08 03 a6 	mtlr    r0                                     
ffc1701c:	7f e3 fb 78 	mr      r3,r31                                 
ffc17020:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc17024:	83 01 00 40 	lwz     r24,64(r1)                             
ffc17028:	83 21 00 44 	lwz     r25,68(r1)                             
ffc1702c:	83 41 00 48 	lwz     r26,72(r1)                             
ffc17030:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc17034:	83 81 00 50 	lwz     r28,80(r1)                             
ffc17038:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc1703c:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc17040:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc17044:	38 21 00 60 	addi    r1,r1,96                               
ffc17048:	4e 80 00 20 	blr                                            
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (node))                                  
ffc1704c:	4b ff 33 99 	bl      ffc0a3e4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc17050:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17054:	41 be fd 88 	beq-    cr7,ffc16ddc <rtems_rfs_rtems_eval_path+0x13c><== NOT EXECUTED
ffc17058:	4b ff ff 54 	b       ffc16fac <rtems_rfs_rtems_eval_path+0x30c><== 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);            
ffc1705c:	83 fe 00 7c 	lwz     r31,124(r30)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc17060:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc17064:	48 00 ae e5 	bl      ffc21f48 <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);            
ffc17068:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc1706c:	4b ff 68 ad 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17070:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc17074:	40 82 00 48 	bne-    ffc170bc <rtems_rfs_rtems_eval_path+0x41c><== NOT EXECUTED
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: opening inode", rc);  
ffc17078:	48 01 17 45 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc1707c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc17080:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc17084:	4b ff fe 00 	b       ffc16e84 <rtems_rfs_rtems_eval_path+0x1e4><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc17088:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1708c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17090:	48 00 05 3d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc17094:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17098:	41 9e ff 70 	beq+    cr7,ffc17008 <rtems_rfs_rtems_eval_path+0x368><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc1709c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc170a0:	48 00 53 6d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc170a4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc170a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc170ac:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc170b0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc170b4:	48 01 27 ed 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc170b8:	4b ff ff 50 	b       ffc17008 <rtems_rfs_rtems_eval_path+0x368><== 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))                      
ffc170bc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc170c0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc170c4:	48 00 05 09 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc170c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc170cc:	41 9e ff ac 	beq+    cr7,ffc17078 <rtems_rfs_rtems_eval_path+0x3d8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc170d0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc170d4:	48 00 53 39 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc170d8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc170dc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc170e0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc170e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc170e8:	48 01 27 b9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc170ec:	4b ff ff 8c 	b       ffc17078 <rtems_rfs_rtems_eval_path+0x3d8><== NOT EXECUTED
      if (ino == RTEMS_RFS_ROOT_INO)                                  
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
ffc170f0:	38 81 00 10 	addi    r4,r1,16                               
ffc170f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc170f8:	4b ff d0 19 	bl      ffc14110 <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);            
ffc170fc:	83 7e 00 7c 	lwz     r27,124(r30)                           
  rtems_rfs_buffers_release (fs);                                     
ffc17100:	7f c3 f3 78 	mr      r3,r30                                 
ffc17104:	48 00 ae 45 	bl      ffc21f48 <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);            
ffc17108:	80 7b 00 00 	lwz     r3,0(r27)                              
ffc1710c:	4b ff 68 0d 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17110:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc17114:	40 82 00 90 	bne-    ffc171a4 <rtems_rfs_rtems_eval_path+0x504><== NEVER TAKEN
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc17118:	81 3c 00 10 	lwz     r9,16(r28)                             
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc1711c:	7c 97 fa 14 	add     r4,r23,r31                             
ffc17120:	7c 77 e8 50 	subf    r3,r23,r29                             
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc17124:	81 69 00 14 	lwz     r11,20(r9)                             
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc17128:	7f 45 d3 78 	mr      r5,r26                                 
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc1712c:	80 09 00 10 	lwz     r0,16(r9)                              
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc17130:	7f 86 e3 78 	mr      r6,r28                                 
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc17134:	81 09 00 08 	lwz     r8,8(r9)                               
ffc17138:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1713c:	90 1c 00 08 	stw     r0,8(r28)                              
ffc17140:	91 1c 00 00 	stw     r8,0(r28)                              
ffc17144:	91 5c 00 04 	stw     r10,4(r28)                             
ffc17148:	91 7c 00 0c 	stw     r11,12(r28)                            
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc1714c:	80 0b 00 00 	lwz     r0,0(r11)                              
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc17150:	81 29 00 18 	lwz     r9,24(r9)                              
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc17154:	7c 09 03 a6 	mtctr   r0                                     
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))  
          printf("rtems-rfs-rtems: eval-path: crossmount: path:%s (%zd)\n",
                 path - node_len, pathlen + node_len);                
        rtems_rfs_inode_close (fs, &inode);                           
        rtems_rfs_rtems_unlock (fs);                                  
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc17158:	91 3c 00 10 	stw     r9,16(r28)                             
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc1715c:	4e 80 04 21 	bctrl                                          
ffc17160:	7c 7f 1b 78 	mr      r31,r3                                 
ffc17164:	4b ff fd 20 	b       ffc16e84 <rtems_rfs_rtems_eval_path+0x1e4>
     * If a directory the execute bit must be set for us to enter.    
     */                                                               
    if (RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)) &&      
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc17168:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc1716c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc17170:	4b ff cf a1 	bl      ffc14110 <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);            
ffc17174:	83 fe 00 7c 	lwz     r31,124(r30)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc17178:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1717c:	48 00 ad cd 	bl      ffc21f48 <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);            
ffc17180:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc17184:	4b ff 67 95 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17188:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc1718c:	40 82 00 4c 	bne-    ffc171d8 <rtems_rfs_rtems_eval_path+0x538><== NOT EXECUTED
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: eval perms", EACCES); 
ffc17190:	48 01 16 2d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc17194:	38 00 00 0d 	li      r0,13                                  <== NOT EXECUTED
ffc17198:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1719c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc171a0:	4b ff fc e4 	b       ffc16e84 <rtems_rfs_rtems_eval_path+0x1e4><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc171a4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc171a8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc171ac:	48 00 04 21 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc171b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc171b4:	41 9e ff 64 	beq+    cr7,ffc17118 <rtems_rfs_rtems_eval_path+0x478><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc171b8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc171bc:	48 00 52 51 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc171c0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc171c4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc171c8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc171cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc171d0:	48 01 26 d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc171d4:	4b ff ff 44 	b       ffc17118 <rtems_rfs_rtems_eval_path+0x478><== 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))                      
ffc171d8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc171dc:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc171e0:	48 00 03 ed 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc171e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc171e8:	41 9e ff a8 	beq+    cr7,ffc17190 <rtems_rfs_rtems_eval_path+0x4f0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc171ec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc171f0:	48 00 52 1d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc171f4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc171f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc171fc:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc17200:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17204:	48 01 26 9d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc17208:	4b ff ff 88 	b       ffc17190 <rtems_rfs_rtems_eval_path+0x4f0><== NOT EXECUTED
                                                                      

ffc1720c <rtems_rfs_rtems_fchmod>: } int rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc, mode_t mode) {
ffc1720c:	94 21 ff b8 	stwu    r1,-72(r1)                             <== NOT EXECUTED
ffc17210:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc17214:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc17218:	90 01 00 4c 	stw     r0,76(r1)                              <== 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);
ffc1721c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc17220:	81 63 00 10 	lwz     r11,16(r3)                             <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc,    
                        mode_t                            mode)       
{                                                                     
ffc17224:	93 e1 00 44 	stw     r31,68(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc17228:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc,    
                        mode_t                            mode)       
{                                                                     
ffc1722c:	93 c1 00 40 	stw     r30,64(r1)                             <== NOT EXECUTED
ffc17230:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
ffc17234:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc17238:	81 7f 00 7c 	lwz     r11,124(r31)                           <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc,    
                        mode_t                            mode)       
{                                                                     
ffc1723c:	93 81 00 38 	stw     r28,56(r1)                             <== NOT EXECUTED
ffc17240:	80 6b 00 00 	lwz     r3,0(r11)                              <== NOT EXECUTED
ffc17244:	93 a1 00 3c 	stw     r29,60(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);
ffc17248:	83 a9 00 00 	lwz     r29,0(r9)                              <== NOT EXECUTED
ffc1724c:	4b ff 65 41 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17250:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc17254:	40 82 00 f8 	bne-    ffc1734c <rtems_rfs_rtems_fchmod+0x140><== NOT EXECUTED
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc17258:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1725c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17260:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc17264:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc17268:	4b ff cc 49 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc1726c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc17270:	41 82 00 50 	beq-    ffc172c0 <rtems_rfs_rtems_fchmod+0xb4> <== 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);            
ffc17274:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc17278:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1727c:	48 00 ac cd 	bl      ffc21f48 <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);            
ffc17280:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc17284:	4b ff 66 95 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17288:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc1728c:	40 82 00 f4 	bne-    ffc17380 <rtems_rfs_rtems_fchmod+0x174><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
ffc17290:	48 01 15 2d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc17294:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc17298:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc1729c:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc172a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc172a4:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc172a8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc172ac:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc172b0:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc172b4:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc172b8:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc172bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
  }                                                                   
                                                                      
  imode = rtems_rfs_inode_get_mode (&inode);                          
ffc172c0:	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);
ffc172c4:	57 de 05 3e 	clrlwi  r30,r30,20                             <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc172c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc172cc:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc172d0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
  }                                                                   
#endif                                                                
                                                                      
  imode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc172d4:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          <== NOT EXECUTED
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc172d8:	7c 1e f3 78 	or      r30,r0,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);                    
ffc172dc:	57 c0 c2 3e 	rlwinm  r0,r30,24,8,31                         <== NOT EXECUTED
ffc172e0:	98 09 00 02 	stb     r0,2(r9)                               <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc172e4:	38 00 00 01 	li      r0,1                                   <== 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);                    
ffc172e8:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc172ec:	9b c9 00 03 	stb     r30,3(r9)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc172f0:	98 01 00 18 	stb     r0,24(r1)                              <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc172f4:	4b ff ce 1d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc172f8:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc172fc:	40 81 00 b8 	ble-    ffc173b4 <rtems_rfs_rtems_fchmod+0x1a8><== 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);            
ffc17300:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc17304:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17308:	48 00 ac 41 	bl      ffc21f48 <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);            
ffc1730c:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc17310:	4b ff 66 09 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17314:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc17318:	40 82 00 f0 	bne-    ffc17408 <rtems_rfs_rtems_fchmod+0x1fc><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
ffc1731c:	48 01 14 a1 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc17320:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
ffc17324:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc17328:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc1732c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17330:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17334:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc17338:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc1733c:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc17340:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc17344:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc17348:	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))                      
ffc1734c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17350:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17354:	48 00 02 79 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc17358:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1735c:	41 9e fe fc 	beq+    cr7,ffc17258 <rtems_rfs_rtems_fchmod+0x4c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc17360:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc17364:	48 00 50 a9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc17368:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1736c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17370:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc17374:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17378:	48 01 25 29 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc1737c:	4b ff fe dc 	b       ffc17258 <rtems_rfs_rtems_fchmod+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))                      
ffc17380:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17384:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17388:	48 00 02 45 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1738c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17390:	41 9e ff 00 	beq+    cr7,ffc17290 <rtems_rfs_rtems_fchmod+0x84><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc17394:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17398:	48 00 50 75 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1739c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc173a0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc173a4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc173a8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc173ac:	48 01 24 f5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc173b0:	4b ff fe e0 	b       ffc17290 <rtems_rfs_rtems_fchmod+0x84> <== 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);            
ffc173b4:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc173b8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc173bc:	48 00 ab 8d 	bl      ffc21f48 <rtems_rfs_buffers_release>   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc173c0:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc173c4:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc173c8:	4b ff 65 51 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc173cc:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc173d0:	41 82 fe cc 	beq+    ffc1729c <rtems_rfs_rtems_fchmod+0x90> <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc173d4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc173d8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc173dc:	48 00 01 f1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc173e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc173e4:	41 9e fe b8 	beq+    cr7,ffc1729c <rtems_rfs_rtems_fchmod+0x90><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc173e8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc173ec:	48 00 50 21 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc173f0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc173f4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc173f8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc173fc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17400:	48 01 24 a1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc17404:	4b ff fe 98 	b       ffc1729c <rtems_rfs_rtems_fchmod+0x90> <== 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))                      
ffc17408:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1740c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17410:	48 00 01 bd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc17414:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17418:	41 9e ff 04 	beq+    cr7,ffc1731c <rtems_rfs_rtems_fchmod+0x110><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc1741c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17420:	48 00 4f ed 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc17424:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc17428:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1742c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc17430:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17434:	48 01 24 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc17438:	4b ff fe e4 	b       ffc1731c <rtems_rfs_rtems_fchmod+0x110><== NOT EXECUTED
                                                                      

ffc1743c <rtems_rfs_rtems_fdatasync>: * @param iop * @return int */ int rtems_rfs_rtems_fdatasync (rtems_libio_t* iop) {
ffc1743c:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc17440:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc17444:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
ffc17448:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_fdatasync (rtems_libio_t* iop)                        
{                                                                     
ffc1744c:	93 e1 00 0c 	stw     r31,12(r1)                             <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
ffc17450:	80 69 00 34 	lwz     r3,52(r9)                              <== NOT EXECUTED
ffc17454:	48 00 aa 15 	bl      ffc21e68 <rtems_rfs_buffer_sync>       <== NOT EXECUTED
  if (rc)                                                             
ffc17458:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
ffc1745c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
rtems_rfs_rtems_fdatasync (rtems_libio_t* iop)                        
{                                                                     
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
  if (rc)                                                             
ffc17460:	41 a2 00 10 	beq+    ffc17470 <rtems_rfs_rtems_fdatasync+0x34><== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
ffc17464:	48 01 13 59 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc17468:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc1746c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc17470:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc17474:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc17478:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1747c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17480:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc27138 <rtems_rfs_rtems_file_close>: * @param iop * @return int */ static int rtems_rfs_rtems_file_close (rtems_libio_t* iop) {
ffc27138:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc2713c:	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);
ffc27140:	38 80 00 00 	li      r4,0                                   
ffc27144:	90 01 00 1c 	stw     r0,28(r1)                              
ffc27148:	38 a0 00 00 	li      r5,0                                   
ffc2714c:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc27150:	83 c3 00 20 	lwz     r30,32(r3)                             
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_close (rtems_libio_t* iop)                       
{                                                                     
ffc27154:	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);               
ffc27158:	81 3e 00 1c 	lwz     r9,28(r30)                             
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_close (rtems_libio_t* iop)                       
{                                                                     
ffc2715c:	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);               
ffc27160:	83 e9 00 98 	lwz     r31,152(r9)                            
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc27164:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc27168:	80 69 00 00 	lwz     r3,0(r9)                               
ffc2716c:	4b fe 66 21 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27170:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc27174:	40 82 00 60 	bne-    ffc271d4 <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);                               
ffc27178:	7f c4 f3 78 	mr      r4,r30                                 
ffc2717c:	7f e3 fb 78 	mr      r3,r31                                 
ffc27180:	4b ff ca fd 	bl      ffc23c7c <rtems_rfs_file_close>        
  if (rc > 0)                                                         
ffc27184:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc27188:	40 81 00 10 	ble-    ffc27198 <rtems_rfs_rtems_file_close+0x60><== ALWAYS TAKEN
    rc = rtems_rfs_rtems_error ("file-close: file close", rc);        
ffc2718c:	48 00 16 31 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc27190:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc27194:	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);            
ffc27198:	83 bf 00 7c 	lwz     r29,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc2719c:	7f e3 fb 78 	mr      r3,r31                                 
ffc271a0:	4b ff ad a9 	bl      ffc21f48 <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);            
ffc271a4:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc271a8:	4b fe 67 71 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc271ac:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc271b0:	40 82 00 58 	bne-    ffc27208 <rtems_rfs_rtems_file_close+0xd0><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return rc;                                                          
}                                                                     
ffc271b4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc271b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc271bc:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc271c0:	7c 08 03 a6 	mtlr    r0                                     
ffc271c4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc271c8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc271cc:	38 21 00 18 	addi    r1,r1,24                               
ffc271d0:	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))                      
ffc271d4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc271d8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc271dc:	4b ff 03 f1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc271e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc271e4:	41 9e ff 94 	beq+    cr7,ffc27178 <rtems_rfs_rtems_file_close+0x40><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc271e8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc271ec:	4b ff 52 21 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc271f0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc271f4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc271f8:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc271fc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27200:	48 00 26 a1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc27204:	4b ff ff 74 	b       ffc27178 <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))                      
ffc27208:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2720c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27210:	4b ff 03 bd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc27214:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc27218:	41 9e ff 9c 	beq+    cr7,ffc271b4 <rtems_rfs_rtems_file_close+0x7c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc2721c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc27220:	4b ff 51 ed 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc27224:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc27228:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2722c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc27230:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27234:	48 00 26 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc27238:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc2723c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc27240:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc27244:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27248:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc2724c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc27250:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc27254:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26fd4 <rtems_rfs_rtems_file_ftruncate>: * @return int */ static int rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop, rtems_off64_t length) {
ffc26fd4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc26fd8:	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);
ffc26fdc:	38 80 00 00 	li      r4,0                                   
ffc26fe0:	90 01 00 24 	stw     r0,36(r1)                              
ffc26fe4:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc26fe8:	83 e3 00 20 	lwz     r31,32(r3)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                rtems_off64_t  length)                
{                                                                     
ffc26fec:	93 c1 00 18 	stw     r30,24(r1)                             
ffc26ff0:	7c 7e 1b 78 	mr      r30,r3                                 
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%Ld\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
ffc26ff4:	81 3f 00 1c 	lwz     r9,28(r31)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                rtems_off64_t  length)                
{                                                                     
ffc26ff8:	93 81 00 10 	stw     r28,16(r1)                             
ffc26ffc:	7c bc 2b 78 	mr      r28,r5                                 
ffc27000:	38 a0 00 00 	li      r5,0                                   
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc27004:	81 29 00 98 	lwz     r9,152(r9)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                rtems_off64_t  length)                
{                                                                     
ffc27008:	93 61 00 0c 	stw     r27,12(r1)                             
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc2700c:	81 29 00 7c 	lwz     r9,124(r9)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                rtems_off64_t  length)                
{                                                                     
ffc27010:	93 a1 00 14 	stw     r29,20(r1)                             
ffc27014:	7c dd 33 78 	mr      r29,r6                                 
ffc27018:	80 69 00 00 	lwz     r3,0(r9)                               
ffc2701c:	4b fe 67 71 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27020:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc27024:	40 82 00 88 	bne-    ffc270ac <rtems_rfs_rtems_file_ftruncate+0xd8><== NEVER TAKEN
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%Ld\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
ffc27028:	7f 85 e3 78 	mr      r5,r28                                 
ffc2702c:	7f e3 fb 78 	mr      r3,r31                                 
ffc27030:	7f a6 eb 78 	mr      r6,r29                                 
ffc27034:	4b ff d6 85 	bl      ffc246b8 <rtems_rfs_file_set_size>     
  if (rc)                                                             
ffc27038:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2703c:	41 a2 00 10 	beq+    ffc2704c <rtems_rfs_rtems_file_ftruncate+0x78><== ALWAYS TAKEN
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
ffc27040:	48 00 17 7d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc27044:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc27048:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc2704c:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc27050:	80 64 00 98 	lwz     r3,152(r4)                             
ffc27054:	38 84 00 84 	addi    r4,r4,132                              
ffc27058:	4b ff 96 0d 	bl      ffc20664 <rtems_rfs_block_get_size>    
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc2705c:	81 3f 00 1c 	lwz     r9,28(r31)                             
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
  if (rc)                                                             
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc27060:	90 7e 00 08 	stw     r3,8(r30)                              
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc27064:	80 69 00 98 	lwz     r3,152(r9)                             
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
  if (rc)                                                             
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc27068:	90 9e 00 0c 	stw     r4,12(r30)                             
 * 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);            
ffc2706c:	83 e3 00 7c 	lwz     r31,124(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc27070:	4b ff ae d9 	bl      ffc21f48 <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);            
ffc27074:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc27078:	4b fe 68 a1 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2707c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc27080:	40 82 00 60 	bne-    ffc270e0 <rtems_rfs_rtems_file_ftruncate+0x10c><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return rc;                                                          
}                                                                     
ffc27084:	80 01 00 24 	lwz     r0,36(r1)                              
ffc27088:	7f 83 e3 78 	mr      r3,r28                                 
ffc2708c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc27090:	7c 08 03 a6 	mtlr    r0                                     
ffc27094:	83 81 00 10 	lwz     r28,16(r1)                             
ffc27098:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2709c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc270a0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc270a4:	38 21 00 20 	addi    r1,r1,32                               
ffc270a8:	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))                      
ffc270ac:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc270b0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc270b4:	4b ff 05 19 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc270b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc270bc:	41 9e ff 6c 	beq+    cr7,ffc27028 <rtems_rfs_rtems_file_ftruncate+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc270c0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc270c4:	4b ff 53 49 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc270c8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc270cc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc270d0:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc270d4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc270d8:	48 00 27 c9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc270dc:	4b ff ff 4c 	b       ffc27028 <rtems_rfs_rtems_file_ftruncate+0x54><== 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))                      
ffc270e0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc270e4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc270e8:	4b ff 04 e5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc270ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc270f0:	41 9e ff 94 	beq+    cr7,ffc27084 <rtems_rfs_rtems_file_ftruncate+0xb0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc270f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc270f8:	4b ff 53 15 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc270fc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc27100:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27104:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc27108:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2710c:	48 00 27 95 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc27110:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc27114:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc27118:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc2711c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27120:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc27124:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc27128:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc2712c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc27130:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc27134:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26d58 <rtems_rfs_rtems_file_ioctl>: static int rtems_rfs_rtems_file_ioctl (rtems_libio_t* iop, uint32_t command, void* buffer) { return 0; }
ffc26d58:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26d5c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc27560 <rtems_rfs_rtems_file_lseek>: */ static rtems_off64_t rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) {
ffc27560:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc27564:	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);
ffc27568:	38 80 00 00 	li      r4,0                                   
ffc2756c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc27570:	38 a0 00 00 	li      r5,0                                   
ffc27574:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc27578:	83 e3 00 20 	lwz     r31,32(r3)                             
 */                                                                   
static rtems_off64_t                                                  
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            rtems_off64_t  offset,                    
                            int            whence)                    
{                                                                     
ffc2757c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc27580:	7c 7e 1b 78 	mr      r30,r3                                 
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
ffc27584:	81 3f 00 1c 	lwz     r9,28(r31)                             
 */                                                                   
static rtems_off64_t                                                  
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            rtems_off64_t  offset,                    
                            int            whence)                    
{                                                                     
ffc27588:	93 a1 00 1c 	stw     r29,28(r1)                             
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc2758c:	81 29 00 98 	lwz     r9,152(r9)                             
ffc27590:	81 29 00 7c 	lwz     r9,124(r9)                             
ffc27594:	80 69 00 00 	lwz     r3,0(r9)                               
ffc27598:	4b fe 61 f5 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2759c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc275a0:	40 82 00 ac 	bne-    ffc2764c <rtems_rfs_rtems_file_lseek+0xec><== NEVER TAKEN
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
ffc275a4:	80 be 00 10 	lwz     r5,16(r30)                             
ffc275a8:	7c 27 0b 78 	mr      r7,r1                                  
ffc275ac:	80 de 00 14 	lwz     r6,20(r30)                             
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
ffc275b0:	7f e3 fb 78 	mr      r3,r31                                 
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%Ld\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
ffc275b4:	94 a7 00 08 	stwu    r5,8(r7)                               
ffc275b8:	90 c7 00 04 	stw     r6,4(r7)                               
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
ffc275bc:	4b ff d0 09 	bl      ffc245c4 <rtems_rfs_file_seek>         
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
ffc275c0:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
  if (rc)                                                             
ffc275c4:	7c 7d 1b 79 	mr.     r29,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
ffc275c8:	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);            
ffc275cc:	83 e3 00 7c 	lwz     r31,124(r3)                            
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
  if (rc)                                                             
ffc275d0:	41 82 00 44 	beq-    ffc27614 <rtems_rfs_rtems_file_lseek+0xb4><== ALWAYS TAKEN
  rtems_rfs_buffers_release (fs);                                     
ffc275d4:	4b ff a9 75 	bl      ffc21f48 <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);            
ffc275d8:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc275dc:	4b fe 63 3d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc275e0:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc275e4:	40 82 00 d0 	bne-    ffc276b4 <rtems_rfs_rtems_file_lseek+0x154><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
    return rtems_rfs_rtems_error ("file_lseek: lseek", rc);           
ffc275e8:	48 00 11 d5 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return iop->offset;                                                 
}                                                                     
ffc275ec:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
                                                                      
  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_lseek: lseek", rc);           
ffc275f0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc275f4:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return iop->offset;                                                 
}                                                                     
ffc275f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
                                                                      
  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_lseek: lseek", rc);           
ffc275fc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return iop->offset;                                                 
}                                                                     
ffc27600:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc27604:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc27608:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc2760c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc27610:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc27614:	4b ff a9 35 	bl      ffc21f48 <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);            
ffc27618:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc2761c:	4b fe 62 fd 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27620:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc27624:	40 82 00 5c 	bne-    ffc27680 <rtems_rfs_rtems_file_lseek+0x120><== NEVER TAKEN
ffc27628:	80 01 00 2c 	lwz     r0,44(r1)                              
    return rtems_rfs_rtems_error ("file_lseek: lseek", rc);           
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return iop->offset;                                                 
ffc2762c:	80 7e 00 10 	lwz     r3,16(r30)                             
}                                                                     
ffc27630:	7c 08 03 a6 	mtlr    r0                                     
    return rtems_rfs_rtems_error ("file_lseek: lseek", rc);           
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return iop->offset;                                                 
ffc27634:	80 9e 00 14 	lwz     r4,20(r30)                             
}                                                                     
ffc27638:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc2763c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc27640:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc27644:	38 21 00 28 	addi    r1,r1,40                               
ffc27648:	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))                      
ffc2764c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27650:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27654:	4b fe ff 79 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc27658:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2765c:	41 9e ff 48 	beq+    cr7,ffc275a4 <rtems_rfs_rtems_file_lseek+0x44><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc27660:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc27664:	4b ff 4d a9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc27668:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2766c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27670:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc27674:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27678:	48 00 22 29 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2767c:	4b ff ff 28 	b       ffc275a4 <rtems_rfs_rtems_file_lseek+0x44><== 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))                      
ffc27680:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27684:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27688:	4b fe ff 45 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2768c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc27690:	41 9e ff 98 	beq+    cr7,ffc27628 <rtems_rfs_rtems_file_lseek+0xc8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc27694:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc27698:	4b ff 4d 75 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc2769c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc276a0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc276a4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc276a8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc276ac:	48 00 21 f5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc276b0:	4b ff ff 78 	b       ffc27628 <rtems_rfs_rtems_file_lseek+0xc8><== 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))                      
ffc276b4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc276b8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc276bc:	4b fe ff 11 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc276c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc276c4:	41 9e ff 24 	beq+    cr7,ffc275e8 <rtems_rfs_rtems_file_lseek+0x88><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc276c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc276cc:	4b ff 4d 41 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc276d0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc276d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc276d8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc276dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc276e0:	48 00 21 c1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc276e4:	4b ff ff 04 	b       ffc275e8 <rtems_rfs_rtems_file_lseek+0x88><== NOT EXECUTED
                                                                      

ffc276e8 <rtems_rfs_rtems_file_open>: static int rtems_rfs_rtems_file_open (rtems_libio_t* iop, const char* pathname, uint32_t flag, uint32_t mode) {
ffc276e8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc276ec:	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);
ffc276f0:	38 80 00 00 	li      r4,0                                   
ffc276f4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc276f8:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc276fc:	81 23 00 2c 	lwz     r9,44(r3)                              
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           uint32_t       flag,                       
                           uint32_t       mode)                       
{                                                                     
ffc27700:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc27704:	83 e9 00 34 	lwz     r31,52(r9)                             
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           uint32_t       flag,                       
                           uint32_t       mode)                       
{                                                                     
ffc27708:	93 c1 00 20 	stw     r30,32(r1)                             
ffc2770c:	7c 7e 1b 78 	mr      r30,r3                                 
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc27710:	81 3f 00 7c 	lwz     r9,124(r31)                            
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           uint32_t       flag,                       
                           uint32_t       mode)                       
{                                                                     
ffc27714:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc27718:	80 69 00 00 	lwz     r3,0(r9)                               
ffc2771c:	4b fe 60 71 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27720:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc27724:	40 82 00 9c 	bne-    ffc277c0 <rtems_rfs_rtems_file_open+0xd8><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
ffc27728:	80 9e 00 1c 	lwz     r4,28(r30)                             
ffc2772c:	7f e3 fb 78 	mr      r3,r31                                 
ffc27730:	38 a0 00 00 	li      r5,0                                   
ffc27734:	38 c1 00 08 	addi    r6,r1,8                                
ffc27738:	4b ff c1 a1 	bl      ffc238d8 <rtems_rfs_file_open>         
  if (rc > 0)                                                         
ffc2773c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc27740:	40 81 00 cc 	ble-    ffc2780c <rtems_rfs_rtems_file_open+0x124><== 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);            
ffc27744:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc27748:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2774c:	4b ff a7 fd 	bl      ffc21f48 <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);            
ffc27750:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc27754:	4b fe 61 c5 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27758:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc2775c:	40 82 00 30 	bne-    ffc2778c <rtems_rfs_rtems_file_open+0xa4><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("file-open: open", rc);             
ffc27760:	48 00 10 5d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc27764:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc27768:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
  iop->size = rtems_rfs_file_size (file);                             
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc2776c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc27770:	7f e3 fb 78 	mr      r3,r31                                 
ffc27774:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc27778:	7c 08 03 a6 	mtlr    r0                                     
ffc2777c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc27780:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc27784:	38 21 00 28 	addi    r1,r1,40                               
ffc27788:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc2778c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27790:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27794:	4b fe fe 39 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc27798:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2779c:	41 9e ff c4 	beq+    cr7,ffc27760 <rtems_rfs_rtems_file_open+0x78><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc277a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc277a4:	4b ff 4c 69 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc277a8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc277ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc277b0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc277b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc277b8:	48 00 20 e9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc277bc:	4b ff ff a4 	b       ffc27760 <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))                      
ffc277c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc277c4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc277c8:	4b fe fe 05 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc277cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc277d0:	41 9e ff 58 	beq+    cr7,ffc27728 <rtems_rfs_rtems_file_open+0x40><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc277d4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc277d8:	4b ff 4c 35 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc277dc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc277e0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc277e4:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc277e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc277ec:	48 00 20 b5 	bl      ffc298a0 <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);                   
ffc277f0:	80 9e 00 1c 	lwz     r4,28(r30)                             <== NOT EXECUTED
ffc277f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc277f8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc277fc:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc27800:	4b ff c0 d9 	bl      ffc238d8 <rtems_rfs_file_open>         <== NOT EXECUTED
  if (rc > 0)                                                         
ffc27804:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc27808:	41 81 ff 3c 	bgt+    ffc27744 <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);                
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc2780c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc27810:	80 89 00 1c 	lwz     r4,28(r9)                              
ffc27814:	80 64 00 98 	lwz     r3,152(r4)                             
ffc27818:	38 84 00 84 	addi    r4,r4,132                              
ffc2781c:	4b ff 8e 49 	bl      ffc20664 <rtems_rfs_block_get_size>    
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
ffc27820:	80 01 00 08 	lwz     r0,8(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);            
ffc27824:	83 bf 00 7c 	lwz     r29,124(r31)                           
  }                                                                   
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc27828:	90 7e 00 08 	stw     r3,8(r30)                              
  rtems_rfs_buffers_release (fs);                                     
ffc2782c:	7f e3 fb 78 	mr      r3,r31                                 
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc27830:	3b e0 00 00 	li      r31,0                                  
  }                                                                   
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc27834:	90 9e 00 0c 	stw     r4,12(r30)                             
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
ffc27838:	90 1e 00 20 	stw     r0,32(r30)                             
ffc2783c:	4b ff a7 0d 	bl      ffc21f48 <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);            
ffc27840:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc27844:	4b fe 60 d5 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27848:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc2784c:	41 82 ff 20 	beq+    ffc2776c <rtems_rfs_rtems_file_open+0x84><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc27850:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27854:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27858:	4b fe fd 75 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2785c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc27860:	41 9e ff 0c 	beq+    cr7,ffc2776c <rtems_rfs_rtems_file_open+0x84><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc27864:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc27868:	4b ff 4b a5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc2786c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc27870:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27874:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc27878:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2787c:	48 00 20 25 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc27880:	4b ff fe ec 	b       ffc2776c <rtems_rfs_rtems_file_open+0x84><== NOT EXECUTED
                                                                      

ffc26d60 <rtems_rfs_rtems_file_read>: */ static ssize_t rtems_rfs_rtems_file_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc26d60:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc26d64:	7c 08 02 a6 	mflr    r0                                     
ffc26d68:	90 01 00 34 	stw     r0,52(r1)                              
ffc26d6c:	93 c1 00 28 	stw     r30,40(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc26d70:	83 c3 00 20 	lwz     r30,32(r3)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc26d74:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc26d78:	7c 7f 1b 78 	mr      r31,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));                    
ffc26d7c:	81 3e 00 1c 	lwz     r9,28(r30)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc26d80:	93 81 00 20 	stw     r28,32(r1)                             
ffc26d84:	7c 9c 23 78 	mr      r28,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);
ffc26d88:	38 80 00 00 	li      r4,0                                   
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc26d8c:	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)                      
{                                                                     
ffc26d90:	93 a1 00 24 	stw     r29,36(r1)                             
ffc26d94:	7c bd 2b 78 	mr      r29,r5                                 
ffc26d98:	38 a0 00 00 	li      r5,0                                   
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc26d9c:	81 29 00 7c 	lwz     r9,124(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc26da0:	93 61 00 1c 	stw     r27,28(r1)                             
ffc26da4:	80 69 00 00 	lwz     r3,0(r9)                               
ffc26da8:	93 41 00 18 	stw     r26,24(r1)                             
ffc26dac:	4b fe 69 e1 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26db0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc26db4:	40 82 01 dc 	bne-    ffc26f90 <rtems_rfs_rtems_file_read+0x230><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc26db8:	80 9e 00 1c 	lwz     r4,28(r30)                             
  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;                                                  
ffc26dbc:	83 7f 00 10 	lwz     r27,16(r31)                            
ffc26dc0:	80 64 00 98 	lwz     r3,152(r4)                             
ffc26dc4:	38 84 00 84 	addi    r4,r4,132                              
ffc26dc8:	83 ff 00 14 	lwz     r31,20(r31)                            
ffc26dcc:	4b ff 98 99 	bl      ffc20664 <rtems_rfs_block_get_size>    
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc26dd0:	7f 83 d8 40 	cmplw   cr7,r3,r27                             
ffc26dd4:	40 9d 01 2c 	ble-    cr7,ffc26f00 <rtems_rfs_rtems_file_read+0x1a0><== ALWAYS TAKEN
  {                                                                   
    while (count)                                                     
ffc26dd8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc26ddc:	3b 60 00 00 	li      r27,0                                  
ffc26de0:	40 be 00 50 	bne+    cr7,ffc26e30 <rtems_rfs_rtems_file_read+0xd0><== ALWAYS TAKEN
ffc26de4:	48 00 00 d0 	b       ffc26eb4 <rtems_rfs_rtems_file_read+0x154><== NOT EXECUTED
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26de8:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc26dec:	7f 83 e3 78 	mr      r3,r28                                 
ffc26df0:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc26df4:	7f e5 fb 78 	mr      r5,r31                                 
ffc26df8:	80 89 00 24 	lwz     r4,36(r9)                              
      }                                                               
                                                                      
      if (size == 0)                                                  
        break;                                                        
                                                                      
      if (size > count)                                               
ffc26dfc:	7f bf e8 50 	subf    r29,r31,r29                            
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
ffc26e00:	7f 9c fa 14 	add     r28,r28,r31                            
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26e04:	7c 84 02 14 	add     r4,r4,r0                               
ffc26e08:	48 00 26 f1 	bl      ffc294f8 <memcpy>                      
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
ffc26e0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc26e10:	7f e4 fb 78 	mr      r4,r31                                 
ffc26e14:	38 a0 00 01 	li      r5,1                                   
ffc26e18:	4b ff d4 59 	bl      ffc24270 <rtems_rfs_file_io_end>       
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
ffc26e1c:	7f 7f da 14 	add     r27,r31,r27                            
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26e20:	7c 7a 1b 79 	mr.     r26,r3                                 
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc26e24:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26e28:	41 81 00 80 	bgt-    ffc26ea8 <rtems_rfs_rtems_file_read+0x148><== NEVER TAKEN
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc26e2c:	41 9e 00 88 	beq-    cr7,ffc26eb4 <rtems_rfs_rtems_file_read+0x154><== ALWAYS TAKEN
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
ffc26e30:	38 81 00 08 	addi    r4,r1,8                                
ffc26e34:	38 a0 00 01 	li      r5,1                                   
ffc26e38:	7f c3 f3 78 	mr      r3,r30                                 
ffc26e3c:	4b ff d1 d9 	bl      ffc24014 <rtems_rfs_file_io_start>     
      if (rc > 0)                                                     
ffc26e40:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26e44:	41 81 01 80 	bgt-    ffc26fc4 <rtems_rfs_rtems_file_read+0x264><== NEVER TAKEN
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
ffc26e48:	83 e1 00 08 	lwz     r31,8(r1)                              
ffc26e4c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
        break;                                                        
                                                                      
      if (size > count)                                               
ffc26e50:	7f 1f e8 40 	cmplw   cr6,r31,r29                            
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
ffc26e54:	41 9e 00 60 	beq-    cr7,ffc26eb4 <rtems_rfs_rtems_file_read+0x154><== NEVER TAKEN
        break;                                                        
                                                                      
      if (size > count)                                               
ffc26e58:	40 b9 ff 90 	ble-    cr6,ffc26de8 <rtems_rfs_rtems_file_read+0x88><== ALWAYS TAKEN
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26e5c:	81 3e 00 0c 	lwz     r9,12(r30)                             <== NOT EXECUTED
                                                                      
      if (size == 0)                                                  
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
ffc26e60:	7f bf eb 78 	mr      r31,r29                                <== NOT EXECUTED
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26e64:	80 1e 00 14 	lwz     r0,20(r30)                             <== NOT EXECUTED
ffc26e68:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26e6c:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc26e70:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
                                                                      
      if (size == 0)                                                  
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
ffc26e74:	93 a1 00 08 	stw     r29,8(r1)                              <== NOT EXECUTED
ffc26e78:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26e7c:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc26e80:	48 00 26 79 	bl      ffc294f8 <memcpy>                      <== NOT EXECUTED
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
ffc26e84:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26e88:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc26e8c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc26e90:	4b ff d3 e1 	bl      ffc24270 <rtems_rfs_file_io_end>       <== NOT EXECUTED
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
ffc26e94:	7f 9c fa 14 	add     r28,r28,r31                            <== NOT EXECUTED
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26e98:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc26e9c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
ffc26ea0:	7f 7f da 14 	add     r27,r31,r27                            <== NOT EXECUTED
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26ea4:	40 81 ff 88 	ble+    ffc26e2c <rtems_rfs_rtems_file_read+0xcc><== NOT EXECUTED
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-end", rc); 
ffc26ea8:	48 00 19 15 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26eac:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc26eb0:	93 43 00 00 	stw     r26,0(r3)                              <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26eb4:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc26eb8:	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);            
ffc26ebc:	83 e3 00 7c 	lwz     r31,124(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26ec0:	4b ff b0 89 	bl      ffc21f48 <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);            
ffc26ec4:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc26ec8:	4b fe 6a 51 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26ecc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26ed0:	40 82 00 64 	bne-    ffc26f34 <rtems_rfs_rtems_file_read+0x1d4><== NEVER TAKEN
                                                                      
  return read;                                                        
}                                                                     
ffc26ed4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc26ed8:	7f 63 db 78 	mr      r3,r27                                 
ffc26edc:	83 41 00 18 	lwz     r26,24(r1)                             
ffc26ee0:	7c 08 03 a6 	mtlr    r0                                     
ffc26ee4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc26ee8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc26eec:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc26ef0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc26ef4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc26ef8:	38 21 00 30 	addi    r1,r1,48                               
ffc26efc:	4e 80 00 20 	blr                                            
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc26f00:	7f 83 d8 00 	cmpw    cr7,r3,r27                             
ffc26f04:	40 9e 00 0c 	bne-    cr7,ffc26f10 <rtems_rfs_rtems_file_read+0x1b0><== NEVER TAKEN
ffc26f08:	7f 84 f8 40 	cmplw   cr7,r4,r31                             
ffc26f0c:	41 9d fe cc 	bgt+    cr7,ffc26dd8 <rtems_rfs_rtems_file_read+0x78><== ALWAYS TAKEN
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26f10:	81 3e 00 1c 	lwz     r9,28(r30)                             <== NOT EXECUTED
                           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;                                    
ffc26f14:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26f18:	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);            
ffc26f1c:	83 e3 00 7c 	lwz     r31,124(r3)                            <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26f20:	4b ff b0 29 	bl      ffc21f48 <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);            
ffc26f24:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc26f28:	4b fe 69 f1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26f2c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26f30:	41 82 ff a4 	beq+    ffc26ed4 <rtems_rfs_rtems_file_read+0x174><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26f34:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26f38:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26f3c:	4b ff 06 91 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26f44:	41 9e ff 90 	beq+    cr7,ffc26ed4 <rtems_rfs_rtems_file_read+0x174><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26f48:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26f4c:	4b ff 54 c1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26f50:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26f54:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26f58:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc26f5c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26f60:	48 00 29 41 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
  return read;                                                        
}                                                                     
ffc26f64:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc26f68:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc26f6c:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc26f70:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26f74:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc26f78:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc26f7c:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc26f80:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc26f84:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc26f88:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc26f8c:	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))                      
ffc26f90:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26f94:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26f98:	4b ff 06 35 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc26f9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26fa0:	41 9e fe 18 	beq+    cr7,ffc26db8 <rtems_rfs_rtems_file_read+0x58><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26fa4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc26fa8:	4b ff 54 65 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc26fac:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26fb0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26fb4:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc26fb8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26fbc:	48 00 28 e5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc26fc0:	4b ff fd f8 	b       ffc26db8 <rtems_rfs_rtems_file_read+0x58><== 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);
ffc26fc4:	48 00 17 f9 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc26fc8:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
ffc26fcc:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc26fd0:	4b ff fe e4 	b       ffc26eb4 <rtems_rfs_rtems_file_read+0x154><== NOT EXECUTED
                                                                      

ffc27258 <rtems_rfs_rtems_file_write>: */ static ssize_t rtems_rfs_rtems_file_write (rtems_libio_t* iop, const void* buffer, size_t count) {
ffc27258:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc2725c:	7c 08 02 a6 	mflr    r0                                     
ffc27260:	90 01 00 3c 	stw     r0,60(r1)                              
ffc27264:	93 c1 00 30 	stw     r30,48(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc27268:	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)                     
{                                                                     
ffc2726c:	93 61 00 24 	stw     r27,36(r1)                             
ffc27270:	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));                    
ffc27274:	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)                     
{                                                                     
ffc27278:	93 41 00 20 	stw     r26,32(r1)                             
ffc2727c:	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);
ffc27280:	38 80 00 00 	li      r4,0                                   
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc27284:	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)                     
{                                                                     
ffc27288:	93 e1 00 34 	stw     r31,52(r1)                             
ffc2728c:	7c bf 2b 78 	mr      r31,r5                                 
ffc27290:	38 a0 00 00 	li      r5,0                                   
  .fpathconf_h = rtems_filesystem_default_fpathconf,                  
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl,                      
  .rmnod_h     = rtems_rfs_rtems_rmnod                                
};                                                                    
ffc27294:	81 29 00 7c 	lwz     r9,124(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc27298:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc2729c:	80 69 00 00 	lwz     r3,0(r9)                               
ffc272a0:	93 21 00 1c 	stw     r25,28(r1)                             
ffc272a4:	93 81 00 28 	stw     r28,40(r1)                             
ffc272a8:	4b fe 64 e5 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc272ac:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc272b0:	40 82 01 7c 	bne-    ffc2742c <rtems_rfs_rtems_file_write+0x1d4><== NEVER TAKEN
   * size of file we are still past the end of the file as positions number
   * from 0. For a specific position we need a file that has a length of one
   * more.                                                            
   */                                                                 
                                                                      
  if (pos >= rtems_rfs_file_size (file))                              
ffc272b4:	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;                                                  
ffc272b8:	83 9b 00 10 	lwz     r28,16(r27)                            
ffc272bc:	80 69 00 98 	lwz     r3,152(r9)                             
ffc272c0:	38 89 00 84 	addi    r4,r9,132                              
ffc272c4:	83 bb 00 14 	lwz     r29,20(r27)                            
ffc272c8:	4b ff 93 9d 	bl      ffc20664 <rtems_rfs_block_get_size>    
   * size of file we are still past the end of the file as positions number
   * from 0. For a specific position we need a file that has a length of one
   * more.                                                            
   */                                                                 
                                                                      
  if (pos >= rtems_rfs_file_size (file))                              
ffc272cc:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
ffc272d0:	41 9d 00 24 	bgt-    cr7,ffc272f4 <rtems_rfs_rtems_file_write+0x9c><== NEVER TAKEN
ffc272d4:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc272d8:	41 9e 01 28 	beq-    cr7,ffc27400 <rtems_rfs_rtems_file_write+0x1a8><== ALWAYS TAKEN
  {                                                                   
    rc = rtems_rfs_file_set_size (file, pos + 1);                     
ffc272dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc272e0:	30 dd 00 01 	addic   r6,r29,1                               
ffc272e4:	7c bc 01 94 	addze   r5,r28                                 
ffc272e8:	4b ff d3 d1 	bl      ffc246b8 <rtems_rfs_file_set_size>     
    if (rc)                                                           
ffc272ec:	7c 79 1b 79 	mr.     r25,r3                                 
ffc272f0:	40 82 01 d0 	bne-    ffc274c0 <rtems_rfs_rtems_file_write+0x268><== NEVER TAKEN
      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);                                
ffc272f4:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc272f8:	7f a6 eb 78 	mr      r6,r29                                 
ffc272fc:	7f 85 e3 78 	mr      r5,r28                                 
ffc27300:	80 69 00 98 	lwz     r3,152(r9)                             
ffc27304:	38 fe 00 10 	addi    r7,r30,16                              
                            size_t         count)                     
{                                                                     
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
  rtems_rfs_pos          pos;                                         
  const uint8_t*         data = buffer;                               
  ssize_t                write = 0;                                   
ffc27308:	3b a0 00 00 	li      r29,0                                  
      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);                                
ffc2730c:	4b ff 92 11 	bl      ffc2051c <rtems_rfs_block_get_bpos>    
                                                                      
  while (count)                                                       
ffc27310:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc27314:	41 9e 00 84 	beq-    cr7,ffc27398 <rtems_rfs_rtems_file_write+0x140>
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc27318:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
ffc2731c:	93 e1 00 08 	stw     r31,8(r1)                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc27320:	38 a0 00 00 	li      r5,0                                   
ffc27324:	7f c3 f3 78 	mr      r3,r30                                 
ffc27328:	4b ff cc ed 	bl      ffc24014 <rtems_rfs_file_io_start>     
    }                                                                 
                                                                      
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
ffc2732c:	7f 44 d3 78 	mr      r4,r26                                 
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
    if (rc)                                                           
ffc27330:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc27334:	40 82 01 e8 	bne-    ffc2751c <rtems_rfs_rtems_file_write+0x2c4><== NEVER TAKEN
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
      break;                                                          
    }                                                                 
                                                                      
    if (size > count)                                                 
ffc27338:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc2733c:	7f 85 f8 40 	cmplw   cr7,r5,r31                             
ffc27340:	40 9d 00 0c 	ble-    cr7,ffc2734c <rtems_rfs_rtems_file_write+0xf4><== NEVER TAKEN
      size = count;                                                   
ffc27344:	93 e1 00 08 	stw     r31,8(r1)                              
ffc27348:	7f e5 fb 78 	mr      r5,r31                                 
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
ffc2734c:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc27350:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc27354:	80 69 00 24 	lwz     r3,36(r9)                              
ffc27358:	7c 63 02 14 	add     r3,r3,r0                               
ffc2735c:	48 00 21 9d 	bl      ffc294f8 <memcpy>                      
                                                                      
    data  += size;                                                    
ffc27360:	83 81 00 08 	lwz     r28,8(r1)                              
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
ffc27364:	7f c3 f3 78 	mr      r3,r30                                 
ffc27368:	7f 84 e3 78 	mr      r4,r28                                 
ffc2736c:	38 a0 00 00 	li      r5,0                                   
ffc27370:	4b ff cf 01 	bl      ffc24270 <rtems_rfs_file_io_end>       
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
ffc27374:	7f fc f8 50 	subf    r31,r28,r31                            
    data  += size;                                                    
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
    if (rc)                                                           
ffc27378:	7c 79 1b 79 	mr.     r25,r3                                 
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
ffc2737c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
ffc27380:	7f 5a e2 14 	add     r26,r26,r28                            
    count -= size;                                                    
    write  += size;                                                   
ffc27384:	7f bd e2 14 	add     r29,r29,r28                            
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
    if (rc)                                                           
ffc27388:	41 82 ff 8c 	beq+    ffc27314 <rtems_rfs_rtems_file_write+0xbc><== ALWAYS TAKEN
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
ffc2738c:	48 00 14 31 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc27390:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc27394:	93 23 00 00 	stw     r25,0(r3)                              <== NOT EXECUTED
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc27398:	80 9e 00 1c 	lwz     r4,28(r30)                             
ffc2739c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc273a0:	38 84 00 84 	addi    r4,r4,132                              
ffc273a4:	4b ff 92 c1 	bl      ffc20664 <rtems_rfs_block_get_size>    
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc273a8:	81 3e 00 1c 	lwz     r9,28(r30)                             
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc273ac:	90 7b 00 08 	stw     r3,8(r27)                              
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc273b0:	80 69 00 98 	lwz     r3,152(r9)                             
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc273b4:	90 9b 00 0c 	stw     r4,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);            
ffc273b8:	83 e3 00 7c 	lwz     r31,124(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc273bc:	4b ff ab 8d 	bl      ffc21f48 <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);            
ffc273c0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc273c4:	4b fe 65 55 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc273c8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc273cc:	40 82 00 94 	bne-    ffc27460 <rtems_rfs_rtems_file_write+0x208><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc273d0:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc273d4:	7f a3 eb 78 	mr      r3,r29                                 
ffc273d8:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc273dc:	7c 08 03 a6 	mtlr    r0                                     
ffc273e0:	83 41 00 20 	lwz     r26,32(r1)                             
ffc273e4:	83 61 00 24 	lwz     r27,36(r1)                             
ffc273e8:	83 81 00 28 	lwz     r28,40(r1)                             
ffc273ec:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc273f0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc273f4:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc273f8:	38 21 00 38 	addi    r1,r1,56                               
ffc273fc:	4e 80 00 20 	blr                                            
   * size of file we are still past the end of the file as positions number
   * from 0. For a specific position we need a file that has a length of one
   * more.                                                            
   */                                                                 
                                                                      
  if (pos >= rtems_rfs_file_size (file))                              
ffc27400:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
ffc27404:	40 bd fe d8 	ble-    cr7,ffc272dc <rtems_rfs_rtems_file_write+0x84>
      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);                                
ffc27408:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc2740c:	7f a6 eb 78 	mr      r6,r29                                 
ffc27410:	7f 85 e3 78 	mr      r5,r28                                 
ffc27414:	80 69 00 98 	lwz     r3,152(r9)                             
ffc27418:	38 fe 00 10 	addi    r7,r30,16                              
                            size_t         count)                     
{                                                                     
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
  rtems_rfs_pos          pos;                                         
  const uint8_t*         data = buffer;                               
  ssize_t                write = 0;                                   
ffc2741c:	3b a0 00 00 	li      r29,0                                  
      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);                                
ffc27420:	4b ff 90 fd 	bl      ffc2051c <rtems_rfs_block_get_bpos>    
                                                                      
  while (count)                                                       
ffc27424:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc27428:	4b ff fe ec 	b       ffc27314 <rtems_rfs_rtems_file_write+0xbc>
#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))                      
ffc2742c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27430:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27434:	4b ff 01 99 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc27438:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2743c:	41 9e fe 78 	beq+    cr7,ffc272b4 <rtems_rfs_rtems_file_write+0x5c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc27440:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc27444:	4b ff 4f c9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc27448:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2744c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27450:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc27454:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27458:	48 00 24 49 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2745c:	4b ff fe 58 	b       ffc272b4 <rtems_rfs_rtems_file_write+0x5c><== 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))                      
ffc27460:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27464:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27468:	4b ff 01 65 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc2746c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc27470:	41 9e ff 60 	beq+    cr7,ffc273d0 <rtems_rfs_rtems_file_write+0x178><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc27474:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc27478:	4b ff 4f 95 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc2747c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc27480:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27484:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc27488:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2748c:	48 00 24 15 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  iop->size = rtems_rfs_file_size (file);                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc27490:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc27494:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc27498:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc2749c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc274a0:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc274a4:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc274a8:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc274ac:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc274b0:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc274b4:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc274b8:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc274bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (pos >= rtems_rfs_file_size (file))                              
  {                                                                   
    rc = rtems_rfs_file_set_size (file, pos + 1);                     
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
ffc274c0:	81 3e 00 1c 	lwz     r9,28(r30)                             <== NOT EXECUTED
ffc274c4:	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);            
ffc274c8:	83 e3 00 7c 	lwz     r31,124(r3)                            <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc274cc:	4b ff aa 7d 	bl      ffc21f48 <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);            
ffc274d0:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc274d4:	4b fe 64 45 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc274d8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc274dc:	40 82 00 50 	bne-    ffc2752c <rtems_rfs_rtems_file_write+0x2d4><== NOT EXECUTED
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
ffc274e0:	48 00 12 dd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  iop->size = rtems_rfs_file_size (file);                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc274e4:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
  {                                                                   
    rc = rtems_rfs_file_set_size (file, pos + 1);                     
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
ffc274e8:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc274ec:	93 23 00 00 	stw     r25,0(r3)                              <== NOT EXECUTED
  iop->size = rtems_rfs_file_size (file);                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc274f0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc274f4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc274f8:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc274fc:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc27500:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc27504:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc27508:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc2750c:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc27510:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc27514:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc27518:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
    if (rc)                                                           
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
ffc2751c:	48 00 12 a1 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc27520:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc27524:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc27528:	4b ff fe 70 	b       ffc27398 <rtems_rfs_rtems_file_write+0x140><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc2752c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc27530:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27534:	4b ff 00 99 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc27538:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2753c:	41 9e ff a4 	beq+    cr7,ffc274e0 <rtems_rfs_rtems_file_write+0x288><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc27540:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc27544:	4b ff 4e c9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc27548:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2754c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27550:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc27554:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27558:	48 00 23 49 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2755c:	4b ff ff 84 	b       ffc274e0 <rtems_rfs_rtems_file_write+0x288><== NOT EXECUTED
                                                                      

ffc15704 <rtems_rfs_rtems_fstat>: } int rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc, struct stat* buf) {
ffc15704:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc15708:	7c 08 02 a6 	mflr    r0                                     
ffc1570c:	7c 69 1b 78 	mr      r9,r3                                  
ffc15710:	90 01 00 4c 	stw     r0,76(r1)                              
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc15714:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc15718:	81 63 00 10 	lwz     r11,16(r3)                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc,     
                       struct stat*                      buf)         
{                                                                     
ffc1571c:	93 c1 00 40 	stw     r30,64(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc15720:	83 cb 00 34 	lwz     r30,52(r11)                            
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc,     
                       struct stat*                      buf)         
{                                                                     
ffc15724:	93 e1 00 44 	stw     r31,68(r1)                             
ffc15728:	7c 9f 23 78 	mr      r31,r4                                 
ffc1572c:	38 80 00 00 	li      r4,0                                   
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc15730:	81 7e 00 7c 	lwz     r11,124(r30)                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc,     
                       struct stat*                      buf)         
{                                                                     
ffc15734:	93 81 00 38 	stw     r28,56(r1)                             
ffc15738:	80 6b 00 00 	lwz     r3,0(r11)                              
ffc1573c:	93 a1 00 3c 	stw     r29,60(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc15740:	83 a9 00 00 	lwz     r29,0(r9)                              
ffc15744:	4b ff 80 49 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15748:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1574c:	40 82 02 64 	bne-    ffc159b0 <rtems_rfs_rtems_fstat+0x2ac> <== NEVER TAKEN
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc15750:	7f a4 eb 78 	mr      r4,r29                                 
ffc15754:	7f c3 f3 78 	mr      r3,r30                                 
ffc15758:	38 a1 00 08 	addi    r5,r1,8                                
ffc1575c:	38 c0 00 01 	li      r6,1                                   
ffc15760:	4b ff e7 51 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc15764:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc15768:	40 82 02 94 	bne-    ffc159fc <rtems_rfs_rtems_fstat+0x2f8> <== NEVER TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
  }                                                                   
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
ffc1576c:	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);                    
ffc15770:	88 69 00 02 	lbz     r3,2(r9)                               
ffc15774:	88 09 00 03 	lbz     r0,3(r9)                               
ffc15778:	54 63 40 2e 	rlwinm  r3,r3,8,0,23                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
ffc1577c:	7c 63 03 78 	or      r3,r3,r0                               
ffc15780:	54 60 04 26 	rlwinm  r0,r3,0,16,19                          
ffc15784:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc15788:	41 9e 01 cc 	beq-    cr7,ffc15954 <rtems_rfs_rtems_fstat+0x250><== NEVER TAKEN
ffc1578c:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc15790:	41 9e 01 c4 	beq-    cr7,ffc15954 <rtems_rfs_rtems_fstat+0x250><== 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);                         
ffc15794:	81 3e 00 0c 	lwz     r9,12(r30)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc15798:	80 01 00 10 	lwz     r0,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);                         
ffc1579c:	81 69 00 04 	lwz     r11,4(r9)                              
ffc157a0:	81 49 00 00 	lwz     r10,0(r9)                              
ffc157a4:	91 7f 00 04 	stw     r11,4(r31)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc157a8:	90 1f 00 08 	stw     r0,8(r31)                              
    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);                         
ffc157ac:	91 5f 00 00 	stw     r10,0(r31)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc157b0:	48 00 1e 19 	bl      ffc175c8 <rtems_rfs_rtems_mode>        
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc157b4:	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);                      
ffc157b8:	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);                  
ffc157bc:	88 09 00 00 	lbz     r0,0(r9)                               
ffc157c0:	89 69 00 01 	lbz     r11,1(r9)                              
ffc157c4:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc157c8:	7c 00 5b 78 	or      r0,r0,r11                              
  if (links == 0xffff)                                                
ffc157cc:	6c 0b ff ff 	xoris   r11,r0,65535                           
ffc157d0:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc157d4:	41 9e 02 dc 	beq-    cr7,ffc15ab0 <rtems_rfs_rtems_fstat+0x3ac><== NEVER TAKEN
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc157d8:	b0 1f 00 10 	sth     r0,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));
ffc157dc:	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;          
ffc157e0:	88 09 00 06 	lbz     r0,6(r9)                               
ffc157e4:	89 69 00 07 	lbz     r11,7(r9)                              
ffc157e8:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc157ec:	80 81 00 10 	lwz     r4,16(r1)                              
ffc157f0:	7c 00 5b 78 	or      r0,r0,r11                              
                                                                      
  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);                 
ffc157f4:	b0 1f 00 12 	sth     r0,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;  
ffc157f8:	88 09 00 05 	lbz     r0,5(r9)                               
ffc157fc:	89 69 00 04 	lbz     r11,4(r9)                              
ffc15800:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc15804:	55 69 c0 0e 	rlwinm  r9,r11,24,0,7                          
ffc15808:	7d 20 03 78 	or      r0,r9,r0                               
ffc1580c:	54 00 84 3e 	rlwinm  r0,r0,16,16,31                         
ffc15810:	b0 1f 00 14 	sth     r0,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));
ffc15814:	48 00 f2 19 	bl      ffc24a2c <rtems_rfs_file_get_shared>   
                                                                      
  if (shared)                                                         
ffc15818:	7c 64 1b 79 	mr.     r4,r3                                  
ffc1581c:	41 82 02 9c 	beq-    ffc15ab8 <rtems_rfs_rtems_fstat+0x3b4> <== ALWAYS TAKEN
    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))                                       
ffc15820:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc15824:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc15828:	60 00 a0 00 	ori     r0,r0,40960                            <== NOT EXECUTED
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
ffc1582c:	81 44 00 8c 	lwz     r10,140(r4)                            <== NOT EXECUTED
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc15830:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          <== NOT EXECUTED
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
ffc15834:	81 64 00 90 	lwz     r11,144(r4)                            <== NOT EXECUTED
    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))                                       
ffc15838:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
                                                                      
  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);       
ffc1583c:	81 24 00 94 	lwz     r9,148(r4)                             <== NOT EXECUTED
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
ffc15840:	80 04 00 84 	lwz     r0,132(r4)                             <== NOT EXECUTED
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
ffc15844:	91 5f 00 28 	stw     r10,40(r31)                            <== NOT EXECUTED
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
ffc15848:	91 7f 00 30 	stw     r11,48(r31)                            <== NOT EXECUTED
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
ffc1584c:	91 3f 00 38 	stw     r9,56(r31)                             <== NOT EXECUTED
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
ffc15850:	90 1f 00 44 	stw     r0,68(r31)                             <== NOT EXECUTED
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc15854:	41 9e 00 80 	beq-    cr7,ffc158d4 <rtems_rfs_rtems_fstat+0x1d0><== NOT EXECUTED
 */                                                                   
static inline rtems_rfs_pos                                           
rtems_rfs_file_shared_get_size (rtems_rfs_file_system* fs,            
                                rtems_rfs_file_shared* shared)        
{                                                                     
  return rtems_rfs_block_get_size (fs, &shared->size);                
ffc15858:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1585c:	38 84 00 84 	addi    r4,r4,132                              <== NOT EXECUTED
ffc15860:	48 00 ae 05 	bl      ffc20664 <rtems_rfs_block_get_size>    <== NOT EXECUTED
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
ffc15864:	90 7f 00 20 	stw     r3,32(r31)                             <== NOT EXECUTED
ffc15868:	90 9f 00 24 	stw     r4,36(r31)                             <== NOT EXECUTED
      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);                     
ffc1586c:	80 1e 00 08 	lwz     r0,8(r30)                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc15870:	7f c3 f3 78 	mr      r3,r30                                 
ffc15874:	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);                     
ffc15878:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1587c:	4b ff e8 95 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc15880:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc15884:	40 81 00 7c 	ble-    ffc15900 <rtems_rfs_rtems_fstat+0x1fc> <== 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);            
ffc15888:	83 be 00 7c 	lwz     r29,124(r30)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc1588c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15890:	48 00 c6 b9 	bl      ffc21f48 <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);            
ffc15894:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc15898:	4b ff 80 81 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1589c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc158a0:	40 82 01 a8 	bne-    ffc15a48 <rtems_rfs_rtems_fstat+0x344> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
ffc158a4:	48 01 2f 19 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc158a8:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc158ac:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc158b0:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc158b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc158b8:	83 81 00 38 	lwz     r28,56(r1)                             
ffc158bc:	7c 08 03 a6 	mtlr    r0                                     
ffc158c0:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc158c4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc158c8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc158cc:	38 21 00 48 	addi    r1,r1,72                               
ffc158d0:	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); 
ffc158d4:	a0 04 00 8a 	lhz     r0,138(r4)                             <== NOT EXECUTED
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc158d8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc158dc:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
ffc158e0:	90 1f 00 24 	stw     r0,36(r31)                             <== NOT EXECUTED
ffc158e4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc158e8:	90 1f 00 20 	stw     r0,32(r31)                             <== NOT EXECUTED
      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);                     
ffc158ec:	80 1e 00 08 	lwz     r0,8(r30)                              <== NOT EXECUTED
ffc158f0:	90 1f 00 40 	stw     r0,64(r31)                             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc158f4:	4b ff e8 1d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc158f8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc158fc:	41 81 ff 8c 	bgt+    ffc15888 <rtems_rfs_rtems_fstat+0x184> <== 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);            
ffc15900:	83 fe 00 7c 	lwz     r31,124(r30)                           
  rtems_rfs_buffers_release (fs);                                     
ffc15904:	7f c3 f3 78 	mr      r3,r30                                 
ffc15908:	48 00 c6 41 	bl      ffc21f48 <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);            
ffc1590c:	80 7f 00 00 	lwz     r3,0(r31)                              
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc15910:	3b e0 00 00 	li      r31,0                                  
ffc15914:	4b ff 80 05 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15918:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1591c:	41 82 ff 94 	beq+    ffc158b0 <rtems_rfs_rtems_fstat+0x1ac> <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15920:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15924:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15928:	48 00 1c a5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1592c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15930:	41 9e ff 80 	beq+    cr7,ffc158b0 <rtems_rfs_rtems_fstat+0x1ac><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15934:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15938:	48 00 6a d5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1593c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15940:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15944:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15948:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1594c:	48 01 3f 55 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15950:	4b ff ff 60 	b       ffc158b0 <rtems_rfs_rtems_fstat+0x1ac> <== 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]);      
ffc15954:	88 a9 00 20 	lbz     r5,32(r9)                              <== NOT EXECUTED
ffc15958:	88 09 00 21 	lbz     r0,33(r9)                              <== NOT EXECUTED
ffc1595c:	88 c9 00 1c 	lbz     r6,28(r9)                              <== NOT EXECUTED
ffc15960:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           <== NOT EXECUTED
ffc15964:	88 89 00 1d 	lbz     r4,29(r9)                              <== NOT EXECUTED
ffc15968:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1596c:	88 e9 00 23 	lbz     r7,35(r9)                              <== NOT EXECUTED
ffc15970:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           <== NOT EXECUTED
ffc15974:	89 49 00 22 	lbz     r10,34(r9)                             <== NOT EXECUTED
ffc15978:	7c a0 03 78 	or      r0,r5,r0                               <== NOT EXECUTED
ffc1597c:	89 09 00 1f 	lbz     r8,31(r9)                              <== NOT EXECUTED
ffc15980:	7c 00 3b 78 	or      r0,r0,r7                               <== NOT EXECUTED
ffc15984:	89 69 00 1e 	lbz     r11,30(r9)                             <== NOT EXECUTED
ffc15988:	54 89 80 1e 	rlwinm  r9,r4,16,0,15                          <== NOT EXECUTED
ffc1598c:	7c c9 4b 78 	or      r9,r6,r9                               <== NOT EXECUTED
ffc15990:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc15994:	7d 29 43 78 	or      r9,r9,r8                               <== NOT EXECUTED
ffc15998:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         <== NOT EXECUTED
ffc1599c:	7c 00 53 78 	or      r0,r0,r10                              <== NOT EXECUTED
ffc159a0:	7d 29 5b 78 	or      r9,r9,r11                              <== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
ffc159a4:	90 1f 00 1c 	stw     r0,28(r31)                             <== NOT EXECUTED
ffc159a8:	91 3f 00 18 	stw     r9,24(r31)                             <== NOT EXECUTED
ffc159ac:	4b ff fd e8 	b       ffc15794 <rtems_rfs_rtems_fstat+0x90>  <== 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))                      
ffc159b0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc159b4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc159b8:	48 00 1c 15 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc159bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc159c0:	41 9e fd 90 	beq+    cr7,ffc15750 <rtems_rfs_rtems_fstat+0x4c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc159c4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc159c8:	48 00 6a 45 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc159cc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc159d0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc159d4:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc159d8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc159dc:	48 01 3e c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc159e0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc159e4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc159e8:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc159ec:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc159f0:	4b ff e4 c1 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc159f4:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc159f8:	41 82 fd 74 	beq+    ffc1576c <rtems_rfs_rtems_fstat+0x68>  <== 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);            
ffc159fc:	83 fe 00 7c 	lwz     r31,124(r30)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15a00:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15a04:	48 00 c5 45 	bl      ffc21f48 <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);            
ffc15a08:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc15a0c:	4b ff 7f 0d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15a10:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15a14:	40 82 00 68 	bne-    ffc15a7c <rtems_rfs_rtems_fstat+0x378> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
ffc15a18:	48 01 2d a5 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc15a1c:	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 ("stat: opening inode", rc);         
ffc15a20:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15a24:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc15a28:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15a2c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15a30:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc15a34:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc15a38:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc15a3c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc15a40:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc15a44:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15a48:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15a4c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15a50:	48 00 1b 7d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15a54:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15a58:	41 9e fe 4c 	beq+    cr7,ffc158a4 <rtems_rfs_rtems_fstat+0x1a0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15a5c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15a60:	48 00 69 ad 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15a64:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15a68:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15a6c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15a70:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15a74:	48 01 3e 2d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15a78:	4b ff fe 2c 	b       ffc158a4 <rtems_rfs_rtems_fstat+0x1a0> <== 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))                      
ffc15a7c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15a80:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15a84:	48 00 1b 49 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15a88:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15a8c:	41 9e ff 8c 	beq+    cr7,ffc15a18 <rtems_rfs_rtems_fstat+0x314><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15a90:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15a94:	48 00 69 79 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15a98:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15a9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15aa0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15aa4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15aa8:	48 01 3d f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15aac:	4b ff ff 6c 	b       ffc15a18 <rtems_rfs_rtems_fstat+0x314> <== 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;                                                        
ffc15ab0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc15ab4:	4b ff fd 24 	b       ffc157d8 <rtems_rfs_rtems_fstat+0xd4>  <== NOT EXECUTED
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
ffc15ab8:	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))                                       
ffc15abc:	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);                   
ffc15ac0:	88 e9 00 10 	lbz     r7,16(r9)                              
ffc15ac4:	88 09 00 11 	lbz     r0,17(r9)                              
ffc15ac8:	55 4a 04 26 	rlwinm  r10,r10,0,16,19                        
ffc15acc:	89 09 00 13 	lbz     r8,19(r9)                              
ffc15ad0:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc15ad4:	89 69 00 12 	lbz     r11,18(r9)                             
ffc15ad8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc15adc:	7c e0 03 78 	or      r0,r7,r0                               
ffc15ae0:	7c 00 43 78 	or      r0,r0,r8                               
ffc15ae4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc15ae8:	7c 00 5b 78 	or      r0,r0,r11                              
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
ffc15aec:	90 1f 00 28 	stw     r0,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);                   
ffc15af0:	88 e9 00 14 	lbz     r7,20(r9)                              
ffc15af4:	88 09 00 15 	lbz     r0,21(r9)                              
ffc15af8:	89 09 00 17 	lbz     r8,23(r9)                              
ffc15afc:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc15b00:	89 69 00 16 	lbz     r11,22(r9)                             
ffc15b04:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc15b08:	7c e0 03 78 	or      r0,r7,r0                               
ffc15b0c:	7c 00 43 78 	or      r0,r0,r8                               
ffc15b10:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc15b14:	7c 00 5b 78 	or      r0,r0,r11                              
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
ffc15b18:	90 1f 00 30 	stw     r0,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);                   
ffc15b1c:	88 e9 00 18 	lbz     r7,24(r9)                              
ffc15b20:	88 09 00 19 	lbz     r0,25(r9)                              
ffc15b24:	89 09 00 1b 	lbz     r8,27(r9)                              
ffc15b28:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc15b2c:	89 69 00 1a 	lbz     r11,26(r9)                             
ffc15b30:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc15b34:	7c e0 03 78 	or      r0,r7,r0                               
ffc15b38:	7c 00 43 78 	or      r0,r0,r8                               
ffc15b3c:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc15b40:	7c 00 5b 78 	or      r0,r0,r11                              
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
ffc15b44:	90 1f 00 38 	stw     r0,56(r31)                             
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc15b48:	39 60 00 00 	li      r11,0                                  
ffc15b4c:	61 6b a0 00 	ori     r11,r11,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);             
ffc15b50:	89 09 00 0c 	lbz     r8,12(r9)                              
ffc15b54:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc15b58:	88 09 00 0d 	lbz     r0,13(r9)                              
ffc15b5c:	89 49 00 0f 	lbz     r10,15(r9)                             
ffc15b60:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc15b64:	89 69 00 0e 	lbz     r11,14(r9)                             
ffc15b68:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc15b6c:	7d 00 03 78 	or      r0,r8,r0                               
ffc15b70:	7c 00 53 78 	or      r0,r0,r10                              
ffc15b74:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc15b78:	7c 00 5b 78 	or      r0,r0,r11                              
  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);       
ffc15b7c:	90 1f 00 44 	stw     r0,68(r31)                             
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc15b80:	40 9e 00 20 	bne-    cr7,ffc15ba0 <rtems_rfs_rtems_fstat+0x49c>
 * @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);            
ffc15b84:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc15b88:	89 29 00 0b 	lbz     r9,11(r9)                              
ffc15b8c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
ffc15b90:	90 9f 00 20 	stw     r4,32(r31)                             
ffc15b94:	7c 00 4b 78 	or      r0,r0,r9                               
ffc15b98:	90 1f 00 24 	stw     r0,36(r31)                             
ffc15b9c:	4b ff fc d0 	b       ffc1586c <rtems_rfs_rtems_fstat+0x168> 
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
ffc15ba0:	7f c3 f3 78 	mr      r3,r30                                 
ffc15ba4:	38 81 00 08 	addi    r4,r1,8                                
ffc15ba8:	4b ff ed 55 	bl      ffc148fc <rtems_rfs_inode_get_size>    
ffc15bac:	90 7f 00 20 	stw     r3,32(r31)                             
ffc15bb0:	90 9f 00 24 	stw     r4,36(r31)                             
ffc15bb4:	4b ff fc b8 	b       ffc1586c <rtems_rfs_rtems_fstat+0x168> 
                                                                      

ffc16058 <rtems_rfs_rtems_initialise>: */ int rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry, const void* data) {
ffc16058:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1605c:	7c 08 02 a6 	mflr    r0                                     
ffc16060:	93 c1 00 20 	stw     r30,32(r1)                             
ffc16064:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  int                      rc;                                        
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
ffc16068:	38 60 00 04 	li      r3,4                                   
 */                                                                   
                                                                      
int                                                                   
rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry,
                            const void*                           data)
{                                                                     
ffc1606c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc16070:	90 01 00 2c 	stw     r0,44(r1)                              
ffc16074:	93 a1 00 1c 	stw     r29,28(r1)                             
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  int                      rc;                                        
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
ffc16078:	4b ff 2d 75 	bl      ffc08dec <malloc>                      
  if (!rtems)                                                         
ffc1607c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16080:	41 82 01 6c 	beq-    ffc161ec <rtems_rfs_rtems_initialise+0x194><== NEVER TAKEN
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
                                                                      
  memset (rtems, 0, sizeof (rtems_rfs_rtems_private));                
ffc16084:	38 00 00 00 	li      r0,0                                   
ffc16088:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
  rc = rtems_rfs_mutex_create (&rtems->access);                       
ffc1608c:	48 01 00 3d 	bl      ffc260c8 <rtems_rfs_mutex_create>      
  if (rc > 0)                                                         
ffc16090:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc16094:	40 81 00 38 	ble-    ffc160cc <rtems_rfs_rtems_initialise+0x74><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_open (mt_entry->dev, rtems, 0, &fs);              
  if (rc)                                                             
  {                                                                   
    free (rtems);                                                     
ffc16098:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1609c:	4b ff 24 45 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: open", rc);            
ffc160a0:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc160a4:	48 01 27 19 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc160a8:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc160ac:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc160b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc160b4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc160b8:	7c 08 03 a6 	mtlr    r0                                     
ffc160bc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc160c0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc160c4:	38 21 00 28 	addi    r1,r1,40                               
ffc160c8:	4e 80 00 20 	blr                                            
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc160cc:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc160d0:	38 80 00 00 	li      r4,0                                   
ffc160d4:	38 a0 00 00 	li      r5,0                                   
ffc160d8:	4b ff 76 b5 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc160dc:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc160e0:	40 82 00 98 	bne-    ffc16178 <rtems_rfs_rtems_initialise+0x120><== 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, 0, &fs);              
ffc160e4:	80 7e 00 70 	lwz     r3,112(r30)                            
ffc160e8:	7f e4 fb 78 	mr      r4,r31                                 
ffc160ec:	38 a0 00 00 	li      r5,0                                   
ffc160f0:	38 c1 00 08 	addi    r6,r1,8                                
ffc160f4:	48 00 e9 b5 	bl      ffc24aa8 <rtems_rfs_fs_open>           
  if (rc)                                                             
ffc160f8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc160fc:	40 a2 ff 9c 	bne-    ffc16098 <rtems_rfs_rtems_initialise+0x40><== NEVER TAKEN
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
ffc16100:	80 61 00 08 	lwz     r3,8(r1)                               
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
ffc16104:	38 00 00 01 	li      r0,1                                   
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
ffc16108:	3d 20 ff c4 	lis     r9,-60                                 
 * 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);            
ffc1610c:	83 e3 00 7c 	lwz     r31,124(r3)                            
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
ffc16110:	90 1e 00 1c 	stw     r0,28(r30)                             
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
ffc16114:	38 09 c0 c4 	addi    r0,r9,-16188                           
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
ffc16118:	3d 20 ff c4 	lis     r9,-60                                 
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
ffc1611c:	90 1e 00 24 	stw     r0,36(r30)                             
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
ffc16120:	38 09 a0 4c 	addi    r0,r9,-24500                           
ffc16124:	90 1e 00 28 	stw     r0,40(r30)                             
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
ffc16128:	90 7e 00 34 	stw     r3,52(r30)                             
  rtems_rfs_buffers_release (fs);                                     
ffc1612c:	48 00 be 1d 	bl      ffc21f48 <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);            
ffc16130:	80 7f 00 00 	lwz     r3,0(r31)                              
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc16134:	3b e0 00 00 	li      r31,0                                  
ffc16138:	4b ff 77 e1 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1613c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16140:	41 82 ff 6c 	beq+    ffc160ac <rtems_rfs_rtems_initialise+0x54><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16144:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16148:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1614c:	48 00 14 81 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16150:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16154:	41 9e ff 58 	beq+    cr7,ffc160ac <rtems_rfs_rtems_initialise+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16158:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1615c:	48 00 62 b1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16160:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16164:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16168:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1616c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16170:	48 01 37 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16174:	4b ff ff 38 	b       ffc160ac <rtems_rfs_rtems_initialise+0x54><== 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))                      
ffc16178:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1617c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16180:	48 00 14 4d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16184:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16188:	40 9e 00 44 	bne-    cr7,ffc161cc <rtems_rfs_rtems_initialise+0x174><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_mutex_lock (&rtems->access);                         
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_mutex_destroy (&rtems->access);                         
ffc1618c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16190:	48 00 ff e1 	bl      ffc26170 <rtems_rfs_mutex_destroy>     <== NOT EXECUTED
    free (rtems);                                                     
ffc16194:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16198:	4b ff 23 49 	bl      ffc084e0 <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
ffc1619c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc161a0:	48 01 26 1d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc161a4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc161a8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc161ac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc161b0:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc161b4:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc161b8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc161bc:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc161c0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc161c4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc161c8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc161cc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc161d0:	48 00 62 3d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc161d4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc161d8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc161dc:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc161e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc161e4:	48 01 36 bd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc161e8:	4b ff ff a4 	b       ffc1618c <rtems_rfs_rtems_initialise+0x134><== NOT EXECUTED
  rtems_rfs_file_system*   fs;                                        
  int                      rc;                                        
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
  if (!rtems)                                                         
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
ffc161ec:	48 01 25 d1 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc161f0:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc161f4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc161f8:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc161fc:	4b ff fe b0 	b       ffc160ac <rtems_rfs_rtems_initialise+0x54><== NOT EXECUTED
                                                                      

ffc14c0c <rtems_rfs_rtems_link>: */ static int rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc, rtems_filesystem_location_info_t* parent_loc, const char* name) {
ffc14c0c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc14c10:	7c 08 02 a6 	mflr    r0                                     
ffc14c14:	7c 69 1b 78 	mr      r9,r3                                  
ffc14c18:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
ffc14c1c:	81 63 00 10 	lwz     r11,16(r3)                             
 */                                                                   
static int                                                            
rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc,       
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
ffc14c20:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
ffc14c24:	83 eb 00 34 	lwz     r31,52(r11)                            
 */                                                                   
static int                                                            
rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc,       
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
ffc14c28:	93 81 00 10 	stw     r28,16(r1)                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc14c2c:	81 7f 00 7c 	lwz     r11,124(r31)                           
 */                                                                   
static int                                                            
rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc,       
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
ffc14c30:	93 a1 00 14 	stw     r29,20(r1)                             
ffc14c34:	7c bd 2b 78 	mr      r29,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);
ffc14c38:	38 a0 00 00 	li      r5,0                                   
ffc14c3c:	80 6b 00 00 	lwz     r3,0(r11)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
  rtems_rfs_ino          target = rtems_rfs_rtems_get_pathloc_ino (to_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
ffc14c40:	83 84 00 00 	lwz     r28,0(r4)                              
ffc14c44:	38 80 00 00 	li      r4,0                                   
 */                                                                   
static int                                                            
rtems_rfs_rtems_link (rtems_filesystem_location_info_t* to_loc,       
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
ffc14c48:	93 61 00 0c 	stw     r27,12(r1)                             
ffc14c4c:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
  rtems_rfs_ino          target = rtems_rfs_rtems_get_pathloc_ino (to_loc);
ffc14c50:	83 c9 00 00 	lwz     r30,0(r9)                              
ffc14c54:	4b ff 8b 39 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14c58:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc14c5c:	40 82 00 d4 	bne-    ffc14d30 <rtems_rfs_rtems_link+0x124>  <== NEVER TAKEN
    printf ("rtems-rfs-rtems: link: in: parent:%" PRId32 " target:%" PRId32 "\n",
            parent, target);                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_link (fs, name, strlen (name), parent, target, false);
ffc14c60:	7f a3 eb 78 	mr      r3,r29                                 
ffc14c64:	48 01 59 c1 	bl      ffc2a624 <strlen>                      
ffc14c68:	7f c7 f3 78 	mr      r7,r30                                 
ffc14c6c:	7c 65 1b 78 	mr      r5,r3                                  
ffc14c70:	7f a4 eb 78 	mr      r4,r29                                 
ffc14c74:	7f e3 fb 78 	mr      r3,r31                                 
ffc14c78:	7f 86 e3 78 	mr      r6,r28                                 
ffc14c7c:	39 00 00 00 	li      r8,0                                   
ffc14c80:	48 01 07 ed 	bl      ffc2546c <rtems_rfs_link>              
  if (rc)                                                             
ffc14c84:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14c88:	41 82 00 54 	beq-    ffc14cdc <rtems_rfs_rtems_link+0xd0>   <== 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);            
ffc14c8c:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc14c90:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14c94:	48 00 d2 b5 	bl      ffc21f48 <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);            
ffc14c98:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc14c9c:	4b ff 8c 7d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14ca0:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc14ca4:	40 82 00 c0 	bne-    ffc14d64 <rtems_rfs_rtems_link+0x158>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("link: linking", rc);               
ffc14ca8:	48 01 3b 15 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc14cac:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc14cb0:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
	}                                                                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
	return 0;                                                            
}                                                                     
ffc14cb4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc14cb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc14cbc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc14cc0:	7c 08 03 a6 	mtlr    r0                                     
ffc14cc4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc14cc8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc14ccc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc14cd0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc14cd4:	38 21 00 20 	addi    r1,r1,32                               
ffc14cd8:	4e 80 00 20 	blr                                            
 * 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);            
ffc14cdc:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc14ce0:	7f e3 fb 78 	mr      r3,r31                                 
ffc14ce4:	48 00 d2 65 	bl      ffc21f48 <rtems_rfs_buffers_release>   
    return rtems_rfs_rtems_error ("link: linking", rc);               
	}                                                                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
	return 0;                                                            
ffc14ce8:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc14cec:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc14cf0:	4b ff 8c 29 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14cf4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14cf8:	41 82 ff bc 	beq+    ffc14cb4 <rtems_rfs_rtems_link+0xa8>   <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc14cfc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14d00:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14d04:	48 00 28 c9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14d08:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14d0c:	41 9e ff a8 	beq+    cr7,ffc14cb4 <rtems_rfs_rtems_link+0xa8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14d10:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc14d14:	48 00 76 f9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14d18:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14d1c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14d20:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14d24:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14d28:	48 01 4b 79 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14d2c:	4b ff ff 88 	b       ffc14cb4 <rtems_rfs_rtems_link+0xa8>   <== 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))                      
ffc14d30:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14d34:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14d38:	48 00 28 95 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14d3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14d40:	41 9e ff 20 	beq+    cr7,ffc14c60 <rtems_rfs_rtems_link+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc14d44:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc14d48:	48 00 76 c5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14d4c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14d50:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14d54:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc14d58:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14d5c:	48 01 4b 45 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14d60:	4b ff ff 00 	b       ffc14c60 <rtems_rfs_rtems_link+0x54>   <== 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))                      
ffc14d64:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14d68:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14d6c:	48 00 28 61 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14d70:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14d74:	41 9e ff 34 	beq+    cr7,ffc14ca8 <rtems_rfs_rtems_link+0x9c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14d78:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14d7c:	48 00 76 91 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14d80:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14d84:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14d88:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14d8c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14d90:	48 01 4b 11 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14d94:	4b ff ff 14 	b       ffc14ca8 <rtems_rfs_rtems_link+0x9c>   <== NOT EXECUTED
                                                                      

ffc16200 <rtems_rfs_rtems_mknod>: static int rtems_rfs_rtems_mknod (const char *name, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc) {
ffc16200:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc16204:	7c 08 02 a6 	mflr    r0                                     
ffc16208:	90 01 00 64 	stw     r0,100(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc1620c:	81 27 00 10 	lwz     r9,16(r7)                              
static int                                                            
rtems_rfs_rtems_mknod (const char                       *name,        
                       mode_t                            mode,        
                       dev_t                             dev,         
                       rtems_filesystem_location_info_t *pathloc)     
{                                                                     
ffc16210:	93 e1 00 5c 	stw     r31,92(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc16214:	83 e9 00 34 	lwz     r31,52(r9)                             
static int                                                            
rtems_rfs_rtems_mknod (const char                       *name,        
                       mode_t                            mode,        
                       dev_t                             dev,         
                       rtems_filesystem_location_info_t *pathloc)     
{                                                                     
ffc16218:	93 61 00 4c 	stw     r27,76(r1)                             
ffc1621c:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc16220:	81 3f 00 7c 	lwz     r9,124(r31)                            
static int                                                            
rtems_rfs_rtems_mknod (const char                       *name,        
                       mode_t                            mode,        
                       dev_t                             dev,         
                       rtems_filesystem_location_info_t *pathloc)     
{                                                                     
ffc16224:	93 81 00 50 	stw     r28,80(r1)                             
ffc16228:	7c bc 2b 78 	mr      r28,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);
ffc1622c:	38 a0 00 00 	li      r5,0                                   
ffc16230:	80 69 00 00 	lwz     r3,0(r9)                               
ffc16234:	93 c1 00 58 	stw     r30,88(r1)                             
ffc16238:	7c 9e 23 78 	mr      r30,r4                                 
ffc1623c:	38 80 00 00 	li      r4,0                                   
ffc16240:	93 21 00 44 	stw     r25,68(r1)                             
ffc16244:	93 41 00 48 	stw     r26,72(r1)                             
ffc16248:	93 a1 00 54 	stw     r29,84(r1)                             
ffc1624c:	7c dd 33 78 	mr      r29,r6                                 
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
  rtems_rfs_ino           parent = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc16250:	83 27 00 00 	lwz     r25,0(r7)                              
ffc16254:	4b ff 75 39 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16258:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1625c:	40 82 00 a4 	bne-    ffc16300 <rtems_rfs_rtems_mknod+0x100> <== NEVER TAKEN
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
ffc16260:	7f 63 db 78 	mr      r3,r27                                 
ffc16264:	48 01 43 c1 	bl      ffc2a624 <strlen>                      
ffc16268:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1626c:	7f c3 f3 78 	mr      r3,r30                                 
ffc16270:	48 00 13 51 	bl      ffc175c0 <rtems_rfs_rtems_imode>       
ffc16274:	7f 65 db 78 	mr      r5,r27                                 
ffc16278:	7c 67 1b 78 	mr      r7,r3                                  
ffc1627c:	38 01 00 10 	addi    r0,r1,16                               
ffc16280:	7f e3 fb 78 	mr      r3,r31                                 
ffc16284:	90 01 00 08 	stw     r0,8(r1)                               
ffc16288:	7f 24 cb 78 	mr      r4,r25                                 
ffc1628c:	7f 46 d3 78 	mr      r6,r26                                 
ffc16290:	39 00 00 01 	li      r8,1                                   
ffc16294:	39 20 00 00 	li      r9,0                                   
ffc16298:	39 40 00 00 	li      r10,0                                  
ffc1629c:	4b ff e2 99 	bl      ffc14534 <rtems_rfs_inode_create>      
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc162a0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc162a4:	40 81 00 c4 	ble-    ffc16368 <rtems_rfs_rtems_mknod+0x168> <== 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);            
ffc162a8:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc162ac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc162b0:	48 00 bc 99 	bl      ffc21f48 <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);            
ffc162b4:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc162b8:	4b ff 76 61 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc162bc:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc162c0:	40 82 00 74 	bne-    ffc16334 <rtems_rfs_rtems_mknod+0x134> <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
ffc162c4:	48 01 24 f9 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc162c8:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc162cc:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc162d0:	80 01 00 64 	lwz     r0,100(r1)                             
ffc162d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc162d8:	83 21 00 44 	lwz     r25,68(r1)                             
ffc162dc:	7c 08 03 a6 	mtlr    r0                                     
ffc162e0:	83 41 00 48 	lwz     r26,72(r1)                             
ffc162e4:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc162e8:	83 81 00 50 	lwz     r28,80(r1)                             
ffc162ec:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc162f0:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc162f4:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc162f8:	38 21 00 60 	addi    r1,r1,96                               
ffc162fc:	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))                      
ffc16300:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16304:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16308:	48 00 12 c5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1630c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16310:	41 9e ff 50 	beq+    cr7,ffc16260 <rtems_rfs_rtems_mknod+0x60><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc16314:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc16318:	48 00 60 f5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1631c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16320:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16324:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc16328:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1632c:	48 01 35 75 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16330:	4b ff ff 30 	b       ffc16260 <rtems_rfs_rtems_mknod+0x60>  <== 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))                      
ffc16334:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16338:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1633c:	48 00 12 91 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16340:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16344:	41 9e ff 80 	beq+    cr7,ffc162c4 <rtems_rfs_rtems_mknod+0xc4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16348:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1634c:	48 00 60 c1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16350:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16354:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16358:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1635c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16360:	48 01 35 41 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16364:	4b ff ff 60 	b       ffc162c4 <rtems_rfs_rtems_mknod+0xc4>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode create", rc);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc16368:	80 81 00 10 	lwz     r4,16(r1)                              
ffc1636c:	7f e3 fb 78 	mr      r3,r31                                 
ffc16370:	38 a1 00 14 	addi    r5,r1,20                               
ffc16374:	38 c0 00 01 	li      r6,1                                   
ffc16378:	4b ff db 39 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1637c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc16380:	41 a1 ff 28 	bgt-    ffc162a8 <rtems_rfs_rtems_mknod+0xa8>  <== NEVER TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
  }                                                                   
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
ffc16384:	57 de 04 26 	rlwinm  r30,r30,0,16,19                        
ffc16388:	2f 9e 40 00 	cmpwi   cr7,r30,16384                          
ffc1638c:	41 9e 00 64 	beq-    cr7,ffc163f0 <rtems_rfs_rtems_mknod+0x1f0>
ffc16390:	6f c0 ff ff 	xoris   r0,r30,65535                           
ffc16394:	2f 80 80 00 	cmpwi   cr7,r0,-32768                          
ffc16398:	41 9e 00 58 	beq-    cr7,ffc163f0 <rtems_rfs_rtems_mknod+0x1f0><== ALWAYS TAKEN
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
ffc1639c:	2f 9e 20 00 	cmpwi   cr7,r30,8192                           <== NOT EXECUTED
ffc163a0:	41 9e 00 0c 	beq-    cr7,ffc163ac <rtems_rfs_rtems_mknod+0x1ac><== NOT EXECUTED
ffc163a4:	2f 9e 60 00 	cmpwi   cr7,r30,24576                          <== NOT EXECUTED
ffc163a8:	40 9e 01 10 	bne-    cr7,ffc164b8 <rtems_rfs_rtems_mknod+0x2b8><== 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);       
ffc163ac:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
ffc163b0:	57 88 c2 3e 	rlwinm  r8,r28,24,8,31                         <== NOT EXECUTED
ffc163b4:	57 86 46 3e 	rlwinm  r6,r28,8,24,31                         <== NOT EXECUTED
ffc163b8:	57 87 84 3e 	rlwinm  r7,r28,16,16,31                        <== NOT EXECUTED
ffc163bc:	99 09 00 1e 	stb     r8,30(r9)                              <== NOT EXECUTED
ffc163c0:	57 aa 46 3e 	rlwinm  r10,r29,8,24,31                        <== NOT EXECUTED
ffc163c4:	57 ab 84 3e 	rlwinm  r11,r29,16,16,31                       <== NOT EXECUTED
ffc163c8:	98 c9 00 1c 	stb     r6,28(r9)                              <== NOT EXECUTED
ffc163cc:	57 a0 c2 3e 	rlwinm  r0,r29,24,8,31                         <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc163d0:	39 00 00 01 	li      r8,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);       
ffc163d4:	98 e9 00 1d 	stb     r7,29(r9)                              <== NOT EXECUTED
ffc163d8:	9b 89 00 1f 	stb     r28,31(r9)                             <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc163dc:	99 01 00 24 	stb     r8,36(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);       
ffc163e0:	99 49 00 20 	stb     r10,32(r9)                             <== NOT EXECUTED
ffc163e4:	99 69 00 21 	stb     r11,33(r9)                             <== NOT EXECUTED
ffc163e8:	98 09 00 22 	stb     r0,34(r9)                              <== NOT EXECUTED
ffc163ec:	9b a9 00 23 	stb     r29,35(r9)                             <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc163f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc163f4:	38 81 00 14 	addi    r4,r1,20                               
ffc163f8:	4b ff dd 19 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc163fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16400:	40 81 00 64 	ble-    ffc16464 <rtems_rfs_rtems_mknod+0x264> <== 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);            
ffc16404:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc16408:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1640c:	48 00 bb 3d 	bl      ffc21f48 <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);            
ffc16410:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc16414:	4b ff 75 05 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16418:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc1641c:	40 82 00 14 	bne-    ffc16430 <rtems_rfs_rtems_mknod+0x230> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
ffc16420:	48 01 23 9d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc16424:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc16428:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc1642c:	4b ff fe a4 	b       ffc162d0 <rtems_rfs_rtems_mknod+0xd0>  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16430:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16434:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16438:	48 00 11 95 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1643c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16440:	41 9e ff e0 	beq+    cr7,ffc16420 <rtems_rfs_rtems_mknod+0x220><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16444:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16448:	48 00 5f c5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1644c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16450:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16454:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16458:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1645c:	48 01 34 45 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16460:	4b ff ff c0 	b       ffc16420 <rtems_rfs_rtems_mknod+0x220> <== 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);            
ffc16464:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16468:	7f e3 fb 78 	mr      r3,r31                                 
ffc1646c:	48 00 ba dd 	bl      ffc21f48 <rtems_rfs_buffers_release>   
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc16470:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc16474:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc16478:	4b ff 74 a1 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1647c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16480:	41 82 fe 50 	beq+    ffc162d0 <rtems_rfs_rtems_mknod+0xd0>  <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc16484:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16488:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1648c:	48 00 11 41 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16490:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16494:	41 9e fe 3c 	beq+    cr7,ffc162d0 <rtems_rfs_rtems_mknod+0xd0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16498:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1649c:	48 00 5f 71 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc164a0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc164a4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc164a8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc164ac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc164b0:	48 01 33 f1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc164b4:	4b ff fe 1c 	b       ffc162d0 <rtems_rfs_rtems_mknod+0xd0>  <== 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);                               
ffc164b8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc164bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc164c0:	4b ff dc 51 	bl      ffc14110 <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);            
ffc164c4:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc164c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc164cc:	48 00 ba 7d 	bl      ffc21f48 <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);            
ffc164d0:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc164d4:	4b ff 74 45 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc164d8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc164dc:	40 82 00 18 	bne-    ffc164f4 <rtems_rfs_rtems_mknod+0x2f4> <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
ffc164e0:	48 01 22 dd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc164e4:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc164e8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc164ec:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc164f0:	4b ff fd e0 	b       ffc162d0 <rtems_rfs_rtems_mknod+0xd0>  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc164f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc164f8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc164fc:	48 00 10 d1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16500:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc16504:	41 9e ff dc 	beq+    cr7,ffc164e0 <rtems_rfs_rtems_mknod+0x2e0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16508:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1650c:	48 00 5f 01 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16510:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc16514:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16518:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1651c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16520:	48 01 33 81 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc16524:	4b ff ff bc 	b       ffc164e0 <rtems_rfs_rtems_mknod+0x2e0> <== NOT EXECUTED
                                                                      

ffc15e20 <rtems_rfs_rtems_node_type>: * @return rtems_filesystem_node_types_t */ static rtems_filesystem_node_types_t rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) {
ffc15e20:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc15e24:	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);
ffc15e28:	38 80 00 00 	li      r4,0                                   
ffc15e2c:	90 01 00 4c 	stw     r0,76(r1)                              
ffc15e30:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
ffc15e34:	81 23 00 10 	lwz     r9,16(r3)                              
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc15e38:	93 e1 00 44 	stw     r31,68(r1)                             
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
ffc15e3c:	83 e9 00 34 	lwz     r31,52(r9)                             
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc15e40:	93 c1 00 40 	stw     r30,64(r1)                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc15e44:	81 3f 00 7c 	lwz     r9,124(r31)                            
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc15e48:	83 c3 00 00 	lwz     r30,0(r3)                              
ffc15e4c:	80 69 00 00 	lwz     r3,0(r9)                               
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc15e50:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc15e54:	4b ff 79 39 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15e58:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc15e5c:	40 82 01 3c 	bne-    ffc15f98 <rtems_rfs_rtems_node_type+0x178><== NEVER TAKEN
  uint16_t                      mode;                                 
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc15e60:	7f c4 f3 78 	mr      r4,r30                                 
ffc15e64:	7f e3 fb 78 	mr      r3,r31                                 
ffc15e68:	38 a1 00 08 	addi    r5,r1,8                                
ffc15e6c:	38 c0 00 01 	li      r6,1                                   
ffc15e70:	4b ff e0 41 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc15e74:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc15e78:	40 81 00 80 	ble-    ffc15ef8 <rtems_rfs_rtems_node_type+0xd8><== 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);            
ffc15e7c:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15e80:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15e84:	48 00 c0 c5 	bl      ffc21f48 <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);            
ffc15e88:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc15e8c:	4b ff 7a 8d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15e90:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15e94:	40 82 00 30 	bne-    ffc15ec4 <rtems_rfs_rtems_node_type+0xa4><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
ffc15e98:	48 01 29 25 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc15e9c:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc15ea0:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return type;                                                        
}                                                                     
ffc15ea4:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc15ea8:	7f c3 f3 78 	mr      r3,r30                                 
ffc15eac:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc15eb0:	7c 08 03 a6 	mtlr    r0                                     
ffc15eb4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc15eb8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc15ebc:	38 21 00 48 	addi    r1,r1,72                               
ffc15ec0:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15ec4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15ec8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15ecc:	48 00 17 01 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15ed0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15ed4:	41 9e ff c4 	beq+    cr7,ffc15e98 <rtems_rfs_rtems_node_type+0x78><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15ed8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15edc:	48 00 65 31 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15ee0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15ee4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15ee8:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15eec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15ef0:	48 01 39 b1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15ef4:	4b ff ff a4 	b       ffc15e98 <rtems_rfs_rtems_node_type+0x78><== 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);                    
ffc15ef8:	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.                                                   
   */                                                                 
  mode = rtems_rfs_inode_get_mode (&inode);                           
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
ffc15efc:	3b c0 00 01 	li      r30,1                                  
ffc15f00:	88 09 00 02 	lbz     r0,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.                                                   
   */                                                                 
  mode = rtems_rfs_inode_get_mode (&inode);                           
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc15f04:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc15f08:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc15f0c:	41 9e 00 30 	beq-    cr7,ffc15f3c <rtems_rfs_rtems_node_type+0x11c>
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc15f10:	39 20 00 00 	li      r9,0                                   
ffc15f14:	61 29 a0 00 	ori     r9,r9,40960                            
ffc15f18:	7f 80 48 00 	cmpw    cr7,r0,r9                              
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
ffc15f1c:	3b c0 00 04 	li      r30,4                                  
   * are all links.                                                   
   */                                                                 
  mode = rtems_rfs_inode_get_mode (&inode);                           
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc15f20:	41 9e 00 1c 	beq-    cr7,ffc15f3c <rtems_rfs_rtems_node_type+0x11c>
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
ffc15f24:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
    type = RTEMS_FILESYSTEM_DEVICE;                                   
ffc15f28:	3b c0 00 02 	li      r30,2                                  
  mode = rtems_rfs_inode_get_mode (&inode);                           
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
ffc15f2c:	41 9e 00 10 	beq-    cr7,ffc15f3c <rtems_rfs_rtems_node_type+0x11c><== NEVER TAKEN
ffc15f30:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
    type = RTEMS_FILESYSTEM_DEVICE;                                   
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
ffc15f34:	3b c0 00 05 	li      r30,5                                  
  mode = rtems_rfs_inode_get_mode (&inode);                           
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
ffc15f38:	41 9e 01 18 	beq-    cr7,ffc16050 <rtems_rfs_rtems_node_type+0x230><== NEVER TAKEN
    type = RTEMS_FILESYSTEM_DEVICE;                                   
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc15f3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc15f40:	38 81 00 08 	addi    r4,r1,8                                
ffc15f44:	4b ff e1 cd 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc15f48:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc15f4c:	40 81 00 b4 	ble-    ffc16000 <rtems_rfs_rtems_node_type+0x1e0><== 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);            
ffc15f50:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15f54:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15f58:	48 00 bf f1 	bl      ffc21f48 <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);            
ffc15f5c:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc15f60:	4b ff 79 b9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15f64:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15f68:	40 82 00 64 	bne-    ffc15fcc <rtems_rfs_rtems_node_type+0x1ac><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
ffc15f6c:	48 01 28 51 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return type;                                                        
}                                                                     
ffc15f70:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
ffc15f74:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc15f78:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return type;                                                        
}                                                                     
ffc15f7c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15f80:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15f84:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc15f88:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc15f8c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc15f90:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc15f94:	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))                      
ffc15f98:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15f9c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15fa0:	48 00 16 2d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15fa4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15fa8:	41 9e fe b8 	beq+    cr7,ffc15e60 <rtems_rfs_rtems_node_type+0x40><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc15fac:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc15fb0:	48 00 64 5d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15fb4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15fb8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15fbc:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc15fc0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15fc4:	48 01 38 dd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15fc8:	4b ff fe 98 	b       ffc15e60 <rtems_rfs_rtems_node_type+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))                      
ffc15fcc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15fd0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15fd4:	48 00 15 f9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15fd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15fdc:	41 9e ff 90 	beq+    cr7,ffc15f6c <rtems_rfs_rtems_node_type+0x14c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15fe0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15fe4:	48 00 64 29 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15fe8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15fec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15ff0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15ff4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15ff8:	48 01 38 a9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15ffc:	4b ff ff 70 	b       ffc15f6c <rtems_rfs_rtems_node_type+0x14c><== 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);            
ffc16000:	83 bf 00 7c 	lwz     r29,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc16004:	7f e3 fb 78 	mr      r3,r31                                 
ffc16008:	48 00 bf 41 	bl      ffc21f48 <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);            
ffc1600c:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc16010:	4b ff 79 09 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc16014:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16018:	41 82 fe 8c 	beq+    ffc15ea4 <rtems_rfs_rtems_node_type+0x84><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1601c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc16020:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc16024:	48 00 15 a9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc16028:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1602c:	41 9e fe 78 	beq+    cr7,ffc15ea4 <rtems_rfs_rtems_node_type+0x84><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc16030:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16034:	48 00 63 d9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc16038:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1603c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16040:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc16044:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16048:	48 01 38 59 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc1604c:	4b ff fe 58 	b       ffc15ea4 <rtems_rfs_rtems_node_type+0x84><== NOT EXECUTED
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
    type = RTEMS_FILESYSTEM_DEVICE;                                   
ffc16050:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc16054:	4b ff fe e8 	b       ffc15f3c <rtems_rfs_rtems_node_type+0x11c><== NOT EXECUTED
                                                                      

ffc14f18 <rtems_rfs_rtems_readlink>: static ssize_t rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc, char* buf, size_t bufsize) {
ffc14f18:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc14f1c:	7c 08 02 a6 	mflr    r0                                     
ffc14f20:	7c 69 1b 78 	mr      r9,r3                                  
ffc14f24:	90 01 00 34 	stw     r0,52(r1)                              
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc14f28:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
static ssize_t                                                        
rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,  
                          char*                             buf,      
                          size_t                            bufsize)  
{                                                                     
ffc14f2c:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc14f30:	83 eb 00 34 	lwz     r31,52(r11)                            
                                                                      
static ssize_t                                                        
rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,  
                          char*                             buf,      
                          size_t                            bufsize)  
{                                                                     
ffc14f34:	93 a1 00 24 	stw     r29,36(r1)                             
ffc14f38:	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);
ffc14f3c:	38 80 00 00 	li      r4,0                                   
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc14f40:	81 7f 00 7c 	lwz     r11,124(r31)                           
                                                                      
static ssize_t                                                        
rtems_rfs_rtems_readlink (rtems_filesystem_location_info_t* pathloc,  
                          char*                             buf,      
                          size_t                            bufsize)  
{                                                                     
ffc14f44:	93 c1 00 28 	stw     r30,40(r1)                             
ffc14f48:	7c be 2b 78 	mr      r30,r5                                 
ffc14f4c:	38 a0 00 00 	li      r5,0                                   
ffc14f50:	80 6b 00 00 	lwz     r3,0(r11)                              
ffc14f54:	93 61 00 1c 	stw     r27,28(r1)                             
ffc14f58:	93 81 00 20 	stw     r28,32(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
  rtems_rfs_ino           ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc14f5c:	83 89 00 00 	lwz     r28,0(r9)                              
ffc14f60:	4b ff 88 2d 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14f64:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc14f68:	40 82 00 b4 	bne-    ffc1501c <rtems_rfs_rtems_readlink+0x104><== NEVER TAKEN
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_READLINK))         
    printf ("rtems-rfs-rtems: readlink: in: ino:%" PRId32 "\n", ino); 
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
ffc14f6c:	7f c6 f3 78 	mr      r6,r30                                 
ffc14f70:	7f e3 fb 78 	mr      r3,r31                                 
ffc14f74:	7f 84 e3 78 	mr      r4,r28                                 
ffc14f78:	7f a5 eb 78 	mr      r5,r29                                 
ffc14f7c:	38 e1 00 08 	addi    r7,r1,8                                
ffc14f80:	48 01 0f 0d 	bl      ffc25e8c <rtems_rfs_symlink_read>      
  if (rc)                                                             
ffc14f84:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14f88:	41 82 00 50 	beq-    ffc14fd8 <rtems_rfs_rtems_readlink+0xc0>
 * 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);            
ffc14f8c:	83 bf 00 7c 	lwz     r29,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc14f90:	7f e3 fb 78 	mr      r3,r31                                 
ffc14f94:	48 00 cf b5 	bl      ffc21f48 <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);            
ffc14f98:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc14f9c:	4b ff 89 7d 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14fa0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14fa4:	40 82 00 e4 	bne-    ffc15088 <rtems_rfs_rtems_readlink+0x170><== NEVER TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
ffc14fa8:	48 01 38 15 	bl      ffc287bc <__errno>                     
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return (int) length;                                                
}                                                                     
ffc14fac:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
ffc14fb0:	93 c3 00 00 	stw     r30,0(r3)                              
ffc14fb4:	38 60 ff ff 	li      r3,-1                                  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return (int) length;                                                
}                                                                     
ffc14fb8:	7c 08 03 a6 	mtlr    r0                                     
ffc14fbc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc14fc0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc14fc4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc14fc8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc14fcc:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc14fd0:	38 21 00 30 	addi    r1,r1,48                               
ffc14fd4:	4e 80 00 20 	blr                                            
 * 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);            
ffc14fd8:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc14fdc:	7f e3 fb 78 	mr      r3,r31                                 
ffc14fe0:	48 00 cf 69 	bl      ffc21f48 <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);            
ffc14fe4:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc14fe8:	4b ff 89 31 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14fec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14ff0:	40 82 00 60 	bne-    ffc15050 <rtems_rfs_rtems_readlink+0x138><== NEVER TAKEN
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return (int) length;                                                
ffc14ff4:	80 61 00 08 	lwz     r3,8(r1)                               
}                                                                     
ffc14ff8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc14ffc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc15000:	7c 08 03 a6 	mtlr    r0                                     
ffc15004:	83 81 00 20 	lwz     r28,32(r1)                             
ffc15008:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1500c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc15010:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc15014:	38 21 00 30 	addi    r1,r1,48                               
ffc15018:	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))                      
ffc1501c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15020:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15024:	48 00 25 a9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15028:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1502c:	41 9e ff 40 	beq+    cr7,ffc14f6c <rtems_rfs_rtems_readlink+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc15030:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc15034:	48 00 73 d9 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15038:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1503c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15040:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc15044:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15048:	48 01 48 59 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc1504c:	4b ff ff 20 	b       ffc14f6c <rtems_rfs_rtems_readlink+0x54><== 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))                      
ffc15050:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15054:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15058:	48 00 25 75 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1505c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15060:	41 9e ff 94 	beq+    cr7,ffc14ff4 <rtems_rfs_rtems_readlink+0xdc><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15064:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15068:	48 00 73 a5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1506c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15070:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15074:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15078:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1507c:	48 01 48 25 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return (int) length;                                                
ffc15080:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc15084:	4b ff ff 74 	b       ffc14ff8 <rtems_rfs_rtems_readlink+0xe0><== 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))                      
ffc15088:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1508c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15090:	48 00 25 3d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15094:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15098:	41 9e ff 10 	beq+    cr7,ffc14fa8 <rtems_rfs_rtems_readlink+0x90><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc1509c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc150a0:	48 00 73 6d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc150a4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc150a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc150ac:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc150b0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc150b4:	48 01 47 ed 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc150b8:	4b ff fe f0 	b       ffc14fa8 <rtems_rfs_rtems_readlink+0x90><== NOT EXECUTED
                                                                      

ffc1525c <rtems_rfs_rtems_rename>: static int rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc, rtems_filesystem_location_info_t* old_loc, rtems_filesystem_location_info_t* new_parent_loc, const char* new_name) {
ffc1525c:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc15260:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc15264:	7c 89 23 78 	mr      r9,r4                                  <== NOT EXECUTED
ffc15268:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc1526c:	81 64 00 10 	lwz     r11,16(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);
ffc15270:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc,
                       rtems_filesystem_location_info_t* old_loc,     
                       rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                       new_name)    
{                                                                     
ffc15274:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc15278:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc,
                       rtems_filesystem_location_info_t* old_loc,     
                       rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                       new_name)    
{                                                                     
ffc1527c:	93 81 00 18 	stw     r28,24(r1)                             <== NOT EXECUTED
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc15280:	81 7f 00 7c 	lwz     r11,124(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);      
ffc15284:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
ffc15288:	80 6b 00 00 	lwz     r3,0(r11)                              <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc,
                       rtems_filesystem_location_info_t* old_loc,     
                       rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                       new_name)    
{                                                                     
ffc1528c:	93 61 00 14 	stw     r27,20(r1)                             <== NOT EXECUTED
  rtems_rfs_ino           ino;                                        
  uint32_t                doff;                                       
  int                     rc;                                         
                                                                      
  old_parent = rtems_rfs_rtems_get_pathloc_ino (old_parent_loc);      
  new_parent = rtems_rfs_rtems_get_pathloc_ino (new_parent_loc);      
ffc15290:	83 65 00 00 	lwz     r27,0(r5)                              <== NOT EXECUTED
ffc15294:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_rename(rtems_filesystem_location_info_t* old_parent_loc,
                       rtems_filesystem_location_info_t* old_loc,     
                       rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                       new_name)    
{                                                                     
ffc15298:	93 21 00 0c 	stw     r25,12(r1)                             <== NOT EXECUTED
ffc1529c:	93 41 00 10 	stw     r26,16(r1)                             <== NOT EXECUTED
ffc152a0:	7c da 33 78 	mr      r26,r6                                 <== NOT EXECUTED
ffc152a4:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
ffc152a8:	93 c1 00 20 	stw     r30,32(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);                  
ffc152ac:	83 a9 00 04 	lwz     r29,4(r9)                              <== 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);                   
ffc152b0:	83 c9 00 00 	lwz     r30,0(r9)                              <== NOT EXECUTED
ffc152b4:	4b ff 84 d9 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc152b8:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc152bc:	40 82 01 54 	bne-    ffc15410 <rtems_rfs_rtems_rename+0x1b4><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Link to the inode before unlinking so the inode is not erased when
   * unlinked.                                                        
   */                                                                 
  rc = rtems_rfs_link (fs, new_name, strlen (new_name), new_parent, ino, true);
ffc152c0:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc152c4:	48 01 53 61 	bl      ffc2a624 <strlen>                      <== NOT EXECUTED
ffc152c8:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc152cc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc152d0:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc152d4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc152d8:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc152dc:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc152e0:	48 01 01 8d 	bl      ffc2546c <rtems_rfs_link>              <== NOT EXECUTED
  if (rc)                                                             
ffc152e4:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc152e8:	41 82 00 5c 	beq-    ffc15344 <rtems_rfs_rtems_rename+0xe8> <== 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);            
ffc152ec:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc152f0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc152f4:	48 00 cc 55 	bl      ffc21f48 <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);            
ffc152f8:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc152fc:	4b ff 86 1d 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15300:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15304:	40 82 01 40 	bne-    ffc15444 <rtems_rfs_rtems_rename+0x1e8><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("rename: linking", rc);             
ffc15308:	48 01 34 b5 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc1530c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15310:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15314:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc15318:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1531c:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc15320:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15324:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc15328:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc1532c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc15330:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc15334:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc15338:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc1533c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc15340:	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,                   
ffc15344:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc15348:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1534c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc15350:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc15354:	38 e0 00 02 	li      r7,2                                   <== NOT EXECUTED
ffc15358:	48 01 03 7d 	bl      ffc256d4 <rtems_rfs_unlink>            <== NOT EXECUTED
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
ffc1535c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc15360:	41 82 00 5c 	beq-    ffc153bc <rtems_rfs_rtems_rename+0x160><== 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);            
ffc15364:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15368:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1536c:	48 00 cb dd 	bl      ffc21f48 <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);            
ffc15370:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc15374:	4b ff 85 a5 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15378:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc1537c:	40 82 00 fc 	bne-    ffc15478 <rtems_rfs_rtems_rename+0x21c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
ffc15380:	48 01 34 3d 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15384:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  rc = rtems_rfs_unlink (fs, old_parent, ino, doff,                   
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
ffc15388:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1538c:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15390:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15394:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15398:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc1539c:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc153a0:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc153a4:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc153a8:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc153ac:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc153b0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc153b4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc153b8:	4e 80 00 20 	blr                                            <== 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);            
ffc153bc:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc153c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc153c4:	48 00 cb 85 	bl      ffc21f48 <rtems_rfs_buffers_release>   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc153c8:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc153cc:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc153d0:	4b ff 85 49 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc153d4:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc153d8:	41 82 ff 3c 	beq+    ffc15314 <rtems_rfs_rtems_rename+0xb8> <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc153dc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc153e0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc153e4:	48 00 21 e9 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc153e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc153ec:	41 9e ff 28 	beq+    cr7,ffc15314 <rtems_rfs_rtems_rename+0xb8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc153f0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc153f4:	48 00 70 19 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc153f8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc153fc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15400:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15404:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15408:	48 01 44 99 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc1540c:	4b ff ff 08 	b       ffc15314 <rtems_rfs_rtems_rename+0xb8> <== 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))                      
ffc15410:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15414:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15418:	48 00 21 b5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc1541c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15420:	41 9e fe a0 	beq+    cr7,ffc152c0 <rtems_rfs_rtems_rename+0x64><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc15424:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc15428:	48 00 6f e5 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc1542c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15430:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15434:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc15438:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1543c:	48 01 44 65 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15440:	4b ff fe 80 	b       ffc152c0 <rtems_rfs_rtems_rename+0x64> <== 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))                      
ffc15444:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15448:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1544c:	48 00 21 81 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15450:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15454:	41 9e fe b4 	beq+    cr7,ffc15308 <rtems_rfs_rtems_rename+0xac><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15458:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1545c:	48 00 6f b1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15460:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15464:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15468:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1546c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15470:	48 01 44 31 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15474:	4b ff fe 94 	b       ffc15308 <rtems_rfs_rtems_rename+0xac> <== 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))                      
ffc15478:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1547c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15480:	48 00 21 4d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15484:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15488:	41 9e fe f8 	beq+    cr7,ffc15380 <rtems_rfs_rtems_rename+0x124><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc1548c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15490:	48 00 6f 7d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15494:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15498:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1549c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc154a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc154a4:	48 01 43 fd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc154a8:	4b ff fe d8 	b       ffc15380 <rtems_rfs_rtems_rename+0x124><== NOT EXECUTED
                                                                      

ffc14d98 <rtems_rfs_rtems_rmnod>: * @return int */ int rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc, rtems_filesystem_location_info_t* pathloc) {
ffc14d98:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc14d9c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc14da0:	7c 89 23 78 	mr      r9,r4                                  <== NOT EXECUTED
ffc14da4:	90 01 00 24 	stw     r0,36(r1)                              <== 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);
ffc14da8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc14dac:	81 64 00 10 	lwz     r11,16(r4)                             <== NOT EXECUTED
ffc14db0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
ffc14db4:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc14db8:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
ffc14dbc:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc14dc0:	81 7f 00 7c 	lwz     r11,124(r31)                           <== NOT EXECUTED
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
ffc14dc4:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
ffc14dc8:	80 6b 00 00 	lwz     r3,0(r11)                              <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
ffc14dcc:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc14dd0:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc14dd4:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc14dd8:	83 a9 00 00 	lwz     r29,0(r9)                              <== NOT EXECUTED
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (pathloc);
ffc14ddc:	83 c9 00 04 	lwz     r30,4(r9)                              <== NOT EXECUTED
ffc14de0:	4b ff 89 ad 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14de4:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc14de8:	40 82 00 c8 	bne-    ffc14eb0 <rtems_rfs_rtems_rmnod+0x118> <== NOT EXECUTED
    printf ("rtems-rfs: rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
ffc14dec:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc14df0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14df4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc14df8:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc14dfc:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc14e00:	48 01 08 d5 	bl      ffc256d4 <rtems_rfs_unlink>            <== NOT EXECUTED
  if (rc)                                                             
ffc14e04:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc14e08:	41 82 00 54 	beq-    ffc14e5c <rtems_rfs_rtems_rmnod+0xc4>  <== 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);            
ffc14e0c:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc14e10:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14e14:	48 00 d1 35 	bl      ffc21f48 <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);            
ffc14e18:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc14e1c:	4b ff 8a fd 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14e20:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc14e24:	40 82 00 c0 	bne-    ffc14ee4 <rtems_rfs_rtems_rmnod+0x14c> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("rmnod: unlinking", rc);            
ffc14e28:	48 01 39 95 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc14e2c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc14e30:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc14e34:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc14e38:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14e3c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc14e40:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc14e44:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc14e48:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc14e4c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc14e50:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc14e54:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc14e58:	4e 80 00 20 	blr                                            <== 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);            
ffc14e5c:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc14e60:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14e64:	48 00 d0 e5 	bl      ffc21f48 <rtems_rfs_buffers_release>   <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("rmnod: unlinking", rc);            
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc14e68:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc14e6c:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc14e70:	4b ff 8a a9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14e74:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc14e78:	41 82 ff bc 	beq+    ffc14e34 <rtems_rfs_rtems_rmnod+0x9c>  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc14e7c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14e80:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14e84:	48 00 27 49 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14e88:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14e8c:	41 9e ff a8 	beq+    cr7,ffc14e34 <rtems_rfs_rtems_rmnod+0x9c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14e90:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc14e94:	48 00 75 79 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14e98:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14e9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14ea0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14ea4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14ea8:	48 01 49 f9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14eac:	4b ff ff 88 	b       ffc14e34 <rtems_rfs_rtems_rmnod+0x9c>  <== 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))                      
ffc14eb0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14eb4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14eb8:	48 00 27 15 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14ebc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14ec0:	41 9e ff 2c 	beq+    cr7,ffc14dec <rtems_rfs_rtems_rmnod+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc14ec4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc14ec8:	48 00 75 45 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14ecc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14ed0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14ed4:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc14ed8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14edc:	48 01 49 c5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14ee0:	4b ff ff 0c 	b       ffc14dec <rtems_rfs_rtems_rmnod+0x54>  <== 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))                      
ffc14ee4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14ee8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14eec:	48 00 26 e1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14ef0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14ef4:	41 9e ff 34 	beq+    cr7,ffc14e28 <rtems_rfs_rtems_rmnod+0x90><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14ef8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14efc:	48 00 75 11 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14f00:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14f04:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14f08:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14f0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14f10:	48 01 49 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14f14:	4b ff ff 14 	b       ffc14e28 <rtems_rfs_rtems_rmnod+0x90>  <== NOT EXECUTED
                                                                      

ffc174c0 <rtems_rfs_rtems_set_handlers>: */ bool rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc, rtems_rfs_inode_handle* inode) {
ffc174c0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc174c4:	7c 08 02 a6 	mflr    r0                                     
ffc174c8:	90 01 00 0c 	stw     r0,12(r1)                              
{                                                                     
  /*                                                                  
   * Mapping matches RTEMS so no need to change.                      
   */                                                                 
  return imode;                                                       
}                                                                     
ffc174cc:	81 24 00 0c 	lwz     r9,12(r4)                              
ffc174d0:	88 89 00 02 	lbz     r4,2(r9)                               
ffc174d4:	88 09 00 03 	lbz     r0,3(r9)                               
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;                                               
ffc174d8:	39 20 00 00 	li      r9,0                                   
ffc174dc:	54 84 40 2e 	rlwinm  r4,r4,8,0,23                           
ffc174e0:	91 23 00 08 	stw     r9,8(r3)                               
ffc174e4:	7c 84 03 78 	or      r4,r4,r0                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc174e8:	54 80 04 26 	rlwinm  r0,r4,0,16,19                          
ffc174ec:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc174f0:	41 9e 00 90 	beq-    cr7,ffc17580 <rtems_rfs_rtems_set_handlers+0xc0>
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
ffc174f4:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc174f8:	41 9e 00 48 	beq-    cr7,ffc17540 <rtems_rfs_rtems_set_handlers+0x80><== NEVER TAKEN
ffc174fc:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc17500:	41 9e 00 40 	beq-    cr7,ffc17540 <rtems_rfs_rtems_set_handlers+0x80><== NEVER TAKEN
    loc->handlers = rtems_rfs_rtems_handlers (device);                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc17504:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc17508:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          
ffc1750c:	41 9e 00 54 	beq-    cr7,ffc17560 <rtems_rfs_rtems_set_handlers+0xa0>
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
ffc17510:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc17514:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
ffc17518:	41 9e 00 88 	beq-    cr7,ffc175a0 <rtems_rfs_rtems_set_handlers+0xe0><== ALWAYS TAKEN
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
ffc1751c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17520:	38 63 a1 1c 	addi    r3,r3,-24292                           <== NOT EXECUTED
ffc17524:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17528:	48 01 23 79 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    return false;                                                     
  }                                                                   
  return true;                                                        
}                                                                     
ffc1752c:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
  else if (RTEMS_RFS_S_ISREG (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
ffc17530:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  }                                                                   
  return true;                                                        
}                                                                     
ffc17534:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17538:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc1753c:	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);                
ffc17540:	3d 20 ff c4 	lis     r9,-60                                 <== NOT EXECUTED
ffc17544:	38 09 c0 8c 	addi    r0,r9,-16244                           <== NOT EXECUTED
ffc17548:	90 03 00 08 	stw     r0,8(r3)                               <== NOT EXECUTED
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc1754c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
}                                                                     
ffc17550:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc17554:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc17558:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1755c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
    loc->handlers = rtems_rfs_rtems_handlers (device);                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
ffc17560:	3d 20 ff c4 	lis     r9,-60                                 
ffc17564:	38 09 a0 94 	addi    r0,r9,-24428                           
ffc17568:	90 03 00 08 	stw     r0,8(r3)                               
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc1756c:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc17570:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc17574:	38 21 00 08 	addi    r1,r1,8                                
ffc17578:	7c 08 03 a6 	mtlr    r0                                     
ffc1757c:	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);                   
ffc17580:	3d 20 ff c4 	lis     r9,-60                                 
ffc17584:	38 09 c0 c4 	addi    r0,r9,-16188                           
ffc17588:	90 03 00 08 	stw     r0,8(r3)                               
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc1758c:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc17590:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc17594:	38 21 00 08 	addi    r1,r1,8                                
ffc17598:	7c 08 03 a6 	mtlr    r0                                     
ffc1759c:	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);                  
ffc175a0:	3d 20 ff c4 	lis     r9,-60                                 
ffc175a4:	38 09 c0 fc 	addi    r0,r9,-16132                           
ffc175a8:	90 03 00 08 	stw     r0,8(r3)                               
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc175ac:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc175b0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc175b4:	38 21 00 08 	addi    r1,r1,8                                
ffc175b8:	7c 08 03 a6 	mtlr    r0                                     
ffc175bc:	4e 80 00 20 	blr                                            
                                                                      

ffc14a24 <rtems_rfs_rtems_shutdown>: /** * Shutdown the file system. */ int rtems_rfs_rtems_shutdown (rtems_filesystem_mount_table_entry_t* mt_entry) {
ffc14a24:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc14a28:	7c 08 02 a6 	mflr    r0                                     
ffc14a2c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_rfs_file_system*   fs = mt_entry->fs_info;                    
ffc14a30:	80 63 00 34 	lwz     r3,52(r3)                              
/**                                                                   
 * Shutdown the file system.                                          
 */                                                                   
int                                                                   
rtems_rfs_rtems_shutdown (rtems_filesystem_mount_table_entry_t* mt_entry)
{                                                                     
ffc14a34:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_rfs_file_system*   fs = mt_entry->fs_info;                    
  rtems_rfs_rtems_private* rtems;                                     
  int                      rc;                                        
                                                                      
  rtems = rtems_rfs_fs_user (fs);                                     
ffc14a38:	83 c3 00 7c 	lwz     r30,124(r3)                            
/**                                                                   
 * Shutdown the file system.                                          
 */                                                                   
int                                                                   
rtems_rfs_rtems_shutdown (rtems_filesystem_mount_table_entry_t* mt_entry)
{                                                                     
ffc14a3c:	93 e1 00 0c 	stw     r31,12(r1)                             
  rtems_rfs_rtems_private* rtems;                                     
  int                      rc;                                        
                                                                      
  rtems = rtems_rfs_fs_user (fs);                                     
                                                                      
  rc = rtems_rfs_fs_close(fs);                                        
ffc14a40:	48 01 09 85 	bl      ffc253c4 <rtems_rfs_fs_close>          
ffc14a44:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
ffc14a48:	7f c3 f3 78 	mr      r3,r30                                 
ffc14a4c:	48 01 17 25 	bl      ffc26170 <rtems_rfs_mutex_destroy>     
  free (rtems);                                                       
ffc14a50:	7f c3 f3 78 	mr      r3,r30                                 
ffc14a54:	4b ff 3a 8d 	bl      ffc084e0 <free>                        
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
ffc14a58:	48 01 3d 65 	bl      ffc287bc <__errno>                     
ffc14a5c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14a60:	93 e3 00 00 	stw     r31,0(r3)                              
ffc14a64:	38 60 ff ff 	li      r3,-1                                  
ffc14a68:	40 9e 00 08 	bne-    cr7,ffc14a70 <rtems_rfs_rtems_shutdown+0x4c><== NEVER TAKEN
ffc14a6c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc14a70:	80 01 00 14 	lwz     r0,20(r1)                              
ffc14a74:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc14a78:	7c 08 03 a6 	mtlr    r0                                     
ffc14a7c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc14a80:	38 21 00 10 	addi    r1,r1,16                               
ffc14a84:	4e 80 00 20 	blr                                            
                                                                      

ffc14964 <rtems_rfs_rtems_statvfs>: * @return int */ static int rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc, struct statvfs* sb) {
ffc14964:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc14968:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1496c:	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);                       
ffc14970:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc,   
                         struct statvfs*                   sb)        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc14974:	81 23 00 10 	lwz     r9,16(r3)                              <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc,   
                         struct statvfs*                   sb)        
{                                                                     
ffc14978:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc1497c:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc,   
                         struct statvfs*                   sb)        
{                                                                     
ffc14980:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc14984:	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);                       
ffc14988:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1498c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc14990:	4b ff f3 4d 	bl      ffc13cdc <rtems_rfs_group_usage>       <== NOT EXECUTED
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
ffc14994:	81 3e 00 0c 	lwz     r9,12(r30)                             <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
ffc14998:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc1499c:	81 5e 00 04 	lwz     r10,4(r30)                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc149a0:	81 7e 00 10 	lwz     r11,16(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;                                                           
}                                                                     
ffc149a4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc149a8:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
ffc149ac:	80 a9 00 24 	lwz     r5,36(r9)                              <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
ffc149b0:	80 c9 00 1c 	lwz     r6,28(r9)                              <== 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);                            
ffc149b4:	80 fe 00 00 	lwz     r7,0(r30)                              <== NOT EXECUTED
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
ffc149b8:	81 1e 00 18 	lwz     r8,24(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);                     
ffc149bc:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc149c0:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
ffc149c4:	90 1f 00 18 	stw     r0,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;                                 
ffc149c8:	3c 00 28 09 	lis     r0,10249                               <== NOT EXECUTED
ffc149cc:	60 00 20 01 	ori     r0,r0,8193                             <== NOT EXECUTED
ffc149d0:	90 1f 00 2c 	stw     r0,44(r31)                             <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
ffc149d4:	80 01 00 24 	lwz     r0,36(r1)                              <== 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;                  
ffc149d8:	81 21 00 0c 	lwz     r9,12(r1)                              <== 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;                                                           
}                                                                     
ffc149dc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc149e0:	90 9f 00 00 	stw     r4,0(r31)                              <== 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;                  
ffc149e4:	7d 49 50 50 	subf    r10,r9,r10                             <== 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;                  
ffc149e8:	81 21 00 08 	lwz     r9,8(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);                 
ffc149ec:	90 bf 00 04 	stw     r5,4(r31)                              <== NOT EXECUTED
  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;                  
ffc149f0:	7d 29 58 50 	subf    r9,r9,r11                              <== 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);                     
ffc149f4:	90 df 00 0c 	stw     r6,12(r31)                             <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc149f8:	91 5f 00 14 	stw     r10,20(r31)                            <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
ffc149fc:	91 5f 00 1c 	stw     r10,28(r31)                            <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc14a00:	91 7f 00 20 	stw     r11,32(r31)                            <== NOT EXECUTED
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
ffc14a04:	91 3f 00 24 	stw     r9,36(r31)                             <== NOT EXECUTED
  sb->f_favail  = sb->f_ffree;                                        
ffc14a08:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
ffc14a0c:	90 ff 00 30 	stw     r7,48(r31)                             <== NOT EXECUTED
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
ffc14a10:	91 1f 00 34 	stw     r8,52(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc14a14:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc14a18:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc14a1c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc14a20:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc150bc <rtems_rfs_rtems_symlink>: static int rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc, const char* link_name, const char* node_name) {
ffc150bc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc150c0:	7c 08 02 a6 	mflr    r0                                     
ffc150c4:	7c 69 1b 78 	mr      r9,r3                                  
ffc150c8:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc150cc:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
static int                                                            
rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc,
                         const char*                       link_name, 
                         const char*                       node_name) 
{                                                                     
ffc150d0:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc150d4:	83 eb 00 34 	lwz     r31,52(r11)                            
                                                                      
static int                                                            
rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc,
                         const char*                       link_name, 
                         const char*                       node_name) 
{                                                                     
ffc150d8:	93 81 00 10 	stw     r28,16(r1)                             
ffc150dc:	7c bc 2b 78 	mr      r28,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);
ffc150e0:	38 a0 00 00 	li      r5,0                                   
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc150e4:	81 7f 00 7c 	lwz     r11,124(r31)                           
                                                                      
static int                                                            
rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc,
                         const char*                       link_name, 
                         const char*                       node_name) 
{                                                                     
ffc150e8:	93 a1 00 14 	stw     r29,20(r1)                             
ffc150ec:	7c 9d 23 78 	mr      r29,r4                                 
ffc150f0:	38 80 00 00 	li      r4,0                                   
ffc150f4:	80 6b 00 00 	lwz     r3,0(r11)                              
ffc150f8:	93 61 00 0c 	stw     r27,12(r1)                             
ffc150fc:	93 c1 00 18 	stw     r30,24(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);
ffc15100:	83 c9 00 00 	lwz     r30,0(r9)                              
ffc15104:	4b ff 86 89 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15108:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1510c:	40 82 00 e8 	bne-    ffc151f4 <rtems_rfs_rtems_symlink+0x138><== NEVER TAKEN
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
ffc15110:	7f 83 e3 78 	mr      r3,r28                                 
ffc15114:	48 01 55 11 	bl      ffc2a624 <strlen>                      
ffc15118:	7c 7b 1b 78 	mr      r27,r3                                 
                          link_name, strlen (link_name),              
ffc1511c:	7f a3 eb 78 	mr      r3,r29                                 
ffc15120:	48 01 55 05 	bl      ffc2a624 <strlen>                      
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
ffc15124:	7f ca f3 78 	mr      r10,r30                                
                          link_name, strlen (link_name),              
ffc15128:	7c 67 1b 78 	mr      r7,r3                                  
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
ffc1512c:	7f 84 e3 78 	mr      r4,r28                                 
ffc15130:	7f e3 fb 78 	mr      r3,r31                                 
ffc15134:	7f 65 db 78 	mr      r5,r27                                 
ffc15138:	7f a6 eb 78 	mr      r6,r29                                 
ffc1513c:	39 00 00 00 	li      r8,0                                   
ffc15140:	39 20 00 00 	li      r9,0                                   
ffc15144:	48 01 0a 3d 	bl      ffc25b80 <rtems_rfs_symlink>           
                          link_name, strlen (link_name),              
                          uid, gid, parent);                          
  if (rc)                                                             
ffc15148:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1514c:	41 82 00 54 	beq-    ffc151a0 <rtems_rfs_rtems_symlink+0xe4><== 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);            
ffc15150:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15154:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15158:	48 00 cd f1 	bl      ffc21f48 <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);            
ffc1515c:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc15160:	4b ff 87 b9 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15164:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15168:	40 82 00 c0 	bne-    ffc15228 <rtems_rfs_rtems_symlink+0x16c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
ffc1516c:	48 01 36 51 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc15170:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15174:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15178:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1517c:	7f e3 fb 78 	mr      r3,r31                                 
ffc15180:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc15184:	7c 08 03 a6 	mtlr    r0                                     
ffc15188:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1518c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc15190:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc15194:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc15198:	38 21 00 20 	addi    r1,r1,32                               
ffc1519c:	4e 80 00 20 	blr                                            
 * 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);            
ffc151a0:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc151a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc151a8:	48 00 cd a1 	bl      ffc21f48 <rtems_rfs_buffers_release>   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc151ac:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc151b0:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc151b4:	4b ff 87 65 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc151b8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc151bc:	41 82 ff bc 	beq+    ffc15178 <rtems_rfs_rtems_symlink+0xbc><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc151c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc151c4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc151c8:	48 00 24 05 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc151cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc151d0:	41 9e ff a8 	beq+    cr7,ffc15178 <rtems_rfs_rtems_symlink+0xbc><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc151d4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc151d8:	48 00 72 35 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc151dc:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc151e0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc151e4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc151e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc151ec:	48 01 46 b5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc151f0:	4b ff ff 88 	b       ffc15178 <rtems_rfs_rtems_symlink+0xbc><== 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))                      
ffc151f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc151f8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc151fc:	48 00 23 d1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15200:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15204:	41 9e ff 0c 	beq+    cr7,ffc15110 <rtems_rfs_rtems_symlink+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc15208:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1520c:	48 00 72 01 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15210:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15214:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15218:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc1521c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15220:	48 01 46 81 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15224:	4b ff fe ec 	b       ffc15110 <rtems_rfs_rtems_symlink+0x54><== 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))                      
ffc15228:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1522c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15230:	48 00 23 9d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15234:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15238:	41 9e ff 34 	beq+    cr7,ffc1516c <rtems_rfs_rtems_symlink+0xb0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc1523c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15240:	48 00 71 cd 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15244:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15248:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1524c:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc15250:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15254:	48 01 46 4d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15258:	4b ff ff 14 	b       ffc1516c <rtems_rfs_rtems_symlink+0xb0><== NOT EXECUTED
                                                                      

ffc14a88 <rtems_rfs_rtems_unlink>: */ static int rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, rtems_filesystem_location_info_t* loc) {
ffc14a88:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc14a8c:	7c 08 02 a6 	mflr    r0                                     
ffc14a90:	7c 6b 1b 78 	mr      r11,r3                                 
ffc14a94:	90 01 00 24 	stw     r0,36(r1)                              
ffc14a98:	7c 89 23 78 	mr      r9,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);
ffc14a9c:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc14aa0:	81 43 00 10 	lwz     r10,16(r3)                             
ffc14aa4:	38 80 00 00 	li      r4,0                                   
 */                                                                   
                                                                      
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
ffc14aa8:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc14aac:	83 ea 00 34 	lwz     r31,52(r10)                            
 */                                                                   
                                                                      
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
ffc14ab0:	93 61 00 0c 	stw     r27,12(r1)                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc14ab4:	81 5f 00 7c 	lwz     r10,124(r31)                           
 */                                                                   
                                                                      
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
ffc14ab8:	93 81 00 10 	stw     r28,16(r1)                             
ffc14abc:	80 6a 00 00 	lwz     r3,0(r10)                              
ffc14ac0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc14ac4:	93 c1 00 18 	stw     r30,24(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);
ffc14ac8:	83 8b 00 00 	lwz     r28,0(r11)                             
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (loc); 
ffc14acc:	83 a9 00 00 	lwz     r29,0(r9)                              
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (loc);
ffc14ad0:	83 c9 00 04 	lwz     r30,4(r9)                              
ffc14ad4:	4b ff 8c b9 	bl      ffc0d78c <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14ad8:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc14adc:	40 82 00 c8 	bne-    ffc14ba4 <rtems_rfs_rtems_unlink+0x11c><== NEVER TAKEN
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_UNLINK))           
    printf("rtems-rfs-rtems: unlink: parent:%" PRId32 " doff:%" PRIu32 " ino:%" PRId32 "\n",
           parent, doff, ino);                                        
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
ffc14ae0:	7f c6 f3 78 	mr      r6,r30                                 
ffc14ae4:	7f e3 fb 78 	mr      r3,r31                                 
ffc14ae8:	7f 84 e3 78 	mr      r4,r28                                 
ffc14aec:	7f a5 eb 78 	mr      r5,r29                                 
ffc14af0:	38 e0 00 00 	li      r7,0                                   
ffc14af4:	48 01 0b e1 	bl      ffc256d4 <rtems_rfs_unlink>            
  if (rc)                                                             
ffc14af8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14afc:	41 82 00 54 	beq-    ffc14b50 <rtems_rfs_rtems_unlink+0xc8> <== 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);            
ffc14b00:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc14b04:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14b08:	48 00 d4 41 	bl      ffc21f48 <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);            
ffc14b0c:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc14b10:	4b ff 8e 09 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14b14:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc14b18:	40 82 00 c0 	bne-    ffc14bd8 <rtems_rfs_rtems_unlink+0x150><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("unlink: unlink inode", rc);        
ffc14b1c:	48 01 3c a1 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc14b20:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc14b24:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc14b28:	80 01 00 24 	lwz     r0,36(r1)                              
ffc14b2c:	7f e3 fb 78 	mr      r3,r31                                 
ffc14b30:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc14b34:	7c 08 03 a6 	mtlr    r0                                     
ffc14b38:	83 81 00 10 	lwz     r28,16(r1)                             
ffc14b3c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc14b40:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc14b44:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc14b48:	38 21 00 20 	addi    r1,r1,32                               
ffc14b4c:	4e 80 00 20 	blr                                            
 * 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);            
ffc14b50:	83 df 00 7c 	lwz     r30,124(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc14b54:	7f e3 fb 78 	mr      r3,r31                                 
ffc14b58:	48 00 d3 f1 	bl      ffc21f48 <rtems_rfs_buffers_release>   
    return rtems_rfs_rtems_error ("unlink: unlink inode", rc);        
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc14b5c:	3b e0 00 00 	li      r31,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc14b60:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc14b64:	4b ff 8d b5 	bl      ffc0d918 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc14b68:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14b6c:	41 82 ff bc 	beq+    ffc14b28 <rtems_rfs_rtems_unlink+0xa0> <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc14b70:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14b74:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14b78:	48 00 2a 55 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14b7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14b80:	41 9e ff a8 	beq+    cr7,ffc14b28 <rtems_rfs_rtems_unlink+0xa0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14b84:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc14b88:	48 00 78 85 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14b8c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14b90:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14b94:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14b98:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14b9c:	48 01 4d 05 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14ba0:	4b ff ff 88 	b       ffc14b28 <rtems_rfs_rtems_unlink+0xa0> <== 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))                      
ffc14ba4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14ba8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14bac:	48 00 2a 21 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14bb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14bb4:	41 9e ff 2c 	beq+    cr7,ffc14ae0 <rtems_rfs_rtems_unlink+0x58><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc14bb8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc14bbc:	48 00 78 51 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14bc0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14bc4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14bc8:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc14bcc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14bd0:	48 01 4c d1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14bd4:	4b ff ff 0c 	b       ffc14ae0 <rtems_rfs_rtems_unlink+0x58> <== 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))                      
ffc14bd8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc14bdc:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc14be0:	48 00 29 ed 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc14be4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14be8:	41 9e ff 34 	beq+    cr7,ffc14b1c <rtems_rfs_rtems_unlink+0x94><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc14bec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14bf0:	48 00 78 1d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc14bf4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc14bf8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14bfc:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc14c00:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14c04:	48 01 4c 9d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc14c08:	4b ff ff 14 	b       ffc14b1c <rtems_rfs_rtems_unlink+0x94> <== NOT EXECUTED
                                                                      

ffc154ac <rtems_rfs_rtems_utime>: static int rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc, time_t atime, time_t mtime) {
ffc154ac:	94 21 ff b0 	stwu    r1,-80(r1)                             <== NOT EXECUTED
ffc154b0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc154b4:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc154b8:	90 01 00 54 	stw     r0,84(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc154bc:	81 63 00 10 	lwz     r11,16(r3)                             <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc,      
                      time_t                            atime,        
                      time_t                            mtime)        
{                                                                     
ffc154c0:	93 e1 00 4c 	stw     r31,76(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc154c4:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc,      
                      time_t                            atime,        
                      time_t                            mtime)        
{                                                                     
ffc154c8:	93 a1 00 44 	stw     r29,68(r1)                             <== NOT EXECUTED
ffc154cc:	7c 9d 23 78 	mr      r29,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);
ffc154d0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
}                                                                     
ffc154d4:	81 7f 00 7c 	lwz     r11,124(r31)                           <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc,      
                      time_t                            atime,        
                      time_t                            mtime)        
{                                                                     
ffc154d8:	93 c1 00 48 	stw     r30,72(r1)                             <== NOT EXECUTED
ffc154dc:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc154e0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc154e4:	80 6b 00 00 	lwz     r3,0(r11)                              <== NOT EXECUTED
ffc154e8:	93 61 00 3c 	stw     r27,60(r1)                             <== NOT EXECUTED
ffc154ec:	93 81 00 40 	stw     r28,64(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);
ffc154f0:	83 89 00 00 	lwz     r28,0(r9)                              <== NOT EXECUTED
ffc154f4:	4b ff 82 99 	bl      ffc0d78c <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc154f8:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc154fc:	40 82 01 6c 	bne-    ffc15668 <rtems_rfs_rtems_utime+0x1bc> <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc15500:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc15504:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15508:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1550c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc15510:	4b ff e9 a1 	bl      ffc13eb0 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc15514:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc15518:	41 82 00 54 	beq-    ffc1556c <rtems_rfs_rtems_utime+0xc0>  <== 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);            
ffc1551c:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15520:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15524:	48 00 ca 25 	bl      ffc21f48 <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);            
ffc15528:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1552c:	4b ff 83 ed 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc15530:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc15534:	40 82 01 68 	bne-    ffc1569c <rtems_rfs_rtems_utime+0x1f0> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("utime: read inode", rc);           
ffc15538:	48 01 32 85 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
ffc1553c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc15540:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc15544:	80 01 00 54 	lwz     r0,84(r1)                              <== NOT EXECUTED
ffc15548:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1554c:	83 61 00 3c 	lwz     r27,60(r1)                             <== NOT EXECUTED
ffc15550:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15554:	83 81 00 40 	lwz     r28,64(r1)                             <== NOT EXECUTED
ffc15558:	83 a1 00 44 	lwz     r29,68(r1)                             <== NOT EXECUTED
ffc1555c:	83 c1 00 48 	lwz     r30,72(r1)                             <== NOT EXECUTED
ffc15560:	83 e1 00 4c 	lwz     r31,76(r1)                             <== NOT EXECUTED
ffc15564:	38 21 00 50 	addi    r1,r1,80                               <== NOT EXECUTED
ffc15568:	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);                  
ffc1556c:	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);                  
ffc15570:	57 ca 46 3e 	rlwinm  r10,r30,8,24,31                        <== NOT EXECUTED
ffc15574:	57 cb 84 3e 	rlwinm  r11,r30,16,16,31                       <== NOT EXECUTED
ffc15578:	57 c0 c2 3e 	rlwinm  r0,r30,24,8,31                         <== NOT EXECUTED
ffc1557c:	9b c9 00 17 	stb     r30,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);                  
ffc15580:	57 a6 46 3e 	rlwinm  r6,r29,8,24,31                         <== NOT EXECUTED
ffc15584:	57 a7 84 3e 	rlwinm  r7,r29,16,16,31                        <== NOT EXECUTED
ffc15588:	98 c9 00 10 	stb     r6,16(r9)                              <== NOT EXECUTED
ffc1558c:	57 a8 c2 3e 	rlwinm  r8,r29,24,8,31                         <== 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);                  
ffc15590:	98 09 00 16 	stb     r0,22(r9)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc15594:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                      
ffc15598:	38 00 00 01 	li      r0,1                                   <== 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);                  
ffc1559c:	98 e9 00 11 	stb     r7,17(r9)                              <== NOT EXECUTED
ffc155a0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc155a4:	99 09 00 12 	stb     r8,18(r9)                              <== NOT EXECUTED
ffc155a8:	9b a9 00 13 	stb     r29,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);                  
ffc155ac:	99 49 00 14 	stb     r10,20(r9)                             <== NOT EXECUTED
ffc155b0:	99 69 00 15 	stb     r11,21(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);                      
ffc155b4:	98 01 00 18 	stb     r0,24(r1)                              <== NOT EXECUTED
ffc155b8:	4b ff eb 59 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc)                                                             
ffc155bc:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc155c0:	41 82 00 54 	beq-    ffc15614 <rtems_rfs_rtems_utime+0x168> <== 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);            
ffc155c4:	83 bf 00 7c 	lwz     r29,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc155c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc155cc:	48 00 c9 7d 	bl      ffc21f48 <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);            
ffc155d0:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc155d4:	4b ff 83 45 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc155d8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc155dc:	40 82 00 f4 	bne-    ffc156d0 <rtems_rfs_rtems_utime+0x224> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
ffc155e0:	48 01 31 dd 	bl      ffc287bc <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc155e4:	80 01 00 54 	lwz     r0,84(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
ffc155e8:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc155ec:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc155f0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc155f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc155f8:	83 61 00 3c 	lwz     r27,60(r1)                             <== NOT EXECUTED
ffc155fc:	83 81 00 40 	lwz     r28,64(r1)                             <== NOT EXECUTED
ffc15600:	83 a1 00 44 	lwz     r29,68(r1)                             <== NOT EXECUTED
ffc15604:	83 c1 00 48 	lwz     r30,72(r1)                             <== NOT EXECUTED
ffc15608:	83 e1 00 4c 	lwz     r31,76(r1)                             <== NOT EXECUTED
ffc1560c:	38 21 00 50 	addi    r1,r1,80                               <== NOT EXECUTED
ffc15610:	4e 80 00 20 	blr                                            <== 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);            
ffc15614:	83 df 00 7c 	lwz     r30,124(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc15618:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1561c:	48 00 c9 2d 	bl      ffc21f48 <rtems_rfs_buffers_release>   <== NOT EXECUTED
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc15620:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc15624:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc15628:	4b ff 82 f1 	bl      ffc0d918 <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1562c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc15630:	41 82 ff 14 	beq+    ffc15544 <rtems_rfs_rtems_utime+0x98>  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc15634:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15638:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1563c:	48 00 1f 91 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15640:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15644:	41 9e ff 00 	beq+    cr7,ffc15544 <rtems_rfs_rtems_utime+0x98><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc15648:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1564c:	48 00 6d c1 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15650:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15654:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15658:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc1565c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15660:	48 01 42 41 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15664:	4b ff fe e0 	b       ffc15544 <rtems_rfs_rtems_utime+0x98>  <== 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))                      
ffc15668:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1566c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc15670:	48 00 1f 5d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc15674:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15678:	41 9e fe 88 	beq+    cr7,ffc15500 <rtems_rfs_rtems_utime+0x54><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc1567c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc15680:	48 00 6d 8d 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc15684:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc15688:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1568c:	38 63 a0 cc 	addi    r3,r3,-24372                           <== NOT EXECUTED
ffc15690:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15694:	48 01 42 0d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15698:	4b ff fe 68 	b       ffc15500 <rtems_rfs_rtems_utime+0x54>  <== 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))                      
ffc1569c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc156a0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc156a4:	48 00 1f 29 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc156a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc156ac:	41 9e fe 8c 	beq+    cr7,ffc15538 <rtems_rfs_rtems_utime+0x8c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc156b0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc156b4:	48 00 6d 59 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc156b8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc156bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc156c0:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc156c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc156c8:	48 01 41 d9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc156cc:	4b ff fe 6c 	b       ffc15538 <rtems_rfs_rtems_utime+0x8c>  <== 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))                      
ffc156d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc156d4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc156d8:	48 00 1e f5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc156dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc156e0:	41 9e ff 00 	beq+    cr7,ffc155e0 <rtems_rfs_rtems_utime+0x134><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc156e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc156e8:	48 00 6d 25 	bl      ffc1c40c <rtems_status_text>           <== NOT EXECUTED
ffc156ec:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc156f0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc156f4:	38 63 a0 f4 	addi    r3,r3,-24332                           <== NOT EXECUTED
ffc156f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc156fc:	48 01 41 a5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc15700:	4b ff fe e0 	b       ffc155e0 <rtems_rfs_rtems_utime+0x134> <== NOT EXECUTED
                                                                      

ffc1243c <rtems_rfs_rup_quotient>: * "quotient = dividend / divisor" */ int rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor) { if (dividend == 0)
ffc1243c:	7c 69 1b 79 	mr.     r9,r3                                  <== NOT EXECUTED
    return 1;                                                         
ffc12440:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc12444:	4d 82 00 20 	beqlr                                          <== NOT EXECUTED
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc12448:	38 69 ff ff 	addi    r3,r9,-1                               <== NOT EXECUTED
ffc1244c:	7c 63 23 96 	divwu   r3,r3,r4                               <== NOT EXECUTED
ffc12450:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
}                                                                     
ffc12454:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc21628 <rtems_rfs_scan_chain>: */ static rtems_rfs_buffer* rtems_rfs_scan_chain (rtems_chain_control* chain, uint32_t* count, rtems_rfs_buffer_block block) {
ffc21628:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc2162c:	7c 08 02 a6 	mflr    r0                                     
ffc21630:	90 01 00 24 	stw     r0,36(r1)                              
ffc21634:	93 81 00 10 	stw     r28,16(r1)                             
ffc21638:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc2163c:	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)                   
{                                                                     
ffc21640:	93 c1 00 18 	stw     r30,24(r1)                             
ffc21644:	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))                
ffc21648:	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)                   
{                                                                     
ffc2164c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc21650:	7c bd 2b 78 	mr      r29,r5                                 
ffc21654:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc21658:	93 61 00 0c 	stw     r27,12(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
ffc2165c:	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))                
ffc21660:	4b ff 5f 6d 	bl      ffc175cc <rtems_rfs_trace>             
ffc21664:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21668:	40 9e 01 20 	bne-    cr7,ffc21788 <rtems_rfs_scan_chain+0x160><== NEVER TAKEN
    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
ffc2166c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc21670:	41 9e 00 cc 	beq-    cr7,ffc2173c <rtems_rfs_scan_chain+0x114><== NEVER TAKEN
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc21674:	3f 60 ff c4 	lis     r27,-60                                
ffc21678:	3b 7b ac 78 	addi    r27,r27,-21384                         
ffc2167c:	48 00 00 1c 	b       ffc21698 <rtems_rfs_scan_chain+0x70>   
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
ffc21680:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc21684:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc21688:	41 9e 00 40 	beq-    cr7,ffc216c8 <rtems_rfs_scan_chain+0xa0>
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc2168c:	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))                          
ffc21690:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc21694:	41 9e 00 a8 	beq-    cr7,ffc2173c <rtems_rfs_scan_chain+0x114>
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
ffc21698:	38 60 00 00 	li      r3,0                                   
ffc2169c:	38 80 00 80 	li      r4,128                                 
ffc216a0:	4b ff 5f 2d 	bl      ffc175cc <rtems_rfs_trace>             
ffc216a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc216a8:	41 9e ff d8 	beq+    cr7,ffc21680 <rtems_rfs_scan_chain+0x58><== ALWAYS TAKEN
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc216ac:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc216b0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc216b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc216b8:	48 00 81 e9 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
ffc216bc:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
ffc216c0:	7f 80 e8 00 	cmpw    cr7,r0,r29                             <== NOT EXECUTED
ffc216c4:	40 9e ff c8 	bne+    cr7,ffc2168c <rtems_rfs_scan_chain+0x64><== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
ffc216c8:	38 60 00 00 	li      r3,0                                   
ffc216cc:	38 80 00 80 	li      r4,128                                 
ffc216d0:	4b ff 5e fd 	bl      ffc175cc <rtems_rfs_trace>             
ffc216d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc216d8:	41 be 00 18 	beq+    cr7,ffc216f0 <rtems_rfs_scan_chain+0xc8><== ALWAYS TAKEN
        printf (": found block=%" PRIuPTR "\n",                       
ffc216dc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc216e0:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc216e4:	38 63 ac 80 	addi    r3,r3,-21376                           <== NOT EXECUTED
ffc216e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc216ec:	48 00 81 b5 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
ffc216f0:	81 3c 00 00 	lwz     r9,0(r28)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc216f4:	7f e3 fb 78 	mr      r3,r31                                 
      rtems_chain_extract (node);                                     
      rtems_chain_set_off_chain (node);                               
      return buffer;                                                  
ffc216f8:	7f fe fb 78 	mr      r30,r31                                
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
        printf (": found block=%" PRIuPTR "\n",                       
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
ffc216fc:	38 09 ff ff 	addi    r0,r9,-1                               
ffc21700:	90 1c 00 00 	stw     r0,0(r28)                              
ffc21704:	4b fe d0 79 	bl      ffc0e77c <_Chain_Extract>              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc21708:	38 00 00 00 	li      r0,0                                   
ffc2170c:	90 1f 00 04 	stw     r0,4(r31)                              
ffc21710:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
}                                                                     
ffc21714:	80 01 00 24 	lwz     r0,36(r1)                              
ffc21718:	7f c3 f3 78 	mr      r3,r30                                 
ffc2171c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc21720:	7c 08 03 a6 	mtlr    r0                                     
ffc21724:	83 81 00 10 	lwz     r28,16(r1)                             
ffc21728:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2172c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc21730:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc21734:	38 21 00 20 	addi    r1,r1,32                               
ffc21738:	4e 80 00 20 	blr                                            
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc2173c:	38 60 00 00 	li      r3,0                                   
ffc21740:	38 80 00 80 	li      r4,128                                 
ffc21744:	4b ff 5e 89 	bl      ffc175cc <rtems_rfs_trace>             
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
ffc21748:	3b c0 00 00 	li      r30,0                                  
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc2174c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21750:	41 9e ff c4 	beq+    cr7,ffc21714 <rtems_rfs_scan_chain+0xec><== ALWAYS TAKEN
    printf (": not found\n");                                         
ffc21754:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21758:	38 63 ac 94 	addi    r3,r3,-21356                           <== NOT EXECUTED
ffc2175c:	48 00 82 f9 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
ffc21760:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc21764:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21768:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc2176c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21770:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc21774:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc21778:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc2177c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc21780:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc21784:	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);
ffc21788:	80 9c 00 00 	lwz     r4,0(r28)                              <== NOT EXECUTED
ffc2178c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21790:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc21794:	38 63 ac 48 	addi    r3,r3,-21432                           <== NOT EXECUTED
ffc21798:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2179c:	48 00 81 05 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc217a0:	4b ff fe cc 	b       ffc2166c <rtems_rfs_scan_chain+0x44>   <== NOT EXECUTED
                                                                      

ffc1f79c <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,
ffc1f79c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1f7a0:	7c 08 02 a6 	mflr    r0                                     
ffc1f7a4:	90 01 00 44 	stw     r0,68(r1)                              
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc1f7a8:	38 00 00 00 	li      r0,0                                   
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f7ac:	93 81 00 30 	stw     r28,48(r1)                             
ffc1f7b0:	7c dc 33 78 	mr      r28,r6                                 
ffc1f7b4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc1f7b8:	7c 9d 23 78 	mr      r29,r4                                 
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f7bc:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f7c0:	93 c1 00 38 	stw     r30,56(r1)                             
ffc1f7c4:	7c be 2b 78 	mr      r30,r5                                 
ffc1f7c8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc1f7cc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1f7d0:	92 c1 00 18 	stw     r22,24(r1)                             
ffc1f7d4:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc1f7d8:	93 01 00 20 	stw     r24,32(r1)                             
ffc1f7dc:	93 21 00 24 	stw     r25,36(r1)                             
ffc1f7e0:	93 41 00 28 	stw     r26,40(r1)                             
ffc1f7e4:	93 61 00 2c 	stw     r27,44(r1)                             
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc1f7e8:	98 05 00 00 	stb     r0,0(r5)                               
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f7ec:	4b ff ff 39 	bl      ffc1f724 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f7f0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f7f4:	40 81 00 3c 	ble-    ffc1f830 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x94><== ALWAYS TAKEN
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f7f8:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc1f7fc:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
ffc1f800:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f804:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc1f808:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc1f80c:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc1f810:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc1f814:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc1f818:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc1f81c:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc1f820:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc1f824:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc1f828:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc1f82c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    return rc;                                                        
                                                                      
  /*                                                                  
   * Calculate the bit we are testing plus the end point we search over.
   */                                                                 
  test_bit = *bit;                                                    
ffc1f830:	81 3d 00 00 	lwz     r9,0(r29)                              
  end_bit  = test_bit + (window * direction);                         
ffc1f834:	57 8a 58 28 	rlwinm  r10,r28,11,0,20                        
                                                                      
  if (end_bit < 0)                                                    
ffc1f838:	7d 4a 4a 15 	add.    r10,r10,r9                             
ffc1f83c:	41 80 01 f0 	blt-    ffc1fa2c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x290><== NEVER TAKEN
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
ffc1f840:	81 7f 00 0c 	lwz     r11,12(r31)                            
ffc1f844:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc1f848:	40 9c 01 b0 	bge-    cr7,ffc1f9f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x25c><== ALWAYS TAKEN
    end_bit = control->size - 1;                                      
                                                                      
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
ffc1f84c:	7d 23 2e 70 	srawi   r3,r9,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];                  
ffc1f850:	83 1f 00 14 	lwz     r24,20(r31)                            
  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);             
ffc1f854:	7d 28 56 70 	srawi   r8,r9,10                               
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
  map_bits    = &map[map_index];                                      
ffc1f858:	80 81 00 08 	lwz     r4,8(r1)                               
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f85c:	2c 9c 00 00 	cmpwi   cr1,r28,0                              
  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];                  
ffc1f860:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
  map_bits    = &map[map_index];                                      
ffc1f864:	54 6b 10 3a 	rlwinm  r11,r3,2,0,29                          
  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];                  
ffc1f868:	7f 18 42 14 	add     r24,r24,r8                             
    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);             
ffc1f86c:	55 20 06 fe 	clrlwi  r0,r9,27                               
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
ffc1f870:	54 66 06 fe 	clrlwi  r6,r3,27                               
                                                                      
  search_bits = &control->search_bits[search_index];                  
  map_bits    = &map[map_index];                                      
ffc1f874:	7c 84 5a 14 	add     r4,r4,r11                              
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc1f878:	57 97 10 3a 	rlwinm  r23,r28,2,0,29                         
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f87c:	57 99 28 34 	rlwinm  r25,r28,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);                     
ffc1f880:	39 00 00 01 	li      r8,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))
ffc1f884:	83 58 00 00 	lwz     r26,0(r24)                             
ffc1f888:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc1f88c:	41 9e 00 98 	beq-    cr7,ffc1f924 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x188><== NEVER TAKEN
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f890:	7c bc 1a 14 	add     r5,r28,r3                              
ffc1f894:	54 a5 28 34 	rlwinm  r5,r5,5,0,26                           
ffc1f898:	39 85 00 1f 	addi    r12,r5,31                              
     * 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)                                     
ffc1f89c:	2b 86 00 1f 	cmplwi  cr7,r6,31                              
ffc1f8a0:	41 9d 00 ac 	bgt-    cr7,ffc1f94c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1b0><== 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);                     
ffc1f8a4:	7d 1b 30 30 	slw     r27,r8,r6                              
    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))     
ffc1f8a8:	7f 6b d0 39 	and.    r11,r27,r26                            
ffc1f8ac:	41 82 00 4c 	beq-    ffc1f8f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x15c><== NEVER TAKEN
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f8b0:	2b 80 00 1f 	cmplwi  cr7,r0,31                              
ffc1f8b4:	41 9d 00 44 	bgt-    cr7,ffc1f8f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x15c><== NEVER TAKEN
                 && (map_offset < rtems_rfs_bitmap_element_bits ()))  
          {                                                           
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
ffc1f8b8:	80 e4 00 00 	lwz     r7,0(r4)                               
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f8bc:	7d 0b 00 30 	slw     r11,r8,r0                              
           * 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))       
ffc1f8c0:	7d 76 38 39 	and.    r22,r11,r7                             
ffc1f8c4:	40 82 00 bc 	bne-    ffc1f980 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1e4>
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f8c8:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc1f8cc:	40 be 00 10 	bne+    cr7,ffc1f8dc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x140><== ALWAYS TAKEN
ffc1f8d0:	48 00 00 28 	b       ffc1f8f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x15c><== NOT EXECUTED
           * 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))       
ffc1f8d4:	40 82 00 ac 	bne-    ffc1f980 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1e4>
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f8d8:	41 9a 00 20 	beq-    cr6,ffc1f8f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x15c><== NEVER TAKEN
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f8dc:	7c 1c 02 14 	add     r0,r28,r0                              
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f8e0:	2b 80 00 1f 	cmplwi  cr7,r0,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);                     
ffc1f8e4:	7d 0b 00 30 	slw     r11,r8,r0                              
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f8e8:	7d 3c 4a 14 	add     r9,r28,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))       
ffc1f8ec:	7d 76 38 39 	and.    r22,r11,r7                             
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f8f0:	7f 0a 48 00 	cmpw    cr6,r10,r9                             
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f8f4:	40 9d ff e0 	ble+    cr7,ffc1f8d4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x138><== ALWAYS TAKEN
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc1f8f8:	7c 84 ba 14 	add     r4,r4,r23                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f8fc:	7c 7c 1a 14 	add     r3,r28,r3                              <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f900:	40 85 00 68 	ble-    cr1,ffc1f968 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1cc><== NOT EXECUTED
        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)))            
ffc1f904:	7f 8a 28 00 	cmpw    cr7,r10,r5                             <== NOT EXECUTED
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
ffc1f908:	7c a9 2b 78 	mr      r9,r5                                  <== NOT EXECUTED
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
            || ((direction > 0) && (test_bit >= end_bit)))            
ffc1f90c:	40 9d 01 3c 	ble-    cr7,ffc1fa48 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x2ac><== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f910:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
ffc1f914:	7c c6 e2 14 	add     r6,r6,r28                              <== NOT EXECUTED
ffc1f918:	7d 8c ca 14 	add     r12,r12,r25                            <== NOT EXECUTED
ffc1f91c:	7c a5 ca 14 	add     r5,r5,r25                              <== NOT EXECUTED
ffc1f920:	4b ff ff 7c 	b       ffc1f89c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x100><== NOT EXECUTED
       *                                                              
       * Align test_bit either up or down depending on the direction to next 32
       * bit boundary.                                                
       */                                                             
      rtems_rfs_bitmap_bit bits_skipped;                              
      test_bit &= ~((1 << RTEMS_RFS_ELEMENT_BITS_POWER_2) - 1);       
ffc1f924:	55 29 00 34 	rlwinm  r9,r9,0,0,26                           <== NOT EXECUTED
      if (direction > 0)                                              
ffc1f928:	40 85 00 ec 	ble-    cr1,ffc1fa14 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x278><== NOT EXECUTED
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
ffc1f92c:	20 c6 00 20 	subfic  r6,r6,32                               <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
ffc1f930:	54 c0 28 34 	rlwinm  r0,r6,5,0,26                           <== NOT EXECUTED
ffc1f934:	7d 20 4a 14 	add     r9,r0,r9                               <== NOT EXECUTED
        map_offset = 0;                                               
ffc1f938:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
      }                                                               
      map_bits += direction * bits_skipped;                           
ffc1f93c:	7c dc 31 d6 	mullw   r6,r28,r6                              <== NOT EXECUTED
ffc1f940:	54 cb 10 3a 	rlwinm  r11,r6,2,0,29                          <== NOT EXECUTED
ffc1f944:	7c 84 5a 14 	add     r4,r4,r11                              <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
ffc1f948:	7c 63 32 14 	add     r3,r3,r6                               <== NOT EXECUTED
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1f94c:	7f 18 ba 14 	add     r24,r24,r23                            <== NOT EXECUTED
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f950:	40 85 00 b0 	ble-    cr1,ffc1fa00 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x264><== NOT EXECUTED
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
ffc1f954:	40 85 00 e0 	ble-    cr1,ffc1fa34 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x298><== NOT EXECUTED
ffc1f958:	7f 8a 48 00 	cmpw    cr7,r10,r9                             <== NOT EXECUTED
ffc1f95c:	41 9c 00 d8 	blt-    cr7,ffc1fa34 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x298><== NOT EXECUTED
ffc1f960:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc1f964:	4b ff ff 20 	b       ffc1f884 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe8><== NOT EXECUTED
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
ffc1f968:	7d 89 63 78 	mr      r9,r12                                 <== NOT EXECUTED
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
ffc1f96c:	41 86 00 0c 	beq-    cr1,ffc1f978 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1dc><== NOT EXECUTED
ffc1f970:	7f 8a 60 00 	cmpw    cr7,r10,r12                            <== NOT EXECUTED
ffc1f974:	40 9c 00 c8 	bge-    cr7,ffc1fa3c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x2a0><== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f978:	38 00 00 1f 	li      r0,31                                  <== NOT EXECUTED
ffc1f97c:	4b ff ff 98 	b       ffc1f914 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x178><== 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);                    
ffc1f980:	7c eb 58 78 	andc    r11,r7,r11                             
                 && (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,                   
ffc1f984:	2f 8b 00 00 	cmpwi   cr7,r11,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);
ffc1f988:	91 64 00 00 	stw     r11,0(r4)                              
              if (rtems_rfs_bitmap_match(*map_bits,                   
ffc1f98c:	40 9e 00 10 	bne-    cr7,ffc1f99c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x200><== ALWAYS TAKEN
 */                                                                   
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);                    
ffc1f990:	80 18 00 00 	lwz     r0,0(r24)                              <== NOT EXECUTED
ffc1f994:	7c 1b d8 78 	andc    r27,r0,r27                             <== NOT EXECUTED
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
            {                                                         
              *map_bits = rtems_rfs_bitmap_set (*map_bits, 1 << map_offset);
              if (rtems_rfs_bitmap_match(*map_bits,                   
                                         RTEMS_RFS_BITMAP_ELEMENT_SET))
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
ffc1f998:	93 78 00 00 	stw     r27,0(r24)                             <== NOT EXECUTED
                                                     1 << search_offset);
              control->free--;                                        
ffc1f99c:	81 5f 00 10 	lwz     r10,16(r31)                            
              *bit = test_bit;                                        
              *found = true;                                          
ffc1f9a0:	38 00 00 01 	li      r0,1                                   
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc1f9a4:	81 7f 00 00 	lwz     r11,0(r31)                             
              return 0;                                               
ffc1f9a8:	38 60 00 00 	li      r3,0                                   
              *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--;                                        
ffc1f9ac:	39 4a ff ff 	addi    r10,r10,-1                             
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f9b0:	82 c1 00 18 	lwz     r22,24(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--;                                        
ffc1f9b4:	91 5f 00 10 	stw     r10,16(r31)                            
              *bit = test_bit;                                        
ffc1f9b8:	91 3d 00 00 	stw     r9,0(r29)                              
              *found = true;                                          
ffc1f9bc:	98 1e 00 00 	stb     r0,0(r30)                              
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc1f9c0:	98 0b 00 00 	stb     r0,0(r11)                              
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f9c4:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1f9c8:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc1f9cc:	7c 08 03 a6 	mtlr    r0                                     
ffc1f9d0:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1f9d4:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1f9d8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1f9dc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1f9e0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1f9e4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1f9e8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1f9ec:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1f9f0:	38 21 00 40 	addi    r1,r1,64                               
ffc1f9f4:	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;                                      
ffc1f9f8:	39 4b ff ff 	addi    r10,r11,-1                             
ffc1f9fc:	4b ff fe 50 	b       ffc1f84c <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb0>
                                                                      
    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)));              
ffc1fa00:	41 86 00 34 	beq-    cr1,ffc1fa34 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x298><== NOT EXECUTED
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
ffc1fa04:	7f 8a 48 00 	cmpw    cr7,r10,r9                             <== NOT EXECUTED
ffc1fa08:	41 9d 00 2c 	bgt-    cr7,ffc1fa34 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x298><== NOT EXECUTED
ffc1fa0c:	38 c0 00 1f 	li      r6,31                                  <== NOT EXECUTED
ffc1fa10:	4b ff fe 74 	b       ffc1f884 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe8><== NOT EXECUTED
        bits_skipped = search_offset + 1;                             
        /*                                                            
         * Need to remove 1 for the rounding up. The above rounds down and
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
ffc1fa14:	54 c0 28 34 	rlwinm  r0,r6,5,0,26                           <== NOT EXECUTED
ffc1fa18:	7c 00 00 f8 	not     r0,r0                                  <== NOT EXECUTED
ffc1fa1c:	7d 20 4a 14 	add     r9,r0,r9                               <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
        map_offset = 0;                                               
      }                                                               
      else                                                            
      {                                                               
        bits_skipped = search_offset + 1;                             
ffc1fa20:	38 c6 00 01 	addi    r6,r6,1                                <== NOT EXECUTED
        /*                                                            
         * Need to remove 1 for the rounding up. The above rounds down and
         * adds 1. Remember the logic is for subtraction.             
         */                                                           
        test_bit -= ((bits_skipped - 1) * rtems_rfs_bitmap_element_bits ()) + 1;
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
ffc1fa24:	38 00 00 1f 	li      r0,31                                  <== NOT EXECUTED
ffc1fa28:	4b ff ff 14 	b       ffc1f93c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1a0><== NOT EXECUTED
   */                                                                 
  test_bit = *bit;                                                    
  end_bit  = test_bit + (window * direction);                         
                                                                      
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
ffc1fa2c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1fa30:	4b ff fe 1c 	b       ffc1f84c <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb0><== NOT EXECUTED
    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;                                                           
ffc1fa34:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1fa38:	4b ff fd c0 	b       ffc1f7f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x5c><== NOT EXECUTED
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1fa3c:	7f 18 ba 14 	add     r24,r24,r23                            <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1fa40:	38 00 00 1f 	li      r0,31                                  <== NOT EXECUTED
ffc1fa44:	4b ff ff c0 	b       ffc1fa04 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x268><== NOT EXECUTED
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1fa48:	7f 18 ba 14 	add     r24,r24,r23                            <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1fa4c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1fa50:	4b ff ff 04 	b       ffc1f954 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1b8><== NOT EXECUTED
                                                                      

ffc25b80 <rtems_rfs_symlink>: const char* link, int link_length, uid_t uid, gid_t gid, rtems_rfs_ino parent) {
ffc25b80:	94 21 ff 38 	stwu    r1,-200(r1)                            
ffc25b84:	7c 08 02 a6 	mflr    r0                                     
ffc25b88:	93 81 00 b8 	stw     r28,184(r1)                            
ffc25b8c:	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))                      
ffc25b90:	38 60 00 02 	li      r3,2                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc25b94:	93 c1 00 c0 	stw     r30,192(r1)                            
ffc25b98:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc25b9c:	38 80 00 00 	li      r4,0                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc25ba0:	93 01 00 a8 	stw     r24,168(r1)                            
ffc25ba4:	7d 58 53 78 	mr      r24,r10                                
ffc25ba8:	93 21 00 ac 	stw     r25,172(r1)                            
ffc25bac:	7c b9 2b 78 	mr      r25,r5                                 
ffc25bb0:	93 41 00 b0 	stw     r26,176(r1)                            
ffc25bb4:	7d 1a 43 78 	mr      r26,r8                                 
ffc25bb8:	93 61 00 b4 	stw     r27,180(r1)                            
ffc25bbc:	7d 3b 4b 78 	mr      r27,r9                                 
ffc25bc0:	93 a1 00 bc 	stw     r29,188(r1)                            
ffc25bc4:	7c dd 33 78 	mr      r29,r6                                 
ffc25bc8:	93 e1 00 c4 	stw     r31,196(r1)                            
ffc25bcc:	7c ff 3b 78 	mr      r31,r7                                 
ffc25bd0:	90 01 00 cc 	stw     r0,204(r1)                             
ffc25bd4:	92 e1 00 a4 	stw     r23,164(r1)                            
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc25bd8:	4b ff 19 f5 	bl      ffc175cc <rtems_rfs_trace>             
ffc25bdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25be0:	40 9e 00 4c 	bne-    cr7,ffc25c2c <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))                    
ffc25be4:	80 1c 00 08 	lwz     r0,8(r28)                              
    return ENAMETOOLONG;                                              
ffc25be8:	3b 20 00 5b 	li      r25,91                                 
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc25bec:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc25bf0:	41 9c 00 b0 	blt-    cr7,ffc25ca0 <rtems_rfs_symlink+0x120> <== ALWAYS TAKEN
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
ffc25bf4:	80 01 00 cc 	lwz     r0,204(r1)                             
ffc25bf8:	7f 23 cb 78 	mr      r3,r25                                 
ffc25bfc:	82 e1 00 a4 	lwz     r23,164(r1)                            
ffc25c00:	7c 08 03 a6 	mtlr    r0                                     
ffc25c04:	83 01 00 a8 	lwz     r24,168(r1)                            
ffc25c08:	83 21 00 ac 	lwz     r25,172(r1)                            
ffc25c0c:	83 41 00 b0 	lwz     r26,176(r1)                            
ffc25c10:	83 61 00 b4 	lwz     r27,180(r1)                            
ffc25c14:	83 81 00 b8 	lwz     r28,184(r1)                            
ffc25c18:	83 a1 00 bc 	lwz     r29,188(r1)                            
ffc25c1c:	83 c1 00 c0 	lwz     r30,192(r1)                            
ffc25c20:	83 e1 00 c4 	lwz     r31,196(r1)                            
ffc25c24:	38 21 00 c8 	addi    r1,r1,200                              
ffc25c28:	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);  
ffc25c2c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25c30:	38 63 bf f0 	addi    r3,r3,-16400                           <== NOT EXECUTED
ffc25c34:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc25c38:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25c3c:	48 00 3c 65 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc25c40:	2f 99 00 00 	cmpwi   cr7,r25,0                              <== NOT EXECUTED
ffc25c44:	40 9d 00 1c 	ble-    cr7,ffc25c60 <rtems_rfs_symlink+0xe0>  <== NOT EXECUTED
ffc25c48:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc25c4c:	7c 7e b8 ae 	lbzx    r3,r30,r23                             <== 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++)                                      
ffc25c50:	3a f7 00 01 	addi    r23,r23,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc25c54:	48 00 3d 09 	bl      ffc2995c <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++)                                      
ffc25c58:	7f 97 c8 00 	cmpw    cr7,r23,r25                            <== NOT EXECUTED
ffc25c5c:	40 9e ff f0 	bne+    cr7,ffc25c4c <rtems_rfs_symlink+0xcc>  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
ffc25c60:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25c64:	38 63 c0 18 	addi    r3,r3,-16360                           <== NOT EXECUTED
ffc25c68:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25c6c:	48 00 3c 35 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
ffc25c70:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc25c74:	40 bd ff 70 	ble-    cr7,ffc25be4 <rtems_rfs_symlink+0x64>  <== NOT EXECUTED
ffc25c78:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
      printf ("%c", link[c]);                                         
ffc25c7c:	7c 7d c8 ae 	lbzx    r3,r29,r25                             <== 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++)                                 
ffc25c80:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
      printf ("%c", link[c]);                                         
ffc25c84:	48 00 3c d9 	bl      ffc2995c <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++)                                 
ffc25c88:	7f 99 f8 00 	cmpw    cr7,r25,r31                            <== NOT EXECUTED
ffc25c8c:	40 9e ff f0 	bne+    cr7,ffc25c7c <rtems_rfs_symlink+0xfc>  <== NOT EXECUTED
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc25c90:	80 1c 00 08 	lwz     r0,8(r28)                              <== NOT EXECUTED
    return ENAMETOOLONG;                                              
ffc25c94:	3b 20 00 5b 	li      r25,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))                    
ffc25c98:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc25c9c:	40 9c ff 58 	bge+    cr7,ffc25bf4 <rtems_rfs_symlink+0x74>  <== NOT EXECUTED
    return ENAMETOOLONG;                                              
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
ffc25ca0:	7f c3 f3 78 	mr      r3,r30                                 
ffc25ca4:	48 00 49 81 	bl      ffc2a624 <strlen>                      
ffc25ca8:	38 e0 00 00 	li      r7,0                                   
ffc25cac:	7c 66 1b 78 	mr      r6,r3                                  
ffc25cb0:	38 01 00 14 	addi    r0,r1,20                               
ffc25cb4:	7f 83 e3 78 	mr      r3,r28                                 
ffc25cb8:	90 01 00 08 	stw     r0,8(r1)                               
ffc25cbc:	7f 04 c3 78 	mr      r4,r24                                 
ffc25cc0:	7f c5 f3 78 	mr      r5,r30                                 
ffc25cc4:	60 e7 a1 ff 	ori     r7,r7,41471                            
ffc25cc8:	39 00 00 01 	li      r8,1                                   
ffc25ccc:	7f 49 d3 78 	mr      r9,r26                                 
ffc25cd0:	7f 6a db 78 	mr      r10,r27                                
ffc25cd4:	4b fe e8 61 	bl      ffc14534 <rtems_rfs_inode_create>      
                               RTEMS_RFS_S_SYMLINK,                   
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc25cd8:	7c 79 1b 79 	mr.     r25,r3                                 
ffc25cdc:	41 81 ff 18 	bgt+    ffc25bf4 <rtems_rfs_symlink+0x74>      <== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc25ce0:	80 81 00 14 	lwz     r4,20(r1)                              
ffc25ce4:	7f 83 e3 78 	mr      r3,r28                                 
ffc25ce8:	38 a1 00 24 	addi    r5,r1,36                               
ffc25cec:	38 c0 00 01 	li      r6,1                                   
ffc25cf0:	4b fe e1 c1 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc25cf4:	7c 79 1b 79 	mr.     r25,r3                                 
ffc25cf8:	41 81 fe fc 	bgt+    ffc25bf4 <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)                   
ffc25cfc:	2b 9f 00 13 	cmplwi  cr7,r31,19                             
ffc25d00:	41 9d 00 88 	bgt-    cr7,ffc25d88 <rtems_rfs_symlink+0x208> <== NEVER TAKEN
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc25d04:	81 61 00 30 	lwz     r11,48(r1)                             
ffc25d08:	3b c0 00 00 	li      r30,0                                  
    memcpy (inode.node->data.name, link, link_length);                
ffc25d0c:	7f a4 eb 78 	mr      r4,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);
ffc25d10:	39 2b 00 1c 	addi    r9,r11,28                              
ffc25d14:	93 cb 00 1c 	stw     r30,28(r11)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25d18:	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);
ffc25d1c:	93 cb 00 20 	stw     r30,32(r11)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25d20:	7f e5 fb 78 	mr      r5,r31                                 
   * 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);
ffc25d24:	93 cb 00 24 	stw     r30,36(r11)                            
ffc25d28:	93 cb 00 28 	stw     r30,40(r11)                            
ffc25d2c:	93 cb 00 2c 	stw     r30,44(r11)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25d30:	48 00 37 c9 	bl      ffc294f8 <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);      
ffc25d34:	81 21 00 30 	lwz     r9,48(r1)                              
ffc25d38:	9b c9 00 0c 	stb     r30,12(r9)                             
ffc25d3c:	81 21 00 30 	lwz     r9,48(r1)                              
ffc25d40:	9b c9 00 0d 	stb     r30,13(r9)                             
ffc25d44:	81 21 00 30 	lwz     r9,48(r1)                              
ffc25d48:	9b c9 00 0e 	stb     r30,14(r9)                             
ffc25d4c:	81 21 00 30 	lwz     r9,48(r1)                              
ffc25d50:	9b c9 00 0f 	stb     r30,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);    
ffc25d54:	81 21 00 30 	lwz     r9,48(r1)                              
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
ffc25d58:	57 ff 04 3e 	clrlwi  r31,r31,16                             
ffc25d5c:	57 e0 c2 3e 	rlwinm  r0,r31,24,8,31                         
ffc25d60:	98 09 00 0a 	stb     r0,10(r9)                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc25d64:	7f 83 e3 78 	mr      r3,r28                                 
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25d68:	38 00 00 01 	li      r0,1                                   
 */                                                                   
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);    
ffc25d6c:	81 21 00 30 	lwz     r9,48(r1)                              
ffc25d70:	38 81 00 24 	addi    r4,r1,36                               
ffc25d74:	9b e9 00 0b 	stb     r31,11(r9)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25d78:	98 01 00 34 	stb     r0,52(r1)                              
ffc25d7c:	4b fe e3 95 	bl      ffc14110 <rtems_rfs_inode_close>       
ffc25d80:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
  return rc;                                                          
ffc25d84:	4b ff fe 70 	b       ffc25bf4 <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);                 
ffc25d88:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25d8c:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc25d90:	38 a1 00 4c 	addi    r5,r1,76                               <== NOT EXECUTED
ffc25d94:	4b ff a9 29 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25d98:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25d9c:	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)                                                       
ffc25da0:	40 81 00 10 	ble-    ffc25db0 <rtems_rfs_symlink+0x230>     <== 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);                             
ffc25da4:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc25da8:	4b fe e3 69 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc25dac:	4b ff fe 48 	b       ffc25bf4 <rtems_rfs_symlink+0x74>      <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);              
ffc25db0:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
ffc25db4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc25db8:	38 c1 00 10 	addi    r6,r1,16                               <== NOT EXECUTED
ffc25dbc:	4b ff af c9 	bl      ffc20d84 <rtems_rfs_block_map_grow>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25dc0:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc25dc4:	40 81 00 20 	ble-    ffc25de4 <rtems_rfs_symlink+0x264>     <== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc25dc8:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
ffc25dcc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25dd0:	4b ff aa f5 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc25dd4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25dd8:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc25ddc:	4b fe e3 35 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc25de0:	4b ff fe 14 	b       ffc25bf4 <rtems_rfs_symlink+0x74>      <== 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); 
ffc25de4:	80 a1 00 10 	lwz     r5,16(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;                                                  
ffc25de8:	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;                                              
ffc25dec:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25df0:	93 c1 00 1c 	stw     r30,28(r1)                             <== NOT EXECUTED
ffc25df4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25df8:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc25dfc:	98 01 00 18 	stb     r0,24(r1)                              <== NOT EXECUTED
ffc25e00:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc25e04:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc25e08:	4b ff bb b1 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc25e0c:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc25e10:	40 81 00 18 	ble-    ffc25e28 <rtems_rfs_symlink+0x2a8>     <== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc25e14:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e18:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
ffc25e1c:	4b ff aa a9 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc25e20:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e24:	4b ff ff 80 	b       ffc25da4 <rtems_rfs_symlink+0x224>     <== NOT EXECUTED
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
ffc25e28:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc25e2c:	38 80 00 ff 	li      r4,255                                 <== NOT EXECUTED
ffc25e30:	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);                           
ffc25e34:	83 69 00 24 	lwz     r27,36(r9)                             <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc25e38:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc25e3c:	48 00 38 d5 	bl      ffc29710 <memset>                      <== NOT EXECUTED
    memcpy (data, link, link_length);                                 
ffc25e40:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc25e44:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc25e48:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc25e4c:	48 00 36 ad 	bl      ffc294f8 <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);                       
ffc25e50:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc25e54:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e58:	4b ff b9 4d 	bl      ffc217a4 <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);                        
ffc25e5c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e60:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
  handle->dirty = false;                                              
ffc25e64:	9b c1 00 18 	stb     r30,24(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25e68:	93 c1 00 1c 	stw     r30,28(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc25e6c:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc25e70:	4b ff aa 55 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25e74:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc25e78:	40 81 fe dc 	ble+    ffc25d54 <rtems_rfs_symlink+0x1d4>     <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25e7c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e80:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc25e84:	4b fe e2 8d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc25e88:	4b ff fd 6c 	b       ffc25bf4 <rtems_rfs_symlink+0x74>      <== NOT EXECUTED
                                                                      

ffc25e8c <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) {
ffc25e8c:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc25e90:	7c 08 02 a6 	mflr    r0                                     
ffc25e94:	93 c1 00 a8 	stw     r30,168(r1)                            
ffc25e98:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc25e9c:	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)                
{                                                                     
ffc25ea0:	93 e1 00 ac 	stw     r31,172(r1)                            
ffc25ea4:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc25ea8:	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)                
{                                                                     
ffc25eac:	93 61 00 9c 	stw     r27,156(r1)                            
ffc25eb0:	7c bb 2b 78 	mr      r27,r5                                 
ffc25eb4:	93 81 00 a0 	stw     r28,160(r1)                            
ffc25eb8:	7c dc 33 78 	mr      r28,r6                                 
ffc25ebc:	93 a1 00 a4 	stw     r29,164(r1)                            
ffc25ec0:	7c fd 3b 78 	mr      r29,r7                                 
ffc25ec4:	90 01 00 b4 	stw     r0,180(r1)                             
ffc25ec8:	93 41 00 98 	stw     r26,152(r1)                            
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc25ecc:	4b ff 17 01 	bl      ffc175cc <rtems_rfs_trace>             
ffc25ed0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25ed4:	40 9e 00 74 	bne-    cr7,ffc25f48 <rtems_rfs_symlink_read+0xbc><== NEVER TAKEN
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
ffc25ed8:	7f e3 fb 78 	mr      r3,r31                                 
ffc25edc:	7f c4 f3 78 	mr      r4,r30                                 
ffc25ee0:	38 a1 00 18 	addi    r5,r1,24                               
ffc25ee4:	38 c0 00 01 	li      r6,1                                   
ffc25ee8:	4b fe df c9 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc25eec:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25ef0:	40 82 00 2c 	bne-    ffc25f1c <rtems_rfs_symlink_read+0x90> <== NEVER TAKEN
    return rc;                                                        
                                                                      
  if (!RTEMS_RFS_S_ISLNK (rtems_rfs_inode_get_mode (&inode)))         
ffc25ef4:	80 81 00 24 	lwz     r4,36(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);                    
ffc25ef8:	89 24 00 02 	lbz     r9,2(r4)                               
ffc25efc:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc25f00:	6d 20 ff ff 	xoris   r0,r9,65535                            
ffc25f04:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          
ffc25f08:	41 9e 00 58 	beq-    cr7,ffc25f60 <rtems_rfs_symlink_read+0xd4><== ALWAYS TAKEN
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
                                                                      
  if (size < *length)                                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc25f0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc25f10:	38 81 00 18 	addi    r4,r1,24                               
ffc25f14:	4b fe e1 fd 	bl      ffc14110 <rtems_rfs_inode_close>       
    return EINVAL;                                                    
ffc25f18:	3b 40 00 16 	li      r26,22                                 
  path[*length] = '\0';                                               
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
ffc25f1c:	80 01 00 b4 	lwz     r0,180(r1)                             
ffc25f20:	7f 43 d3 78 	mr      r3,r26                                 
ffc25f24:	83 61 00 9c 	lwz     r27,156(r1)                            
ffc25f28:	7c 08 03 a6 	mtlr    r0                                     
ffc25f2c:	83 41 00 98 	lwz     r26,152(r1)                            
ffc25f30:	83 81 00 a0 	lwz     r28,160(r1)                            
ffc25f34:	83 a1 00 a4 	lwz     r29,164(r1)                            
ffc25f38:	83 c1 00 a8 	lwz     r30,168(r1)                            
ffc25f3c:	83 e1 00 ac 	lwz     r31,172(r1)                            
ffc25f40:	38 21 00 b0 	addi    r1,r1,176                              
ffc25f44:	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);     
ffc25f48:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25f4c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25f50:	38 63 c0 20 	addi    r3,r3,-16352                           <== NOT EXECUTED
ffc25f54:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25f58:	48 00 39 49 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25f5c:	4b ff ff 7c 	b       ffc25ed8 <rtems_rfs_symlink_read+0x4c> <== 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);            
ffc25f60:	88 a4 00 0a 	lbz     r5,10(r4)                              
ffc25f64:	88 04 00 0b 	lbz     r0,11(r4)                              
ffc25f68:	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);                
ffc25f6c:	7c a5 03 78 	or      r5,r5,r0                               
                                                                      
  if (size < *length)                                                 
ffc25f70:	7f 85 e0 40 	cmplw   cr7,r5,r28                             
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
ffc25f74:	90 bd 00 00 	stw     r5,0(r29)                              
                                                                      
  if (size < *length)                                                 
ffc25f78:	41 bd ff 94 	bgt-    cr7,ffc25f0c <rtems_rfs_symlink_read+0x80>
 * @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);             
ffc25f7c:	89 44 00 0c 	lbz     r10,12(r4)                             
ffc25f80:	89 24 00 0d 	lbz     r9,13(r4)                              
ffc25f84:	89 64 00 0f 	lbz     r11,15(r4)                             
ffc25f88:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc25f8c:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc25f90:	88 04 00 0e 	lbz     r0,14(r4)                              
ffc25f94:	7d 49 4b 78 	or      r9,r10,r9                              
ffc25f98:	7d 29 5b 78 	or      r9,r9,r11                              
ffc25f9c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  if (rtems_rfs_inode_get_block_count (&inode) == 0)                  
ffc25fa0:	7d 2b 03 79 	or.     r11,r9,r0                              
ffc25fa4:	40 82 00 30 	bne-    ffc25fd4 <rtems_rfs_symlink_read+0x148><== NEVER TAKEN
  {                                                                   
    memcpy (path, inode.node->data.name, *length);                    
ffc25fa8:	7f 63 db 78 	mr      r3,r27                                 
ffc25fac:	38 84 00 1c 	addi    r4,r4,28                               
ffc25fb0:	48 00 35 49 	bl      ffc294f8 <memcpy>                      
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
ffc25fb4:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc25fb8:	39 20 00 00 	li      r9,0                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc25fbc:	7f e3 fb 78 	mr      r3,r31                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
ffc25fc0:	7d 3b 01 ae 	stbx    r9,r27,r0                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc25fc4:	38 81 00 18 	addi    r4,r1,24                               
ffc25fc8:	4b fe e1 49 	bl      ffc14110 <rtems_rfs_inode_close>       
ffc25fcc:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  return rc;                                                          
ffc25fd0:	4b ff ff 4c 	b       ffc25f1c <rtems_rfs_symlink_read+0x90> 
    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);                 
ffc25fd4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25fd8:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc25fdc:	38 a1 00 40 	addi    r5,r1,64                               <== NOT EXECUTED
ffc25fe0:	4b ff a6 dd 	bl      ffc206bc <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25fe4:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25fe8:	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)                                                       
ffc25fec:	40 81 00 10 	ble-    ffc25ffc <rtems_rfs_symlink_read+0x170><== 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);                             
ffc25ff0:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc25ff4:	4b fe e1 1d 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc25ff8:	4b ff ff 24 	b       ffc25f1c <rtems_rfs_symlink_read+0x90> <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
ffc25ffc:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
ffc26000:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc26004:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc26008:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc2600c:	4b ff ac 75 	bl      ffc20c80 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc26010:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc26014:	40 81 00 20 	ble-    ffc26034 <rtems_rfs_symlink_read+0x1a8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc26018:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
ffc2601c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26020:	4b ff a8 a5 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc26024:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26028:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc2602c:	4b fe e0 e5 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc26030:	4b ff fe ec 	b       ffc25f1c <rtems_rfs_symlink_read+0x90> <== 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); 
ffc26034:	80 a1 00 08 	lwz     r5,8(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;                                                  
ffc26038:	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;                                              
ffc2603c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc26040:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
ffc26044:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26048:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc2604c:	98 01 00 0c 	stb     r0,12(r1)                              <== NOT EXECUTED
ffc26050:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc26054:	93 c1 00 14 	stw     r30,20(r1)                             <== NOT EXECUTED
ffc26058:	4b ff b9 61 	bl      ffc219b8 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc2605c:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc26060:	40 81 00 18 	ble-    ffc26078 <rtems_rfs_symlink_read+0x1ec><== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc26064:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26068:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
ffc2606c:	4b ff a8 59 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc26070:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26074:	4b ff ff 7c 	b       ffc25ff0 <rtems_rfs_symlink_read+0x164><== NOT EXECUTED
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
    memcpy (path, data, *length);                                     
ffc26078:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc2607c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc26080:	80 bd 00 00 	lwz     r5,0(r29)                              <== NOT EXECUTED
ffc26084:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc26088:	48 00 34 71 	bl      ffc294f8 <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);                       
ffc2608c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc26090:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26094:	4b ff b7 11 	bl      ffc217a4 <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);                        
ffc26098:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2609c:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
  handle->dirty = false;                                              
ffc260a0:	9b c1 00 0c 	stb     r30,12(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc260a4:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc260a8:	93 c1 00 14 	stw     r30,20(r1)                             <== NOT EXECUTED
ffc260ac:	4b ff a8 19 	bl      ffc208c4 <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc260b0:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc260b4:	40 81 ff 00 	ble+    ffc25fb4 <rtems_rfs_symlink_read+0x128><== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc260b8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc260bc:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc260c0:	4b fe e0 51 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc260c4:	4b ff fe 58 	b       ffc25f1c <rtems_rfs_symlink_read+0x90> <== NOT EXECUTED
                                                                      

ffc17620 <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;
ffc17620:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc17624:	39 69 29 f0 	addi    r11,r9,10736                           <== NOT EXECUTED
ffc17628:	81 49 29 f0 	lwz     r10,10736(r9)                          <== NOT EXECUTED
ffc1762c:	80 0b 00 04 	lwz     r0,4(r11)                              <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
ffc17630:	7d 43 18 78 	andc    r3,r10,r3                              <== NOT EXECUTED
ffc17634:	7c 04 20 78 	andc    r4,r0,r4                               <== NOT EXECUTED
ffc17638:	90 69 29 f0 	stw     r3,10736(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc1763c:	7d 43 53 78 	mr      r3,r10                                 <== 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;                                     
ffc17640:	90 8b 00 04 	stw     r4,4(r11)                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17644:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
ffc17648:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc175f4 <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;
ffc175f4:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc175f8:	39 69 29 f0 	addi    r11,r9,10736                           <== NOT EXECUTED
ffc175fc:	81 49 29 f0 	lwz     r10,10736(r9)                          <== NOT EXECUTED
ffc17600:	80 0b 00 04 	lwz     r0,4(r11)                              <== NOT EXECUTED
  rtems_rfs_trace_flags |= mask;                                      
ffc17604:	7c 63 53 78 	or      r3,r3,r10                              <== NOT EXECUTED
ffc17608:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc1760c:	90 69 29 f0 	stw     r3,10736(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17610:	7d 43 53 78 	mr      r3,r10                                 <== 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;                                      
ffc17614:	90 8b 00 04 	stw     r4,4(r11)                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17618:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
ffc1761c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1764c <rtems_rfs_trace_shell_command>: int rtems_rfs_trace_shell_command (int argc, char *argv[]) {
ffc1764c:	94 21 ff 10 	stwu    r1,-240(r1)                            <== NOT EXECUTED
ffc17650:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  const char* table[] =                                               
ffc17654:	38 a0 00 98 	li      r5,152                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17658:	93 01 00 d0 	stw     r24,208(r1)                            <== NOT EXECUTED
ffc1765c:	7c 98 23 78 	mr      r24,r4                                 <== NOT EXECUTED
  const char* table[] =                                               
ffc17660:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17664:	93 21 00 d4 	stw     r25,212(r1)                            <== NOT EXECUTED
  const char* table[] =                                               
ffc17668:	38 84 a1 40 	addi    r4,r4,-24256                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc1766c:	7c 79 1b 78 	mr      r25,r3                                 <== NOT EXECUTED
  const char* table[] =                                               
ffc17670:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17674:	90 01 00 f4 	stw     r0,244(r1)                             <== NOT EXECUTED
ffc17678:	91 c1 00 a8 	stw     r14,168(r1)                            <== NOT EXECUTED
ffc1767c:	91 e1 00 ac 	stw     r15,172(r1)                            <== NOT EXECUTED
ffc17680:	92 01 00 b0 	stw     r16,176(r1)                            <== NOT EXECUTED
ffc17684:	92 21 00 b4 	stw     r17,180(r1)                            <== NOT EXECUTED
ffc17688:	92 41 00 b8 	stw     r18,184(r1)                            <== NOT EXECUTED
ffc1768c:	92 61 00 bc 	stw     r19,188(r1)                            <== NOT EXECUTED
ffc17690:	92 81 00 c0 	stw     r20,192(r1)                            <== NOT EXECUTED
ffc17694:	92 a1 00 c4 	stw     r21,196(r1)                            <== NOT EXECUTED
ffc17698:	92 c1 00 c8 	stw     r22,200(r1)                            <== NOT EXECUTED
ffc1769c:	92 e1 00 cc 	stw     r23,204(r1)                            <== NOT EXECUTED
ffc176a0:	93 41 00 d8 	stw     r26,216(r1)                            <== NOT EXECUTED
ffc176a4:	93 61 00 dc 	stw     r27,220(r1)                            <== NOT EXECUTED
ffc176a8:	93 81 00 e0 	stw     r28,224(r1)                            <== NOT EXECUTED
ffc176ac:	93 a1 00 e4 	stw     r29,228(r1)                            <== NOT EXECUTED
ffc176b0:	93 c1 00 e8 	stw     r30,232(r1)                            <== NOT EXECUTED
ffc176b4:	93 e1 00 ec 	stw     r31,236(r1)                            <== NOT EXECUTED
  const char* table[] =                                               
ffc176b8:	48 01 1e 41 	bl      ffc294f8 <memcpy>                      <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc176bc:	2f 99 00 01 	cmpwi   cr7,r25,1                              <== NOT EXECUTED
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc176c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc176c4:	40 9d 01 0c 	ble-    cr7,ffc177d0 <rtems_rfs_trace_shell_command+0x184><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc176c8:	82 d8 00 04 	lwz     r22,4(r24)                             <== NOT EXECUTED
ffc176cc:	88 16 00 00 	lbz     r0,0(r22)                              <== NOT EXECUTED
ffc176d0:	2f 80 00 2d 	cmpwi   cr7,r0,45                              <== NOT EXECUTED
ffc176d4:	41 9e 01 e4 	beq-    cr7,ffc178b8 <rtems_rfs_trace_shell_command+0x26c><== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
          return 0;                                                   
        default:                                                      
          printf ("error: unknown option\n");                         
          return 1;                                                   
ffc176d8:	3e 20 00 00 	lis     r17,0                                  <== NOT EXECUTED
ffc176dc:	3a 31 29 f0 	addi    r17,r17,10736                          <== NOT EXECUTED
ffc176e0:	3d e0 ff c4 	lis     r15,-60                                <== NOT EXECUTED
ffc176e4:	83 d1 00 00 	lwz     r30,0(r17)                             <== NOT EXECUTED
ffc176e8:	3e 00 ff c4 	lis     r16,-60                                <== NOT EXECUTED
ffc176ec:	83 f1 00 04 	lwz     r31,4(r17)                             <== 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)                        
ffc176f0:	3d c0 ff c4 	lis     r14,-60                                <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
ffc176f4:	3a 78 00 04 	addi    r19,r24,4                              <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc176f8:	3a 80 00 01 	li      r20,1                                  <== NOT EXECUTED
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
ffc176fc:	3a 40 00 01 	li      r18,1                                  <== NOT EXECUTED
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
ffc17700:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc17704:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
    "file-open",                                                      
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
ffc17708:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc1770c:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17710:	39 ef a2 48 	addi    r15,r15,-23992                         <== NOT EXECUTED
ffc17714:	3a 10 a2 4c 	addi    r16,r16,-23988                         <== 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)                        
ffc17718:	39 ce c5 b0 	addi    r14,r14,-14928                         <== NOT EXECUTED
ffc1771c:	48 00 00 3c 	b       ffc17758 <rtems_rfs_trace_shell_command+0x10c><== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
ffc17720:	7f c9 d3 78 	or      r9,r30,r26                             <== NOT EXECUTED
ffc17724:	7f e0 db 78 	or      r0,r31,r27                             <== NOT EXECUTED
ffc17728:	7d 3e e0 78 	andc    r30,r9,r28                             <== NOT EXECUTED
ffc1772c:	7c 1f e8 78 	andc    r31,r0,r29                             <== NOT EXECUTED
        set = false;                                                  
ffc17730:	3a 40 00 00 	li      r18,0                                  <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17734:	3a 94 00 01 	addi    r20,r20,1                              <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17738:	93 d1 00 00 	stw     r30,0(r17)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc1773c:	7f 94 c8 00 	cmpw    cr7,r20,r25                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17740:	93 f1 00 04 	stw     r31,4(r17)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17744:	41 9e 00 88 	beq-    cr7,ffc177cc <rtems_rfs_trace_shell_command+0x180><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc17748:	86 d3 00 04 	lwzu    r22,4(r19)                             <== NOT EXECUTED
ffc1774c:	88 16 00 00 	lbz     r0,0(r22)                              <== NOT EXECUTED
ffc17750:	2f 80 00 2d 	cmpwi   cr7,r0,45                              <== NOT EXECUTED
ffc17754:	41 9e 01 64 	beq-    cr7,ffc178b8 <rtems_rfs_trace_shell_command+0x26c><== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
ffc17758:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc1775c:	7d e4 7b 78 	mr      r4,r15                                 <== NOT EXECUTED
ffc17760:	48 01 28 e9 	bl      ffc2a048 <strcmp>                      <== NOT EXECUTED
ffc17764:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17768:	40 9e 00 08 	bne-    cr7,ffc17770 <rtems_rfs_trace_shell_command+0x124><== NOT EXECUTED
        set = true;                                                   
ffc1776c:	3a 40 00 01 	li      r18,1                                  <== NOT EXECUTED
      if (strcmp (argv[arg], "clear") == 0)                           
ffc17770:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc17774:	7e 04 83 78 	mr      r4,r16                                 <== NOT EXECUTED
ffc17778:	48 01 28 d1 	bl      ffc2a048 <strcmp>                      <== NOT EXECUTED
ffc1777c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17780:	41 be ff a0 	beq-    cr7,ffc17720 <rtems_rfs_trace_shell_command+0xd4><== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc17784:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc17788:	7d c4 73 78 	mr      r4,r14                                 <== NOT EXECUTED
ffc1778c:	48 01 28 bd 	bl      ffc2a048 <strcmp>                      <== NOT EXECUTED
      {                                                               
        if (set)                                                      
ffc17790:	3a a1 00 04 	addi    r21,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)                        
ffc17794:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17798:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc1779c:	40 9e 00 94 	bne-    cr7,ffc17830 <rtems_rfs_trace_shell_command+0x1e4><== NOT EXECUTED
      {                                                               
        if (set)                                                      
ffc177a0:	2f 92 00 00 	cmpwi   cr7,r18,0                              <== NOT EXECUTED
ffc177a4:	41 9e 00 d0 	beq-    cr7,ffc17874 <rtems_rfs_trace_shell_command+0x228><== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc177a8:	3a 94 00 01 	addi    r20,r20,1                              <== NOT EXECUTED
ffc177ac:	7f 94 c8 00 	cmpw    cr7,r20,r25                            <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
ffc177b0:	7f 9e e0 f8 	not     r30,r28                                <== NOT EXECUTED
ffc177b4:	7f bf e8 f8 	not     r31,r29                                <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc177b8:	93 d1 00 00 	stw     r30,0(r17)                             <== 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;                            
ffc177bc:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc177c0:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc177c4:	93 f1 00 04 	stw     r31,4(r17)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc177c8:	40 9e ff 80 	bne+    cr7,ffc17748 <rtems_rfs_trace_shell_command+0xfc><== NOT EXECUTED
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc177cc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc177d0:	80 01 00 f4 	lwz     r0,244(r1)                             <== NOT EXECUTED
ffc177d4:	81 c1 00 a8 	lwz     r14,168(r1)                            <== NOT EXECUTED
ffc177d8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc177dc:	81 e1 00 ac 	lwz     r15,172(r1)                            <== NOT EXECUTED
ffc177e0:	82 01 00 b0 	lwz     r16,176(r1)                            <== NOT EXECUTED
ffc177e4:	82 21 00 b4 	lwz     r17,180(r1)                            <== NOT EXECUTED
ffc177e8:	82 41 00 b8 	lwz     r18,184(r1)                            <== NOT EXECUTED
ffc177ec:	82 61 00 bc 	lwz     r19,188(r1)                            <== NOT EXECUTED
ffc177f0:	82 81 00 c0 	lwz     r20,192(r1)                            <== NOT EXECUTED
ffc177f4:	82 a1 00 c4 	lwz     r21,196(r1)                            <== NOT EXECUTED
ffc177f8:	82 c1 00 c8 	lwz     r22,200(r1)                            <== NOT EXECUTED
ffc177fc:	82 e1 00 cc 	lwz     r23,204(r1)                            <== NOT EXECUTED
ffc17800:	83 01 00 d0 	lwz     r24,208(r1)                            <== NOT EXECUTED
ffc17804:	83 21 00 d4 	lwz     r25,212(r1)                            <== NOT EXECUTED
ffc17808:	83 41 00 d8 	lwz     r26,216(r1)                            <== NOT EXECUTED
ffc1780c:	83 61 00 dc 	lwz     r27,220(r1)                            <== NOT EXECUTED
ffc17810:	83 81 00 e0 	lwz     r28,224(r1)                            <== NOT EXECUTED
ffc17814:	83 a1 00 e4 	lwz     r29,228(r1)                            <== NOT EXECUTED
ffc17818:	83 c1 00 e8 	lwz     r30,232(r1)                            <== NOT EXECUTED
ffc1781c:	83 e1 00 ec 	lwz     r31,236(r1)                            <== NOT EXECUTED
ffc17820:	38 21 00 f0 	addi    r1,r1,240                              <== NOT EXECUTED
ffc17824:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc17828:	3a f7 00 01 	addi    r23,r23,1                              <== NOT EXECUTED
ffc1782c:	41 9a 00 5c 	beq-    cr6,ffc17888 <rtems_rfs_trace_shell_command+0x23c><== NOT EXECUTED
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
ffc17830:	84 95 00 04 	lwzu    r4,4(r21)                              <== NOT EXECUTED
ffc17834:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc17838:	48 01 28 11 	bl      ffc2a048 <strcmp>                      <== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc1783c:	2f 17 00 25 	cmpwi   cr6,r23,37                             <== NOT EXECUTED
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
ffc17840:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17844:	40 9e ff e4 	bne+    cr7,ffc17828 <rtems_rfs_trace_shell_command+0x1dc><== NOT EXECUTED
          {                                                           
            if (set)                                                  
ffc17848:	2f 92 00 00 	cmpwi   cr7,r18,0                              <== NOT EXECUTED
              set_value = 1 << t;                                     
ffc1784c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc17850:	7c 17 b8 30 	slw     r23,r0,r23                             <== NOT EXECUTED
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
ffc17854:	41 9e 00 48 	beq-    cr7,ffc1789c <rtems_rfs_trace_shell_command+0x250><== NOT EXECUTED
              set_value = 1 << t;                                     
ffc17858:	7e fa fe 70 	srawi   r26,r23,31                             <== NOT EXECUTED
ffc1785c:	7f 49 f3 78 	or      r9,r26,r30                             <== NOT EXECUTED
ffc17860:	7e e0 fb 78 	or      r0,r23,r31                             <== NOT EXECUTED
ffc17864:	7e fb bb 78 	mr      r27,r23                                <== NOT EXECUTED
ffc17868:	7d 3e e0 78 	andc    r30,r9,r28                             <== NOT EXECUTED
ffc1786c:	7c 1f e8 78 	andc    r31,r0,r29                             <== NOT EXECUTED
ffc17870:	4b ff fe c4 	b       ffc17734 <rtems_rfs_trace_shell_command+0xe8><== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
ffc17874:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc17878:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
ffc1787c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc17880:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc17884:	4b ff fe b0 	b       ffc17734 <rtems_rfs_trace_shell_command+0xe8><== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc17888:	7f c9 d3 78 	or      r9,r30,r26                             <== NOT EXECUTED
ffc1788c:	7f e0 db 78 	or      r0,r31,r27                             <== NOT EXECUTED
ffc17890:	7d 3e e0 78 	andc    r30,r9,r28                             <== NOT EXECUTED
ffc17894:	7c 1f e8 78 	andc    r31,r0,r29                             <== NOT EXECUTED
ffc17898:	4b ff fe 9c 	b       ffc17734 <rtems_rfs_trace_shell_command+0xe8><== NOT EXECUTED
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1 << t;                                     
            else                                                      
              clear_value = 1 << t;                                   
ffc1789c:	7e fc fe 70 	srawi   r28,r23,31                             <== NOT EXECUTED
ffc178a0:	7f c9 d3 78 	or      r9,r30,r26                             <== NOT EXECUTED
ffc178a4:	7f e0 db 78 	or      r0,r31,r27                             <== NOT EXECUTED
ffc178a8:	7e fd bb 78 	mr      r29,r23                                <== NOT EXECUTED
ffc178ac:	7d 3e e0 78 	andc    r30,r9,r28                             <== NOT EXECUTED
ffc178b0:	7c 1f b8 78 	andc    r31,r0,r23                             <== NOT EXECUTED
ffc178b4:	4b ff fe 80 	b       ffc17734 <rtems_rfs_trace_shell_command+0xe8><== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
ffc178b8:	88 16 00 01 	lbz     r0,1(r22)                              <== NOT EXECUTED
ffc178bc:	2f 80 00 68 	cmpwi   cr7,r0,104                             <== NOT EXECUTED
ffc178c0:	41 9e 00 20 	beq-    cr7,ffc178e0 <rtems_rfs_trace_shell_command+0x294><== NOT EXECUTED
ffc178c4:	2f 80 00 6c 	cmpwi   cr7,r0,108                             <== NOT EXECUTED
ffc178c8:	41 9e 00 34 	beq-    cr7,ffc178fc <rtems_rfs_trace_shell_command+0x2b0><== 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");                         
ffc178cc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc178d0:	38 63 a2 30 	addi    r3,r3,-24016                           <== NOT EXECUTED
ffc178d4:	48 01 21 81 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
          return 1;                                                   
ffc178d8:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc178dc:	4b ff fe f4 	b       ffc177d0 <rtems_rfs_trace_shell_command+0x184><== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
ffc178e0:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc178e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc178e8:	38 63 a1 d8 	addi    r3,r3,-24104                           <== NOT EXECUTED
ffc178ec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc178f0:	48 01 1f b1 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
          return 0;                                                   
ffc178f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc178f8:	4b ff fe d8 	b       ffc177d0 <rtems_rfs_trace_shell_command+0x184><== NOT EXECUTED
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
ffc178fc:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc17900:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17904:	38 63 a2 00 	addi    r3,r3,-24064                           <== NOT EXECUTED
ffc17908:	3f 80 ff c4 	lis     r28,-60                                <== NOT EXECUTED
ffc1790c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17910:	48 01 1f 91 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc17914:	3b c1 00 04 	addi    r30,r1,4                               <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
ffc17918:	3b 41 00 9c 	addi    r26,r1,156                             <== NOT EXECUTED
ffc1791c:	3b 9c a2 28 	addi    r28,r28,-24024                         <== 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]);                              
ffc17920:	84 9e 00 04 	lwzu    r4,4(r30)                              <== NOT EXECUTED
ffc17924:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc17928:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1792c:	48 01 1f 75 	bl      ffc298a0 <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++)
ffc17930:	7f 9e d0 00 	cmpw    cr7,r30,r26                            <== NOT EXECUTED
ffc17934:	40 9e ff ec 	bne+    cr7,ffc17920 <rtems_rfs_trace_shell_command+0x2d4><== NOT EXECUTED
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc17938:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1793c:	4b ff fe 94 	b       ffc177d0 <rtems_rfs_trace_shell_command+0x184><== NOT EXECUTED
                                                                      

ffc256d4 <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) {
ffc256d4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc256d8:	7d 80 00 26 	mfcr    r12                                    
ffc256dc:	7c 08 02 a6 	mflr    r0                                     
ffc256e0:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc256e4:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc256e8:	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)                    
{                                                                     
ffc256ec:	93 e1 00 74 	stw     r31,116(r1)                            
ffc256f0:	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))                       
ffc256f4:	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)                    
{                                                                     
ffc256f8:	93 61 00 64 	stw     r27,100(r1)                            
ffc256fc:	7c fb 3b 78 	mr      r27,r7                                 
ffc25700:	93 81 00 68 	stw     r28,104(r1)                            
ffc25704:	7c dc 33 78 	mr      r28,r6                                 
ffc25708:	93 c1 00 70 	stw     r30,112(r1)                            
ffc2570c:	7c be 2b 78 	mr      r30,r5                                 
ffc25710:	90 01 00 7c 	stw     r0,124(r1)                             
ffc25714:	93 41 00 60 	stw     r26,96(r1)                             
ffc25718:	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))                       
ffc2571c:	4b ff 1e b1 	bl      ffc175cc <rtems_rfs_trace>             
ffc25720:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25724:	40 9e 01 60 	bne-    cr7,ffc25884 <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);        
ffc25728:	7f e3 fb 78 	mr      r3,r31                                 
ffc2572c:	7f c4 f3 78 	mr      r4,r30                                 
ffc25730:	38 a1 00 08 	addi    r5,r1,8                                
ffc25734:	38 c0 00 01 	li      r6,1                                   
ffc25738:	4b fe e7 79 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc2573c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25740:	40 82 00 50 	bne-    ffc25790 <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)); 
ffc25744:	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);                    
ffc25748:	88 09 00 02 	lbz     r0,2(r9)                               
ffc2574c:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc25750:	68 00 40 00 	xori    r0,r0,16384                            
ffc25754:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc25758:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
  if (dir)                                                            
ffc2575c:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc25760:	41 92 00 6c 	beq-    cr4,ffc257cc <rtems_rfs_unlink+0xf8>   <== ALWAYS TAKEN
  {                                                                   
    switch (dir_mode)                                                 
ffc25764:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc25768:	40 9e 00 5c 	bne-    cr7,ffc257c4 <rtems_rfs_unlink+0xf0>   <== NOT EXECUTED
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
ffc2576c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25770:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25774:	4b ff 1e 59 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25778:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2577c:	40 9e 01 e4 	bne-    cr7,ffc25960 <rtems_rfs_unlink+0x28c>  <== NOT EXECUTED
          printf ("rtems-rfs: link is a directory\n");                
        rtems_rfs_inode_close (fs, &target_inode);                    
ffc25780:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25784:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc25788:	4b fe e9 89 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
        return EISDIR;                                                
ffc2578c:	3b 40 00 15 	li      r26,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;                                                          
}                                                                     
ffc25790:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc25794:	7f 43 d3 78 	mr      r3,r26                                 
ffc25798:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc2579c:	7c 08 03 a6 	mtlr    r0                                     
ffc257a0:	83 41 00 60 	lwz     r26,96(r1)                             
ffc257a4:	83 61 00 64 	lwz     r27,100(r1)                            
ffc257a8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc257ac:	83 81 00 68 	lwz     r28,104(r1)                            
ffc257b0:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc257b4:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc257b8:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc257bc:	38 21 00 78 	addi    r1,r1,120                              
ffc257c0:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
  if (dir)                                                            
  {                                                                   
    switch (dir_mode)                                                 
ffc257c4:	2f 9b 00 01 	cmpwi   cr7,r27,1                              <== NOT EXECUTED
ffc257c8:	41 9e 01 4c 	beq-    cr7,ffc25914 <rtems_rfs_unlink+0x240>  <== NOT EXECUTED
      default:                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc257cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc257d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc257d4:	38 a1 00 30 	addi    r5,r1,48                               
ffc257d8:	38 c0 00 01 	li      r6,1                                   
ffc257dc:	4b fe e6 d5 	bl      ffc13eb0 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc257e0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc257e4:	40 82 00 bc 	bne-    ffc258a0 <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);     
ffc257e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc257ec:	38 81 00 30 	addi    r4,r1,48                               
ffc257f0:	7f c5 f3 78 	mr      r5,r30                                 
ffc257f4:	7f 86 e3 78 	mr      r6,r28                                 
ffc257f8:	4b ff d4 e5 	bl      ffc22cdc <rtems_rfs_dir_del_entry>     
  if (rc > 0)                                                         
ffc257fc:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25800:	40 81 01 70 	ble-    ffc25970 <rtems_rfs_unlink+0x29c>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc25804:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25808:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc2580c:	4b ff 1d c1 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25810:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25814:	41 be 00 24 	beq+    cr7,ffc25838 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
      printf ("rtems-rfs: unlink: dir-del failed: %d: %s\n",          
ffc25818:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc2581c:	48 00 4d f1 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25820:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25824:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25828:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2582c:	38 63 be d0 	addi    r3,r3,-16688                           <== NOT EXECUTED
ffc25830:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25834:	48 00 40 6d 	bl      ffc298a0 <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);                        
ffc25838:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc2583c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25840:	4b fe e8 d1 	bl      ffc14110 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc25844:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25848:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc2584c:	4b fe e8 c5 	bl      ffc14110 <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;                                                          
}                                                                     
ffc25850:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc25854:	81 81 00 5c 	lwz     r12,92(r1)                             <== NOT EXECUTED
ffc25858:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc2585c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25860:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc25864:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc25868:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc2586c:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc25870:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc25874:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc25878:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc2587c:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc25880:	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);
ffc25884:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25888:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc2588c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc25890:	38 63 be 38 	addi    r3,r3,-16840                           <== NOT EXECUTED
ffc25894:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25898:	48 00 40 09 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2589c:	4b ff fe 8c 	b       ffc25728 <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))                     
ffc258a0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc258a4:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc258a8:	4b ff 1d 25 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc258ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc258b0:	41 be 00 24 	beq+    cr7,ffc258d4 <rtems_rfs_unlink+0x200>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-open failed: %d: %s\n",         
ffc258b4:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc258b8:	48 00 4d 55 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc258bc:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc258c0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc258c4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc258c8:	38 63 be a4 	addi    r3,r3,-16732                           <== NOT EXECUTED
ffc258cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc258d0:	48 00 3f d1 	bl      ffc298a0 <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);                        
ffc258d4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc258d8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc258dc:	4b fe e8 35 	bl      ffc14110 <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;                                                          
}                                                                     
ffc258e0:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc258e4:	81 81 00 5c 	lwz     r12,92(r1)                             <== NOT EXECUTED
ffc258e8:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc258ec:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc258f0:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc258f4:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc258f8:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc258fc:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc25900:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc25904:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc25908:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc2590c:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc25910:	4e 80 00 20 	blr                                            <== NOT EXECUTED
          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);                 
ffc25914:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25918:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc2591c:	4b ff dc bd 	bl      ffc235d8 <rtems_rfs_dir_empty>         <== NOT EXECUTED
        if (rc > 0)                                                   
ffc25920:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc25924:	40 a1 fe a8 	ble-    ffc257cc <rtems_rfs_unlink+0xf8>       <== NOT EXECUTED
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))               
ffc25928:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2592c:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25930:	4b ff 1c 9d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25934:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25938:	41 9e ff 9c 	beq+    cr7,ffc258d4 <rtems_rfs_unlink+0x200>  <== NOT EXECUTED
            printf ("rtems-rfs: dir-empty: %d: %s\n", rc, strerror (rc));
ffc2593c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc25940:	48 00 4c cd 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25944:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25948:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2594c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25950:	38 63 be 84 	addi    r3,r3,-16764                           <== NOT EXECUTED
ffc25954:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25958:	48 00 3f 49 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc2595c:	4b ff ff 78 	b       ffc258d4 <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");                
ffc25960:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25964:	38 63 be 64 	addi    r3,r3,-16796                           <== NOT EXECUTED
ffc25968:	48 00 40 ed 	bl      ffc29a54 <puts>                        <== NOT EXECUTED
ffc2596c:	4b ff fe 14 	b       ffc25780 <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);                  
ffc25970:	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);                  
ffc25974:	8b a9 00 00 	lbz     r29,0(r9)                              
ffc25978:	88 09 00 01 	lbz     r0,1(r9)                               
ffc2597c:	57 bd 40 2e 	rlwinm  r29,r29,8,0,23                         
ffc25980:	7f bd 03 78 	or      r29,r29,r0                             
  if (links == 0xffff)                                                
ffc25984:	6f a0 ff ff 	xoris   r0,r29,65535                           
ffc25988:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc2598c:	41 9e 00 b0 	beq-    cr7,ffc25a3c <rtems_rfs_unlink+0x368>  <== NEVER TAKEN
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc25990:	38 60 00 00 	li      r3,0                                   
ffc25994:	3c 80 02 00 	lis     r4,512                                 
ffc25998:	4b ff 1c 35 	bl      ffc175cc <rtems_rfs_trace>             
ffc2599c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc259a0:	40 9e 00 80 	bne-    cr7,ffc25a20 <rtems_rfs_unlink+0x34c>  <== NEVER TAKEN
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
                                                                      
  if (links > 1)                                                      
ffc259a4:	2b 9d 00 01 	cmplwi  cr7,r29,1                              
ffc259a8:	40 9d 00 e8 	ble-    cr7,ffc25a90 <rtems_rfs_unlink+0x3bc>  
  {                                                                   
    links--;                                                          
ffc259ac:	3b bd ff ff 	addi    r29,r29,-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);                  
ffc259b0:	81 21 00 14 	lwz     r9,20(r1)                              
ffc259b4:	57 bd 04 3e 	clrlwi  r29,r29,16                             
ffc259b8:	57 a0 c2 3e 	rlwinm  r0,r29,24,8,31                         
ffc259bc:	98 09 00 00 	stb     r0,0(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc259c0:	38 00 00 01 	li      r0,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);                  
ffc259c4:	81 21 00 14 	lwz     r9,20(r1)                              
ffc259c8:	9b a9 00 01 	stb     r29,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc259cc:	98 01 00 18 	stb     r0,24(r1)                              
        links--;                                                      
      rtems_rfs_inode_set_links (&parent_inode, links);               
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc259d0:	38 61 00 30 	addi    r3,r1,48                               
ffc259d4:	38 80 00 01 	li      r4,1                                   
ffc259d8:	38 a0 00 01 	li      r5,1                                   
ffc259dc:	4b fe e9 19 	bl      ffc142f4 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc259e0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc259e4:	40 81 00 60 	ble-    ffc25a44 <rtems_rfs_unlink+0x370>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc259e8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc259ec:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc259f0:	4b ff 1b dd 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc259f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc259f8:	41 9e fe 40 	beq+    cr7,ffc25838 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
ffc259fc:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc25a00:	48 00 4c 0d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25a04:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25a08:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25a0c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25a10:	38 63 bf 54 	addi    r3,r3,-16556                           <== NOT EXECUTED
ffc25a14:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25a18:	48 00 3e 89 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25a1c:	4b ff fe 1c 	b       ffc25838 <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);
ffc25a20:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25a24:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25a28:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc25a2c:	38 63 be fc 	addi    r3,r3,-16644                           <== NOT EXECUTED
ffc25a30:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25a34:	48 00 3e 6d 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25a38:	4b ff ff 6c 	b       ffc259a4 <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;                                                        
ffc25a3c:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc25a40:	4b ff ff 50 	b       ffc25990 <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);                     
ffc25a44:	7f e3 fb 78 	mr      r3,r31                                 
ffc25a48:	38 81 00 30 	addi    r4,r1,48                               
ffc25a4c:	4b fe e6 c5 	bl      ffc14110 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc25a50:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25a54:	40 81 00 88 	ble-    ffc25adc <rtems_rfs_unlink+0x408>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc25a58:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25a5c:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25a60:	4b ff 1b 6d 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25a64:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25a68:	41 9e fe 6c 	beq+    cr7,ffc258d4 <rtems_rfs_unlink+0x200>  <== NOT EXECUTED
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
ffc25a6c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc25a70:	48 00 4b 9d 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25a74:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25a78:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25a7c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25a80:	38 63 bf 88 	addi    r3,r3,-16504                           <== NOT EXECUTED
ffc25a84:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25a88:	48 00 3e 19 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25a8c:	4b ff fe 48 	b       ffc258d4 <rtems_rfs_unlink+0x200>      <== NOT EXECUTED
  else                                                                
  {                                                                   
    /*                                                                
     * Erasing the inode releases all blocks attached to it.          
     */                                                               
    rc = rtems_rfs_inode_delete (fs, &target_inode);                  
ffc25a90:	7f e3 fb 78 	mr      r3,r31                                 
ffc25a94:	38 81 00 08 	addi    r4,r1,8                                
ffc25a98:	4b fe e7 59 	bl      ffc141f0 <rtems_rfs_inode_delete>      
    if (rc > 0)                                                       
ffc25a9c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25aa0:	40 81 00 88 	ble-    ffc25b28 <rtems_rfs_unlink+0x454>      <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                   
ffc25aa4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25aa8:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25aac:	4b ff 1b 21 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25ab0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25ab4:	41 9e fd 84 	beq+    cr7,ffc25838 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
        printf ("rtems-rfs: unlink: inode-del failed: %d: %s\n",      
ffc25ab8:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc25abc:	48 00 4b 51 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25ac0:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25ac4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25ac8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25acc:	38 63 bf 24 	addi    r3,r3,-16604                           <== NOT EXECUTED
ffc25ad0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25ad4:	48 00 3d cd 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25ad8:	4b ff fd 60 	b       ffc25838 <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);                     
ffc25adc:	7f e3 fb 78 	mr      r3,r31                                 
ffc25ae0:	38 81 00 08 	addi    r4,r1,8                                
ffc25ae4:	4b fe e6 2d 	bl      ffc14110 <rtems_rfs_inode_close>       
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
ffc25ae8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc25aec:	40 a1 fc a4 	ble-    ffc25790 <rtems_rfs_unlink+0xbc>       <== ALWAYS TAKEN
ffc25af0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25af4:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25af8:	4b ff 1a d5 	bl      ffc175cc <rtems_rfs_trace>             <== NOT EXECUTED
ffc25afc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25b00:	41 9e fc 90 	beq+    cr7,ffc25790 <rtems_rfs_unlink+0xbc>   <== NOT EXECUTED
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
ffc25b04:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc25b08:	48 00 4b 05 	bl      ffc2a60c <strerror>                    <== NOT EXECUTED
ffc25b0c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25b10:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25b14:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25b18:	38 63 bf bc 	addi    r3,r3,-16452                           <== NOT EXECUTED
ffc25b1c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25b20:	48 00 3d 81 	bl      ffc298a0 <printf>                      <== NOT EXECUTED
ffc25b24:	4b ff fc 6c 	b       ffc25790 <rtems_rfs_unlink+0xbc>       <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &parent_inode);                      
      rtems_rfs_inode_close (fs, &target_inode);                      
      return rc;                                                      
    }                                                                 
                                                                      
    if (dir)                                                          
ffc25b28:	41 b2 fe a8 	beq-    cr4,ffc259d0 <rtems_rfs_unlink+0x2fc>  <== ALWAYS TAKEN
    {                                                                 
      links = rtems_rfs_inode_get_links (&parent_inode);              
ffc25b2c:	81 61 00 3c 	lwz     r11,60(r1)                             <== 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);                  
ffc25b30:	89 2b 00 00 	lbz     r9,0(r11)                              <== NOT EXECUTED
ffc25b34:	88 0b 00 01 	lbz     r0,1(r11)                              <== NOT EXECUTED
ffc25b38:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc25b3c:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
  if (links == 0xffff)                                                
ffc25b40:	6d 20 ff ff 	xoris   r0,r9,65535                            <== NOT EXECUTED
ffc25b44:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc25b48:	41 9e 00 30 	beq-    cr7,ffc25b78 <rtems_rfs_unlink+0x4a4>  <== NOT EXECUTED
      if (links > 1)                                                  
ffc25b4c:	2b 89 00 01 	cmplwi  cr7,r9,1                               <== NOT EXECUTED
ffc25b50:	40 9d 00 0c 	ble-    cr7,ffc25b5c <rtems_rfs_unlink+0x488>  <== NOT EXECUTED
        links--;                                                      
ffc25b54:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc25b58:	55 29 04 3e 	clrlwi  r9,r9,16                               <== NOT EXECUTED
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
ffc25b5c:	55 20 c2 3e 	rlwinm  r0,r9,24,8,31                          <== NOT EXECUTED
ffc25b60:	98 0b 00 00 	stb     r0,0(r11)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25b64:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
 * @prarm links The links.                                            
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_links (rtems_rfs_inode_handle* handle, uint16_t links)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->links, links);                  
ffc25b68:	81 61 00 3c 	lwz     r11,60(r1)                             <== NOT EXECUTED
ffc25b6c:	99 2b 00 01 	stb     r9,1(r11)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25b70:	98 01 00 40 	stb     r0,64(r1)                              <== NOT EXECUTED
ffc25b74:	4b ff fe 5c 	b       ffc259d0 <rtems_rfs_unlink+0x2fc>      <== 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;                                                        
ffc25b78:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc25b7c:	4b ff ff e0 	b       ffc25b5c <rtems_rfs_unlink+0x488>      <== NOT EXECUTED
                                                                      

ffc1ae38 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc1ae38:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1ae3c:	7c 08 02 a6 	mflr    r0                                     
ffc1ae40:	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 )                                                  
ffc1ae44:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc1ae48:	90 01 00 24 	stw     r0,36(r1)                              
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
ffc1ae4c:	38 00 00 0a 	li      r0,10                                  
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc1ae50:	40 82 00 1c 	bne-    ffc1ae6c <rtems_signal_send+0x34>      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1ae54:	7c 03 03 78 	mr      r3,r0                                  
ffc1ae58:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1ae5c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1ae60:	38 21 00 20 	addi    r1,r1,32                               
ffc1ae64:	7c 08 03 a6 	mtlr    r0                                     
ffc1ae68:	4e 80 00 20 	blr                                            
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc1ae6c:	38 81 00 08 	addi    r4,r1,8                                
ffc1ae70:	48 00 59 71 	bl      ffc207e0 <_Thread_Get>                 
  switch ( location ) {                                               
ffc1ae74:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1ae78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ae7c:	40 9e 00 6c 	bne-    cr7,ffc1aee8 <rtems_signal_send+0xb0>  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc1ae80:	81 23 01 2c 	lwz     r9,300(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc1ae84:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1ae88:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ae8c:	41 9e 00 78 	beq-    cr7,ffc1af04 <rtems_signal_send+0xcc>  
        if ( asr->is_enabled ) {                                      
ffc1ae90:	88 09 00 08 	lbz     r0,8(r9)                               
ffc1ae94:	2f 80 00 00 	cmpwi   cr7,r0,0                               
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1ae98:	7c 00 00 a6 	mfmsr   r0                                     
ffc1ae9c:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc1aea0:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc1aea4:	7d 60 01 24 	mtmsr   r11                                    
ffc1aea8:	41 9e 00 68 	beq-    cr7,ffc1af10 <rtems_signal_send+0xd8>  
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc1aeac:	81 69 00 14 	lwz     r11,20(r9)                             
ffc1aeb0:	7d 7f fb 78 	or      r31,r11,r31                            
ffc1aeb4:	93 e9 00 14 	stw     r31,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1aeb8:	7c 00 01 24 	mtmsr   r0                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc1aebc:	3d 20 00 00 	lis     r9,0                                   
ffc1aec0:	39 29 71 d8 	addi    r9,r9,29144                            
ffc1aec4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1aec8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1aecc:	41 9e 00 10 	beq-    cr7,ffc1aedc <rtems_signal_send+0xa4>  
ffc1aed0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1aed4:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc1aed8:	41 9e 00 4c 	beq-    cr7,ffc1af24 <rtems_signal_send+0xec>  <== ALWAYS TAKEN
            _Thread_Dispatch_necessary = true;                        
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc1aedc:	48 00 58 c9 	bl      ffc207a4 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc1aee0:	38 00 00 00 	li      r0,0                                   
ffc1aee4:	4b ff ff 70 	b       ffc1ae54 <rtems_signal_send+0x1c>      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1aee8:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc1aeec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1aef0:	7c 03 03 78 	mr      r3,r0                                  
ffc1aef4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1aef8:	38 21 00 20 	addi    r1,r1,32                               
ffc1aefc:	7c 08 03 a6 	mtlr    r0                                     
ffc1af00:	4e 80 00 20 	blr                                            
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc1af04:	48 00 58 a1 	bl      ffc207a4 <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc1af08:	38 00 00 0b 	li      r0,11                                  
ffc1af0c:	4b ff ff 48 	b       ffc1ae54 <rtems_signal_send+0x1c>      
ffc1af10:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1af14:	7d 7f fb 78 	or      r31,r11,r31                            
ffc1af18:	93 e9 00 18 	stw     r31,24(r9)                             
ffc1af1c:	7c 00 01 24 	mtmsr   r0                                     
ffc1af20:	4b ff ff bc 	b       ffc1aedc <rtems_signal_send+0xa4>      
      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;                        
ffc1af24:	38 00 00 01 	li      r0,1                                   
ffc1af28:	98 09 00 18 	stb     r0,24(r9)                              
ffc1af2c:	4b ff ff b0 	b       ffc1aedc <rtems_signal_send+0xa4>      
                                                                      

ffc03d68 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
ffc03d68:	7c 08 02 a6 	mflr    r0                                     
ffc03d6c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc03d70:	90 01 00 0c 	stw     r0,12(r1)                              
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
ffc03d74:	80 03 00 08 	lwz     r0,8(r3)                               
ffc03d78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03d7c:	41 9e 00 1c 	beq-    cr7,ffc03d98 <rtems_stack_checker_begin_extension+0x30><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
ffc03d80:	80 63 00 b8 	lwz     r3,184(r3)                             
ffc03d84:	3c 80 00 00 	lis     r4,0                                   
ffc03d88:	38 84 2a c4 	addi    r4,r4,10948                            
ffc03d8c:	38 63 00 08 	addi    r3,r3,8                                
ffc03d90:	38 a0 00 80 	li      r5,128                                 
ffc03d94:	48 00 f3 a5 	bl      ffc13138 <memcpy>                      
}                                                                     
ffc03d98:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03d9c:	38 21 00 08 	addi    r1,r1,8                                
ffc03da0:	7c 08 03 a6 	mtlr    r0                                     
ffc03da4:	4e 80 00 20 	blr                                            
                                                                      

ffc03ce4 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
ffc03ce4:	7c 08 02 a6 	mflr    r0                                     
ffc03ce8:	94 21 ff f8 	stwu    r1,-8(r1)                              
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if ( Stack_check_Initialized )                                      
ffc03cec:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
bool rtems_stack_checker_create_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc03cf0:	90 01 00 0c 	stw     r0,12(r1)                              
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if ( Stack_check_Initialized )                                      
ffc03cf4:	39 29 28 50 	addi    r9,r9,10320                            
ffc03cf8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc03cfc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03d00:	40 9e 00 3c 	bne-    cr7,ffc03d3c <rtems_stack_checker_create_extension+0x58>
ffc03d04:	38 00 00 20 	li      r0,32                                  
ffc03d08:	7c 09 03 a6 	mtctr   r0                                     
ffc03d0c:	3d 40 00 00 	lis     r10,0                                  
ffc03d10:	3d 00 ff c2 	lis     r8,-62                                 
ffc03d14:	39 4a 2a c0 	addi    r10,r10,10944                          
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_create_extension                              
 */                                                                   
bool rtems_stack_checker_create_extension(                            
ffc03d18:	39 60 00 00 	li      r11,0                                  
ffc03d1c:	39 08 90 a4 	addi    r8,r8,-28508                           
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
ffc03d20:	55 60 17 3a 	rlwinm  r0,r11,2,28,29                         
ffc03d24:	7c 08 00 2e 	lwzx    r0,r8,r0                               
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc03d28:	39 6b 00 01 	addi    r11,r11,1                              
      p[i] = pattern[ i%4 ];                                          
ffc03d2c:	94 0a 00 04 	stwu    r0,4(r10)                              
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc03d30:	42 00 ff f0 	bdnz+   ffc03d20 <rtems_stack_checker_create_extension+0x3c>
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
ffc03d34:	38 00 00 01 	li      r0,1                                   
ffc03d38:	90 09 00 08 	stw     r0,8(r9)                               
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
ffc03d3c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc03d40:	41 9e 00 14 	beq-    cr7,ffc03d54 <rtems_stack_checker_create_extension+0x70><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
ffc03d44:	80 64 00 b8 	lwz     r3,184(r4)                             
ffc03d48:	80 a4 00 b4 	lwz     r5,180(r4)                             
ffc03d4c:	38 80 00 a5 	li      r4,165                                 
ffc03d50:	48 00 f4 cd 	bl      ffc1321c <memset>                      
                                                                      
  return true;                                                        
}                                                                     
ffc03d54:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03d58:	38 60 00 01 	li      r3,1                                   
ffc03d5c:	38 21 00 08 	addi    r1,r1,8                                
ffc03d60:	7c 08 03 a6 	mtlr    r0                                     
ffc03d64:	4e 80 00 20 	blr                                            
                                                                      

ffc03f14 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
ffc03f14:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc03f18:	7c 08 02 a6 	mflr    r0                                     
ffc03f1c:	93 a1 00 0c 	stw     r29,12(r1)                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc03f20:	3f a0 00 00 	lis     r29,0                                  
ffc03f24:	3b bd 2e 38 	addi    r29,r29,11832                          
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc03f28:	90 01 00 1c 	stw     r0,28(r1)                              
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc03f2c:	81 3d 00 0c 	lwz     r9,12(r29)                             
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc03f30:	93 e1 00 14 	stw     r31,20(r1)                             
ffc03f34:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03f38:	80 69 00 b8 	lwz     r3,184(r9)                             
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc03f3c:	93 c1 00 10 	stw     r30,16(r1)                             
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc03f40:	3b c0 00 00 	li      r30,0                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03f44:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc03f48:	41 9c 00 18 	blt-    cr7,ffc03f60 <rtems_stack_checker_is_blown+0x4c><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc03f4c:	83 c9 00 b4 	lwz     r30,180(r9)                            
ffc03f50:	7f c3 f2 14 	add     r30,r3,r30                             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
ffc03f54:	7f df f0 10 	subfc   r30,r31,r30                            
ffc03f58:	3b c0 00 00 	li      r30,0                                  
ffc03f5c:	7f de f1 14 	adde    r30,r30,r30                            
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc03f60:	3d 20 00 00 	lis     r9,0                                   
ffc03f64:	80 09 28 58 	lwz     r0,10328(r9)                           
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
ffc03f68:	38 80 00 01 	li      r4,1                                   
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc03f6c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03f70:	41 9e 00 20 	beq-    cr7,ffc03f90 <rtems_stack_checker_is_blown+0x7c><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
ffc03f74:	3c 80 00 00 	lis     r4,0                                   
ffc03f78:	38 84 2a c4 	addi    r4,r4,10948                            
ffc03f7c:	38 63 00 08 	addi    r3,r3,8                                
ffc03f80:	38 a0 00 80 	li      r5,128                                 
ffc03f84:	48 00 f1 11 	bl      ffc13094 <memcmp>                      
ffc03f88:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc03f8c:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03f90:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc03f94:	41 9e 00 30 	beq-    cr7,ffc03fc4 <rtems_stack_checker_is_blown+0xb0><== NEVER TAKEN
ffc03f98:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc03f9c:	41 9e 00 28 	beq-    cr7,ffc03fc4 <rtems_stack_checker_is_blown+0xb0><== NEVER TAKEN
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
ffc03fa0:	39 7f 00 18 	addi    r11,r31,24                             
ffc03fa4:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc03fa8:	38 60 00 00 	li      r3,0                                   
ffc03fac:	83 ab ff f4 	lwz     r29,-12(r11)                           
ffc03fb0:	7c 08 03 a6 	mtlr    r0                                     
ffc03fb4:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc03fb8:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc03fbc:	7d 61 5b 78 	mr      r1,r11                                 
ffc03fc0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
ffc03fc4:	80 7d 00 0c 	lwz     r3,12(r29)                             <== NOT EXECUTED
ffc03fc8:	4b ff fd e1 	bl      ffc03da8 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      

ffc03fcc <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc03fcc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc03fd0:	7c 08 02 a6 	mflr    r0                                     
ffc03fd4:	93 e1 00 14 	stw     r31,20(r1)                             
  if ( !print )                                                       
ffc03fd8:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc03fdc:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc03fe0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc03fe4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc03fe8:	93 81 00 08 	stw     r28,8(r1)                              
ffc03fec:	93 c1 00 10 	stw     r30,16(r1)                             
  if ( !print )                                                       
ffc03ff0:	41 82 00 58 	beq-    ffc04048 <rtems_stack_checker_report_usage_with_plugin+0x7c><== NEVER TAKEN
    return;                                                           
                                                                      
  print_context = context;                                            
ffc03ff4:	3f c0 00 00 	lis     r30,0                                  
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc03ff8:	7f e9 03 a6 	mtctr   r31                                    
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc03ffc:	3b 9e 28 50 	addi    r28,r30,10320                          
  print_handler = print;                                              
ffc04000:	93 fe 28 50 	stw     r31,10320(r30)                         
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc04004:	3c 80 ff c2 	lis     r4,-62                                 
ffc04008:	38 84 91 d8 	addi    r4,r4,-28200                           
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc0400c:	90 7c 00 04 	stw     r3,4(r28)                              
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc04010:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04014:	4e 80 04 21 	bctrl                                          
  (*print)( context,                                                  
ffc04018:	3c 80 ff c2 	lis     r4,-62                                 
ffc0401c:	38 84 91 f0 	addi    r4,r4,-28176                           
ffc04020:	7f e9 03 a6 	mtctr   r31                                    
ffc04024:	7f a3 eb 78 	mr      r3,r29                                 
ffc04028:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0402c:	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 );   
ffc04030:	3c 60 ff c0 	lis     r3,-64                                 
ffc04034:	38 63 3a c8 	addi    r3,r3,15048                            
ffc04038:	48 00 67 55 	bl      ffc0a78c <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;                                               
ffc0403c:	38 00 00 00 	li      r0,0                                   
ffc04040:	90 1c 00 04 	stw     r0,4(r28)                              
  print_handler = NULL;                                               
ffc04044:	90 1e 28 50 	stw     r0,10320(r30)                          
}                                                                     
ffc04048:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0404c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04050:	7c 08 03 a6 	mtlr    r0                                     
ffc04054:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04058:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0405c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04060:	38 21 00 18 	addi    r1,r1,24                               
ffc04064:	4e 80 00 20 	blr                                            
                                                                      

ffc03e88 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
ffc03e88:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc03e8c:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  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,                                     
ffc03e90:	3c 80 00 00 	lis     r4,0                                   
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc03e94:	90 01 00 14 	stw     r0,20(r1)                              
  /*                                                                  
   *  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,                                     
ffc03e98:	38 84 2a c4 	addi    r4,r4,10948                            
ffc03e9c:	38 a0 00 80 	li      r5,128                                 
  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);                  
ffc03ea0:	81 23 00 b8 	lwz     r9,184(r3)                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc03ea4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc03ea8:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03eac:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc03eb0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc03eb4:	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);                  
ffc03eb8:	38 69 00 08 	addi    r3,r9,8                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03ebc:	41 9c 00 14 	blt-    cr7,ffc03ed0 <rtems_stack_checker_switch_extension+0x48><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc03ec0:	80 1e 00 b4 	lwz     r0,180(r30)                            
ffc03ec4:	7d 29 02 14 	add     r9,r9,r0                               
ffc03ec8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc03ecc:	40 9d 00 18 	ble-    cr7,ffc03ee4 <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,                                     
ffc03ed0:	48 00 f1 c5 	bl      ffc13094 <memcmp>                      <== NOT EXECUTED
ffc03ed4:	7c 64 00 34 	cntlzw  r4,r3                                  <== NOT EXECUTED
ffc03ed8:	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 );             
ffc03edc:	7f c3 f3 78 	mr      r3,r30                                 
ffc03ee0:	4b ff fe c9 	bl      ffc03da8 <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,                                     
ffc03ee4:	48 00 f1 b1 	bl      ffc13094 <memcmp>                      
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03ee8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc03eec:	40 9e 00 20 	bne-    cr7,ffc03f0c <rtems_stack_checker_switch_extension+0x84>
    Stack_check_report_blown_task( running, pattern_ok );             
  }                                                                   
}                                                                     
ffc03ef0:	39 7f 00 10 	addi    r11,r31,16                             
ffc03ef4:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc03ef8:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc03efc:	7c 08 03 a6 	mtlr    r0                                     
ffc03f00:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc03f04:	7d 61 5b 78 	mr      r1,r11                                 
ffc03f08:	4e 80 00 20 	blr                                            
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03f0c:	38 80 00 00 	li      r4,0                                   
ffc03f10:	4b ff ff cc 	b       ffc03edc <rtems_stack_checker_switch_extension+0x54>
                                                                      

ffc1009c <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
ffc1009c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc100a0:	7c 08 02 a6 	mflr    r0                                     
ffc100a4:	93 c1 00 20 	stw     r30,32(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc100a8:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc100ac:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc100b0:	7c bd 2b 78 	mr      r29,r5                                 
ffc100b4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc100b8:	7c 7f 1b 78 	mr      r31,r3                                 
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc100bc:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc100c0:	90 01 00 34 	stw     r0,52(r1)                              
ffc100c4:	db e1 00 28 	stfd    f31,40(r1)                             
ffc100c8:	93 81 00 18 	stw     r28,24(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc100cc:	41 82 00 60 	beq-    ffc1012c <rtems_string_to_double+0x90> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc100d0:	3f 80 ff c2 	lis     r28,-62                                
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc100d4:	48 00 2d b1 	bl      ffc12e84 <__errno>                     
  *n = 0;                                                             
ffc100d8:	c8 1c 08 28 	lfd     f0,2088(r28)                           
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc100dc:	38 00 00 00 	li      r0,0                                   
ffc100e0:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc100e4:	38 81 00 08 	addi    r4,r1,8                                
ffc100e8:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc100ec:	d8 1e 00 00 	stfd    f0,0(r30)                              
                                                                      
  result = strtod( s, &end );                                         
ffc100f0:	48 00 5a c5 	bl      ffc15bb4 <strtod>                      
                                                                      
  if ( endptr )                                                       
ffc100f4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc100f8:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc100fc:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
ffc10100:	41 9e 00 08 	beq-    cr7,ffc10108 <rtems_string_to_double+0x6c>
    *endptr = end;                                                    
ffc10104:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc10108:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc1010c:	38 60 00 0b 	li      r3,11                                  
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc10110:	41 9e 00 1c 	beq-    cr7,ffc1012c <rtems_string_to_double+0x90>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10114:	48 00 2d 71 	bl      ffc12e84 <__errno>                     
ffc10118:	80 03 00 00 	lwz     r0,0(r3)                               
ffc1011c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10120:	41 9e 00 30 	beq-    cr7,ffc10150 <rtems_string_to_double+0xb4>
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10124:	db fe 00 00 	stfd    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10128:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1012c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc10130:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10134:	7c 08 03 a6 	mtlr    r0                                     
ffc10138:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1013c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10140:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10144:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc10148:	38 21 00 30 	addi    r1,r1,48                               
ffc1014c:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10150:	c8 1c 08 28 	lfd     f0,2088(r28)                           
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
ffc10154:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10158:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1015c:	41 9e ff d0 	beq+    cr7,ffc1012c <rtems_string_to_double+0x90><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
ffc10160:	3d 20 ff c2 	lis     r9,-62                                 
ffc10164:	c8 09 2f 80 	lfd     f0,12160(r9)                           
ffc10168:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1016c:	41 9d ff c0 	bgt+    cr7,ffc1012c <rtems_string_to_double+0x90>
ffc10170:	3d 20 ff c2 	lis     r9,-62                                 
ffc10174:	c8 09 2f 88 	lfd     f0,12168(r9)                           
ffc10178:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1017c:	41 9c ff b0 	blt+    cr7,ffc1012c <rtems_string_to_double+0x90><== ALWAYS TAKEN
ffc10180:	4b ff ff a4 	b       ffc10124 <rtems_string_to_double+0x88> <== NOT EXECUTED
                                                                      

ffc10184 <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
ffc10184:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10188:	7c 08 02 a6 	mflr    r0                                     
ffc1018c:	93 c1 00 20 	stw     r30,32(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10190:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc10194:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc10198:	7c bd 2b 78 	mr      r29,r5                                 
ffc1019c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc101a0:	7c 7f 1b 78 	mr      r31,r3                                 
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc101a4:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc101a8:	90 01 00 34 	stw     r0,52(r1)                              
ffc101ac:	db e1 00 28 	stfd    f31,40(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc101b0:	41 82 00 5c 	beq-    ffc1020c <rtems_string_to_float+0x88>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc101b4:	48 00 2c d1 	bl      ffc12e84 <__errno>                     
ffc101b8:	38 00 00 00 	li      r0,0                                   
ffc101bc:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc101c0:	38 00 00 00 	li      r0,0                                   
                                                                      
  result = strtof( s, &end );                                         
ffc101c4:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc101c8:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  result = strtof( s, &end );                                         
ffc101cc:	38 81 00 08 	addi    r4,r1,8                                
ffc101d0:	48 00 59 fd 	bl      ffc15bcc <strtof>                      
                                                                      
  if ( endptr )                                                       
ffc101d4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
ffc101d8:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc101dc:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
ffc101e0:	41 9e 00 08 	beq-    cr7,ffc101e8 <rtems_string_to_float+0x64>
    *endptr = end;                                                    
ffc101e4:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc101e8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc101ec:	38 60 00 0b 	li      r3,11                                  
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc101f0:	41 9e 00 1c 	beq-    cr7,ffc1020c <rtems_string_to_float+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc101f4:	48 00 2c 91 	bl      ffc12e84 <__errno>                     
ffc101f8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc101fc:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10200:	41 9e 00 2c 	beq-    cr7,ffc1022c <rtems_string_to_float+0xa8>
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10204:	d3 fe 00 00 	stfs    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10208:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1020c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc10210:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10214:	7c 08 03 a6 	mtlr    r0                                     
ffc10218:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1021c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10220:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc10224:	38 21 00 30 	addi    r1,r1,48                               
ffc10228:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc1022c:	3d 20 ff c2 	lis     r9,-62                                 
ffc10230:	c0 09 08 1c 	lfs     f0,2076(r9)                            
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
ffc10234:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10238:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1023c:	41 9e ff d0 	beq+    cr7,ffc1020c <rtems_string_to_float+0x88><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
ffc10240:	3d 20 ff c2 	lis     r9,-62                                 
ffc10244:	c0 09 2f 90 	lfs     f0,12176(r9)                           
ffc10248:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1024c:	41 9d ff c0 	bgt+    cr7,ffc1020c <rtems_string_to_float+0x88>
ffc10250:	3d 20 ff c2 	lis     r9,-62                                 
ffc10254:	c0 09 2f 94 	lfs     f0,12180(r9)                           
ffc10258:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc1025c:	41 9c ff b0 	blt+    cr7,ffc1020c <rtems_string_to_float+0x88><== ALWAYS TAKEN
ffc10260:	4b ff ff a4 	b       ffc10204 <rtems_string_to_float+0x80>  <== NOT EXECUTED
                                                                      

ffc10264 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
ffc10264:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10268:	7c 08 02 a6 	mflr    r0                                     
ffc1026c:	93 a1 00 1c 	stw     r29,28(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10270:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10274:	93 81 00 18 	stw     r28,24(r1)                             
ffc10278:	7c dc 33 78 	mr      r28,r6                                 
ffc1027c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10280:	7c be 2b 78 	mr      r30,r5                                 
ffc10284:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10288:	7c 7f 1b 78 	mr      r31,r3                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc1028c:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10290:	90 01 00 2c 	stw     r0,44(r1)                              
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10294:	41 82 00 5c 	beq-    ffc102f0 <rtems_string_to_int+0x8c>    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10298:	48 00 2b ed 	bl      ffc12e84 <__errno>                     
ffc1029c:	38 00 00 00 	li      r0,0                                   
ffc102a0:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc102a4:	7f 85 e3 78 	mr      r5,r28                                 
ffc102a8:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc102ac:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc102b0:	38 81 00 08 	addi    r4,r1,8                                
ffc102b4:	48 00 5b 99 	bl      ffc15e4c <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc102b8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc102bc:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc102c0:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
ffc102c4:	41 9e 00 08 	beq-    cr7,ffc102cc <rtems_string_to_int+0x68>
    *endptr = end;                                                    
ffc102c8:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc102cc:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc102d0:	38 60 00 0b 	li      r3,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc102d4:	41 9e 00 1c 	beq-    cr7,ffc102f0 <rtems_string_to_int+0x8c>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc102d8:	48 00 2b ad 	bl      ffc12e84 <__errno>                     
ffc102dc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc102e0:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc102e4:	41 9e 00 2c 	beq-    cr7,ffc10310 <rtems_string_to_int+0xac>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc102e8:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc102ec:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc102f0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc102f4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc102f8:	7c 08 03 a6 	mtlr    r0                                     
ffc102fc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10300:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10304:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10308:	38 21 00 28 	addi    r1,r1,40                               
ffc1030c:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10310:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc10314:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10318:	41 9e ff d8 	beq+    cr7,ffc102f0 <rtems_string_to_int+0x8c><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc1031c:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc10320:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc10324:	41 9e ff cc 	beq+    cr7,ffc102f0 <rtems_string_to_int+0x8c>
ffc10328:	3c 00 80 00 	lis     r0,-32768                              
ffc1032c:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc10330:	40 9e ff b8 	bne+    cr7,ffc102e8 <rtems_string_to_int+0x84><== NEVER TAKEN
ffc10334:	4b ff ff bc 	b       ffc102f0 <rtems_string_to_int+0x8c>    
                                                                      

ffc10440 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
ffc10440:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10444:	7c 08 02 a6 	mflr    r0                                     
ffc10448:	93 a1 00 1c 	stw     r29,28(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1044c:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long *n,                                                            
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10450:	93 81 00 18 	stw     r28,24(r1)                             
ffc10454:	7c dc 33 78 	mr      r28,r6                                 
ffc10458:	93 c1 00 20 	stw     r30,32(r1)                             
ffc1045c:	7c be 2b 78 	mr      r30,r5                                 
ffc10460:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10464:	7c 7f 1b 78 	mr      r31,r3                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10468:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  long *n,                                                            
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc1046c:	90 01 00 2c 	stw     r0,44(r1)                              
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10470:	41 82 00 5c 	beq-    ffc104cc <rtems_string_to_long+0x8c>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10474:	48 00 2a 11 	bl      ffc12e84 <__errno>                     
ffc10478:	38 00 00 00 	li      r0,0                                   
ffc1047c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc10480:	7f 85 e3 78 	mr      r5,r28                                 
ffc10484:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10488:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc1048c:	38 81 00 08 	addi    r4,r1,8                                
ffc10490:	48 00 59 bd 	bl      ffc15e4c <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc10494:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc10498:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc1049c:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
ffc104a0:	41 9e 00 08 	beq-    cr7,ffc104a8 <rtems_string_to_long+0x68>
    *endptr = end;                                                    
ffc104a4:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc104a8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc104ac:	38 60 00 0b 	li      r3,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc104b0:	41 9e 00 1c 	beq-    cr7,ffc104cc <rtems_string_to_long+0x8c>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc104b4:	48 00 29 d1 	bl      ffc12e84 <__errno>                     
ffc104b8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc104bc:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc104c0:	41 9e 00 2c 	beq-    cr7,ffc104ec <rtems_string_to_long+0xac>
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc104c4:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc104c8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc104cc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc104d0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc104d4:	7c 08 03 a6 	mtlr    r0                                     
ffc104d8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc104dc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc104e0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc104e4:	38 21 00 28 	addi    r1,r1,40                               
ffc104e8:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc104ec:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc104f0:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc104f4:	41 9e ff d8 	beq+    cr7,ffc104cc <rtems_string_to_long+0x8c><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc104f8:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc104fc:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc10500:	41 9e ff cc 	beq+    cr7,ffc104cc <rtems_string_to_long+0x8c>
ffc10504:	3c 00 80 00 	lis     r0,-32768                              
ffc10508:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc1050c:	40 9e ff b8 	bne+    cr7,ffc104c4 <rtems_string_to_long+0x84><== NEVER TAKEN
ffc10510:	4b ff ff bc 	b       ffc104cc <rtems_string_to_long+0x8c>   
                                                                      

ffc10338 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
ffc10338:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1033c:	7c 08 02 a6 	mflr    r0                                     
ffc10340:	93 a1 00 24 	stw     r29,36(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10344:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long long *n,                                                       
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10348:	93 81 00 20 	stw     r28,32(r1)                             
ffc1034c:	7c dc 33 78 	mr      r28,r6                                 
ffc10350:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10354:	7c be 2b 78 	mr      r30,r5                                 
ffc10358:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1035c:	7c 7f 1b 78 	mr      r31,r3                                 
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10360:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  long long *n,                                                       
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10364:	90 01 00 34 	stw     r0,52(r1)                              
ffc10368:	93 61 00 1c 	stw     r27,28(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1036c:	41 82 00 70 	beq-    ffc103dc <rtems_string_to_long_long+0xa4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10370:	48 00 2b 15 	bl      ffc12e84 <__errno>                     
ffc10374:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc10378:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc1037c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc10380:	39 60 00 00 	li      r11,0                                  
ffc10384:	91 5d 00 00 	stw     r10,0(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc10388:	7f 85 e3 78 	mr      r5,r28                                 
ffc1038c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10390:	91 7d 00 04 	stw     r11,4(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc10394:	38 81 00 08 	addi    r4,r1,8                                
ffc10398:	48 00 5a d5 	bl      ffc15e6c <strtoll>                     
                                                                      
  if ( endptr )                                                       
ffc1039c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc103a0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc103a4:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc103a8:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  if ( endptr )                                                       
ffc103ac:	41 9e 00 08 	beq-    cr7,ffc103b4 <rtems_string_to_long_long+0x7c>
    *endptr = end;                                                    
ffc103b0:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc103b4:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc103b8:	38 60 00 0b 	li      r3,11                                  
  result = strtoll( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc103bc:	41 9e 00 20 	beq-    cr7,ffc103dc <rtems_string_to_long_long+0xa4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc103c0:	48 00 2a c5 	bl      ffc12e84 <__errno>                     
ffc103c4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc103c8:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc103cc:	41 9e 00 34 	beq-    cr7,ffc10400 <rtems_string_to_long_long+0xc8>
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc103d0:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc103d4:	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;                                                        
ffc103d8:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc103dc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc103e0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc103e4:	7c 08 03 a6 	mtlr    r0                                     
ffc103e8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc103ec:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc103f0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc103f4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc103f8:	38 21 00 30 	addi    r1,r1,48                               
ffc103fc:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10400:	7f 80 db 79 	or.     r0,r28,r27                             
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc10404:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10408:	41 82 ff d4 	beq+    ffc103dc <rtems_string_to_long_long+0xa4><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
ffc1040c:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc10410:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc10414:	41 9e 00 20 	beq-    cr7,ffc10434 <rtems_string_to_long_long+0xfc>
ffc10418:	3c 00 80 00 	lis     r0,-32768                              
ffc1041c:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc10420:	40 9e ff b0 	bne+    cr7,ffc103d0 <rtems_string_to_long_long+0x98><== NEVER TAKEN
ffc10424:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      return RTEMS_INVALID_NUMBER;                                    
ffc10428:	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 )))
ffc1042c:	40 9e ff a4 	bne+    cr7,ffc103d0 <rtems_string_to_long_long+0x98><== NEVER TAKEN
ffc10430:	4b ff ff ac 	b       ffc103dc <rtems_string_to_long_long+0xa4>
ffc10434:	2f 9b ff ff 	cmpwi   cr7,r27,-1                             
ffc10438:	40 9e ff e0 	bne+    cr7,ffc10418 <rtems_string_to_long_long+0xe0><== NEVER TAKEN
ffc1043c:	4b ff ff a0 	b       ffc103dc <rtems_string_to_long_long+0xa4>
                                                                      

ffc10538 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
ffc10538:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1053c:	7c 08 02 a6 	mflr    r0                                     
ffc10540:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10544:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10548:	93 81 00 18 	stw     r28,24(r1)                             
ffc1054c:	7c dc 33 78 	mr      r28,r6                                 
ffc10550:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10554:	7c be 2b 78 	mr      r30,r5                                 
ffc10558:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1055c:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10560:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10564:	90 01 00 2c 	stw     r0,44(r1)                              
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10568:	41 82 00 64 	beq-    ffc105cc <rtems_string_to_unsigned_char+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc1056c:	48 00 29 19 	bl      ffc12e84 <__errno>                     
ffc10570:	38 00 00 00 	li      r0,0                                   
ffc10574:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10578:	7f 85 e3 78 	mr      r5,r28                                 
ffc1057c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10580:	98 1d 00 00 	stb     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10584:	38 81 00 08 	addi    r4,r1,8                                
ffc10588:	48 00 5e 51 	bl      ffc163d8 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc1058c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10590:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10594:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc10598:	41 9e 00 08 	beq-    cr7,ffc105a0 <rtems_string_to_unsigned_char+0x68>
    *endptr = end;                                                    
ffc1059c:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc105a0:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc105a4:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc105a8:	41 9e 00 24 	beq-    cr7,ffc105cc <rtems_string_to_unsigned_char+0x94>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc105ac:	48 00 28 d9 	bl      ffc12e84 <__errno>                     
ffc105b0:	80 03 00 00 	lwz     r0,0(r3)                               
ffc105b4:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc105b8:	41 9e 00 64 	beq-    cr7,ffc1061c <rtems_string_to_unsigned_char+0xe4>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
ffc105bc:	2b 9c 00 ff 	cmplwi  cr7,r28,255                            
ffc105c0:	41 9d 00 2c 	bgt-    cr7,ffc105ec <rtems_string_to_unsigned_char+0xb4>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc105c4:	9b 9d 00 00 	stb     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc105c8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc105cc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc105d0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc105d4:	7c 08 03 a6 	mtlr    r0                                     
ffc105d8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc105dc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc105e0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc105e4:	38 21 00 28 	addi    r1,r1,40                               
ffc105e8:	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;                                                   
ffc105ec:	48 00 28 99 	bl      ffc12e84 <__errno>                     
ffc105f0:	38 00 00 22 	li      r0,34                                  
ffc105f4:	90 03 00 00 	stw     r0,0(r3)                               
    return RTEMS_INVALID_NUMBER;                                      
ffc105f8:	38 60 00 0a 	li      r3,10                                  
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc105fc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10600:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10604:	7c 08 03 a6 	mtlr    r0                                     
ffc10608:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1060c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10610:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10614:	38 21 00 28 	addi    r1,r1,40                               
ffc10618:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc1061c:	39 3c ff ff 	addi    r9,r28,-1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10620:	38 00 ff fd 	li      r0,-3                                  
ffc10624:	7f 89 00 40 	cmplw   cr7,r9,r0                              
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc10628:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc1062c:	41 9d ff a0 	bgt+    cr7,ffc105cc <rtems_string_to_unsigned_char+0x94><== ALWAYS TAKEN
ffc10630:	4b ff ff 8c 	b       ffc105bc <rtems_string_to_unsigned_char+0x84><== NOT EXECUTED
                                                                      

ffc10634 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
ffc10634:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10638:	7c 08 02 a6 	mflr    r0                                     
ffc1063c:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10640:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned int *n,                                                    
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10644:	93 81 00 18 	stw     r28,24(r1)                             
ffc10648:	7c dc 33 78 	mr      r28,r6                                 
ffc1064c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10650:	7c be 2b 78 	mr      r30,r5                                 
ffc10654:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10658:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc1065c:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  unsigned int *n,                                                    
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10660:	90 01 00 2c 	stw     r0,44(r1)                              
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10664:	41 82 00 5c 	beq-    ffc106c0 <rtems_string_to_unsigned_int+0x8c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10668:	48 00 28 1d 	bl      ffc12e84 <__errno>                     
ffc1066c:	38 00 00 00 	li      r0,0                                   
ffc10670:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10674:	7f 85 e3 78 	mr      r5,r28                                 
ffc10678:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc1067c:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10680:	38 81 00 08 	addi    r4,r1,8                                
ffc10684:	48 00 5d 55 	bl      ffc163d8 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc10688:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc1068c:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10690:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc10694:	41 9e 00 08 	beq-    cr7,ffc1069c <rtems_string_to_unsigned_int+0x68>
    *endptr = end;                                                    
ffc10698:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc1069c:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc106a0:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc106a4:	41 9e 00 1c 	beq-    cr7,ffc106c0 <rtems_string_to_unsigned_int+0x8c>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc106a8:	48 00 27 dd 	bl      ffc12e84 <__errno>                     
ffc106ac:	80 03 00 00 	lwz     r0,0(r3)                               
ffc106b0:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc106b4:	41 9e 00 2c 	beq-    cr7,ffc106e0 <rtems_string_to_unsigned_int+0xac>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc106b8:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc106bc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc106c0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc106c4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc106c8:	7c 08 03 a6 	mtlr    r0                                     
ffc106cc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc106d0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc106d4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc106d8:	38 21 00 28 	addi    r1,r1,40                               
ffc106dc:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc106e0:	39 3c ff ff 	addi    r9,r28,-1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc106e4:	38 00 ff fd 	li      r0,-3                                  
ffc106e8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc106ec:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc106f0:	41 9d ff d0 	bgt+    cr7,ffc106c0 <rtems_string_to_unsigned_int+0x8c><== ALWAYS TAKEN
ffc106f4:	4b ff ff c4 	b       ffc106b8 <rtems_string_to_unsigned_int+0x84><== NOT EXECUTED
                                                                      

ffc107ec <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
ffc107ec:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc107f0:	7c 08 02 a6 	mflr    r0                                     
ffc107f4:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc107f8:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc107fc:	93 81 00 18 	stw     r28,24(r1)                             
ffc10800:	7c dc 33 78 	mr      r28,r6                                 
ffc10804:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10808:	7c be 2b 78 	mr      r30,r5                                 
ffc1080c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10810:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10814:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  unsigned long *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10818:	90 01 00 2c 	stw     r0,44(r1)                              
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1081c:	41 82 00 5c 	beq-    ffc10878 <rtems_string_to_unsigned_long+0x8c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10820:	48 00 26 65 	bl      ffc12e84 <__errno>                     
ffc10824:	38 00 00 00 	li      r0,0                                   
ffc10828:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc1082c:	7f 85 e3 78 	mr      r5,r28                                 
ffc10830:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10834:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10838:	38 81 00 08 	addi    r4,r1,8                                
ffc1083c:	48 00 5b 9d 	bl      ffc163d8 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc10840:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc10844:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10848:	80 01 00 08 	lwz     r0,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc1084c:	41 9e 00 08 	beq-    cr7,ffc10854 <rtems_string_to_unsigned_long+0x68>
    *endptr = end;                                                    
ffc10850:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc10854:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc10858:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc1085c:	41 9e 00 1c 	beq-    cr7,ffc10878 <rtems_string_to_unsigned_long+0x8c>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10860:	48 00 26 25 	bl      ffc12e84 <__errno>                     
ffc10864:	80 03 00 00 	lwz     r0,0(r3)                               
ffc10868:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc1086c:	41 9e 00 2c 	beq-    cr7,ffc10898 <rtems_string_to_unsigned_long+0xac>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10870:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10874:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10878:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1087c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10880:	7c 08 03 a6 	mtlr    r0                                     
ffc10884:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10888:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1088c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10890:	38 21 00 28 	addi    r1,r1,40                               
ffc10894:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc10898:	39 3c ff ff 	addi    r9,r28,-1                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc1089c:	38 00 ff fd 	li      r0,-3                                  
ffc108a0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc108a4:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc108a8:	41 9d ff d0 	bgt+    cr7,ffc10878 <rtems_string_to_unsigned_long+0x8c><== ALWAYS TAKEN
ffc108ac:	4b ff ff c4 	b       ffc10870 <rtems_string_to_unsigned_long+0x84><== NOT EXECUTED
                                                                      

ffc106f8 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
ffc106f8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc106fc:	7c 08 02 a6 	mflr    r0                                     
ffc10700:	93 a1 00 24 	stw     r29,36(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10704:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long long *n,                                              
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10708:	93 81 00 20 	stw     r28,32(r1)                             
ffc1070c:	7c dc 33 78 	mr      r28,r6                                 
ffc10710:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10714:	7c be 2b 78 	mr      r30,r5                                 
ffc10718:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1071c:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10720:	38 60 00 09 	li      r3,9                                   
  const char *s,                                                      
  unsigned long long *n,                                              
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10724:	90 01 00 34 	stw     r0,52(r1)                              
ffc10728:	93 41 00 18 	stw     r26,24(r1)                             
ffc1072c:	93 61 00 1c 	stw     r27,28(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10730:	41 82 00 70 	beq-    ffc107a0 <rtems_string_to_unsigned_long_long+0xa8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10734:	48 00 27 51 	bl      ffc12e84 <__errno>                     
ffc10738:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc1073c:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10740:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc10744:	39 60 00 00 	li      r11,0                                  
ffc10748:	91 5d 00 00 	stw     r10,0(r29)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc1074c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10750:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10754:	91 7d 00 04 	stw     r11,4(r29)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10758:	7f 85 e3 78 	mr      r5,r28                                 
ffc1075c:	48 00 5c 9d 	bl      ffc163f8 <strtoull>                    
                                                                      
  if ( endptr )                                                       
ffc10760:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10764:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10768:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc1076c:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  if ( endptr )                                                       
ffc10770:	41 9e 00 08 	beq-    cr7,ffc10778 <rtems_string_to_unsigned_long_long+0x80>
    *endptr = end;                                                    
ffc10774:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc10778:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc1077c:	38 60 00 0b 	li      r3,11                                  
  result = strtoull( s, &end, base );                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc10780:	41 9e 00 20 	beq-    cr7,ffc107a0 <rtems_string_to_unsigned_long_long+0xa8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10784:	48 00 27 01 	bl      ffc12e84 <__errno>                     
ffc10788:	80 03 00 00 	lwz     r0,0(r3)                               
ffc1078c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10790:	41 9e 00 38 	beq-    cr7,ffc107c8 <rtems_string_to_unsigned_long_long+0xd0>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10794:	93 5d 00 00 	stw     r26,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10798:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc1079c:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc107a0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc107a4:	83 41 00 18 	lwz     r26,24(r1)                             
ffc107a8:	7c 08 03 a6 	mtlr    r0                                     
ffc107ac:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc107b0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc107b4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc107b8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc107bc:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc107c0:	38 21 00 30 	addi    r1,r1,48                               
ffc107c4:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
ffc107c8:	31 7b ff ff 	addic   r11,r27,-1                             
ffc107cc:	7d 5a 01 d4 	addme   r10,r26                                
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc107d0:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc107d4:	40 be ff c0 	bne-    cr7,ffc10794 <rtems_string_to_unsigned_long_long+0x9c><== NEVER TAKEN
ffc107d8:	38 00 ff fd 	li      r0,-3                                  
ffc107dc:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
ffc107e0:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc107e4:	41 9d ff bc 	bgt+    cr7,ffc107a0 <rtems_string_to_unsigned_long_long+0xa8><== ALWAYS TAKEN
ffc107e8:	4b ff ff ac 	b       ffc10794 <rtems_string_to_unsigned_long_long+0x9c><== NOT EXECUTED
                                                                      

ffc04448 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
ffc04448:	94 21 fe 38 	stwu    r1,-456(r1)                            
ffc0444c:	7c 08 02 a6 	mflr    r0                                     
ffc04450:	93 21 01 ac 	stw     r25,428(r1)                            
ffc04454:	90 01 01 cc 	stw     r0,460(r1)                             
ffc04458:	93 41 01 b0 	stw     r26,432(r1)                            
ffc0445c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc04460:	93 a1 01 bc 	stw     r29,444(r1)                            
ffc04464:	7c bd 2b 78 	mr      r29,r5                                 
ffc04468:	93 c1 01 c0 	stw     r30,448(r1)                            
ffc0446c:	7c 9e 23 78 	mr      r30,r4                                 
ffc04470:	92 81 01 98 	stw     r20,408(r1)                            
ffc04474:	92 a1 01 9c 	stw     r21,412(r1)                            
ffc04478:	92 c1 01 a0 	stw     r22,416(r1)                            
ffc0447c:	92 e1 01 a4 	stw     r23,420(r1)                            
ffc04480:	93 01 01 a8 	stw     r24,424(r1)                            
ffc04484:	93 61 01 b4 	stw     r27,436(r1)                            
ffc04488:	93 81 01 b8 	stw     r28,440(r1)                            
ffc0448c:	93 e1 01 c4 	stw     r31,452(r1)                            
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
ffc04490:	48 01 35 b1 	bl      ffc17a40 <strlen>                      
ffc04494:	7c 64 1b 78 	mr      r4,r3                                  
ffc04498:	38 a0 00 00 	li      r5,0                                   
ffc0449c:	7f 43 d3 78 	mr      r3,r26                                 
ffc044a0:	38 c1 00 20 	addi    r6,r1,32                               
ffc044a4:	38 e0 00 00 	li      r7,0                                   
ffc044a8:	48 00 0e 8d 	bl      ffc05334 <rtems_filesystem_evaluate_path>
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
ffc044ac:	7c 79 1b 79 	mr.     r25,r3                                 
ffc044b0:	40 82 01 f0 	bne-    ffc046a0 <rtems_tarfs_load+0x258>      
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc044b4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc044b8:	3d 20 ff c2 	lis     r9,-62                                 
ffc044bc:	39 29 42 08 	addi    r9,r9,16904                            
ffc044c0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc044c4:	41 9e 00 14 	beq-    cr7,ffc044d8 <rtems_tarfs_load+0x90>   
ffc044c8:	3d 20 ff c2 	lis     r9,-62                                 
ffc044cc:	39 29 49 84 	addi    r9,r9,18820                            
ffc044d0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc044d4:	40 9e 01 cc 	bne-    cr7,ffc046a0 <rtems_tarfs_load+0x258>  <== ALWAYS TAKEN
ffc044d8:	3a e0 00 00 	li      r23,0                                  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc044dc:	3b f7 02 00 	addi    r31,r23,512                            
ffc044e0:	7f 9f e8 40 	cmplw   cr7,r31,r29                            
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc044e4:	3f 60 ff c2 	lis     r27,-62                                
ffc044e8:	3b 7b 42 50 	addi    r27,r27,16976                          
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
ffc044ec:	3b 00 2f 00 	li      r24,12032                              
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc044f0:	41 9d 00 98 	bgt-    cr7,ffc04588 <rtems_tarfs_load+0x140>  <== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
ffc044f4:	7e fe ba 14 	add     r23,r30,r23                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc044f8:	38 77 01 01 	addi    r3,r23,257                             
ffc044fc:	7f 64 db 78 	mr      r4,r27                                 
ffc04500:	38 a0 00 05 	li      r5,5                                   
ffc04504:	48 01 35 f9 	bl      ffc17afc <strncmp>                     
ffc04508:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0450c:	40 82 00 7c 	bne-    ffc04588 <rtems_tarfs_load+0x140>      
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc04510:	38 a0 00 63 	li      r5,99                                  
ffc04514:	7e e4 bb 78 	mr      r4,r23                                 
ffc04518:	38 61 00 34 	addi    r3,r1,52                               
ffc0451c:	48 01 37 29 	bl      ffc17c44 <strncpy>                     
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc04520:	38 80 00 08 	li      r4,8                                   
ffc04524:	38 77 00 64 	addi    r3,r23,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';                             
ffc04528:	9b 81 00 97 	stb     r28,151(r1)                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
ffc0452c:	8a b7 00 9c 	lbz     r21,156(r23)                           
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc04530:	48 00 9d 45 	bl      ffc0e274 <_rtems_octal2ulong>          
ffc04534:	7c 76 1b 78 	mr      r22,r3                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc04538:	38 80 00 0c 	li      r4,12                                  
ffc0453c:	38 77 00 7c 	addi    r3,r23,124                             
ffc04540:	48 00 9d 35 	bl      ffc0e274 <_rtems_octal2ulong>          
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc04544:	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);               
ffc04548:	7c 7c 1b 78 	mr      r28,r3                                 
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc0454c:	38 77 00 94 	addi    r3,r23,148                             
ffc04550:	48 00 9d 25 	bl      ffc0e274 <_rtems_octal2ulong>          
ffc04554:	7c 74 1b 78 	mr      r20,r3                                 
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
ffc04558:	7e e3 bb 78 	mr      r3,r23                                 
ffc0455c:	48 00 a2 e9 	bl      ffc0e844 <_rtems_tar_header_checksum>  
ffc04560:	7f 83 a0 00 	cmpw    cr7,r3,r20                             
ffc04564:	40 9e 00 24 	bne-    cr7,ffc04588 <rtems_tarfs_load+0x140>  <== 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) {                                        
ffc04568:	2f 95 00 35 	cmpwi   cr7,r21,53                             
ffc0456c:	41 9e 00 b4 	beq-    cr7,ffc04620 <rtems_tarfs_load+0x1d8>  
     *        IMFS_create_node was ONLY passed a NULL when we created the
     *        root node.  We added a new IMFS_create_root_node() so this
     *        path no longer existed.  The result was simpler code which
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
ffc04570:	2f 95 00 30 	cmpwi   cr7,r21,48                             
ffc04574:	41 9e 00 58 	beq-    cr7,ffc045cc <rtems_tarfs_load+0x184>  
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc04578:	7f f7 fb 78 	mr      r23,r31                                
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc0457c:	3b f7 02 00 	addi    r31,r23,512                            
ffc04580:	7f 9f e8 40 	cmplw   cr7,r31,r29                            
ffc04584:	40 9d ff 70 	ble+    cr7,ffc044f4 <rtems_tarfs_load+0xac>   <== ALWAYS TAKEN
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
ffc04588:	80 01 01 cc 	lwz     r0,460(r1)                             
ffc0458c:	7f 23 cb 78 	mr      r3,r25                                 
ffc04590:	82 81 01 98 	lwz     r20,408(r1)                            
ffc04594:	7c 08 03 a6 	mtlr    r0                                     
ffc04598:	82 a1 01 9c 	lwz     r21,412(r1)                            
ffc0459c:	82 c1 01 a0 	lwz     r22,416(r1)                            
ffc045a0:	82 e1 01 a4 	lwz     r23,420(r1)                            
ffc045a4:	83 01 01 a8 	lwz     r24,424(r1)                            
ffc045a8:	83 21 01 ac 	lwz     r25,428(r1)                            
ffc045ac:	83 41 01 b0 	lwz     r26,432(r1)                            
ffc045b0:	83 61 01 b4 	lwz     r27,436(r1)                            
ffc045b4:	83 81 01 b8 	lwz     r28,440(r1)                            
ffc045b8:	83 a1 01 bc 	lwz     r29,444(r1)                            
ffc045bc:	83 c1 01 c0 	lwz     r30,448(r1)                            
ffc045c0:	83 e1 01 c4 	lwz     r31,452(r1)                            
ffc045c4:	38 21 01 c8 	addi    r1,r1,456                              
ffc045c8:	4e 80 00 20 	blr                                            
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc045cc:	80 01 00 20 	lwz     r0,32(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc045d0:	38 61 00 34 	addi    r3,r1,52                               
ffc045d4:	38 81 00 0c 	addi    r4,r1,12                               
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc045d8:	90 01 00 0c 	stw     r0,12(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc045dc:	38 a1 00 08 	addi    r5,r1,8                                
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc045e0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc045e4:	90 01 00 10 	stw     r0,16(r1)                              
ffc045e8:	80 01 00 28 	lwz     r0,40(r1)                              
ffc045ec:	90 01 00 14 	stw     r0,20(r1)                              
ffc045f0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc045f4:	90 01 00 18 	stw     r0,24(r1)                              
ffc045f8:	80 01 00 30 	lwz     r0,48(r1)                              
ffc045fc:	90 01 00 1c 	stw     r0,28(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc04600:	48 00 ae 65 	bl      ffc0f464 <IMFS_evaluate_for_make>      
ffc04604:	7c 77 1b 79 	mr.     r23,r3                                 
ffc04608:	41 82 00 68 	beq-    ffc04670 <rtems_tarfs_load+0x228>      <== ALWAYS TAKEN
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc0460c:	3b 9c 01 ff 	addi    r28,r28,511                            
      offset += 512 * nblocks;                                        
ffc04610:	57 9c 00 2c 	rlwinm  r28,r28,0,0,22                         
ffc04614:	7f fc fa 14 	add     r31,r28,r31                            
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc04618:	7f f7 fb 78 	mr      r23,r31                                
ffc0461c:	4b ff ff 60 	b       ffc0457c <rtems_tarfs_load+0x134>      
     * - 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);                              
ffc04620:	7f 44 d3 78 	mr      r4,r26                                 
ffc04624:	38 61 00 98 	addi    r3,r1,152                              
ffc04628:	48 01 2f 05 	bl      ffc1752c <strcpy>                      
      if (full_filename[strlen(full_filename)-1] != '/')              
ffc0462c:	38 61 00 98 	addi    r3,r1,152                              
ffc04630:	48 01 34 11 	bl      ffc17a40 <strlen>                      
ffc04634:	38 01 00 08 	addi    r0,r1,8                                
ffc04638:	7d 20 1a 14 	add     r9,r0,r3                               
ffc0463c:	88 09 00 8f 	lbz     r0,143(r9)                             
ffc04640:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc04644:	41 9e 00 0c 	beq-    cr7,ffc04650 <rtems_tarfs_load+0x208>  <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
ffc04648:	39 21 00 98 	addi    r9,r1,152                              <== NOT EXECUTED
ffc0464c:	7f 09 1b 2e 	sthx    r24,r9,r3                              <== NOT EXECUTED
      strcat(full_filename, filename);                                
ffc04650:	38 81 00 34 	addi    r4,r1,52                               
ffc04654:	38 61 00 98 	addi    r3,r1,152                              
ffc04658:	48 01 2d 75 	bl      ffc173cc <strcat>                      
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc0465c:	38 61 00 98 	addi    r3,r1,152                              
ffc04660:	38 80 01 ff 	li      r4,511                                 
ffc04664:	48 00 18 99 	bl      ffc05efc <mkdir>                       
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc04668:	7f f7 fb 78 	mr      r23,r31                                
ffc0466c:	4b ff ff 10 	b       ffc0457c <rtems_tarfs_load+0x134>      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
ffc04670:	56 c6 05 fe 	clrlwi  r6,r22,23                              
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
ffc04674:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc04678:	38 61 00 0c 	addi    r3,r1,12                               
ffc0467c:	38 80 00 06 	li      r4,6                                   
ffc04680:	60 c6 80 00 	ori     r6,r6,32768                            
ffc04684:	38 e0 00 00 	li      r7,0                                   
ffc04688:	48 00 a4 71 	bl      ffc0eaf8 <IMFS_create_node>            
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
ffc0468c:	7c 1e fa 14 	add     r0,r30,r31                             
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
ffc04690:	93 83 00 54 	stw     r28,84(r3)                             
ffc04694:	92 e3 00 50 	stw     r23,80(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
ffc04698:	90 03 00 58 	stw     r0,88(r3)                              
ffc0469c:	4b ff ff 70 	b       ffc0460c <rtems_tarfs_load+0x1c4>      
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
     return -1;                                                       
ffc046a0:	3b 20 ff ff 	li      r25,-1                                 
ffc046a4:	4b ff fe e4 	b       ffc04588 <rtems_tarfs_load+0x140>      
                                                                      

ffc1252c <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc1252c:	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                                       
)                                                                     
{                                                                     
ffc12530:	7c 08 02 a6 	mflr    r0                                     
ffc12534:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc12538:	90 01 00 0c 	stw     r0,12(r1)                              
ffc1253c:	7c 60 1b 78 	mr      r0,r3                                  
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc12540:	38 60 00 09 	li      r3,9                                   
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
ffc12544:	41 82 01 34 	beq-    ffc12678 <rtems_task_mode+0x14c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc12548:	3c c0 00 00 	lis     r6,0                                   
ffc1254c:	38 c6 2d b8 	addi    r6,r6,11704                            
ffc12550:	81 26 00 0c 	lwz     r9,12(r6)                              
  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 )
ffc12554:	81 69 00 7c 	lwz     r11,124(r9)                            
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc12558:	89 09 00 74 	lbz     r8,116(r9)                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc1255c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc12560:	81 69 01 2c 	lwz     r11,300(r9)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc12564:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12568:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc1256c:	55 07 40 2e 	rlwinm  r7,r8,8,0,23                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc12570:	40 9e 01 18 	bne-    cr7,ffc12688 <rtems_task_mode+0x15c>   
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc12574:	89 0b 00 08 	lbz     r8,8(r11)                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc12578:	39 40 00 00 	li      r10,0                                  
ffc1257c:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12580:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc12584:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc12588:	7d 07 3b 78 	or      r7,r8,r7                               
ffc1258c:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc12590:	55 48 8f fe 	rlwinm  r8,r10,17,31,31                        
ffc12594:	2f 88 00 00 	cmpwi   cr7,r8,0                               
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc12598:	70 8a 01 00 	andi.   r10,r4,256                             
ffc1259c:	7d 40 00 26 	mfcr    r10                                    
ffc125a0:	55 4a ff fe 	rlwinm  r10,r10,31,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();                                       
ffc125a4:	7c e7 53 78 	or      r7,r7,r10                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc125a8:	90 e5 00 00 	stw     r7,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc125ac:	41 82 00 14 	beq-    ffc125c0 <rtems_task_mode+0x94>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc125b0:	70 08 01 00 	andi.   r8,r0,256                              
ffc125b4:	7d 40 00 26 	mfcr    r10                                    
ffc125b8:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc125bc:	99 49 00 74 	stb     r10,116(r9)                            
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc125c0:	70 8a 02 00 	andi.   r10,r4,512                             
ffc125c4:	41 82 00 20 	beq-    ffc125e4 <rtems_task_mode+0xb8>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc125c8:	70 0a 02 00 	andi.   r10,r0,512                             
ffc125cc:	41 82 01 44 	beq-    ffc12710 <rtems_task_mode+0x1e4>       
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc125d0:	3d 40 00 00 	lis     r10,0                                  
ffc125d4:	81 4a 27 c4 	lwz     r10,10180(r10)                         
  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;
ffc125d8:	39 00 00 01 	li      r8,1                                   
ffc125dc:	91 09 00 7c 	stw     r8,124(r9)                             
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc125e0:	91 49 00 78 	stw     r10,120(r9)                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc125e4:	70 88 00 01 	andi.   r8,r4,1                                
ffc125e8:	41 82 00 20 	beq-    ffc12608 <rtems_task_mode+0xdc>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc125ec:	39 20 00 00 	li      r9,0                                   
ffc125f0:	7d 20 00 a6 	mfmsr   r9                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc125f4:	70 0a 00 01 	andi.   r10,r0,1                               
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc125f8:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc125fc:	40 82 01 24 	bne-    ffc12720 <rtems_task_mode+0x1f4>       
    msr |= ppc_interrupt_get_disable_mask();                          
ffc12600:	7d 49 4b 78 	or      r9,r10,r9                              
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc12604:	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 ) {                                      
ffc12608:	70 88 04 00 	andi.   r8,r4,1024                             
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc1260c:	39 40 00 00 	li      r10,0                                  
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc12610:	41 82 00 54 	beq-    ffc12664 <rtems_task_mode+0x138>       
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc12614:	70 09 04 00 	andi.   r9,r0,1024                             
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
ffc12618:	89 2b 00 08 	lbz     r9,8(r11)                              
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc1261c:	7c 00 00 26 	mfcr    r0                                     
ffc12620:	54 00 1f fe 	rlwinm  r0,r0,3,31,31                          
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
ffc12624:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc12628:	41 9e 00 3c 	beq-    cr7,ffc12664 <rtems_task_mode+0x138>   
      asr->is_enabled = is_asr_enabled;                               
ffc1262c:	98 0b 00 08 	stb     r0,8(r11)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc12630:	7c 00 00 a6 	mfmsr   r0                                     
ffc12634:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc12638:	7c 09 48 78 	andc    r9,r0,r9                               
ffc1263c:	7d 20 01 24 	mtmsr   r9                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc12640:	81 4b 00 18 	lwz     r10,24(r11)                            
    information->signals_pending = information->signals_posted;       
ffc12644:	81 2b 00 14 	lwz     r9,20(r11)                             
    information->signals_posted  = _signals;                          
ffc12648:	91 4b 00 14 	stw     r10,20(r11)                            
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
ffc1264c:	91 2b 00 18 	stw     r9,24(r11)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc12650:	7c 00 01 24 	mtmsr   r0                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc12654:	80 0b 00 14 	lwz     r0,20(r11)                             
        needs_asr_dispatching = true;                                 
ffc12658:	39 40 00 01 	li      r10,1                                  
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc1265c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12660:	41 9e 00 cc 	beq-    cr7,ffc1272c <rtems_task_mode+0x200>   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc12664:	3d 20 00 00 	lis     r9,0                                   
ffc12668:	80 09 28 04 	lwz     r0,10244(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc1266c:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc12670:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc12674:	41 9e 00 58 	beq-    cr7,ffc126cc <rtems_task_mode+0x1a0>   
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12678:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1267c:	38 21 00 08 	addi    r1,r1,8                                
ffc12680:	7c 08 03 a6 	mtlr    r0                                     
ffc12684:	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;           
ffc12688:	89 0b 00 08 	lbz     r8,8(r11)                              
  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;                                      
ffc1268c:	60 e7 02 00 	ori     r7,r7,512                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc12690:	39 40 00 00 	li      r10,0                                  
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc12694:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12698:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc1269c:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc126a0:	7d 07 3b 78 	or      r7,r8,r7                               
ffc126a4:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc126a8:	55 48 8f fe 	rlwinm  r8,r10,17,31,31                        
ffc126ac:	2f 88 00 00 	cmpwi   cr7,r8,0                               
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc126b0:	70 8a 01 00 	andi.   r10,r4,256                             
ffc126b4:	7d 40 00 26 	mfcr    r10                                    
ffc126b8:	55 4a ff fe 	rlwinm  r10,r10,31,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();                                       
ffc126bc:	7c e7 53 78 	or      r7,r7,r10                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc126c0:	90 e5 00 00 	stw     r7,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc126c4:	41 a2 fe fc 	beq-    ffc125c0 <rtems_task_mode+0x94>        
ffc126c8:	4b ff fe e8 	b       ffc125b0 <rtems_task_mode+0x84>        
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc126cc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc126d0:	81 26 00 0c 	lwz     r9,12(r6)                              
                                                                      
  if ( are_signals_pending ||                                         
ffc126d4:	40 9e 00 1c 	bne-    cr7,ffc126f0 <rtems_task_mode+0x1c4>   
ffc126d8:	80 06 00 10 	lwz     r0,16(r6)                              
ffc126dc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc126e0:	41 be ff 98 	beq-    cr7,ffc12678 <rtems_task_mode+0x14c>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc126e4:	88 09 00 74 	lbz     r0,116(r9)                             
ffc126e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc126ec:	41 be ff 8c 	beq-    cr7,ffc12678 <rtems_task_mode+0x14c>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc126f0:	38 00 00 01 	li      r0,1                                   
ffc126f4:	98 06 00 18 	stb     r0,24(r6)                              
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc126f8:	4b ff 9b 51 	bl      ffc0c248 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc126fc:	80 01 00 0c 	lwz     r0,12(r1)                              
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12700:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12704:	7c 08 03 a6 	mtlr    r0                                     
ffc12708:	38 21 00 08 	addi    r1,r1,8                                
ffc1270c:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc12710:	70 88 00 01 	andi.   r8,r4,1                                
  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; 
ffc12714:	91 49 00 7c 	stw     r10,124(r9)                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc12718:	41 a2 fe f0 	beq-    ffc12608 <rtems_task_mode+0xdc>        
ffc1271c:	4b ff fe d0 	b       ffc125ec <rtems_task_mode+0xc0>        
  _CPU_MSR_GET(msr);                                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
    msr |= ppc_interrupt_get_disable_mask();                          
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc12720:	7d 29 50 78 	andc    r9,r9,r10                              
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc12724:	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 ) );           
ffc12728:	4b ff fe e0 	b       ffc12608 <rtems_task_mode+0xdc>        
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc1272c:	3d 20 00 00 	lis     r9,0                                   
ffc12730:	80 09 28 04 	lwz     r0,10244(r9)                           
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc12734:	39 40 00 00 	li      r10,0                                  
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12738:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc1273c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc12740:	40 9e ff 38 	bne+    cr7,ffc12678 <rtems_task_mode+0x14c>   <== NEVER TAKEN
ffc12744:	4b ff ff 88 	b       ffc126cc <rtems_task_mode+0x1a0>       
                                                                      

ffc0e944 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
ffc0e944:	7d 80 00 26 	mfcr    r12                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0e948:	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                                   
)                                                                     
{                                                                     
ffc0e94c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e950:	7c 08 02 a6 	mflr    r0                                     
ffc0e954:	93 e1 00 24 	stw     r31,36(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0e958:	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                                   
)                                                                     
{                                                                     
ffc0e95c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e960:	91 81 00 20 	stw     r12,32(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0e964:	41 92 00 18 	beq-    cr4,ffc0e97c <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 ) );             
ffc0e968:	3d 20 00 00 	lis     r9,0                                   
ffc0e96c:	89 29 27 04 	lbz     r9,9988(r9)                            
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
ffc0e970:	38 00 00 13 	li      r0,19                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
ffc0e974:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc0e978:	41 9d 00 68 	bgt-    cr7,ffc0e9e0 <rtems_task_set_priority+0x9c>
                                                                      
  if ( !old_priority )                                                
ffc0e97c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e980:	38 00 00 09 	li      r0,9                                   
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0e984:	41 9e 00 5c 	beq-    cr7,ffc0e9e0 <rtems_task_set_priority+0x9c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0e988:	38 81 00 08 	addi    r4,r1,8                                
ffc0e98c:	90 a1 00 18 	stw     r5,24(r1)                              
ffc0e990:	48 00 2d 85 	bl      ffc11714 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0e994:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e998:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc0e99c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e9a0:	40 9e 00 60 	bne-    cr7,ffc0ea00 <rtems_task_set_priority+0xbc>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
ffc0e9a4:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0e9a8:	90 05 00 00 	stw     r0,0(r5)                               
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0e9ac:	41 92 00 2c 	beq-    cr4,ffc0e9d8 <rtems_task_set_priority+0x94>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
ffc0e9b0:	80 03 00 1c 	lwz     r0,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;                     
ffc0e9b4:	93 e3 00 18 	stw     r31,24(r3)                             
        if ( the_thread->resource_count == 0 ||                       
ffc0e9b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e9bc:	41 9e 00 10 	beq-    cr7,ffc0e9cc <rtems_task_set_priority+0x88>
ffc0e9c0:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0e9c4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0e9c8:	40 9c 00 10 	bge-    cr7,ffc0e9d8 <rtems_task_set_priority+0x94><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
ffc0e9cc:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e9d0:	38 a0 00 00 	li      r5,0                                   
ffc0e9d4:	48 00 26 e1 	bl      ffc110b4 <_Thread_Change_priority>     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0e9d8:	48 00 2d 01 	bl      ffc116d8 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc0e9dc:	38 00 00 00 	li      r0,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0e9e0:	7c 03 03 78 	mr      r3,r0                                  
ffc0e9e4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0e9e8:	81 81 00 20 	lwz     r12,32(r1)                             
ffc0e9ec:	7c 08 03 a6 	mtlr    r0                                     
ffc0e9f0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e9f4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0e9f8:	38 21 00 28 	addi    r1,r1,40                               
ffc0e9fc:	4e 80 00 20 	blr                                            
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0ea00:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0ea04:	81 81 00 20 	lwz     r12,32(r1)                             
ffc0ea08:	7c 03 03 78 	mr      r3,r0                                  
ffc0ea0c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0ea10:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0ea14:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0ea18:	7c 08 03 a6 	mtlr    r0                                     
ffc0ea1c:	38 21 00 28 	addi    r1,r1,40                               
ffc0ea20:	4e 80 00 20 	blr                                            
                                                                      

ffc0a574 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
ffc0a574:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a578:	7c 08 02 a6 	mflr    r0                                     
ffc0a57c:	93 e1 00 1c 	stw     r31,28(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc0a580:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
ffc0a584:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0a588:	38 00 00 09 	li      r0,9                                   
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc0a58c:	41 82 00 58 	beq-    ffc0a5e4 <rtems_task_variable_delete+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc0a590:	38 81 00 08 	addi    r4,r1,8                                
ffc0a594:	48 00 2b 19 	bl      ffc0d0ac <_Thread_Get>                 
  switch (location) {                                                 
ffc0a598:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a59c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a5a0:	40 9e 00 5c 	bne-    cr7,ffc0a5fc <rtems_task_variable_delete+0x88>
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
ffc0a5a4:	81 23 01 38 	lwz     r9,312(r3)                             
      while (tvp) {                                                   
ffc0a5a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a5ac:	41 9e 00 30 	beq-    cr7,ffc0a5dc <rtems_task_variable_delete+0x68>
        if (tvp->ptr == ptr) {                                        
ffc0a5b0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0a5b4:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a5b8:	40 be 00 18 	bne+    cr7,ffc0a5d0 <rtems_task_variable_delete+0x5c>
ffc0a5bc:	48 00 00 74 	b       ffc0a630 <rtems_task_variable_delete+0xbc>
ffc0a5c0:	80 04 00 04 	lwz     r0,4(r4)                               
ffc0a5c4:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a5c8:	41 9e 00 50 	beq-    cr7,ffc0a618 <rtems_task_variable_delete+0xa4>
ffc0a5cc:	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;                     
ffc0a5d0:	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) {                                                   
ffc0a5d4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0a5d8:	40 9e ff e8 	bne+    cr7,ffc0a5c0 <rtems_task_variable_delete+0x4c><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0a5dc:	48 00 2a 95 	bl      ffc0d070 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc0a5e0:	38 00 00 09 	li      r0,9                                   
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a5e4:	7c 03 03 78 	mr      r3,r0                                  
ffc0a5e8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a5ec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a5f0:	38 21 00 20 	addi    r1,r1,32                               
ffc0a5f4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a5f8:	4e 80 00 20 	blr                                            
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a5fc:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0a600:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a604:	7c 03 03 78 	mr      r3,r0                                  
ffc0a608:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a60c:	38 21 00 20 	addi    r1,r1,32                               
ffc0a610:	7c 08 03 a6 	mtlr    r0                                     
ffc0a614:	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;                                   
ffc0a618:	80 04 00 00 	lwz     r0,0(r4)                               
ffc0a61c:	90 09 00 00 	stw     r0,0(r9)                               
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
ffc0a620:	48 00 00 d9 	bl      ffc0a6f8 <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
ffc0a624:	48 00 2a 4d 	bl      ffc0d070 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc0a628:	38 00 00 00 	li      r0,0                                   
ffc0a62c:	4b ff ff b8 	b       ffc0a5e4 <rtems_task_variable_delete+0x70>
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
ffc0a630:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0a634:	7d 24 4b 78 	mr      r4,r9                                  
ffc0a638:	90 03 01 38 	stw     r0,312(r3)                             
ffc0a63c:	4b ff ff e4 	b       ffc0a620 <rtems_task_variable_delete+0xac>
                                                                      

ffc0a640 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
ffc0a640:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a644:	7c 08 02 a6 	mflr    r0                                     
ffc0a648:	93 e1 00 24 	stw     r31,36(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc0a64c:	7c 9f 23 79 	mr.     r31,r4                                 
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
ffc0a650:	90 01 00 2c 	stw     r0,44(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0a654:	38 00 00 09 	li      r0,9                                   
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc0a658:	41 82 00 60 	beq-    ffc0a6b8 <rtems_task_variable_get+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
ffc0a65c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0a660:	41 9e 00 58 	beq-    cr7,ffc0a6b8 <rtems_task_variable_get+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc0a664:	38 81 00 08 	addi    r4,r1,8                                
ffc0a668:	90 a1 00 18 	stw     r5,24(r1)                              
ffc0a66c:	48 00 2a 41 	bl      ffc0d0ac <_Thread_Get>                 
  switch (location) {                                                 
ffc0a670:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a674:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc0a678:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a67c:	40 9e 00 54 	bne-    cr7,ffc0a6d0 <rtems_task_variable_get+0x90>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
ffc0a680:	81 23 01 38 	lwz     r9,312(r3)                             
      while (tvp) {                                                   
ffc0a684:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a688:	40 be 00 14 	bne+    cr7,ffc0a69c <rtems_task_variable_get+0x5c>
ffc0a68c:	48 00 00 60 	b       ffc0a6ec <rtems_task_variable_get+0xac>
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
ffc0a690:	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) {                                                   
ffc0a694:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a698:	41 9e 00 54 	beq-    cr7,ffc0a6ec <rtems_task_variable_get+0xac><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
ffc0a69c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0a6a0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a6a4:	40 9e ff ec 	bne+    cr7,ffc0a690 <rtems_task_variable_get+0x50>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
ffc0a6a8:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0a6ac:	90 05 00 00 	stw     r0,0(r5)                               
          _Thread_Enable_dispatch();                                  
ffc0a6b0:	48 00 29 c1 	bl      ffc0d070 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc0a6b4:	38 00 00 00 	li      r0,0                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a6b8:	7c 03 03 78 	mr      r3,r0                                  
ffc0a6bc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a6c0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a6c4:	38 21 00 28 	addi    r1,r1,40                               
ffc0a6c8:	7c 08 03 a6 	mtlr    r0                                     
ffc0a6cc:	4e 80 00 20 	blr                                            
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
ffc0a6d0:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0a6d4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a6d8:	7c 03 03 78 	mr      r3,r0                                  
ffc0a6dc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a6e0:	38 21 00 28 	addi    r1,r1,40                               
ffc0a6e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a6e8:	4e 80 00 20 	blr                                            
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0a6ec:	48 00 29 85 	bl      ffc0d070 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc0a6f0:	38 00 00 09 	li      r0,9                                   
ffc0a6f4:	4b ff ff c4 	b       ffc0a6b8 <rtems_task_variable_get+0x78>
                                                                      

ffc08398 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
ffc08398:	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;                          
ffc0839c:	38 00 00 09 	li      r0,9                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083a0:	41 9e 00 44 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc083a4:	40 9d 00 48 	ble-    cr7,ffc083ec <rtems_termios_baud_to_index+0x54>
ffc083a8:	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;                          
ffc083ac:	38 00 00 0e 	li      r0,14                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083b0:	41 9e 00 34 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc083b4:	40 9d 00 78 	ble-    cr7,ffc0842c <rtems_termios_baud_to_index+0x94>
ffc083b8:	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;                          
ffc083bc:	38 00 00 11 	li      r0,17                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083c0:	41 9e 00 24 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc083c4:	40 9d 00 d4 	ble-    cr7,ffc08498 <rtems_termios_baud_to_index+0x100>
ffc083c8:	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;                          
ffc083cc:	38 00 00 12 	li      r0,18                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083d0:	41 9e 00 14 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc083d4:	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;                          
ffc083d8:	38 00 00 13 	li      r0,19                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083dc:	41 9e 00 08 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c><== 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;                          
ffc083e0:	38 00 ff ff 	li      r0,-1                                  
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
ffc083e4:	7c 03 03 78 	mr      r3,r0                                  
ffc083e8:	4e 80 00 20 	blr                                            
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083ec:	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;                          
ffc083f0:	38 00 00 04 	li      r0,4                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083f4:	41 be ff f0 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc083f8:	41 9d 00 64 	bgt-    cr7,ffc0845c <rtems_termios_baud_to_index+0xc4>
ffc083fc:	2f 83 00 01 	cmpwi   cr7,r3,1                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
ffc08400:	38 00 00 01 	li      r0,1                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08404:	41 be ff e0 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08408:	40 9d 00 ac 	ble-    cr7,ffc084b4 <rtems_termios_baud_to_index+0x11c>
ffc0840c:	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;                          
ffc08410:	38 00 00 02 	li      r0,2                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08414:	41 be ff d0 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08418:	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;                          
ffc0841c:	38 00 00 03 	li      r0,3                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08420:	41 be ff c4 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c><== 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;                          
ffc08424:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc08428:	4b ff ff bc 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0842c:	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;                          
ffc08430:	38 00 00 0b 	li      r0,11                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08434:	41 be ff b0 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08438:	41 9c 00 58 	blt-    cr7,ffc08490 <rtems_termios_baud_to_index+0xf8>
ffc0843c:	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;                          
ffc08440:	38 00 00 0c 	li      r0,12                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08444:	41 be ff a0 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08448:	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;                          
ffc0844c:	38 00 00 0d 	li      r0,13                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08450:	41 be ff 94 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c><== 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;                          
ffc08454:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc08458:	4b ff ff 8c 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0845c:	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;                          
ffc08460:	38 00 00 06 	li      r0,6                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08464:	41 be ff 80 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08468:	41 9c 00 20 	blt-    cr7,ffc08488 <rtems_termios_baud_to_index+0xf0>
ffc0846c:	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;                          
ffc08470:	38 00 00 07 	li      r0,7                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08474:	41 be ff 70 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc08478:	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;                          
ffc0847c:	38 00 00 08 	li      r0,8                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08480:	40 9e ff 60 	bne+    cr7,ffc083e0 <rtems_termios_baud_to_index+0x48><== NEVER TAKEN
ffc08484:	4b ff ff 60 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c>
    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;                          
ffc08488:	38 00 00 05 	li      r0,5                                   
ffc0848c:	4b ff ff 58 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c>
    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;                          
ffc08490:	38 00 00 0a 	li      r0,10                                  
ffc08494:	4b ff ff 50 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c>
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08498:	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;                          
ffc0849c:	38 00 00 0f 	li      r0,15                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc084a0:	41 be ff 44 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc084a4:	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;                          
ffc084a8:	38 00 00 10 	li      r0,16                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc084ac:	40 9e ff 34 	bne+    cr7,ffc083e0 <rtems_termios_baud_to_index+0x48><== NEVER TAKEN
ffc084b0:	4b ff ff 34 	b       ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc084b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    case B0:        baud_index =  0;  break;                          
ffc084b8:	38 00 00 00 	li      r0,0                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc084bc:	41 be ff 28 	beq-    cr7,ffc083e4 <rtems_termios_baud_to_index+0x4c>
ffc084c0:	4b ff ff 20 	b       ffc083e0 <rtems_termios_baud_to_index+0x48>
                                                                      

ffc06aa0 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
ffc06aa0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06aa4:	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(                                        
ffc06aa8:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06aac:	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(                                        
ffc06ab0:	38 a0 00 00 	li      r5,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06ab4:	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(                                        
ffc06ab8:	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;                   
ffc06abc:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06ac0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc06ac4:	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(                                        
ffc06ac8:	80 7e 27 b8 	lwz     r3,10168(r30)                          
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06acc:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06ad0:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc06ad4:	48 00 29 05 	bl      ffc093d8 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc06ad8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06adc:	40 9e 01 b0 	bne-    cr7,ffc06c8c <rtems_termios_close+0x1ec><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
ffc06ae0:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc06ae4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc06ae8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06aec:	90 1f 00 08 	stw     r0,8(r31)                              
ffc06af0:	40 9e 00 d0 	bne-    cr7,ffc06bc0 <rtems_termios_close+0x120>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc06af4:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc06af8:	3d 20 00 00 	lis     r9,0                                   
ffc06afc:	39 29 28 78 	addi    r9,r9,10360                            
ffc06b00:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06b04:	7d 29 02 14 	add     r9,r9,r0                               
ffc06b08:	80 09 00 04 	lwz     r0,4(r9)                               
ffc06b0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06b10:	41 9e 01 1c 	beq-    cr7,ffc06c2c <rtems_termios_close+0x18c>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc06b14:	7c 09 03 a6 	mtctr   r0                                     
ffc06b18:	7f e3 fb 78 	mr      r3,r31                                 
ffc06b1c:	4e 80 04 21 	bctrl                                          
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06b20:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06b24:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06b28:	41 9e 01 3c 	beq-    cr7,ffc06c64 <rtems_termios_close+0x1c4><== 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)                                        
ffc06b2c:	80 1f 00 9c 	lwz     r0,156(r31)                            
ffc06b30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06b34:	41 9e 00 18 	beq-    cr7,ffc06b4c <rtems_termios_close+0xac><== ALWAYS TAKEN
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
ffc06b38:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc06b3c:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc06b40:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc06b44:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06b48:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
ffc06b4c:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc06b50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06b54:	41 9e 00 b8 	beq-    cr7,ffc06c0c <rtems_termios_close+0x16c>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
ffc06b58:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc06b5c:	90 09 00 04 	stw     r0,4(r9)                               
ffc06b60:	81 7f 00 04 	lwz     r11,4(r31)                             
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
ffc06b64:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
ffc06b68:	41 9a 00 8c 	beq-    cr6,ffc06bf4 <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;                                    
ffc06b6c:	91 2b 00 00 	stw     r9,0(r11)                              
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
ffc06b70:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc06b74:	48 00 27 89 	bl      ffc092fc <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->osem);                               
ffc06b78:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06b7c:	48 00 27 81 	bl      ffc092fc <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
ffc06b80:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc06b84:	48 00 27 79 	bl      ffc092fc <rtems_semaphore_delete>      
    if ((tty->device.pollRead == NULL) ||                             
ffc06b88:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06b8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06b90:	41 9e 00 58 	beq-    cr7,ffc06be8 <rtems_termios_close+0x148>
ffc06b94:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06b98:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06b9c:	41 9e 00 4c 	beq-    cr7,ffc06be8 <rtems_termios_close+0x148>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
ffc06ba0:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc06ba4:	4b ff e5 f9 	bl      ffc0519c <free>                        
    free (tty->rawOutBuf.theBuf);                                     
ffc06ba8:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc06bac:	4b ff e5 f1 	bl      ffc0519c <free>                        
    free (tty->cbuf);                                                 
ffc06bb0:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc06bb4:	4b ff e5 e9 	bl      ffc0519c <free>                        
    free (tty);                                                       
ffc06bb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc06bbc:	4b ff e5 e1 	bl      ffc0519c <free>                        
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc06bc0:	80 7e 27 b8 	lwz     r3,10168(r30)                          
ffc06bc4:	48 00 29 a1 	bl      ffc09564 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc06bc8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06bcc:	38 60 00 00 	li      r3,0                                   
ffc06bd0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc06bd4:	7c 08 03 a6 	mtlr    r0                                     
ffc06bd8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06bdc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06be0:	38 21 00 18 	addi    r1,r1,24                               
ffc06be4:	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);               
ffc06be8:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc06bec:	48 00 27 11 	bl      ffc092fc <rtems_semaphore_delete>      
ffc06bf0:	4b ff ff b0 	b       ffc06ba0 <rtems_termios_close+0x100>   
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc06bf4:	3d 60 00 00 	lis     r11,0                                  
ffc06bf8:	91 2b 27 c0 	stw     r9,10176(r11)                          
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc06bfc:	41 be ff 74 	beq-    cr7,ffc06b70 <rtems_termios_close+0xd0>
        rtems_termios_ttyHead->back = NULL;                           
ffc06c00:	38 00 00 00 	li      r0,0                                   
ffc06c04:	90 09 00 04 	stw     r0,4(r9)                               
ffc06c08:	4b ff ff 68 	b       ffc06b70 <rtems_termios_close+0xd0>    
        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;                              
ffc06c0c:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc06c10:	3d 40 00 00 	lis     r10,0                                  
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc06c14:	2f 0b 00 00 	cmpwi   cr6,r11,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;                              
ffc06c18:	91 6a 27 bc 	stw     r11,10172(r10)                         
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc06c1c:	41 ba ff d8 	beq-    cr6,ffc06bf4 <rtems_termios_close+0x154>
        rtems_termios_ttyTail->forw = NULL;                           
ffc06c20:	91 2b 00 00 	stw     r9,0(r11)                              
ffc06c24:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc06c28:	4b ff ff 44 	b       ffc06b6c <rtems_termios_close+0xcc>    
      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);
ffc06c2c:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06c30:	38 80 00 00 	li      r4,0                                   
ffc06c34:	38 a0 00 00 	li      r5,0                                   
ffc06c38:	48 00 27 a1 	bl      ffc093d8 <rtems_semaphore_obtain>      
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc06c3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06c40:	40 9e 00 4c 	bne-    cr7,ffc06c8c <rtems_termios_close+0x1ec><== NEVER TAKEN
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc06c44:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06c48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06c4c:	40 9e 00 44 	bne-    cr7,ffc06c90 <rtems_termios_close+0x1f0>
      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);                            
ffc06c50:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06c54:	48 00 29 11 	bl      ffc09564 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06c58:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06c5c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06c60:	40 9e fe cc 	bne+    cr7,ffc06b2c <rtems_termios_close+0x8c>
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
ffc06c64:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc06c68:	38 80 00 01 	li      r4,1                                   
ffc06c6c:	48 00 22 19 	bl      ffc08e84 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc06c70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06c74:	40 9e 00 18 	bne-    cr7,ffc06c8c <rtems_termios_close+0x1ec><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
ffc06c78:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc06c7c:	38 80 00 01 	li      r4,1                                   
ffc06c80:	48 00 22 05 	bl      ffc08e84 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc06c84:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06c88:	41 9e fe a4 	beq+    cr7,ffc06b2c <rtems_termios_close+0x8c><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc06c8c:	48 00 30 b1 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc06c90:	7f e3 fb 78 	mr      r3,r31                                 
ffc06c94:	4b ff f8 d5 	bl      ffc06568 <drainOutput.part.0>          
ffc06c98:	4b ff ff b8 	b       ffc06c50 <rtems_termios_close+0x1b0>   
                                                                      

ffc086b4 <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) {
ffc086b4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc086b8:	7c 08 02 a6 	mflr    r0                                     
ffc086bc:	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) {      
ffc086c0:	81 63 00 b4 	lwz     r11,180(r3)                            
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc086c4:	80 03 00 90 	lwz     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc086c8:	2f 8b 00 02 	cmpwi   cr7,r11,2                              
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc086cc:	7c 00 22 14 	add     r0,r0,r4                               
ffc086d0:	90 03 00 90 	stw     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc086d4:	41 9e 00 4c 	beq-    cr7,ffc08720 <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 ) {                                      
ffc086d8:	80 03 00 cc 	lwz     r0,204(r3)                             
ffc086dc:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc086e0:	41 9e 00 14 	beq-    cr7,ffc086f4 <rtems_termios_dequeue_characters+0x40>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc086e4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc086e8:	38 21 00 08 	addi    r1,r1,8                                
ffc086ec:	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);                       
ffc086f0:	4b ff fc e4 	b       ffc083d4 <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) {          
ffc086f4:	3d 20 00 00 	lis     r9,0                                   
ffc086f8:	80 09 29 2c 	lwz     r0,10540(r9)                           
ffc086fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08700:	41 9e 00 0c 	beq-    cr7,ffc0870c <rtems_termios_dequeue_characters+0x58><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc08704:	7c 09 03 a6 	mtctr   r0                                     
ffc08708:	4e 80 04 21 	bctrl                                          
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc0870c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08710:	38 60 00 00 	li      r3,0                                   
ffc08714:	38 21 00 08 	addi    r1,r1,8                                
ffc08718:	7c 08 03 a6 	mtlr    r0                                     
ffc0871c:	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);     
ffc08720:	80 63 00 c8 	lwz     r3,200(r3)                             
ffc08724:	38 80 00 02 	li      r4,2                                   
ffc08728:	48 00 07 5d 	bl      ffc08e84 <rtems_event_send>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0872c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08730:	41 9e ff dc 	beq+    cr7,ffc0870c <rtems_termios_dequeue_characters+0x58><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
ffc08734:	48 00 16 09 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc07f9c <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) {
ffc07f9c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc07fa0:	7c 08 02 a6 	mflr    r0                                     
ffc07fa4:	90 01 00 3c 	stw     r0,60(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) {             
ffc07fa8:	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)
{                                                                     
ffc07fac:	93 c1 00 30 	stw     r30,48(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) {             
ffc07fb0:	3f c0 00 00 	lis     r30,0                                  
ffc07fb4:	3b de 28 78 	addi    r30,r30,10360                          
ffc07fb8:	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)
{                                                                     
ffc07fbc:	93 e1 00 34 	stw     r31,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) {             
ffc07fc0:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc07fc4:	80 09 00 10 	lwz     r0,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)
{                                                                     
ffc07fc8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07fcc:	92 c1 00 10 	stw     r22,16(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) {             
ffc07fd0:	2f 80 00 00 	cmpwi   cr7,r0,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)
{                                                                     
ffc07fd4:	92 e1 00 14 	stw     r23,20(r1)                             
ffc07fd8:	93 01 00 18 	stw     r24,24(r1)                             
ffc07fdc:	93 21 00 1c 	stw     r25,28(r1)                             
ffc07fe0:	93 41 00 20 	stw     r26,32(r1)                             
ffc07fe4:	93 61 00 24 	stw     r27,36(r1)                             
ffc07fe8:	93 81 00 28 	stw     r28,40(r1)                             
ffc07fec:	93 a1 00 2c 	stw     r29,44(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) {             
ffc07ff0:	41 9e 00 b8 	beq-    cr7,ffc080a8 <rtems_termios_enqueue_raw_characters+0x10c>
    while (len--) {                                                   
ffc07ff4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc07ff8:	41 9e 00 40 	beq-    cr7,ffc08038 <rtems_termios_enqueue_raw_characters+0x9c><== NEVER TAKEN
 * 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)
ffc07ffc:	3b a4 ff ff 	addi    r29,r4,-1                              
  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--) {                                                   
ffc08000:	90 a1 00 08 	stw     r5,8(r1)                               
ffc08004:	48 00 00 14 	b       ffc08018 <rtems_termios_enqueue_raw_characters+0x7c>
ffc08008:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc0800c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc08010:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc08014:	80 09 00 10 	lwz     r0,16(r9)                              
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
ffc08018:	7c 09 03 a6 	mtctr   r0                                     
ffc0801c:	8c 7d 00 01 	lbzu    r3,1(r29)                              
ffc08020:	7f e4 fb 78 	mr      r4,r31                                 
ffc08024:	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--) {                                                   
ffc08028:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0802c:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc08030:	91 21 00 08 	stw     r9,8(r1)                               
ffc08034:	40 82 ff d4 	bne+    ffc08008 <rtems_termios_enqueue_raw_characters+0x6c>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc08038:	80 1f 00 e4 	lwz     r0,228(r31)                            
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
ffc0803c:	3b 60 00 00 	li      r27,0                                  
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc08040:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08044:	40 9e 00 28 	bne-    cr7,ffc0806c <rtems_termios_enqueue_raw_characters+0xd0><== NEVER TAKEN
ffc08048:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc0804c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08050:	41 9e 00 1c 	beq-    cr7,ffc0806c <rtems_termios_enqueue_raw_characters+0xd0><== NEVER TAKEN
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
ffc08054:	7c 09 03 a6 	mtctr   r0                                     
ffc08058:	38 7f 00 30 	addi    r3,r31,48                              
ffc0805c:	80 9f 00 e0 	lwz     r4,224(r31)                            
ffc08060:	4e 80 04 21 	bctrl                                          
      tty->tty_rcvwakeup = 1;                                         
ffc08064:	38 00 00 01 	li      r0,1                                   
ffc08068:	90 1f 00 e4 	stw     r0,228(r31)                            
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
ffc0806c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc08070:	7f 63 db 78 	mr      r3,r27                                 
ffc08074:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc08078:	7c 08 03 a6 	mtlr    r0                                     
ffc0807c:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc08080:	83 01 00 18 	lwz     r24,24(r1)                             
ffc08084:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc08088:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0808c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc08090:	83 81 00 28 	lwz     r28,40(r1)                             
ffc08094:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08098:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0809c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc080a0:	38 21 00 38 	addi    r1,r1,56                               
ffc080a4:	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)
ffc080a8:	3b c4 ff ff 	addi    r30,r4,-1                              
ffc080ac:	7f 5e 2a 14 	add     r26,r30,r5                             
ffc080b0:	3b 20 00 00 	li      r25,0                                  
ffc080b4:	3b 60 00 00 	li      r27,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); 
ffc080b8:	3a e3 00 30 	addi    r23,r3,48                              
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
ffc080bc:	3a c3 00 4a 	addi    r22,r3,74                              
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc080c0:	7f 9e d0 00 	cmpw    cr7,r30,r26                            
ffc080c4:	41 9e 01 14 	beq-    cr7,ffc081d8 <rtems_termios_enqueue_raw_characters+0x23c>
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc080c8:	80 1f 00 b8 	lwz     r0,184(r31)                            
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
ffc080cc:	8f 9e 00 01 	lbzu    r28,1(r30)                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc080d0:	70 09 02 00 	andi.   r9,r0,512                              
ffc080d4:	41 82 00 1c 	beq-    ffc080f0 <rtems_termios_enqueue_raw_characters+0x154>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
ffc080d8:	88 1f 00 4a 	lbz     r0,74(r31)                             
ffc080dc:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc080e0:	41 9e 01 48 	beq-    cr7,ffc08228 <rtems_termios_enqueue_raw_characters+0x28c>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
ffc080e4:	88 1f 00 49 	lbz     r0,73(r31)                             
ffc080e8:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc080ec:	41 9e 01 c8 	beq-    cr7,ffc082b4 <rtems_termios_enqueue_raw_characters+0x318><== NEVER TAKEN
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
ffc080f0:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc080f4:	40 9e 01 50 	bne-    cr7,ffc08244 <rtems_termios_enqueue_raw_characters+0x2a8><== NEVER TAKEN
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
ffc080f8:	83 bf 00 60 	lwz     r29,96(r31)                            
ffc080fc:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc08100:	38 1d 00 01 	addi    r0,r29,1                               
ffc08104:	7f a0 4b 96 	divwu   r29,r0,r9                              
ffc08108:	7f bd 49 d6 	mullw   r29,r29,r9                             
ffc0810c:	7f bd 00 50 	subf    r29,r29,r0                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08110:	7f 00 00 a6 	mfmsr   r24                                    
ffc08114:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08118:	7f 00 00 78 	andc    r0,r24,r0                              
ffc0811c:	7c 00 01 24 	mtmsr   r0                                     
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc08120:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc08124:	81 7f 00 64 	lwz     r11,100(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc08128:	81 3f 00 64 	lwz     r9,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)       
ffc0812c:	7c 00 58 50 	subf    r0,r0,r11                              
ffc08130:	81 7f 00 c0 	lwz     r11,192(r31)                           
ffc08134:	7c 00 ea 14 	add     r0,r0,r29                              
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc08138:	7d 40 4b 96 	divwu   r10,r0,r9                              
ffc0813c:	7d 2a 49 d6 	mullw   r9,r10,r9                              
ffc08140:	7c 09 00 50 	subf    r0,r9,r0                               
      }                                                               
    } 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)       
ffc08144:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc08148:	40 9d 00 3c 	ble-    cr7,ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
ffc0814c:	80 1f 00 b8 	lwz     r0,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) &&                
ffc08150:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc08154:	40 82 00 30 	bne-    ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
ffc08158:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc0815c:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc08160:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
ffc08164:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc08168:	70 00 04 02 	andi.   r0,r0,1026                             <== NOT EXECUTED
ffc0816c:	2f 80 04 00 	cmpwi   cr7,r0,1024                            <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc08170:	80 1f 00 b8 	lwz     r0,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))                
ffc08174:	41 9e 01 64 	beq-    cr7,ffc082d8 <rtems_termios_enqueue_raw_characters+0x33c><== 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) ) {
ffc08178:	70 00 01 04 	andi.   r0,r0,260                              <== NOT EXECUTED
ffc0817c:	2f 80 01 00 	cmpwi   cr7,r0,256                             <== NOT EXECUTED
ffc08180:	41 9e 01 94 	beq-    cr7,ffc08314 <rtems_termios_enqueue_raw_characters+0x378><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08184:	7f 00 01 24 	mtmsr   r24                                    
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
ffc08188:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc0818c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc08190:	41 9e 01 1c 	beq-    cr7,ffc082ac <rtems_termios_enqueue_raw_characters+0x310><== NEVER TAKEN
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
ffc08194:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc08198:	7f 89 e9 ae 	stbx    r28,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 )) {
ffc0819c:	80 1f 00 e4 	lwz     r0,228(r31)                            
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
ffc081a0:	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 )) {
ffc081a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc081a8:	40 be ff 18 	bne-    cr7,ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== NEVER TAKEN
ffc081ac:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc081b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc081b4:	41 be ff 0c 	beq-    cr7,ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc081b8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc081bc:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc081c0:	80 9f 00 e0 	lwz     r4,224(r31)                            <== NOT EXECUTED
ffc081c4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc081c8:	7f 9e d0 00 	cmpw    cr7,r30,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;                                     
ffc081cc:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc081d0:	90 1f 00 e4 	stw     r0,228(r31)                            <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc081d4:	40 9e fe f4 	bne+    cr7,ffc080c8 <rtems_termios_enqueue_raw_characters+0x12c><== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc081d8:	80 1f 00 78 	lwz     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc081dc:	80 7f 00 68 	lwz     r3,104(r31)                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc081e0:	7c 00 da 14 	add     r0,r0,r27                              
ffc081e4:	90 1f 00 78 	stw     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc081e8:	48 00 13 7d 	bl      ffc09564 <rtems_semaphore_release>     
  return dropped;                                                     
}                                                                     
ffc081ec:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc081f0:	7f 63 db 78 	mr      r3,r27                                 
ffc081f4:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc081f8:	7c 08 03 a6 	mtlr    r0                                     
ffc081fc:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc08200:	83 01 00 18 	lwz     r24,24(r1)                             
ffc08204:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc08208:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0820c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc08210:	83 81 00 28 	lwz     r28,40(r1)                             
ffc08214:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08218:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0821c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc08220:	38 21 00 38 	addi    r1,r1,56                               
ffc08224:	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]) {                         
ffc08228:	89 3f 00 49 	lbz     r9,73(r31)                             
ffc0822c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc08230:	80 1f 00 b8 	lwz     r0,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]) {                         
ffc08234:	41 9e 00 94 	beq-    cr7,ffc082c8 <rtems_termios_enqueue_raw_characters+0x32c><== NEVER TAKEN
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc08238:	60 00 00 10 	ori     r0,r0,16                               
ffc0823c:	90 1f 00 b8 	stw     r0,184(r31)                            
 *       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)
{                                                                     
ffc08240:	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) {   
ffc08244:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc08248:	54 00 06 b6 	rlwinm  r0,r0,0,26,27                          
ffc0824c:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc08250:	40 9e fe 70 	bne+    cr7,ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== ALWAYS TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08254:	7f a0 00 a6 	mfmsr   r29                                    <== NOT EXECUTED
ffc08258:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc0825c:	7f a0 00 78 	andc    r0,r29,r0                              <== NOT EXECUTED
ffc08260:	7c 00 01 24 	mtmsr   r0                                     <== 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) {                        
ffc08264:	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;                                  
ffc08268:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc0826c:	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;                                  
ffc08270:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc08274:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc08278:	40 9e 00 0c 	bne-    cr7,ffc08284 <rtems_termios_enqueue_raw_characters+0x2e8><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0827c:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc08280:	4b ff fe 40 	b       ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
ffc08284:	81 3f 00 84 	lwz     r9,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)(                                       
ffc08288:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0828c:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc08290:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc08294:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc08298:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc0829c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc082a0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc082a4:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc082a8:	4b ff fe 18 	b       ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== NOT EXECUTED
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
ffc082ac:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
ffc082b0:	4b ff fe 10 	b       ffc080c0 <rtems_termios_enqueue_raw_characters+0x124><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc082b4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
 *       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)
{                                                                     
ffc082b8:	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;                                
ffc082bc:	54 00 07 34 	rlwinm  r0,r0,0,28,26                          <== NOT EXECUTED
ffc082c0:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
ffc082c4:	4b ff ff 80 	b       ffc08244 <rtems_termios_enqueue_raw_characters+0x2a8><== 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;               
ffc082c8:	68 00 00 10 	xori    r0,r0,16                               <== NOT EXECUTED
ffc082cc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
 *       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)
{                                                                     
ffc082d0:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
ffc082d4:	4b ff ff 70 	b       ffc08244 <rtems_termios_enqueue_raw_characters+0x2a8><== 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) ||                          
ffc082d8:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc082dc:	40 82 00 10 	bne-    ffc082ec <rtems_termios_enqueue_raw_characters+0x350><== NOT EXECUTED
ffc082e0:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc082e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc082e8:	40 be fe 9c 	bne-    cr7,ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== 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;                             
ffc082ec:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc082f0:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc082f4:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc082f8:	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;                             
ffc082fc:	61 29 00 02 	ori     r9,r9,2                                <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc08300:	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;                             
ffc08304:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc08308:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0830c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc08310:	4b ff fe 74 	b       ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== 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) {                     
ffc08314:	80 1f 00 ac 	lwz     r0,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;                               
ffc08318:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc0831c:	2f 80 00 00 	cmpwi   cr7,r0,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;                               
ffc08320:	61 29 00 04 	ori     r9,r9,4                                <== NOT EXECUTED
ffc08324:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc08328:	41 be fe 5c 	beq-    cr7,ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
ffc0832c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc08330:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc08334:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc08338:	4b ff fe 4c 	b       ffc08184 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
                                                                      

ffc06cb8 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
ffc06cb8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06cbc:	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);
ffc06cc0:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06cc4:	90 01 00 24 	stw     r0,36(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;                                            
ffc06cc8:	38 00 00 00 	li      r0,0                                   
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06ccc:	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;                   
ffc06cd0:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06cd4:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06cd8:	83 c9 00 38 	lwz     r30,56(r9)                             
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06cdc:	93 81 00 10 	stw     r28,16(r1)                             
ffc06ce0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc06ce4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06ce8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06cec:	93 41 00 08 	stw     r26,8(r1)                              
ffc06cf0:	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;                                            
ffc06cf4:	90 03 00 0c 	stw     r0,12(r3)                              
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06cf8:	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;
ffc06cfc:	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);
ffc06d00:	48 00 26 d9 	bl      ffc093d8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc06d04:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc06d08:	40 82 00 58 	bne-    ffc06d60 <rtems_termios_ioctl+0xa8>    <== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc06d0c:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc06d10:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc06d14:	41 9e 00 34 	beq-    cr7,ffc06d48 <rtems_termios_ioctl+0x90>
ffc06d18:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc06d1c:	41 9d 00 74 	bgt-    cr7,ffc06d90 <rtems_termios_ioctl+0xd8>
ffc06d20:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06d24:	41 9e 00 c8 	beq-    cr7,ffc06dec <rtems_termios_ioctl+0x134>
ffc06d28:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc06d2c:	40 9d 02 58 	ble-    cr7,ffc06f84 <rtems_termios_ioctl+0x2cc>
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc06d30:	80 1e 00 b4 	lwz     r0,180(r30)                            
ffc06d34:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06d38:	41 be 00 20 	beq+    cr7,ffc06d58 <rtems_termios_ioctl+0xa0><== ALWAYS TAKEN
ffc06d3c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc06d40:	4b ff f8 29 	bl      ffc06568 <drainOutput.part.0>          <== NOT EXECUTED
ffc06d44:	48 00 00 14 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    <== NOT EXECUTED
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
ffc06d48:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc06d4c:	81 7c 00 04 	lwz     r11,4(r28)                             
ffc06d50:	91 5e 00 dc 	stw     r10,220(r30)                           
ffc06d54:	91 7e 00 e0 	stw     r11,224(r30)                           
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
ffc06d58:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc06d5c:	48 00 28 09 	bl      ffc09564 <rtems_semaphore_release>     
  args->ioctl_return = sc;                                            
  return sc;                                                          
}                                                                     
ffc06d60:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06d64:	7f a3 eb 78 	mr      r3,r29                                 
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
ffc06d68:	93 bf 00 0c 	stw     r29,12(r31)                            
  return sc;                                                          
}                                                                     
ffc06d6c:	7c 08 03 a6 	mtlr    r0                                     
ffc06d70:	83 41 00 08 	lwz     r26,8(r1)                              
ffc06d74:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc06d78:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06d7c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06d80:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06d84:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06d88:	38 21 00 20 	addi    r1,r1,32                               
ffc06d8c:	4e 80 00 20 	blr                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc06d90:	3d 20 40 04 	lis     r9,16388                               
ffc06d94:	61 29 66 7f 	ori     r9,r9,26239                            
ffc06d98:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc06d9c:	41 9e 01 bc 	beq-    cr7,ffc06f58 <rtems_termios_ioctl+0x2a0><== NEVER TAKEN
ffc06da0:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc06da4:	41 9d 01 fc 	bgt-    cr7,ffc06fa0 <rtems_termios_ioctl+0x2e8>
ffc06da8:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc06dac:	41 9e 02 84 	beq-    cr7,ffc07030 <rtems_termios_ioctl+0x378>
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc06db0:	80 1e 00 cc 	lwz     r0,204(r30)                            
ffc06db4:	3d 20 00 00 	lis     r9,0                                   
ffc06db8:	39 29 28 78 	addi    r9,r9,10360                            
ffc06dbc:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06dc0:	7d 29 02 14 	add     r9,r9,r0                               
ffc06dc4:	80 09 00 18 	lwz     r0,24(r9)                              
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
ffc06dc8:	3b a0 00 0a 	li      r29,10                                 
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc06dcc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06dd0:	41 be ff 88 	beq-    cr7,ffc06d58 <rtems_termios_ioctl+0xa0><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
ffc06dd4:	7f c3 f3 78 	mr      r3,r30                                 
ffc06dd8:	7c 09 03 a6 	mtctr   r0                                     
ffc06ddc:	7f e4 fb 78 	mr      r4,r31                                 
ffc06de0:	4e 80 04 21 	bctrl                                          
ffc06de4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06de8:	4b ff ff 70 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
ffc06dec:	3b 9e 00 30 	addi    r28,r30,48                             
ffc06df0:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc06df4:	7f 83 e3 78 	mr      r3,r28                                 
ffc06df8:	38 a0 00 24 	li      r5,36                                  
ffc06dfc:	48 00 ca 9d 	bl      ffc13898 <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) &&                                 
ffc06e00:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e04:	70 09 02 00 	andi.   r9,r0,512                              
ffc06e08:	41 82 00 58 	beq-    ffc06e60 <rtems_termios_ioctl+0x1a8>   
      !(tty->termios.c_iflag & IXON)) {                               
ffc06e0c:	80 1e 00 30 	lwz     r0,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) &&                                 
ffc06e10:	70 09 04 00 	andi.   r9,r0,1024                             
ffc06e14:	40 82 00 4c 	bne-    ffc06e60 <rtems_termios_ioctl+0x1a8>   
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
ffc06e18:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc06e1c:	38 00 fd ef 	li      r0,-529                                
ffc06e20:	7d 20 00 38 	and     r0,r9,r0                               
ffc06e24:	90 1e 00 b8 	stw     r0,184(r30)                            
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
ffc06e28:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e2c:	70 09 00 20 	andi.   r9,r0,32                               
ffc06e30:	41 82 00 30 	beq-    ffc06e60 <rtems_termios_ioctl+0x1a8>   <== ALWAYS TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06e34:	7f 60 00 a6 	mfmsr   r27                                    <== NOT EXECUTED
ffc06e38:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc06e3c:	7f 60 00 78 	andc    r0,r27,r0                              <== NOT EXECUTED
ffc06e40:	7c 00 01 24 	mtmsr   r0                                     <== 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) {                          
ffc06e44:	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;                                    
ffc06e48:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc06e4c:	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;                                    
ffc06e50:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc06e54:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc06e58:	40 9e 02 50 	bne-    cr7,ffc070a8 <rtems_termios_ioctl+0x3f0><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06e5c:	7f 60 01 24 	mtmsr   r27                                    <== 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)) {
ffc06e60:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e64:	70 09 04 00 	andi.   r9,r0,1024                             
ffc06e68:	41 82 00 28 	beq-    ffc06e90 <rtems_termios_ioctl+0x1d8>   
ffc06e6c:	80 1e 00 30 	lwz     r0,48(r30)                             
ffc06e70:	70 09 10 00 	andi.   r9,r0,4096                             
ffc06e74:	40 82 00 1c 	bne-    ffc06e90 <rtems_termios_ioctl+0x1d8>   <== NEVER TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
ffc06e78:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e7c:	54 00 05 a8 	rlwinm  r0,r0,0,22,20                          
ffc06e80:	90 1e 00 b8 	stw     r0,184(r30)                            
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
ffc06e84:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e88:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          
ffc06e8c:	90 1e 00 b8 	stw     r0,184(r30)                            
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
ffc06e90:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06e94:	70 09 01 00 	andi.   r9,r0,256                              
ffc06e98:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc06e9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06ea0:	41 82 00 4c 	beq-    ffc06eec <rtems_termios_ioctl+0x234>   <== ALWAYS TAKEN
ffc06ea4:	41 9c 01 f4 	blt-    cr7,ffc07098 <rtems_termios_ioctl+0x3e0><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
ffc06ea8:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06eac:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          <== NOT EXECUTED
ffc06eb0:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
ffc06eb4:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06eb8:	70 09 00 04 	andi.   r9,r0,4                                <== NOT EXECUTED
ffc06ebc:	41 82 00 24 	beq-    ffc06ee0 <rtems_termios_ioctl+0x228>   <== NOT EXECUTED
ffc06ec0:	80 1e 00 b0 	lwz     r0,176(r30)                            <== NOT EXECUTED
ffc06ec4:	2f 00 00 00 	cmpwi   cr6,r0,0                               <== NOT EXECUTED
ffc06ec8:	41 9a 00 18 	beq-    cr6,ffc06ee0 <rtems_termios_ioctl+0x228><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
ffc06ecc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06ed0:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc06ed4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06ed8:	80 1e 00 38 	lwz     r0,56(r30)                             <== NOT EXECUTED
ffc06edc:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
ffc06ee0:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06ee4:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc06ee8:	90 1e 00 b8 	stw     r0,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) {                               
ffc06eec:	41 9c 01 ac 	blt-    cr7,ffc07098 <rtems_termios_ioctl+0x3e0><== NEVER TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
ffc06ef0:	80 1e 00 30 	lwz     r0,48(r30)                             
ffc06ef4:	70 09 10 00 	andi.   r9,r0,4096                             
ffc06ef8:	41 82 00 10 	beq-    ffc06f08 <rtems_termios_ioctl+0x250>   
    tty->flow_ctrl |= FL_MDXOF;                                       
ffc06efc:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc06f00:	61 29 04 00 	ori     r9,r9,1024                             
ffc06f04:	91 3e 00 b8 	stw     r9,184(r30)                            
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
ffc06f08:	70 09 04 00 	andi.   r9,r0,1024                             
ffc06f0c:	41 82 00 10 	beq-    ffc06f1c <rtems_termios_ioctl+0x264>   
    tty->flow_ctrl |= FL_MDXON;                                       
ffc06f10:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc06f14:	60 00 02 00 	ori     r0,r0,512                              
ffc06f18:	90 1e 00 b8 	stw     r0,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) {                              
ffc06f1c:	83 7e 00 3c 	lwz     r27,60(r30)                            
ffc06f20:	73 7b 00 02 	andi.   r27,r27,2                              
ffc06f24:	41 82 01 20 	beq-    ffc07044 <rtems_termios_ioctl+0x38c>   
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
ffc06f28:	38 00 00 00 	li      r0,0                                   
ffc06f2c:	90 1e 00 6c 	stw     r0,108(r30)                            
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
ffc06f30:	90 1e 00 70 	stw     r0,112(r30)                            
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
ffc06f34:	90 1e 00 74 	stw     r0,116(r30)                            
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
ffc06f38:	80 1e 00 a8 	lwz     r0,168(r30)                            
ffc06f3c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06f40:	41 be fe 18 	beq-    cr7,ffc06d58 <rtems_termios_ioctl+0xa0><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
ffc06f44:	80 7e 00 10 	lwz     r3,16(r30)                             
ffc06f48:	7f 84 e3 78 	mr      r4,r28                                 
ffc06f4c:	7c 09 03 a6 	mtctr   r0                                     
ffc06f50:	4e 80 04 21 	bctrl                                          
ffc06f54:	4b ff fe 04 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
ffc06f58:	81 3e 00 60 	lwz     r9,96(r30)                             <== NOT EXECUTED
ffc06f5c:	80 1e 00 5c 	lwz     r0,92(r30)                             <== NOT EXECUTED
      if ( rawnc < 0 )                                                
ffc06f60:	7c 00 48 51 	subf.   r0,r0,r9                               <== NOT EXECUTED
ffc06f64:	41 80 01 28 	blt-    ffc0708c <rtems_termios_ioctl+0x3d4>   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
ffc06f68:	81 5e 00 20 	lwz     r10,32(r30)                            <== NOT EXECUTED
ffc06f6c:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc06f70:	81 7f 00 08 	lwz     r11,8(r31)                             <== NOT EXECUTED
ffc06f74:	7d 29 50 50 	subf    r9,r9,r10                              <== NOT EXECUTED
ffc06f78:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
ffc06f7c:	90 0b 00 00 	stw     r0,0(r11)                              <== NOT EXECUTED
    }                                                                 
    break;                                                            
ffc06f80:	4b ff fd d8 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    <== NOT EXECUTED
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc06f84:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc06f88:	40 9e fe 28 	bne+    cr7,ffc06db0 <rtems_termios_ioctl+0xf8><== NEVER TAKEN
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
ffc06f8c:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc06f90:	38 9e 00 30 	addi    r4,r30,48                              
ffc06f94:	38 a0 00 24 	li      r5,36                                  
ffc06f98:	48 00 c9 01 	bl      ffc13898 <memcpy>                      
    break;                                                            
ffc06f9c:	4b ff fd bc 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc06fa0:	6c 09 40 04 	xoris   r9,r0,16388                            
ffc06fa4:	2f 89 74 1a 	cmpwi   cr7,r9,29722                           
ffc06fa8:	41 9e 00 78 	beq-    cr7,ffc07020 <rtems_termios_ioctl+0x368>
ffc06fac:	6c 09 80 04 	xoris   r9,r0,32772                            
ffc06fb0:	2f 89 74 1b 	cmpwi   cr7,r9,29723                           
ffc06fb4:	40 9e fd fc 	bne+    cr7,ffc06db0 <rtems_termios_ioctl+0xf8><== NEVER TAKEN
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc06fb8:	81 3e 00 cc 	lwz     r9,204(r30)                            
ffc06fbc:	3f 80 00 00 	lis     r28,0                                  
ffc06fc0:	3b 9c 28 78 	addi    r28,r28,10360                          
ffc06fc4:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06fc8:	7d 3c 4a 14 	add     r9,r28,r9                              
ffc06fcc:	80 09 00 04 	lwz     r0,4(r9)                               
ffc06fd0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06fd4:	41 9e 00 14 	beq-    cr7,ffc06fe8 <rtems_termios_ioctl+0x330>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc06fd8:	7f c3 f3 78 	mr      r3,r30                                 
ffc06fdc:	7c 09 03 a6 	mtctr   r0                                     
ffc06fe0:	4e 80 04 21 	bctrl                                          
ffc06fe4:	7c 7d 1b 78 	mr      r29,r3                                 
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc06fe8:	81 3f 00 08 	lwz     r9,8(r31)                              
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc06fec:	38 00 00 00 	li      r0,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);                                
ffc06ff0:	81 29 00 00 	lwz     r9,0(r9)                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc06ff4:	90 1e 00 d0 	stw     r0,208(r30)                            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc06ff8:	55 20 28 34 	rlwinm  r0,r9,5,0,26                           
ffc06ffc:	7c 1c 00 2e 	lwzx    r0,r28,r0                              
     * 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);                                
ffc07000:	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) {           
ffc07004:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07008:	41 be fd 50 	beq-    cr7,ffc06d58 <rtems_termios_ioctl+0xa0>
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
ffc0700c:	7f c3 f3 78 	mr      r3,r30                                 
ffc07010:	7c 09 03 a6 	mtctr   r0                                     
ffc07014:	4e 80 04 21 	bctrl                                          
ffc07018:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0701c:	4b ff fd 3c 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
ffc07020:	80 1e 00 cc 	lwz     r0,204(r30)                            
ffc07024:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc07028:	90 09 00 00 	stw     r0,0(r9)                               
    break;                                                            
ffc0702c:	4b ff fd 2c 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
ffc07030:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc07034:	81 7c 00 04 	lwz     r11,4(r28)                             
ffc07038:	91 5e 00 d4 	stw     r10,212(r30)                           
ffc0703c:	91 7e 00 d8 	stw     r11,216(r30)                           
    break;                                                            
ffc07040:	4b ff fd 18 	b       ffc06d58 <rtems_termios_ioctl+0xa0>    
    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] *                    
ffc07044:	8b 5e 00 46 	lbz     r26,70(r30)                            
                    rtems_clock_get_ticks_per_second() / 10;          
ffc07048:	48 00 1b 91 	bl      ffc08bd8 <rtems_clock_get_ticks_per_second>
      if (tty->termios.c_cc[VTIME]) {                                 
ffc0704c:	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;          
ffc07050:	3c 00 cc cc 	lis     r0,-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] *                    
ffc07054:	7c 63 d1 d6 	mullw   r3,r3,r26                              
                    rtems_clock_get_ticks_per_second() / 10;          
ffc07058:	60 00 cc cd 	ori     r0,r0,52429                            
      if (tty->termios.c_cc[VTIME]) {                                 
ffc0705c:	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;          
ffc07060:	7c 03 00 16 	mulhwu  r0,r3,r0                               
ffc07064:	54 00 e8 fe 	rlwinm  r0,r0,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] *                    
ffc07068:	90 1e 00 54 	stw     r0,84(r30)                             
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc0706c:	41 9e 00 64 	beq-    cr7,ffc070d0 <rtems_termios_ioctl+0x418>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc07070:	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;                   
ffc07074:	93 7e 00 6c 	stw     r27,108(r30)                           
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc07078:	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;              
ffc0707c:	90 1e 00 70 	stw     r0,112(r30)                            
        if (tty->termios.c_cc[VMIN])                                  
ffc07080:	41 9e 00 6c 	beq-    cr7,ffc070ec <rtems_termios_ioctl+0x434>
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc07084:	93 7e 00 74 	stw     r27,116(r30)                           
ffc07088:	4b ff fe b0 	b       ffc06f38 <rtems_termios_ioctl+0x280>   
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
ffc0708c:	81 3e 00 64 	lwz     r9,100(r30)                            <== NOT EXECUTED
ffc07090:	7c 00 4a 14 	add     r0,r0,r9                               <== NOT EXECUTED
ffc07094:	4b ff fe d4 	b       ffc06f68 <rtems_termios_ioctl+0x2b0>   <== 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;                                       
ffc07098:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc0709c:	60 00 01 00 	ori     r0,r0,256                              <== NOT EXECUTED
ffc070a0:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
ffc070a4:	4b ff fe 4c 	b       ffc06ef0 <rtems_termios_ioctl+0x238>   <== 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); 
ffc070a8:	81 3e 00 84 	lwz     r9,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)(                                         
ffc070ac:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc070b0:	80 9e 00 7c 	lwz     r4,124(r30)                            <== NOT EXECUTED
ffc070b4:	80 1e 00 a4 	lwz     r0,164(r30)                            <== NOT EXECUTED
ffc070b8:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc070bc:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc070c0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc070c4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc070c8:	7f 60 01 24 	mtmsr   r27                                    <== NOT EXECUTED
ffc070cc:	4b ff fd 94 	b       ffc06e60 <rtems_termios_ioctl+0x1a8>   <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
ffc070d0:	88 1e 00 47 	lbz     r0,71(r30)                             
ffc070d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc070d8:	41 9e 00 1c 	beq-    cr7,ffc070f4 <rtems_termios_ioctl+0x43c><== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
ffc070dc:	91 3e 00 6c 	stw     r9,108(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
ffc070e0:	91 3e 00 70 	stw     r9,112(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc070e4:	91 3e 00 74 	stw     r9,116(r30)                            <== NOT EXECUTED
ffc070e8:	4b ff fe 50 	b       ffc06f38 <rtems_termios_ioctl+0x280>   <== 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;       
ffc070ec:	90 1e 00 74 	stw     r0,116(r30)                            
ffc070f0:	4b ff fe 48 	b       ffc06f38 <rtems_termios_ioctl+0x280>   
        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;              
ffc070f4:	38 00 00 01 	li      r0,1                                   
ffc070f8:	90 1e 00 6c 	stw     r0,108(r30)                            
ffc070fc:	4b ff fe 3c 	b       ffc06f38 <rtems_termios_ioctl+0x280>   
                                                                      

ffc06604 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
ffc06604:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc06608:	7d 80 00 26 	mfcr    r12                                    
ffc0660c:	7c 08 02 a6 	mflr    r0                                     
ffc06610:	93 81 00 30 	stw     r28,48(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06614:	3f 80 00 00 	lis     r28,0                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06618:	93 c1 00 38 	stw     r30,56(r1)                             
ffc0661c:	7c 7e 1b 78 	mr      r30,r3                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06620:	80 7c 27 b8 	lwz     r3,10168(r28)                          
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06624:	93 41 00 28 	stw     r26,40(r1)                             
ffc06628:	7c ba 2b 78 	mr      r26,r5                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc0662c:	38 a0 00 00 	li      r5,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06630:	93 a1 00 34 	stw     r29,52(r1)                             
ffc06634:	7c 9d 23 78 	mr      r29,r4                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06638:	38 80 00 00 	li      r4,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc0663c:	93 01 00 20 	stw     r24,32(r1)                             
ffc06640:	7c d8 33 78 	mr      r24,r6                                 
ffc06644:	93 61 00 2c 	stw     r27,44(r1)                             
ffc06648:	90 01 00 44 	stw     r0,68(r1)                              
ffc0664c:	92 81 00 10 	stw     r20,16(r1)                             
ffc06650:	92 a1 00 14 	stw     r21,20(r1)                             
ffc06654:	92 c1 00 18 	stw     r22,24(r1)                             
ffc06658:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc0665c:	93 21 00 24 	stw     r25,36(r1)                             
ffc06660:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc06664:	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(                                        
ffc06668:	48 00 2d 71 	bl      ffc093d8 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0666c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc06670:	40 82 00 90 	bne-    ffc06700 <rtems_termios_open+0xfc>     <== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc06674:	3e c0 00 00 	lis     r22,0                                  
ffc06678:	82 f6 27 c0 	lwz     r23,10176(r22)                         
ffc0667c:	2e 17 00 00 	cmpwi   cr4,r23,0                              
ffc06680:	41 92 01 08 	beq-    cr4,ffc06788 <rtems_termios_open+0x184>
ffc06684:	7e ff bb 78 	mr      r31,r23                                
ffc06688:	48 00 00 10 	b       ffc06698 <rtems_termios_open+0x94>     
ffc0668c:	83 ff 00 00 	lwz     r31,0(r31)                             
ffc06690:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc06694:	41 9e 00 f4 	beq-    cr7,ffc06788 <rtems_termios_open+0x184><== ALWAYS TAKEN
    if ((tty->major == major) && (tty->minor == minor))               
ffc06698:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0669c:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc066a0:	40 9e ff ec 	bne+    cr7,ffc0668c <rtems_termios_open+0x88> 
ffc066a4:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc066a8:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc066ac:	40 9e ff e0 	bne+    cr7,ffc0668c <rtems_termios_open+0x88> <== NEVER TAKEN
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
ffc066b0:	81 3f 00 08 	lwz     r9,8(r31)                              
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc066b4:	81 7a 00 00 	lwz     r11,0(r26)                             
  if (!tty->refcount++) {                                             
ffc066b8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc066bc:	39 29 00 01 	addi    r9,r9,1                                
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc066c0:	93 eb 00 38 	stw     r31,56(r11)                            
  if (!tty->refcount++) {                                             
ffc066c4:	91 3f 00 08 	stw     r9,8(r31)                              
ffc066c8:	40 9e 00 30 	bne-    cr7,ffc066f8 <rtems_termios_open+0xf4> 
    if (tty->device.firstOpen)                                        
ffc066cc:	80 1f 00 98 	lwz     r0,152(r31)                            
ffc066d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc066d4:	41 9e 00 18 	beq-    cr7,ffc066ec <rtems_termios_open+0xe8> <== ALWAYS TAKEN
      (*tty->device.firstOpen)(major, minor, arg);                    
ffc066d8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc066dc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc066e0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc066e4:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc066e8:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc066ec:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc066f0:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc066f4:	41 9e 00 58 	beq-    cr7,ffc0674c <rtems_termios_open+0x148>
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc066f8:	80 7c 27 b8 	lwz     r3,10168(r28)                          
ffc066fc:	48 00 2e 69 	bl      ffc09564 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc06700:	80 01 00 44 	lwz     r0,68(r1)                              
ffc06704:	7f 63 db 78 	mr      r3,r27                                 
ffc06708:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc0670c:	7c 08 03 a6 	mtlr    r0                                     
ffc06710:	82 81 00 10 	lwz     r20,16(r1)                             
ffc06714:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc06718:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0671c:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc06720:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc06724:	83 01 00 20 	lwz     r24,32(r1)                             
ffc06728:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0672c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc06730:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc06734:	83 81 00 30 	lwz     r28,48(r1)                             
ffc06738:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0673c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc06740:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc06744:	38 21 00 40 	addi    r1,r1,64                               
ffc06748:	4e 80 00 20 	blr                                            
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
ffc0674c:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc06750:	3c 80 ff c1 	lis     r4,-63                                 
ffc06754:	38 84 83 3c 	addi    r4,r4,-31940                           
ffc06758:	7f e5 fb 78 	mr      r5,r31                                 
ffc0675c:	48 00 32 39 	bl      ffc09994 <rtems_task_start>            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc06760:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06764:	40 9e 02 d4 	bne-    cr7,ffc06a38 <rtems_termios_open+0x434><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
ffc06768:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc0676c:	3c 80 ff c1 	lis     r4,-63                                 
ffc06770:	38 84 86 30 	addi    r4,r4,-31184                           
ffc06774:	7f e5 fb 78 	mr      r5,r31                                 
ffc06778:	48 00 32 1d 	bl      ffc09994 <rtems_task_start>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0677c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06780:	41 9e ff 78 	beq+    cr7,ffc066f8 <rtems_termios_open+0xf4> <== ALWAYS TAKEN
ffc06784:	48 00 02 b4 	b       ffc06a38 <rtems_termios_open+0x434>    <== NOT EXECUTED
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc06788:	38 60 00 01 	li      r3,1                                   
ffc0678c:	38 80 00 e8 	li      r4,232                                 
ffc06790:	4b ff e4 09 	bl      ffc04b98 <calloc>                      
    if (tty == NULL) {                                                
ffc06794:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06798:	41 82 02 68 	beq-    ffc06a00 <rtems_termios_open+0x3fc>    
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
ffc0679c:	3f 20 00 00 	lis     r25,0                                  
ffc067a0:	80 19 21 b0 	lwz     r0,8624(r25)                           
ffc067a4:	3b 39 21 b0 	addi    r25,r25,8624                           
ffc067a8:	90 1f 00 64 	stw     r0,100(r31)                            
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc067ac:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc067b0:	4b ff ee 09 	bl      ffc055b8 <malloc>                      
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc067b4:	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);               
ffc067b8:	90 7f 00 58 	stw     r3,88(r31)                             
ffc067bc:	7c 75 1b 78 	mr      r21,r3                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc067c0:	41 9e 02 38 	beq-    cr7,ffc069f8 <rtems_termios_open+0x3f4>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
ffc067c4:	80 19 00 04 	lwz     r0,4(r25)                              
ffc067c8:	90 1f 00 88 	stw     r0,136(r31)                            
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc067cc:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc067d0:	4b ff ed e9 	bl      ffc055b8 <malloc>                      
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc067d4:	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);             
ffc067d8:	90 7f 00 7c 	stw     r3,124(r31)                            
ffc067dc:	7c 74 1b 78 	mr      r20,r3                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc067e0:	41 9e 02 10 	beq-    cr7,ffc069f0 <rtems_termios_open+0x3ec>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc067e4:	80 79 00 08 	lwz     r3,8(r25)                              
ffc067e8:	4b ff ed d1 	bl      ffc055b8 <malloc>                      
    if (tty->cbuf == NULL) {                                          
ffc067ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc067f0:	90 7f 00 1c 	stw     r3,28(r31)                             
    if (tty->cbuf == NULL) {                                          
ffc067f4:	41 9e 01 f4 	beq-    cr7,ffc069e8 <rtems_termios_open+0x3e4><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc067f8:	38 00 00 00 	li      r0,0                                   
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
ffc067fc:	92 ff 00 00 	stw     r23,0(r31)                             
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc06800:	90 1f 00 d4 	stw     r0,212(r31)                            
    tty->tty_snd.sw_arg = NULL;                                       
ffc06804:	90 1f 00 d8 	stw     r0,216(r31)                            
    tty->tty_rcv.sw_pfn = NULL;                                       
ffc06808:	90 1f 00 dc 	stw     r0,220(r31)                            
    tty->tty_rcv.sw_arg = NULL;                                       
ffc0680c:	90 1f 00 e0 	stw     r0,224(r31)                            
    tty->tty_rcvwakeup  = 0;                                          
ffc06810:	90 1f 00 e4 	stw     r0,228(r31)                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
ffc06814:	90 1f 00 04 	stw     r0,4(r31)                              
    if (rtems_termios_ttyHead != NULL)                                
ffc06818:	41 92 00 08 	beq-    cr4,ffc06820 <rtems_termios_open+0x21c>
      rtems_termios_ttyHead->back = tty;                              
ffc0681c:	93 f7 00 04 	stw     r31,4(r23)                             
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
ffc06820:	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;                                      
ffc06824:	93 f6 27 c0 	stw     r31,10176(r22)                         
    if (rtems_termios_ttyTail == NULL)                                
ffc06828:	80 09 27 bc 	lwz     r0,10172(r9)                           
ffc0682c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06830:	41 9e 02 68 	beq-    cr7,ffc06a98 <rtems_termios_open+0x494>
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc06834:	88 79 00 0c 	lbz     r3,12(r25)                             
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc06838:	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;                                               
ffc0683c:	93 bf 00 10 	stw     r29,16(r31)                            
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc06840:	38 a0 00 54 	li      r5,84                                  
ffc06844:	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;                                               
ffc06848:	93 df 00 0c 	stw     r30,12(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc0684c:	60 63 69 00 	ori     r3,r3,26880                            
ffc06850:	38 c0 00 00 	li      r6,0                                   
ffc06854:	38 ff 00 14 	addi    r7,r31,20                              
ffc06858:	48 00 28 a9 	bl      ffc09100 <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)                                       
ffc0685c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06860:	40 9e 01 d8 	bne-    cr7,ffc06a38 <rtems_termios_open+0x434>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
ffc06864:	88 79 00 0c 	lbz     r3,12(r25)                             
      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 (                                     
ffc06868:	38 80 00 01 	li      r4,1                                   
ffc0686c:	38 a0 00 54 	li      r5,84                                  
ffc06870:	64 63 54 52 	oris    r3,r3,21586                            
ffc06874:	60 63 6f 00 	ori     r3,r3,28416                            
ffc06878:	38 c0 00 00 	li      r6,0                                   
ffc0687c:	38 ff 00 18 	addi    r7,r31,24                              
ffc06880:	48 00 28 81 	bl      ffc09100 <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)                                       
ffc06884:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06888:	40 9e 01 b0 	bne-    cr7,ffc06a38 <rtems_termios_open+0x434>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
ffc0688c:	88 79 00 0c 	lbz     r3,12(r25)                             
      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 (                                     
ffc06890:	38 80 00 00 	li      r4,0                                   
ffc06894:	38 a0 00 20 	li      r5,32                                  
ffc06898:	64 63 54 52 	oris    r3,r3,21586                            
ffc0689c:	60 63 78 00 	ori     r3,r3,30720                            
ffc068a0:	38 c0 00 00 	li      r6,0                                   
ffc068a4:	38 ff 00 8c 	addi    r7,r31,140                             
ffc068a8:	48 00 28 59 	bl      ffc09100 <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)                                       
ffc068ac:	7c 60 1b 79 	mr.     r0,r3                                  
ffc068b0:	40 82 01 88 	bne-    ffc06a38 <rtems_termios_open+0x434>    
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc068b4:	81 18 00 00 	lwz     r8,0(r24)                              
ffc068b8:	81 58 00 04 	lwz     r10,4(r24)                             
ffc068bc:	81 78 00 08 	lwz     r11,8(r24)                             
ffc068c0:	81 38 00 0c 	lwz     r9,12(r24)                             
ffc068c4:	91 1f 00 98 	stw     r8,152(r31)                            
ffc068c8:	91 5f 00 9c 	stw     r10,156(r31)                           
ffc068cc:	91 7f 00 a0 	stw     r11,160(r31)                           
ffc068d0:	91 3f 00 a4 	stw     r9,164(r31)                            
ffc068d4:	81 38 00 1c 	lwz     r9,28(r24)                             
ffc068d8:	81 18 00 10 	lwz     r8,16(r24)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc068dc:	2f 89 00 02 	cmpwi   cr7,r9,2                               
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc068e0:	81 58 00 14 	lwz     r10,20(r24)                            
ffc068e4:	81 78 00 18 	lwz     r11,24(r24)                            
      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;                                   
ffc068e8:	90 1f 00 94 	stw     r0,148(r31)                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc068ec:	91 1f 00 a8 	stw     r8,168(r31)                            
ffc068f0:	91 5f 00 ac 	stw     r10,172(r31)                           
ffc068f4:	91 7f 00 b0 	stw     r11,176(r31)                           
ffc068f8:	91 3f 00 b4 	stw     r9,180(r31)                            
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc068fc:	41 9e 01 40 	beq-    cr7,ffc06a3c <rtems_termios_open+0x438>
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
ffc06900:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06904:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06908:	41 9e 01 08 	beq-    cr7,ffc06a10 <rtems_termios_open+0x40c>
ffc0690c:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06910:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06914:	41 9e 00 fc 	beq-    cr7,ffc06a10 <rtems_termios_open+0x40c>
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc06918:	39 00 25 02 	li      r8,9474                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc0691c:	89 39 00 0c 	lbz     r9,12(r25)                             
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc06920:	91 1f 00 30 	stw     r8,48(r31)                             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc06924:	39 00 18 05 	li      r8,6149                                
    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;                                               
ffc06928:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc0692c:	91 1f 00 34 	stw     r8,52(r31)                             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc06930:	39 00 08 bd 	li      r8,2237                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc06934:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
    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;                                               
ffc06938:	90 1f 00 b8 	stw     r0,184(r31)                            
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc0693c:	39 29 00 01 	addi    r9,r9,1                                
    /*                                                                
     * 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;              
ffc06940:	91 1f 00 38 	stw     r8,56(r31)                             
    tty->termios.c_lflag =                                            
ffc06944:	39 00 00 00 	li      r8,0                                   
ffc06948:	61 08 82 3b 	ori     r8,r8,33339                            
    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';                                 
ffc0694c:	98 1f 00 4c 	stb     r0,76(r31)                             
    tty->termios.c_cc[VEOL2] = '\000';                                
ffc06950:	98 1f 00 51 	stb     r0,81(r31)                             
    tty->termios.c_cc[VSTART] = '\021';                               
ffc06954:	38 00 00 11 	li      r0,17                                  
ffc06958:	98 1f 00 49 	stb     r0,73(r31)                             
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc0695c:	38 00 00 13 	li      r0,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;                        
ffc06960:	81 5f 00 64 	lwz     r10,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 =                                            
ffc06964:	91 1f 00 3c 	stw     r8,60(r31)                             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc06968:	39 00 00 03 	li      r8,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;                        
ffc0696c:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc06970:	81 7f 00 64 	lwz     r11,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';                                
ffc06974:	98 1f 00 4a 	stb     r0,74(r31)                             
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc06978:	38 00 00 1a 	li      r0,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;                        
ffc0697c:	1d 6b 00 03 	mulli   r11,r11,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';                                
ffc06980:	99 1f 00 41 	stb     r8,65(r31)                             
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc06984:	39 00 00 1c 	li      r8,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';                                
ffc06988:	98 1f 00 4b 	stb     r0,75(r31)                             
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc0698c:	38 00 00 12 	li      r0,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;                        
ffc06990:	55 6b f0 be 	rlwinm  r11,r11,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';                                
ffc06994:	99 1f 00 42 	stb     r8,66(r31)                             
    tty->termios.c_cc[VERASE] = '\177';                               
ffc06998:	39 00 00 7f 	li      r8,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';                             
ffc0699c:	98 1f 00 4d 	stb     r0,77(r31)                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc069a0:	38 00 00 0f 	li      r0,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';                               
ffc069a4:	99 1f 00 43 	stb     r8,67(r31)                             
    tty->termios.c_cc[VKILL] = '\025';                                
ffc069a8:	39 00 00 15 	li      r8,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';                             
ffc069ac:	98 1f 00 4e 	stb     r0,78(r31)                             
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc069b0:	38 00 00 17 	li      r0,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';                                
ffc069b4:	99 1f 00 44 	stb     r8,68(r31)                             
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc069b8:	39 00 00 04 	li      r8,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';                              
ffc069bc:	98 1f 00 4f 	stb     r0,79(r31)                             
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc069c0:	38 00 00 16 	li      r0,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';                                 
ffc069c4:	99 1f 00 45 	stb     r8,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';                               
ffc069c8:	98 1f 00 50 	stb     r0,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;                        
ffc069cc:	91 5f 00 bc 	stw     r10,188(r31)                           
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc069d0:	91 7f 00 c0 	stw     r11,192(r31)                           
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc069d4:	99 39 00 0c 	stb     r9,12(r25)                             
ffc069d8:	40 9e fc d8 	bne+    cr7,ffc066b0 <rtems_termios_open+0xac> 
      c = 'a';                                                        
ffc069dc:	38 00 00 61 	li      r0,97                                  
ffc069e0:	98 19 00 0c 	stb     r0,12(r25)                             
ffc069e4:	4b ff fc cc 	b       ffc066b0 <rtems_termios_open+0xac>     
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
ffc069e8:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc069ec:	4b ff e7 b1 	bl      ffc0519c <free>                        <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
ffc069f0:	7e a3 ab 78 	mr      r3,r21                                 
ffc069f4:	4b ff e7 a9 	bl      ffc0519c <free>                        
            free(tty);                                                
ffc069f8:	7f e3 fb 78 	mr      r3,r31                                 
ffc069fc:	4b ff e7 a1 	bl      ffc0519c <free>                        
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc06a00:	80 7c 27 b8 	lwz     r3,10168(r28)                          
      return RTEMS_NO_MEMORY;                                         
ffc06a04:	3b 60 00 1a 	li      r27,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);               
ffc06a08:	48 00 2b 5d 	bl      ffc09564 <rtems_semaphore_release>     
      return RTEMS_NO_MEMORY;                                         
ffc06a0c:	4b ff fc f4 	b       ffc06700 <rtems_termios_open+0xfc>     
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
ffc06a10:	88 79 00 0c 	lbz     r3,12(r25)                             
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
ffc06a14:	38 80 00 00 	li      r4,0                                   
ffc06a18:	38 a0 00 24 	li      r5,36                                  
ffc06a1c:	64 63 54 52 	oris    r3,r3,21586                            
ffc06a20:	60 63 72 00 	ori     r3,r3,29184                            
ffc06a24:	38 c0 00 00 	li      r6,0                                   
ffc06a28:	38 ff 00 68 	addi    r7,r31,104                             
ffc06a2c:	48 00 26 d5 	bl      ffc09100 <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)                                     
ffc06a30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06a34:	41 9e fe e4 	beq+    cr7,ffc06918 <rtems_termios_open+0x314><== 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);                              
ffc06a38:	48 00 33 05 	bl      ffc09d3c <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),
ffc06a3c:	88 79 00 0c 	lbz     r3,12(r25)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
ffc06a40:	38 80 00 0a 	li      r4,10                                  
ffc06a44:	38 a0 04 00 	li      r5,1024                                
ffc06a48:	64 63 54 78 	oris    r3,r3,21624                            
ffc06a4c:	60 63 54 00 	ori     r3,r3,21504                            
ffc06a50:	38 c0 05 00 	li      r6,1280                                
ffc06a54:	38 e0 00 00 	li      r7,0                                   
ffc06a58:	39 1f 00 c8 	addi    r8,r31,200                             
ffc06a5c:	48 00 2b e9 	bl      ffc09644 <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)                                     
ffc06a60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06a64:	40 be ff d4 	bne-    cr7,ffc06a38 <rtems_termios_open+0x434><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
ffc06a68:	88 79 00 0c 	lbz     r3,12(r25)                             
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
ffc06a6c:	38 80 00 09 	li      r4,9                                   
ffc06a70:	38 a0 04 00 	li      r5,1024                                
ffc06a74:	64 63 52 78 	oris    r3,r3,21112                            
ffc06a78:	60 63 54 00 	ori     r3,r3,21504                            
ffc06a7c:	38 c0 05 00 	li      r6,1280                                
ffc06a80:	38 e0 00 00 	li      r7,0                                   
ffc06a84:	39 1f 00 c4 	addi    r8,r31,196                             
ffc06a88:	48 00 2b bd 	bl      ffc09644 <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)                                     
ffc06a8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06a90:	41 9e fe 70 	beq+    cr7,ffc06900 <rtems_termios_open+0x2fc><== ALWAYS TAKEN
ffc06a94:	4b ff ff a4 	b       ffc06a38 <rtems_termios_open+0x434>    <== 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;                                    
ffc06a98:	93 e9 27 bc 	stw     r31,10172(r9)                          
ffc06a9c:	4b ff fd 98 	b       ffc06834 <rtems_termios_open+0x230>    
                                                                      

ffc07100 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
ffc07100:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc07104:	7c 08 02 a6 	mflr    r0                                     
ffc07108:	90 01 00 34 	stw     r0,52(r1)                              
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc0710c:	80 05 00 b4 	lwz     r0,180(r5)                             
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
ffc07110:	93 41 00 18 	stw     r26,24(r1)                             
ffc07114:	7c 7a 1b 78 	mr      r26,r3                                 
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc07118:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
ffc0711c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc07120:	7c bf 2b 78 	mr      r31,r5                                 
ffc07124:	93 21 00 14 	stw     r25,20(r1)                             
ffc07128:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0712c:	93 81 00 20 	stw     r28,32(r1)                             
ffc07130:	93 a1 00 24 	stw     r29,36(r1)                             
ffc07134:	93 c1 00 28 	stw     r30,40(r1)                             
ffc07138:	90 81 00 08 	stw     r4,8(r1)                               
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc0713c:	41 9e 01 2c 	beq-    cr7,ffc07268 <rtems_termios_puts+0x168>
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc07140:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
ffc07144:	83 65 00 80 	lwz     r27,128(r5)                            
  while (len) {                                                       
ffc07148:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0714c:	41 9e 00 cc 	beq-    cr7,ffc07218 <rtems_termios_puts+0x118><== NEVER TAKEN
                                                                      
/*                                                                    
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
ffc07150:	3b 43 ff ff 	addi    r26,r3,-1                              
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
ffc07154:	3b 80 00 02 	li      r28,2                                  
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc07158:	3b 20 00 01 	li      r25,1                                  
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
ffc0715c:	80 1f 00 88 	lwz     r0,136(r31)                            
ffc07160:	3b 7b 00 01 	addi    r27,r27,1                              
ffc07164:	7d 3b 03 96 	divwu   r9,r27,r0                              
ffc07168:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc0716c:	7f 60 d8 50 	subf    r27,r0,r27                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07170:	7f c0 00 a6 	mfmsr   r30                                    
ffc07174:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc07178:	7f c0 00 78 	andc    r0,r30,r0                              
ffc0717c:	7c 00 01 24 	mtmsr   r0                                     
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
ffc07180:	83 bf 00 84 	lwz     r29,132(r31)                           
ffc07184:	7f 9d d8 00 	cmpw    cr7,r29,r27                            
ffc07188:	40 9e 00 40 	bne-    cr7,ffc071c8 <rtems_termios_puts+0xc8> 
      tty->rawOutBufState = rob_wait;                                 
ffc0718c:	93 9f 00 94 	stw     r28,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07190:	7f c0 01 24 	mtmsr   r30                                    
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc07194:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc07198:	38 80 00 00 	li      r4,0                                   
ffc0719c:	38 a0 00 00 	li      r5,0                                   
ffc071a0:	48 00 22 39 	bl      ffc093d8 <rtems_semaphore_obtain>      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc071a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc071a8:	40 9e 01 04 	bne-    cr7,ffc072ac <rtems_termios_puts+0x1ac><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc071ac:	7f c0 00 a6 	mfmsr   r30                                    
ffc071b0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc071b4:	7f c0 00 78 	andc    r0,r30,r0                              
ffc071b8:	7c 00 01 24 	mtmsr   r0                                     
     * 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) {                          
ffc071bc:	80 1f 00 84 	lwz     r0,132(r31)                            
ffc071c0:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc071c4:	41 9e ff c8 	beq+    cr7,ffc0718c <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++;              
ffc071c8:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc071cc:	8d 7a 00 01 	lbzu    r11,1(r26)                             
ffc071d0:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc071d4:	7d 69 01 ae 	stbx    r11,r9,r0                              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
ffc071d8:	80 1f 00 94 	lwz     r0,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;                                    
ffc071dc:	93 7f 00 80 	stw     r27,128(r31)                           
    if (tty->rawOutBufState == rob_idle) {                            
ffc071e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc071e4:	40 9e 00 20 	bne-    cr7,ffc07204 <rtems_termios_puts+0x104>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
ffc071e8:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc071ec:	70 09 00 10 	andi.   r9,r0,16                               
ffc071f0:	41 82 00 54 	beq-    ffc07244 <rtems_termios_puts+0x144>    <== ALWAYS TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
ffc071f4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc071f8:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc071fc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc07200:	93 3f 00 94 	stw     r25,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07204:	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) {                                                       
ffc07208:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0720c:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc07210:	91 21 00 08 	stw     r9,8(r1)                               
ffc07214:	40 82 ff 48 	bne+    ffc0715c <rtems_termios_puts+0x5c>     
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07218:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0721c:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07220:	7c 08 03 a6 	mtlr    r0                                     
ffc07224:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07228:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0722c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07230:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07234:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07238:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0723c:	38 21 00 30 	addi    r1,r1,48                               
ffc07240:	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,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
ffc07244:	81 3f 00 84 	lwz     r9,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)(tty->minor,                              
ffc07248:	38 a0 00 01 	li      r5,1                                   
ffc0724c:	80 9f 00 7c 	lwz     r4,124(r31)                            
ffc07250:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc07254:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07258:	7c 84 4a 14 	add     r4,r4,r9                               
ffc0725c:	7c 09 03 a6 	mtctr   r0                                     
ffc07260:	4e 80 04 21 	bctrl                                          
ffc07264:	4b ff ff 9c 	b       ffc07200 <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);                       
ffc07268:	80 05 00 a4 	lwz     r0,164(r5)                             
ffc0726c:	7f 44 d3 78 	mr      r4,r26                                 
ffc07270:	80 65 00 10 	lwz     r3,16(r5)                              
ffc07274:	7c 09 03 a6 	mtctr   r0                                     
ffc07278:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc0727c:	4e 80 04 21 	bctrl                                          
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07280:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07284:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07288:	7c 08 03 a6 	mtlr    r0                                     
ffc0728c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07290:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc07294:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07298:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0729c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc072a0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc072a4:	38 21 00 30 	addi    r1,r1,48                               
ffc072a8:	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);                              
ffc072ac:	48 00 2a 91 	bl      ffc09d3c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc07b18 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
ffc07b18:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc07b1c:	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);
ffc07b20:	38 80 00 00 	li      r4,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07b24:	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);
ffc07b28:	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;                   
ffc07b2c:	81 23 00 00 	lwz     r9,0(r3)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07b30:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc07b34:	83 e9 00 38 	lwz     r31,56(r9)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07b38:	93 41 00 18 	stw     r26,24(r1)                             
ffc07b3c:	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);
ffc07b40:	80 7f 00 14 	lwz     r3,20(r31)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07b44:	93 01 00 10 	stw     r24,16(r1)                             
ffc07b48:	93 21 00 14 	stw     r25,20(r1)                             
ffc07b4c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc07b50:	92 c1 00 08 	stw     r22,8(r1)                              
ffc07b54:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc07b58:	93 81 00 20 	stw     r28,32(r1)                             
ffc07b5c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc07b60:	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;                                     
ffc07b64:	83 7a 00 14 	lwz     r27,20(r26)                            
  char      *buffer = args->buffer;                                   
ffc07b68:	83 1a 00 10 	lwz     r24,16(r26)                            
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07b6c:	48 00 18 6d 	bl      ffc093d8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc07b70:	7c 79 1b 79 	mr.     r25,r3                                 
ffc07b74:	40 82 00 48 	bne-    ffc07bbc <rtems_termios_read+0xa4>     <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
ffc07b78:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc07b7c:	3d 20 00 00 	lis     r9,0                                   
ffc07b80:	39 29 28 78 	addi    r9,r9,10360                            
ffc07b84:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc07b88:	7d 29 02 14 	add     r9,r9,r0                               
ffc07b8c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc07b90:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07b94:	41 9e 00 64 	beq-    cr7,ffc07bf8 <rtems_termios_read+0xe0> 
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc07b98:	7c 09 03 a6 	mtctr   r0                                     
ffc07b9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc07ba0:	7f 44 d3 78 	mr      r4,r26                                 
ffc07ba4:	4e 80 04 21 	bctrl                                          
    tty->tty_rcvwakeup = 0;                                           
ffc07ba8:	38 00 00 00 	li      r0,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);          
ffc07bac:	7c 79 1b 78 	mr      r25,r3                                 
    tty->tty_rcvwakeup = 0;                                           
ffc07bb0:	90 1f 00 e4 	stw     r0,228(r31)                            
    rtems_semaphore_release (tty->isem);                              
ffc07bb4:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc07bb8:	48 00 19 ad 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
ffc07bbc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07bc0:	7f 23 cb 78 	mr      r3,r25                                 
ffc07bc4:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc07bc8:	7c 08 03 a6 	mtlr    r0                                     
ffc07bcc:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc07bd0:	83 01 00 10 	lwz     r24,16(r1)                             
ffc07bd4:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07bd8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07bdc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc07be0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07be4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07be8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07bec:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc07bf0:	38 21 00 30 	addi    r1,r1,48                               
ffc07bf4:	4e 80 00 20 	blr                                            
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
ffc07bf8:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc07bfc:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07c00:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07c04:	41 9e 00 a8 	beq-    cr7,ffc07cac <rtems_termios_read+0x194><== ALWAYS TAKEN
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc07c08:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc07c0c:	41 9e 00 48 	beq-    cr7,ffc07c54 <rtems_termios_read+0x13c><== NEVER TAKEN
ffc07c10:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc07c14:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07c18:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07c1c:	40 9c 00 38 	bge-    cr7,ffc07c54 <rtems_termios_read+0x13c><== NEVER TAKEN
ffc07c20:	7f 09 c0 50 	subf    r24,r9,r24                             
ffc07c24:	7f 69 03 a6 	mtctr   r27                                    
ffc07c28:	48 00 00 10 	b       ffc07c38 <rtems_termios_read+0x120>    
ffc07c2c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07c30:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc07c34:	40 9d 00 20 	ble-    cr7,ffc07c54 <rtems_termios_read+0x13c>
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc07c38:	81 7f 00 1c 	lwz     r11,28(r31)                            
    count--;                                                          
ffc07c3c:	3b 7b ff ff 	addi    r27,r27,-1                             
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc07c40:	7c 0b 48 ae 	lbzx    r0,r11,r9                              
ffc07c44:	7c 18 49 ae 	stbx    r0,r24,r9                              
ffc07c48:	39 29 00 01 	addi    r9,r9,1                                
ffc07c4c:	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)) {                      
ffc07c50:	42 00 ff dc 	bdnz+   ffc07c2c <rtems_termios_read+0x114>    
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc07c54:	80 1a 00 14 	lwz     r0,20(r26)                             
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
ffc07c58:	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;                            
ffc07c5c:	7f 7b 00 50 	subf    r27,r27,r0                             
  tty->tty_rcvwakeup = 0;                                             
ffc07c60:	38 00 00 00 	li      r0,0                                   
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc07c64:	93 7a 00 1c 	stw     r27,28(r26)                            
  tty->tty_rcvwakeup = 0;                                             
ffc07c68:	90 1f 00 e4 	stw     r0,228(r31)                            
  rtems_semaphore_release (tty->isem);                                
ffc07c6c:	48 00 18 f9 	bl      ffc09564 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc07c70:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07c74:	7f 23 cb 78 	mr      r3,r25                                 
ffc07c78:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc07c7c:	7c 08 03 a6 	mtlr    r0                                     
ffc07c80:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc07c84:	83 01 00 10 	lwz     r24,16(r1)                             
ffc07c88:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07c8c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07c90:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc07c94:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07c98:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07c9c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07ca0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc07ca4:	38 21 00 30 	addi    r1,r1,48                               
ffc07ca8:	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 &&                               
ffc07cac:	80 1f 00 a0 	lwz     r0,160(r31)                            
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
ffc07cb0:	81 3f 00 28 	lwz     r9,40(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc07cb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
ffc07cb8:	93 3f 00 20 	stw     r25,32(r31)                            
ffc07cbc:	93 3f 00 24 	stw     r25,36(r31)                            
    tty->read_start_column = tty->column;                             
ffc07cc0:	91 3f 00 2c 	stw     r9,44(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc07cc4:	41 9e 00 10 	beq-    cr7,ffc07cd4 <rtems_termios_read+0x1bc>
ffc07cc8:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc07ccc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07cd0:	41 9e 01 b4 	beq-    cr7,ffc07e84 <rtems_termios_read+0x36c>
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
ffc07cd4:	83 bf 00 74 	lwz     r29,116(r31)                           
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
ffc07cd8:	3b c0 00 01 	li      r30,1                                  
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07cdc:	3e e0 00 00 	lis     r23,0                                  
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc07ce0:	3a df 00 49 	addi    r22,r31,73                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07ce4:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc07ce8:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc07cec:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07cf0:	41 9e 01 3c 	beq-    cr7,ffc07e2c <rtems_termios_read+0x314>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07cf4:	3b 97 21 b0 	addi    r28,r23,8624                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07cf8:	80 1f 00 20 	lwz     r0,32(r31)                             
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07cfc:	81 3c 00 08 	lwz     r9,8(r28)                              
ffc07d00:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d04:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07d08:	41 bd 00 40 	bgt+    cr7,ffc07d48 <rtems_termios_read+0x230><== ALWAYS TAKEN
ffc07d0c:	48 00 01 20 	b       ffc07e2c <rtems_termios_read+0x314>    <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
ffc07d10:	4b ff fc 59 	bl      ffc07968 <siproc>                      
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d14:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc07d18:	80 1f 00 60 	lwz     r0,96(r31)                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
ffc07d1c:	30 63 ff ff 	addic   r3,r3,-1                               
ffc07d20:	7c 63 19 10 	subfe   r3,r3,r3                               
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc07d24:	83 bf 00 70 	lwz     r29,112(r31)                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d28:	7f 89 00 00 	cmpw    cr7,r9,r0                              
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
ffc07d2c:	7f de 18 38 	and     r30,r30,r3                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d30:	41 9e 00 fc 	beq-    cr7,ffc07e2c <rtems_termios_read+0x314>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07d34:	81 7c 00 08 	lwz     r11,8(r28)                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d38:	81 3f 00 20 	lwz     r9,32(r31)                             
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07d3c:	38 0b ff ff 	addi    r0,r11,-1                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07d40:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07d44:	40 9c 00 e8 	bge-    cr7,ffc07e2c <rtems_termios_read+0x314><== NEVER TAKEN
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc07d48:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc07d4c:	81 7f 00 64 	lwz     r11,100(r31)                           
ffc07d50:	39 29 00 01 	addi    r9,r9,1                                
      c = tty->rawInBuf.theBuf[newHead];                              
ffc07d54:	81 1f 00 58 	lwz     r8,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;        
ffc07d58:	7c 09 5b 96 	divwu   r0,r9,r11                              
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc07d5c:	81 5f 00 bc 	lwz     r10,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;        
ffc07d60:	7c 00 59 d6 	mullw   r0,r0,r11                              
ffc07d64:	7c 00 48 50 	subf    r0,r0,r9                               
      c = tty->rawInBuf.theBuf[newHead];                              
ffc07d68:	7f a8 00 ae 	lbzx    r29,r8,r0                              
      tty->rawInBuf.Head = newHead;                                   
ffc07d6c:	90 1f 00 5c 	stw     r0,92(r31)                             
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc07d70:	81 7f 00 60 	lwz     r11,96(r31)                            
ffc07d74:	81 1f 00 64 	lwz     r8,100(r31)                            
          % tty->rawInBuf.Size)                                       
ffc07d78:	81 3f 00 64 	lwz     r9,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)             
ffc07d7c:	7d 68 5a 14 	add     r11,r8,r11                             
ffc07d80:	7c 00 58 50 	subf    r0,r0,r11                              
          % tty->rawInBuf.Size)                                       
ffc07d84:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc07d88:	7d 2b 49 d6 	mullw   r9,r11,r9                              
ffc07d8c:	7c 09 00 50 	subf    r0,r9,r0                               
      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)             
ffc07d90:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc07d94:	40 9c 00 50 	bge-    cr7,ffc07de4 <rtems_termios_read+0x2cc><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
ffc07d98:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07d9c:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc07da0:	90 1f 00 b8 	stw     r0,184(r31)                            
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
ffc07da4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07da8:	70 00 02 02 	andi.   r0,r0,514                              
ffc07dac:	2f 80 02 02 	cmpwi   cr7,r0,514                             
ffc07db0:	41 9e 00 a0 	beq-    cr7,ffc07e50 <rtems_termios_read+0x338><== 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) {                       
ffc07db4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07db8:	70 09 01 00 	andi.   r9,r0,256                              
ffc07dbc:	41 82 00 28 	beq-    ffc07de4 <rtems_termios_read+0x2cc>    <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07dc0:	80 1f 00 b0 	lwz     r0,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;                              
ffc07dc4:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07dc8:	2f 80 00 00 	cmpwi   cr7,r0,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;                              
ffc07dcc:	55 29 07 b8 	rlwinm  r9,r9,0,30,28                          <== NOT EXECUTED
ffc07dd0:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07dd4:	41 9e 00 10 	beq-    cr7,ffc07de4 <rtems_termios_read+0x2cc><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
ffc07dd8:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07ddc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07de0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc07de4:	80 1f 00 3c 	lwz     r0,60(r31)                             
        if (siproc (c, tty))                                          
ffc07de8:	7f a3 eb 78 	mr      r3,r29                                 
ffc07dec:	7f e4 fb 78 	mr      r4,r31                                 
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc07df0:	70 09 00 02 	andi.   r9,r0,2                                
ffc07df4:	40 a2 ff 1c 	bne-    ffc07d10 <rtems_termios_read+0x1f8>    <== ALWAYS TAKEN
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
ffc07df8:	4b ff fb 71 	bl      ffc07968 <siproc>                      <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc07dfc:	88 1f 00 47 	lbz     r0,71(r31)                             <== NOT EXECUTED
ffc07e00:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc07e04:	83 bf 00 70 	lwz     r29,112(r31)                           <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
ffc07e08:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07e0c:	81 3f 00 5c 	lwz     r9,92(r31)                             <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
ffc07e10:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc07e14:	54 00 ef fe 	rlwinm  r0,r0,29,31,31                         <== NOT EXECUTED
ffc07e18:	7c 00 00 d0 	neg     r0,r0                                  <== NOT EXECUTED
ffc07e1c:	7f de 00 38 	and     r30,r30,r0                             <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07e20:	80 1f 00 60 	lwz     r0,96(r31)                             <== NOT EXECUTED
ffc07e24:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc07e28:	40 9e ff 0c 	bne+    cr7,ffc07d34 <rtems_termios_read+0x21c><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
ffc07e2c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc07e30:	41 9e fd d8 	beq+    cr7,ffc07c08 <rtems_termios_read+0xf0> 
      sc = rtems_semaphore_obtain(                                    
ffc07e34:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc07e38:	7f a5 eb 78 	mr      r5,r29                                 
ffc07e3c:	80 9f 00 6c 	lwz     r4,108(r31)                            
ffc07e40:	48 00 15 99 	bl      ffc093d8 <rtems_semaphore_obtain>      
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc07e44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07e48:	41 9e fe 9c 	beq+    cr7,ffc07ce4 <rtems_termios_read+0x1cc><== ALWAYS TAKEN
ffc07e4c:	4b ff fd bc 	b       ffc07c08 <rtems_termios_read+0xf0>     <== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
ffc07e50:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc07e54:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc07e58:	41 9e 00 10 	beq-    cr7,ffc07e68 <rtems_termios_read+0x350><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
ffc07e5c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07e60:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc07e64:	41 a2 ff 50 	beq-    ffc07db4 <rtems_termios_read+0x29c>    <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc07e68:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc07e6c:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc07e70:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07e74:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc07e78:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07e7c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07e80:	4b ff ff 64 	b       ffc07de4 <rtems_termios_read+0x2cc>    <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc07e84:	81 3f 00 3c 	lwz     r9,60(r31)                             
ffc07e88:	71 2b 00 02 	andi.   r11,r9,2                               
ffc07e8c:	41 82 00 34 	beq-    ffc07ec0 <rtems_termios_read+0x3a8>    
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc07e90:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07e94:	7c 09 03 a6 	mtctr   r0                                     
ffc07e98:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc07e9c:	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) {                                                    
ffc07ea0:	2c 03 00 00 	cmpwi   r3,0                                   
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc07ea4:	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) {                                                    
ffc07ea8:	41 80 00 bc 	blt-    ffc07f64 <rtems_termios_read+0x44c>    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc07eac:	4b ff fa bd 	bl      ffc07968 <siproc>                      
ffc07eb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07eb4:	40 be fd 54 	bne-    cr7,ffc07c08 <rtems_termios_read+0xf0> 
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc07eb8:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc07ebc:	4b ff ff d4 	b       ffc07e90 <rtems_termios_read+0x378>    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
ffc07ec0:	48 00 0d 31 	bl      ffc08bf0 <rtems_clock_get_ticks_since_boot>
ffc07ec4:	7c 7e 1b 78 	mr      r30,r3                                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc07ec8:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc07ecc:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07ed0:	7c 09 03 a6 	mtctr   r0                                     
ffc07ed4:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc07ed8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc07edc:	41 80 00 38 	blt-    ffc07f14 <rtems_termios_read+0x3fc>    
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
ffc07ee0:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc07ee4:	7f e4 fb 78 	mr      r4,r31                                 
ffc07ee8:	4b ff fa 81 	bl      ffc07968 <siproc>                      
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc07eec:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc07ef0:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc07ef4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07ef8:	40 bc fd 10 	bge-    cr7,ffc07c08 <rtems_termios_read+0xf0> 
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
ffc07efc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07f00:	41 be ff c8 	beq-    cr7,ffc07ec8 <rtems_termios_read+0x3b0><== NEVER TAKEN
ffc07f04:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc07f08:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07f0c:	41 9e ff bc 	beq+    cr7,ffc07ec8 <rtems_termios_read+0x3b0><== NEVER TAKEN
ffc07f10:	4b ff ff b0 	b       ffc07ec0 <rtems_termios_read+0x3a8>    
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
ffc07f14:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc07f18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc07f1c:	88 1f 00 46 	lbz     r0,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]) {                                
ffc07f20:	41 9e 00 24 	beq-    cr7,ffc07f44 <rtems_termios_read+0x42c><== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc07f24:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07f28:	41 9e 00 10 	beq-    cr7,ffc07f38 <rtems_termios_read+0x420><== NEVER TAKEN
ffc07f2c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07f30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07f34:	40 9e 00 18 	bne-    cr7,ffc07f4c <rtems_termios_read+0x434>
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
ffc07f38:	38 60 00 01 	li      r3,1                                   
ffc07f3c:	48 00 1b 75 	bl      ffc09ab0 <rtems_task_wake_after>       
ffc07f40:	4b ff ff 88 	b       ffc07ec8 <rtems_termios_read+0x3b0>    
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
ffc07f44:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc07f48:	41 be fc c0 	beq-    cr7,ffc07c08 <rtems_termios_read+0xf0> <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
ffc07f4c:	48 00 0c a5 	bl      ffc08bf0 <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
ffc07f50:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc07f54:	7c 7e 18 50 	subf    r3,r30,r3                              
ffc07f58:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc07f5c:	40 9d ff dc 	ble+    cr7,ffc07f38 <rtems_termios_read+0x420>
ffc07f60:	4b ff fc a8 	b       ffc07c08 <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);                                    
ffc07f64:	38 60 00 01 	li      r3,1                                   
ffc07f68:	48 00 1b 49 	bl      ffc09ab0 <rtems_task_wake_after>       
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc07f6c:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc07f70:	4b ff ff 20 	b       ffc07e90 <rtems_termios_read+0x378>    
                                                                      

ffc083d4 <rtems_termios_refill_transmitter>: * in task-driven mode, this function is called in Tx task context * in interrupt-driven mode, this function is called in TxIRQ context */ int rtems_termios_refill_transmitter (struct rtems_termios_tty *tty) {
ffc083d4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc083d8:	7c 08 02 a6 	mflr    r0                                     
ffc083dc:	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))         
ffc083e0:	80 03 00 b8 	lwz     r0,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 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
ffc083e4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc083e8:	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))         
ffc083ec:	70 00 04 03 	andi.   r0,r0,1027                             
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
ffc083f0:	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))         
ffc083f4:	2f 80 04 01 	cmpwi   cr7,r0,1025                            
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
ffc083f8:	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))         
ffc083fc:	41 9e 01 5c 	beq-    cr7,ffc08558 <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) {
ffc08400:	80 03 00 b8 	lwz     r0,184(r3)                             
ffc08404:	54 00 07 be 	clrlwi  r0,r0,30                               
ffc08408:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0840c:	41 9e 01 b4 	beq-    cr7,ffc085c0 <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 ) {               
ffc08410:	81 23 00 80 	lwz     r9,128(r3)                             
ffc08414:	80 03 00 84 	lwz     r0,132(r3)                             
ffc08418:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0841c:	41 9e 00 d8 	beq-    cr7,ffc084f4 <rtems_termios_refill_transmitter+0x120>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08420:	7c 00 00 a6 	mfmsr   r0                                     
ffc08424:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc08428:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0842c:	7d 20 01 24 	mtmsr   r9                                     
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
ffc08430:	39 20 00 00 	li      r9,0                                   
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
ffc08434:	83 c3 00 90 	lwz     r30,144(r3)                            
    tty->t_dqlen = 0;                                                 
ffc08438:	91 23 00 90 	stw     r9,144(r3)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0843c:	7c 00 01 24 	mtmsr   r0                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc08440:	80 03 00 84 	lwz     r0,132(r3)                             
ffc08444:	81 23 00 88 	lwz     r9,136(r3)                             
ffc08448:	7c 1e 02 14 	add     r0,r30,r0                              
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc0844c:	81 63 00 94 	lwz     r11,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;      
ffc08450:	7f c0 4b 96 	divwu   r30,r0,r9                              
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc08454:	2f 8b 00 02 	cmpwi   cr7,r11,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;      
ffc08458:	7f de 49 d6 	mullw   r30,r30,r9                             
ffc0845c:	7f de 00 50 	subf    r30,r30,r0                             
    tty->rawOutBuf.Tail = newTail;                                    
ffc08460:	93 c3 00 84 	stw     r30,132(r3)                            
    if (tty->rawOutBufState == rob_wait) {                            
ffc08464:	41 9e 00 e8 	beq-    cr7,ffc0854c <rtems_termios_refill_transmitter+0x178>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
ffc08468:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc0846c:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc08470:	41 9e 00 a0 	beq-    cr7,ffc08510 <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))               
ffc08474:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc08478:	70 00 02 10 	andi.   r0,r0,528                              
ffc0847c:	2f 80 02 10 	cmpwi   cr7,r0,528                             
ffc08480:	41 9e 01 7c 	beq-    cr7,ffc085fc <rtems_termios_refill_transmitter+0x228><== NEVER TAKEN
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
ffc08484:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc08488:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0848c:	41 9d 00 b4 	bgt-    cr7,ffc08540 <rtems_termios_refill_transmitter+0x16c>
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc08490:	83 bf 00 80 	lwz     r29,128(r31)                           
ffc08494:	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)) {                   
ffc08498:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc0849c:	7f a5 eb 78 	mr      r5,r29                                 
ffc084a0:	70 09 06 00 	andi.   r9,r0,1536                             
ffc084a4:	41 82 00 0c 	beq-    ffc084b0 <rtems_termios_refill_transmitter+0xdc>
ffc084a8:	38 a0 00 01 	li      r5,1                                   
        nToSend = 1;                                                  
ffc084ac:	3b a0 00 01 	li      r29,1                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc084b0:	38 00 00 01 	li      r0,1                                   
      (*tty->device.write)(                                           
ffc084b4:	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*/                         
ffc084b8:	90 1f 00 94 	stw     r0,148(r31)                            
      (*tty->device.write)(                                           
ffc084bc:	7c 84 f2 14 	add     r4,r4,r30                              
ffc084c0:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc084c4:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc084c8:	7c 09 03 a6 	mtctr   r0                                     
ffc084cc:	4e 80 04 21 	bctrl                                          
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc084d0:	93 df 00 84 	stw     r30,132(r31)                           
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc084d4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc084d8:	7f a3 eb 78 	mr      r3,r29                                 
ffc084dc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc084e0:	7c 08 03 a6 	mtlr    r0                                     
ffc084e4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc084e8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc084ec:	38 21 00 18 	addi    r1,r1,24                               
ffc084f0:	4e 80 00 20 	blr                                            
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc084f4:	80 03 00 94 	lwz     r0,148(r3)                             
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
ffc084f8:	3b a0 00 00 	li      r29,0                                  
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc084fc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08500:	40 9e ff d4 	bne+    cr7,ffc084d4 <rtems_termios_refill_transmitter+0x100><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
ffc08504:	80 63 00 8c 	lwz     r3,140(r3)                             <== NOT EXECUTED
ffc08508:	48 00 10 5d 	bl      ffc09564 <rtems_semaphore_release>     <== NOT EXECUTED
ffc0850c:	4b ff ff c8 	b       ffc084d4 <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) {                             
ffc08510:	80 1f 00 d4 	lwz     r0,212(r31)                            
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
ffc08514:	39 20 00 00 	li      r9,0                                   
ffc08518:	91 3f 00 94 	stw     r9,148(r31)                            
      nToSend = 0;                                                    
ffc0851c:	3b a0 00 00 	li      r29,0                                  
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc08520:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08524:	41 be ff ac 	beq-    cr7,ffc084d0 <rtems_termios_refill_transmitter+0xfc><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
ffc08528:	38 7f 00 30 	addi    r3,r31,48                              <== NOT EXECUTED
ffc0852c:	80 9f 00 d8 	lwz     r4,216(r31)                            <== NOT EXECUTED
ffc08530:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc08534:	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*/                            
ffc08538:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc0853c:	4b ff ff 98 	b       ffc084d4 <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
ffc08540:	83 bf 00 88 	lwz     r29,136(r31)                           
ffc08544:	7f be e8 50 	subf    r29,r30,r29                            
ffc08548:	4b ff ff 50 	b       ffc08498 <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);             
ffc0854c:	80 63 00 8c 	lwz     r3,140(r3)                             
ffc08550:	48 00 10 15 	bl      ffc09564 <rtems_semaphore_release>     
ffc08554:	4b ff ff 14 	b       ffc08468 <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);
ffc08558:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc0855c:	38 9f 00 4a 	addi    r4,r31,74                              <== NOT EXECUTED
ffc08560:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc08564:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc08568:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0856c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08570:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc08574:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc08578:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc0857c:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc08580:	81 7f 00 90 	lwz     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc08584:	81 3f 00 b8 	lwz     r9,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--;                                                   
ffc08588:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc0858c:	61 29 00 02 	ori     r9,r9,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--;                                                   
ffc08590:	91 7f 00 90 	stw     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc08594:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08598:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc0859c:	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;                                                      
ffc085a0:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc085a4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc085a8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc085ac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc085b0:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc085b4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc085b8:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc085bc:	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);
ffc085c0:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc085c4:	38 9f 00 49 	addi    r4,r31,73                              <== NOT EXECUTED
ffc085c8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc085cc:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc085d0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc085d4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc085d8:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc085dc:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc085e0:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc085e4:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc085e8:	81 7f 00 90 	lwz     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc085ec:	81 3f 00 b8 	lwz     r9,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--;                                                   
ffc085f0:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc085f4:	55 29 07 fa 	rlwinm  r9,r9,0,31,29                          <== NOT EXECUTED
ffc085f8:	4b ff ff 98 	b       ffc08590 <rtems_termios_refill_transmitter+0x1bc><== NOT EXECUTED
ffc085fc:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc08600:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc08604:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc08608:	7d 20 01 24 	mtmsr   r9                                     <== 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;                                     
ffc0860c:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc08610:	61 29 00 20 	ori     r9,r9,32                               <== NOT EXECUTED
ffc08614:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc08618:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc0861c:	91 3f 00 94 	stw     r9,148(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08620:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
ffc08624:	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*/                            
ffc08628:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc0862c:	4b ff fe a8 	b       ffc084d4 <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
                                                                      

ffc0833c <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
ffc0833c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08340:	7c 08 02 a6 	mflr    r0                                     
ffc08344:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc08348:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0834c:	90 01 00 24 	stw     r0,36(r1)                              
ffc08350:	48 00 00 20 	b       ffc08370 <rtems_termios_rxdaemon+0x34> 
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08354:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc08358:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0835c:	7c 09 03 a6 	mtctr   r0                                     
ffc08360:	4e 80 04 21 	bctrl                                          
    if (c != EOF) {                                                   
ffc08364:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08368:	7c 60 1b 78 	mr      r0,r3                                  
    if (c != EOF) {                                                   
ffc0836c:	40 9e 00 50 	bne-    cr7,ffc083bc <rtems_termios_rxdaemon+0x80>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc08370:	38 c1 00 0c 	addi    r6,r1,12                               
ffc08374:	38 80 00 02 	li      r4,2                                   
ffc08378:	38 a0 00 00 	li      r5,0                                   
ffc0837c:	38 60 00 03 	li      r3,3                                   
ffc08380:	48 00 08 fd 	bl      ffc08c7c <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) {              
ffc08384:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08388:	70 09 00 01 	andi.   r9,r0,1                                
ffc0838c:	41 82 ff c8 	beq+    ffc08354 <rtems_termios_rxdaemon+0x18> <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
ffc08390:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc08394:	90 1f 00 c4 	stw     r0,196(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc08398:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0839c:	48 00 14 21 	bl      ffc097bc <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc083a0:	80 1f 00 a0 	lwz     r0,160(r31)                            <== NOT EXECUTED
ffc083a4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc083a8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc083ac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc083b0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc083b4:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc083b8:	41 9e ff b8 	beq+    cr7,ffc08370 <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);           
ffc083bc:	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;                                                      
ffc083c0:	98 01 00 08 	stb     r0,8(r1)                               
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc083c4:	38 81 00 08 	addi    r4,r1,8                                
ffc083c8:	38 a0 00 01 	li      r5,1                                   
ffc083cc:	4b ff fb d1 	bl      ffc07f9c <rtems_termios_enqueue_raw_characters>
ffc083d0:	4b ff ff a0 	b       ffc08370 <rtems_termios_rxdaemon+0x34> 
                                                                      

ffc08630 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
ffc08630:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08634:	7c 08 02 a6 	mflr    r0                                     
ffc08638:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0863c:	3f c0 00 00 	lis     r30,0                                  
ffc08640:	3b de 28 78 	addi    r30,r30,10360                          
ffc08644:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc08648:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0864c:	90 01 00 24 	stw     r0,36(r1)                              
ffc08650:	48 00 00 30 	b       ffc08680 <rtems_termios_txdaemon+0x50> 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc08654:	81 3f 00 cc 	lwz     r9,204(r31)                            
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc08658:	7f e3 fb 78 	mr      r3,r31                                 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc0865c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc08660:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc08664:	80 09 00 14 	lwz     r0,20(r9)                              
ffc08668:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0866c:	41 9e 00 0c 	beq-    cr7,ffc08678 <rtems_termios_txdaemon+0x48><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc08670:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc08674:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
ffc08678:	7f e3 fb 78 	mr      r3,r31                                 
ffc0867c:	4b ff fd 59 	bl      ffc083d4 <rtems_termios_refill_transmitter>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc08680:	38 80 00 02 	li      r4,2                                   
ffc08684:	38 a0 00 00 	li      r5,0                                   
ffc08688:	38 c1 00 08 	addi    r6,r1,8                                
ffc0868c:	38 60 00 03 	li      r3,3                                   
ffc08690:	48 00 05 ed 	bl      ffc08c7c <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) {              
ffc08694:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08698:	70 09 00 01 	andi.   r9,r0,1                                
ffc0869c:	41 82 ff b8 	beq+    ffc08654 <rtems_termios_txdaemon+0x24> <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
ffc086a0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc086a4:	90 1f 00 c8 	stw     r0,200(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc086a8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc086ac:	48 00 11 11 	bl      ffc097bc <rtems_task_delete>           <== NOT EXECUTED
ffc086b0:	4b ff ff a4 	b       ffc08654 <rtems_termios_txdaemon+0x24> <== NOT EXECUTED
                                                                      

ffc079ec <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
ffc079ec:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc079f0:	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);
ffc079f4:	38 80 00 00 	li      r4,0                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc079f8:	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);
ffc079fc:	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;                   
ffc07a00:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07a04:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc07a08:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07a0c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc07a10:	7c 7e 1b 78 	mr      r30,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);
ffc07a14:	80 7f 00 18 	lwz     r3,24(r31)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07a18:	93 a1 00 14 	stw     r29,20(r1)                             
ffc07a1c:	93 81 00 10 	stw     r28,16(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);
ffc07a20:	48 00 19 b9 	bl      ffc093d8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc07a24:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc07a28:	40 82 00 40 	bne-    ffc07a68 <rtems_termios_write+0x7c>    
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
ffc07a2c:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc07a30:	3d 20 00 00 	lis     r9,0                                   
ffc07a34:	39 29 28 78 	addi    r9,r9,10360                            
ffc07a38:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc07a3c:	7d 29 02 14 	add     r9,r9,r0                               
ffc07a40:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc07a44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07a48:	41 9e 00 44 	beq-    cr7,ffc07a8c <rtems_termios_write+0xa0>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
ffc07a4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a50:	7c 09 03 a6 	mtctr   r0                                     
ffc07a54:	7f c4 f3 78 	mr      r4,r30                                 
ffc07a58:	4e 80 04 21 	bctrl                                          
ffc07a5c:	7c 7d 1b 78 	mr      r29,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc07a60:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc07a64:	48 00 1b 01 	bl      ffc09564 <rtems_semaphore_release>     
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
ffc07a68:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07a6c:	7f a3 eb 78 	mr      r3,r29                                 
ffc07a70:	83 81 00 10 	lwz     r28,16(r1)                             
ffc07a74:	7c 08 03 a6 	mtlr    r0                                     
ffc07a78:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc07a7c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc07a80:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07a84:	38 21 00 20 	addi    r1,r1,32                               
ffc07a88:	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) {                                 
ffc07a8c:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc07a90:	70 09 00 01 	andi.   r9,r0,1                                
ffc07a94:	41 82 00 70 	beq-    ffc07b04 <rtems_termios_write+0x118>   <== NEVER TAKEN
    uint32_t   count = args->count;                                   
ffc07a98:	80 1e 00 14 	lwz     r0,20(r30)                             
    char      *buffer = args->buffer;                                 
ffc07a9c:	83 9e 00 10 	lwz     r28,16(r30)                            
    while (count--)                                                   
ffc07aa0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
ffc07aa4:	90 01 00 08 	stw     r0,8(r1)                               
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc07aa8:	38 00 00 00 	li      r0,0                                   
ffc07aac:	41 9e 00 28 	beq-    cr7,ffc07ad4 <rtems_termios_write+0xe8><== NEVER TAKEN
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
ffc07ab0:	3b 9c ff ff 	addi    r28,r28,-1                             
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
ffc07ab4:	8c 7c 00 01 	lbzu    r3,1(r28)                              
ffc07ab8:	7f e4 fb 78 	mr      r4,r31                                 
ffc07abc:	4b ff f7 f5 	bl      ffc072b0 <oproc>                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc07ac0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc07ac4:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc07ac8:	91 21 00 08 	stw     r9,8(r1)                               
ffc07acc:	40 82 ff e8 	bne+    ffc07ab4 <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;                                  
ffc07ad0:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc07ad4:	90 1e 00 1c 	stw     r0,28(r30)                             
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
ffc07ad8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc07adc:	48 00 1a 89 	bl      ffc09564 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc07ae0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07ae4:	7f a3 eb 78 	mr      r3,r29                                 
ffc07ae8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc07aec:	7c 08 03 a6 	mtlr    r0                                     
ffc07af0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc07af4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc07af8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07afc:	38 21 00 20 	addi    r1,r1,32                               
ffc07b00:	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);              
ffc07b04:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc07b08:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc07b0c:	80 9e 00 14 	lwz     r4,20(r30)                             <== NOT EXECUTED
ffc07b10:	4b ff f5 f1 	bl      ffc07100 <rtems_termios_puts>          <== NOT EXECUTED
ffc07b14:	4b ff ff bc 	b       ffc07ad0 <rtems_termios_write+0xe4>    <== NOT EXECUTED
                                                                      

ffc1bb78 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc1bb78:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1bb7c:	7c 08 02 a6 	mflr    r0                                     
ffc1bb80:	7c 64 1b 78 	mr      r4,r3                                  
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
ffc1bb84:	3c 60 00 00 	lis     r3,0                                   
ffc1bb88:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1bb8c:	38 63 72 80 	addi    r3,r3,29312                            
ffc1bb90:	38 a1 00 08 	addi    r5,r1,8                                
ffc1bb94:	48 00 3b b5 	bl      ffc1f748 <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1bb98:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1bb9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bba0:	40 9e 00 30 	bne-    cr7,ffc1bbd0 <rtems_timer_cancel+0x58> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc1bba4:	80 03 00 38 	lwz     r0,56(r3)                              
ffc1bba8:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1bbac:	41 9e 00 0c 	beq-    cr7,ffc1bbb8 <rtems_timer_cancel+0x40> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc1bbb0:	38 63 00 10 	addi    r3,r3,16                               
ffc1bbb4:	48 00 64 09 	bl      ffc21fbc <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc1bbb8:	48 00 4b ed 	bl      ffc207a4 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1bbbc:	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;                                        
ffc1bbc0:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1bbc4:	7c 08 03 a6 	mtlr    r0                                     
ffc1bbc8:	38 21 00 18 	addi    r1,r1,24                               
ffc1bbcc:	4e 80 00 20 	blr                                            
ffc1bbd0:	80 01 00 1c 	lwz     r0,28(r1)                              
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1bbd4:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc1bbd8:	38 21 00 18 	addi    r1,r1,24                               
ffc1bbdc:	7c 08 03 a6 	mtlr    r0                                     
ffc1bbe0:	4e 80 00 20 	blr                                            
                                                                      

ffc1c234 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc1c234:	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;                 
ffc1c238:	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                        
)                                                                     
{                                                                     
ffc1c23c:	7c 08 02 a6 	mflr    r0                                     
ffc1c240:	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;                 
ffc1c244:	83 e9 28 ec 	lwz     r31,10476(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1c248:	93 41 00 28 	stw     r26,40(r1)                             
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
ffc1c24c:	3b 40 00 0e 	li      r26,14                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc1c250:	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                        
)                                                                     
{                                                                     
ffc1c254:	93 a1 00 34 	stw     r29,52(r1)                             
ffc1c258:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1c25c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc1c260:	7c be 2b 78 	mr      r30,r5                                 
ffc1c264:	90 01 00 44 	stw     r0,68(r1)                              
ffc1c268:	93 21 00 24 	stw     r25,36(r1)                             
ffc1c26c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc1c270:	93 81 00 30 	stw     r28,48(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc1c274:	41 9e 00 18 	beq-    cr7,ffc1c28c <rtems_timer_server_fire_when+0x58>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc1c278:	3d 20 00 00 	lis     r9,0                                   
ffc1c27c:	88 09 28 a0 	lbz     r0,10400(r9)                           
    return RTEMS_NOT_DEFINED;                                         
ffc1c280:	3b 40 00 0b 	li      r26,11                                 
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc1c284:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c288:	40 9e 00 34 	bne-    cr7,ffc1c2bc <rtems_timer_server_fire_when+0x88><== ALWAYS TAKEN
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1c28c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1c290:	7f 43 d3 78 	mr      r3,r26                                 
ffc1c294:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1c298:	7c 08 03 a6 	mtlr    r0                                     
ffc1c29c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1c2a0:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1c2a4:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1c2a8:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1c2ac:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1c2b0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1c2b4:	38 21 00 40 	addi    r1,r1,64                               
ffc1c2b8:	4e 80 00 20 	blr                                            
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1c2bc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc1c2c0:	3b 40 00 09 	li      r26,9                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1c2c4:	41 be ff c8 	beq-    cr7,ffc1c28c <rtems_timer_server_fire_when+0x58>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc1c2c8:	7c 83 23 78 	mr      r3,r4                                  
ffc1c2cc:	90 81 00 18 	stw     r4,24(r1)                              
    return RTEMS_INVALID_CLOCK;                                       
ffc1c2d0:	3b 40 00 14 	li      r26,20                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc1c2d4:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc1c2d8:	4b ff c0 49 	bl      ffc18320 <_TOD_Validate>               
ffc1c2dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c2e0:	80 81 00 18 	lwz     r4,24(r1)                              
ffc1c2e4:	41 9e ff a8 	beq+    cr7,ffc1c28c <rtems_timer_server_fire_when+0x58>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1c2e8:	7c 83 23 78 	mr      r3,r4                                  
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1c2ec:	3f 60 00 00 	lis     r27,0                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1c2f0:	4b ff bf 95 	bl      ffc18284 <_TOD_To_seconds>             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1c2f4:	80 1b 28 b4 	lwz     r0,10420(r27)                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1c2f8:	7c 7c 1b 78 	mr      r28,r3                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1c2fc:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1c300:	40 9d ff 8c 	ble+    cr7,ffc1c28c <rtems_timer_server_fire_when+0x58>
ffc1c304:	3c 60 00 00 	lis     r3,0                                   
ffc1c308:	38 63 72 80 	addi    r3,r3,29312                            
ffc1c30c:	7f a4 eb 78 	mr      r4,r29                                 
ffc1c310:	38 a1 00 08 	addi    r5,r1,8                                
ffc1c314:	48 00 34 35 	bl      ffc1f748 <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1c318:	83 21 00 08 	lwz     r25,8(r1)                              
ffc1c31c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1c320:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc1c324:	40 9e 00 54 	bne-    cr7,ffc1c378 <rtems_timer_server_fire_when+0x144>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc1c328:	38 63 00 10 	addi    r3,r3,16                               
ffc1c32c:	48 00 5c 91 	bl      ffc21fbc <_Watchdog_Remove>            
      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();
ffc1c330:	80 1b 28 b4 	lwz     r0,10420(r27)                          
ffc1c334:	80 c1 00 1c 	lwz     r6,28(r1)                              
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc1c338:	39 20 00 03 	li      r9,3                                   
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc1c33c:	7f 80 e0 50 	subf    r28,r0,r28                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc1c340:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc1c344:	7f 44 d3 78 	mr      r4,r26                                 
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc1c348:	91 3a 00 38 	stw     r9,56(r26)                             
      _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 ); 
ffc1c34c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c350:	7c 09 03 a6 	mtctr   r0                                     
ffc1c354:	90 da 00 34 	stw     r6,52(r26)                             
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc1c358:	93 3a 00 18 	stw     r25,24(r26)                            
  the_watchdog->routine   = routine;                                  
ffc1c35c:	93 da 00 2c 	stw     r30,44(r26)                            
  the_watchdog->id        = id;                                       
ffc1c360:	93 ba 00 30 	stw     r29,48(r26)                            
                                                                      
    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();
ffc1c364:	93 9a 00 1c 	stw     r28,28(r26)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc1c368:	3b 40 00 00 	li      r26,0                                  
      (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();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc1c36c:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc1c370:	48 00 44 35 	bl      ffc207a4 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc1c374:	4b ff ff 18 	b       ffc1c28c <rtems_timer_server_fire_when+0x58>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1c378:	3b 40 00 04 	li      r26,4                                  
ffc1c37c:	4b ff ff 10 	b       ffc1c28c <rtems_timer_server_fire_when+0x58>
                                                                      

ffc04c3c <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
ffc04c3c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04c40:	7c 08 02 a6 	mflr    r0                                     
ffc04c44:	90 01 00 24 	stw     r0,36(r1)                              
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc04c48:	74 60 20 00 	andis.  r0,r3,8192                             
static int rtems_verror(                                              
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
ffc04c4c:	93 41 00 08 	stw     r26,8(r1)                              
ffc04c50:	7c 9a 23 78 	mr      r26,r4                                 
ffc04c54:	93 61 00 0c 	stw     r27,12(r1)                             
ffc04c58:	7c bb 2b 78 	mr      r27,r5                                 
ffc04c5c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04c60:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04c64:	93 81 00 10 	stw     r28,16(r1)                             
ffc04c68:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04c6c:	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) {                               
ffc04c70:	41 82 00 40 	beq-    ffc04cb0 <rtems_verror+0x74>           
    if (rtems_panic_in_progress++)                                    
ffc04c74:	3d 20 00 00 	lis     r9,0                                   
ffc04c78:	81 69 27 a8 	lwz     r11,10152(r9)                          
ffc04c7c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc04c80:	38 0b 00 01 	addi    r0,r11,1                               
ffc04c84:	90 09 27 a8 	stw     r0,10152(r9)                           
ffc04c88:	41 9e 00 1c 	beq-    cr7,ffc04ca4 <rtems_verror+0x68>       <== ALWAYS TAKEN
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc04c8c:	3d 60 00 00 	lis     r11,0                                  <== NOT EXECUTED
ffc04c90:	81 4b 27 c8 	lwz     r10,10184(r11)                         <== NOT EXECUTED
ffc04c94:	38 0a 00 01 	addi    r0,r10,1                               <== NOT EXECUTED
ffc04c98:	90 0b 27 c8 	stw     r0,10184(r11)                          <== NOT EXECUTED
    return _Thread_Dispatch_disable_level;                            
ffc04c9c:	80 0b 27 c8 	lwz     r0,10184(r11)                          <== 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();                                    
ffc04ca0:	80 09 27 a8 	lwz     r0,10152(r9)                           <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc04ca4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
      return 0;                                                       
ffc04ca8:	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)                                  
ffc04cac:	41 9d 00 ac 	bgt-    cr7,ffc04d58 <rtems_verror+0x11c>      <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc04cb0:	3f e0 00 00 	lis     r31,0                                  
ffc04cb4:	81 3f 27 4c 	lwz     r9,10060(r31)                          
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
ffc04cb8:	3b 80 00 00 	li      r28,0                                  
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc04cbc:	80 69 00 08 	lwz     r3,8(r9)                               
ffc04cc0:	48 00 e3 71 	bl      ffc13030 <fflush>                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc04cc4:	77 c0 40 00 	andis.  r0,r30,16384                           
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
ffc04cc8:	57 de 01 00 	rlwinm  r30,r30,0,4,0                          
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc04ccc:	40 82 00 ec 	bne-    ffc04db8 <rtems_verror+0x17c>          
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc04cd0:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc04cd4:	7f 44 d3 78 	mr      r4,r26                                 
ffc04cd8:	7f 65 db 78 	mr      r5,r27                                 
ffc04cdc:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04ce0:	48 01 3a 61 	bl      ffc18740 <vfprintf>                    
                                                                      
  if (status)                                                         
ffc04ce4:	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);          
ffc04ce8:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  if (status)                                                         
ffc04cec:	40 9e 00 98 	bne-    cr7,ffc04d84 <rtems_verror+0x148>      
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
ffc04cf0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04cf4:	41 9e 00 3c 	beq-    cr7,ffc04d30 <rtems_verror+0xf4>       
    if ((local_errno > 0) && *strerror(local_errno))                  
ffc04cf8:	40 9d 00 18 	ble-    cr7,ffc04d10 <rtems_verror+0xd4>       
ffc04cfc:	7f 83 e3 78 	mr      r3,r28                                 
ffc04d00:	48 00 f7 71 	bl      ffc14470 <strerror>                    
ffc04d04:	88 03 00 00 	lbz     r0,0(r3)                               
ffc04d08:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04d0c:	40 9e 00 b8 	bne-    cr7,ffc04dc4 <rtems_verror+0x188>      <== ALWAYS TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
ffc04d10:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc04d14:	3c 80 ff c2 	lis     r4,-62                                 
ffc04d18:	38 84 f0 b4 	addi    r4,r4,-3916                            
ffc04d1c:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04d20:	7f 85 e3 78 	mr      r5,r28                                 
ffc04d24:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04d28:	48 00 e8 c1 	bl      ffc135e8 <fprintf>                     
ffc04d2c:	7f bd 1a 14 	add     r29,r29,r3                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc04d30:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc04d34:	3c 80 ff c2 	lis     r4,-62                                 
ffc04d38:	38 84 e3 24 	addi    r4,r4,-7388                            
ffc04d3c:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04d40:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04d44:	48 00 e8 a5 	bl      ffc135e8 <fprintf>                     
                                                                      
  (void) fflush(stderr);                                              
ffc04d48:	81 3f 27 4c 	lwz     r9,10060(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");                             
ffc04d4c:	7f a3 ea 14 	add     r29,r3,r29                             
                                                                      
  (void) fflush(stderr);                                              
ffc04d50:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04d54:	48 00 e2 dd 	bl      ffc13030 <fflush>                      
                                                                      
  return chars_written;                                               
}                                                                     
ffc04d58:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04d5c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04d60:	83 41 00 08 	lwz     r26,8(r1)                              
ffc04d64:	7c 08 03 a6 	mtlr    r0                                     
ffc04d68:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc04d6c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04d70:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04d74:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04d78:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04d7c:	38 21 00 20 	addi    r1,r1,32                               
ffc04d80:	4e 80 00 20 	blr                                            
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
ffc04d84:	3d 20 00 00 	lis     r9,0                                   
ffc04d88:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc04d8c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d90:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc04d94:	4b ff fe 7d 	bl      ffc04c10 <rtems_status_text>           
ffc04d98:	3c 80 ff c2 	lis     r4,-62                                 
ffc04d9c:	7c 65 1b 78 	mr      r5,r3                                  
ffc04da0:	38 84 f0 94 	addi    r4,r4,-3948                            
ffc04da4:	7f c3 f3 78 	mr      r3,r30                                 
ffc04da8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04dac:	48 00 e8 3d 	bl      ffc135e8 <fprintf>                     
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
ffc04db0:	7f bd 1a 14 	add     r29,r29,r3                             
ffc04db4:	4b ff ff 3c 	b       ffc04cf0 <rtems_verror+0xb4>           
                                                                      
  (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;                                              
ffc04db8:	48 00 dd a5 	bl      ffc12b5c <__errno>                     
ffc04dbc:	83 83 00 00 	lwz     r28,0(r3)                              
ffc04dc0:	4b ff ff 10 	b       ffc04cd0 <rtems_verror+0x94>           
    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));
ffc04dc4:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc04dc8:	7f 83 e3 78 	mr      r3,r28                                 
ffc04dcc:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc04dd0:	48 00 f6 a1 	bl      ffc14470 <strerror>                    
ffc04dd4:	3c 80 ff c2 	lis     r4,-62                                 
ffc04dd8:	7c 65 1b 78 	mr      r5,r3                                  
ffc04ddc:	38 84 f0 a4 	addi    r4,r4,-3932                            
ffc04de0:	7f c3 f3 78 	mr      r3,r30                                 
ffc04de4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04de8:	48 00 e8 01 	bl      ffc135e8 <fprintf>                     
ffc04dec:	7f bd 1a 14 	add     r29,r29,r3                             
ffc04df0:	4b ff ff 40 	b       ffc04d30 <rtems_verror+0xf4>           
                                                                      

ffc05448 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
ffc05448:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0544c:	7c 08 02 a6 	mflr    r0                                     
ffc05450:	93 41 00 10 	stw     r26,16(r1)                             
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc05454:	3f 40 cc cc 	lis     r26,-13108                             
ffc05458:	63 5a cc cd 	ori     r26,r26,52429                          
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc0545c:	93 81 00 18 	stw     r28,24(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc05460:	3f 80 7f ff 	lis     r28,32767                              
ffc05464:	63 9c ff ff 	ori     r28,r28,65535                          
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc05468:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0546c:	93 01 00 08 	stw     r24,8(r1)                              
ffc05470:	7c 98 23 78 	mr      r24,r4                                 
ffc05474:	93 21 00 0c 	stw     r25,12(r1)                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05478:	3f 20 00 00 	lis     r25,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc0547c:	93 61 00 14 	stw     r27,20(r1)                             
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc05480:	3f 60 00 00 	lis     r27,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc05484:	93 a1 00 1c 	stw     r29,28(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
ffc05488:	3b a0 00 00 	li      r29,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc0548c:	93 c1 00 20 	stw     r30,32(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
ffc05490:	3b c0 00 00 	li      r30,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc05494:	93 e1 00 24 	stw     r31,36(r1)                             
ffc05498:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc0549c:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc054a0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc054a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc054a8:	90 1f 00 04 	stw     r0,4(r31)                              
ffc054ac:	41 9c 00 7c 	blt-    cr7,ffc05528 <scanInt+0xe0>            <== NEVER TAKEN
ffc054b0:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc054b4:	88 69 00 00 	lbz     r3,0(r9)                               
ffc054b8:	38 09 00 01 	addi    r0,r9,1                                
ffc054bc:	90 1f 00 00 	stw     r0,0(r31)                              
    if (c == ':')                                                     
ffc054c0:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
ffc054c4:	41 9e 00 78 	beq-    cr7,ffc0553c <scanInt+0xf4>            
      break;                                                          
    if (sign == 0) {                                                  
ffc054c8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc054cc:	40 9e 00 10 	bne-    cr7,ffc054dc <scanInt+0x94>            
      if (c == '-') {                                                 
ffc054d0:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
ffc054d4:	3b a0 00 01 	li      r29,1                                  
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
ffc054d8:	41 9e 00 ec 	beq-    cr7,ffc055c4 <scanInt+0x17c>           
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc054dc:	81 3b 27 24 	lwz     r9,10020(r27)                          
ffc054e0:	7d 29 1a 14 	add     r9,r9,r3                               
ffc054e4:	88 09 00 01 	lbz     r0,1(r9)                               
ffc054e8:	70 09 00 04 	andi.   r9,r0,4                                
ffc054ec:	41 82 00 a4 	beq-    ffc05590 <scanInt+0x148>               
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc054f0:	7c 1c d0 16 	mulhwu  r0,r28,r26                             
ffc054f4:	54 00 e8 fe 	rlwinm  r0,r0,29,3,31                          
ffc054f8:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc054fc:	41 9d 00 94 	bgt-    cr7,ffc05590 <scanInt+0x148>           
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc05500:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
ffc05504:	38 63 ff d0 	addi    r3,r3,-48                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc05508:	1f de 00 0a 	mulli   r30,r30,10                             
ffc0550c:	41 9e 00 78 	beq-    cr7,ffc05584 <scanInt+0x13c>           
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05510:	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;                                                   
ffc05514:	7f c3 f2 14 	add     r30,r3,r30                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05518:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0551c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05520:	90 1f 00 04 	stw     r0,4(r31)                              
ffc05524:	40 9c ff 8c 	bge+    cr7,ffc054b0 <scanInt+0x68>            <== ALWAYS TAKEN
ffc05528:	80 79 27 2c 	lwz     r3,10028(r25)                          <== NOT EXECUTED
ffc0552c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc05530:	48 00 fe d1 	bl      ffc15400 <__srget_r>                   <== NOT EXECUTED
    if (c == ':')                                                     
ffc05534:	2f 83 00 3a 	cmpwi   cr7,r3,58                              <== NOT EXECUTED
ffc05538:	40 9e ff 90 	bne+    cr7,ffc054c8 <scanInt+0x80>            <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
ffc0553c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return 0;                                                         
ffc05540:	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)                                                      
ffc05544:	41 9e 00 50 	beq-    cr7,ffc05594 <scanInt+0x14c>           <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc05548:	80 01 00 2c 	lwz     r0,44(r1)                              
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc0554c:	7f dd f1 d6 	mullw   r30,r29,r30                            
  return 1;                                                           
}                                                                     
ffc05550:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc05554:	7c 08 03 a6 	mtlr    r0                                     
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
ffc05558:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc0555c:	93 d8 00 00 	stw     r30,0(r24)                             
  return 1;                                                           
}                                                                     
ffc05560:	83 01 00 08 	lwz     r24,8(r1)                              
ffc05564:	83 41 00 10 	lwz     r26,16(r1)                             
ffc05568:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0556c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc05570:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc05574:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc05578:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0557c:	38 21 00 28 	addi    r1,r1,40                               
ffc05580:	4e 80 00 20 	blr                                            
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc05584:	7c 1e e0 50 	subf    r0,r30,r28                             
ffc05588:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc0558c:	40 9d ff 84 	ble+    cr7,ffc05510 <scanInt+0xc8>            <== NEVER TAKEN
      return 0;                                                       
ffc05590:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc05594:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc05598:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0559c:	7c 08 03 a6 	mtlr    r0                                     
ffc055a0:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc055a4:	83 41 00 10 	lwz     r26,16(r1)                             
ffc055a8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc055ac:	83 81 00 18 	lwz     r28,24(r1)                             
ffc055b0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc055b4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc055b8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc055bc:	38 21 00 28 	addi    r1,r1,40                               
ffc055c0:	4e 80 00 20 	blr                                            
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
ffc055c4:	3b 9c 00 01 	addi    r28,r28,1                              
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
ffc055c8:	3b a0 ff ff 	li      r29,-1                                 
        limit++;                                                      
        continue;                                                     
ffc055cc:	4b ff fe d0 	b       ffc0549c <scanInt+0x54>                
                                                                      

ffc055d0 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
ffc055d0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc055d4:	7c 08 02 a6 	mflr    r0                                     
ffc055d8:	90 01 00 24 	stw     r0,36(r1)                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc055dc:	80 05 00 00 	lwz     r0,0(r5)                               
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
ffc055e0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc055e4:	7c fb 3b 78 	mr      r27,r7                                 
ffc055e8:	93 81 00 10 	stw     r28,16(r1)                             
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc055ec:	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)
{                                                                     
ffc055f0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc055f4:	7c dd 33 78 	mr      r29,r6                                 
ffc055f8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc055fc:	7c be 2b 78 	mr      r30,r5                                 
ffc05600:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc05604:	7c 7f 1b 78 	mr      r31,r3                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc05608:	90 04 00 00 	stw     r0,0(r4)                               
ffc0560c:	48 00 00 58 	b       ffc05664 <scanString+0x94>             
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05610:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc05614:	88 69 00 00 	lbz     r3,0(r9)                               
ffc05618:	38 09 00 01 	addi    r0,r9,1                                
ffc0561c:	90 1f 00 00 	stw     r0,0(r31)                              
    if (c == ':') {                                                   
ffc05620:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc05624:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc05628:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc0562c:	41 9e 00 68 	beq-    cr7,ffc05694 <scanString+0xc4>         
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc05630:	41 9a 00 e4 	beq-    cr6,ffc05714 <scanString+0x144>        
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc05634:	41 86 00 b8 	beq-    cr1,ffc056ec <scanString+0x11c>        
      return 0;                                                       
    if (*nleft < 2)                                                   
ffc05638:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0563c:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc05640:	40 9d 00 ac 	ble-    cr7,ffc056ec <scanString+0x11c>        
      return 0;                                                       
    **bufp = c;                                                       
ffc05644:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc05648:	98 69 00 00 	stb     r3,0(r9)                               
    ++(*bufp);                                                        
ffc0564c:	81 3e 00 00 	lwz     r9,0(r30)                              
    --(*nleft);                                                       
ffc05650:	81 7d 00 00 	lwz     r11,0(r29)                             
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc05654:	39 29 00 01 	addi    r9,r9,1                                
    --(*nleft);                                                       
ffc05658:	38 0b ff ff 	addi    r0,r11,-1                              
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc0565c:	91 3e 00 00 	stw     r9,0(r30)                              
    --(*nleft);                                                       
ffc05660:	90 1d 00 00 	stw     r0,0(r29)                              
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05664:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc05668:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0566c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05670:	90 1f 00 04 	stw     r0,4(r31)                              
ffc05674:	40 9c ff 9c 	bge+    cr7,ffc05610 <scanString+0x40>         
ffc05678:	80 7c 27 2c 	lwz     r3,10028(r28)                          
ffc0567c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05680:	48 00 fd 81 	bl      ffc15400 <__srget_r>                   
    if (c == ':') {                                                   
ffc05684:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc05688:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc0568c:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc05690:	40 9e ff a0 	bne+    cr7,ffc05630 <scanString+0x60>         <== ALWAYS TAKEN
        if (nlFlag)                                                   
ffc05694:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            return 0;                                                 
ffc05698:	38 60 00 00 	li      r3,0                                   
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
ffc0569c:	40 9e 00 54 	bne-    cr7,ffc056f0 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc056a0:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc056a4:	38 00 00 00 	li      r0,0                                   
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc056a8:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc056ac:	98 09 00 00 	stb     r0,0(r9)                               
  ++(*bufp);                                                          
ffc056b0:	81 3e 00 00 	lwz     r9,0(r30)                              
  --(*nleft);                                                         
ffc056b4:	81 7d 00 00 	lwz     r11,0(r29)                             
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc056b8:	39 29 00 01 	addi    r9,r9,1                                
  --(*nleft);                                                         
ffc056bc:	38 0b ff ff 	addi    r0,r11,-1                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc056c0:	91 3e 00 00 	stw     r9,0(r30)                              
  --(*nleft);                                                         
ffc056c4:	90 1d 00 00 	stw     r0,0(r29)                              
  return 1;                                                           
}                                                                     
ffc056c8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc056cc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc056d0:	7c 08 03 a6 	mtlr    r0                                     
ffc056d4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc056d8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc056dc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc056e0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc056e4:	38 21 00 20 	addi    r1,r1,32                               
ffc056e8:	4e 80 00 20 	blr                                            
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
ffc056ec:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
ffc056f0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc056f4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc056f8:	7c 08 03 a6 	mtlr    r0                                     
ffc056fc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05700:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc05704:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05708:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0570c:	38 21 00 20 	addi    r1,r1,32                               
ffc05710:	4e 80 00 20 	blr                                            
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc05714:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            return 0;                                                 
ffc05718:	38 60 00 00 	li      r3,0                                   
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc0571c:	41 be ff d4 	beq-    cr7,ffc056f0 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc05720:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc05724:	38 00 00 00 	li      r0,0                                   
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc05728:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc0572c:	98 09 00 00 	stb     r0,0(r9)                               
  ++(*bufp);                                                          
ffc05730:	81 3e 00 00 	lwz     r9,0(r30)                              
  --(*nleft);                                                         
ffc05734:	81 7d 00 00 	lwz     r11,0(r29)                             
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05738:	39 29 00 01 	addi    r9,r9,1                                
  --(*nleft);                                                         
ffc0573c:	38 0b ff ff 	addi    r0,r11,-1                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05740:	91 3e 00 00 	stw     r9,0(r30)                              
  --(*nleft);                                                         
ffc05744:	90 1d 00 00 	stw     r0,0(r29)                              
ffc05748:	4b ff ff 80 	b       ffc056c8 <scanString+0xf8>             
                                                                      

ffc0574c <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
ffc0574c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc05750:	7c 08 02 a6 	mflr    r0                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc05754:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05758:	90 a1 00 18 	stw     r5,24(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc0575c:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05760:	90 c1 00 1c 	stw     r6,28(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc05764:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05768:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0576c:	7c 9d 23 78 	mr      r29,r4                                 
ffc05770:	93 c1 00 28 	stw     r30,40(r1)                             
ffc05774:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05778:	93 e1 00 2c 	stw     r31,44(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;                                                         
ffc0577c:	3b e0 00 00 	li      r31,0                                  
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05780:	90 01 00 34 	stw     r0,52(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc05784:	4b ff fe 4d 	bl      ffc055d0 <scanString>                  
ffc05788:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0578c:	40 9e 00 24 	bne-    cr7,ffc057b0 <scangr+0x64>             
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
ffc05790:	80 01 00 34 	lwz     r0,52(r1)                              
ffc05794:	7f e3 fb 78 	mr      r3,r31                                 
ffc05798:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0579c:	7c 08 03 a6 	mtlr    r0                                     
ffc057a0:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc057a4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc057a8:	38 21 00 30 	addi    r1,r1,48                               
ffc057ac:	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)          
ffc057b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc057b4:	38 9d 00 04 	addi    r4,r29,4                               
ffc057b8:	38 a1 00 18 	addi    r5,r1,24                               
ffc057bc:	38 c1 00 1c 	addi    r6,r1,28                               
ffc057c0:	38 e0 00 00 	li      r7,0                                   
ffc057c4:	4b ff fe 0d 	bl      ffc055d0 <scanString>                  
ffc057c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057cc:	41 9e ff c4 	beq+    cr7,ffc05790 <scangr+0x44>             <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
ffc057d0:	7f c3 f3 78 	mr      r3,r30                                 
ffc057d4:	38 81 00 0c 	addi    r4,r1,12                               
ffc057d8:	4b ff fc 71 	bl      ffc05448 <scanInt>                     
ffc057dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057e0:	41 9e ff b0 	beq+    cr7,ffc05790 <scangr+0x44>             <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
ffc057e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc057e8:	38 81 00 08 	addi    r4,r1,8                                
ffc057ec:	38 a1 00 18 	addi    r5,r1,24                               
ffc057f0:	38 c1 00 1c 	addi    r6,r1,28                               
ffc057f4:	38 e0 00 01 	li      r7,1                                   
ffc057f8:	4b ff fd d9 	bl      ffc055d0 <scanString>                  
ffc057fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05800:	41 be ff 90 	beq-    cr7,ffc05790 <scangr+0x44>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
ffc05804:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05808:	39 20 00 17 	li      r9,23                                  
ffc0580c:	81 01 00 08 	lwz     r8,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;                                                
ffc05810:	b0 1d 00 08 	sth     r0,8(r29)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05814:	88 08 00 00 	lbz     r0,0(r8)                               
ffc05818:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0581c:	41 9e 00 30 	beq-    cr7,ffc0584c <scangr+0x100>            <== NEVER TAKEN
ffc05820:	7d 0b 43 78 	mr      r11,r8                                 
ffc05824:	39 20 00 01 	li      r9,1                                   
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc05828:	68 0a 00 2c 	xori    r10,r0,44                              
ffc0582c:	21 4a 00 00 	subfic  r10,r10,0                              
ffc05830:	7d 49 01 94 	addze   r10,r9                                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05834:	8c 0b 00 01 	lbzu    r0,1(r11)                              
ffc05838:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc0583c:	7d 49 53 78 	mr      r9,r10                                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05840:	40 9e ff e8 	bne+    cr7,ffc05828 <scangr+0xdc>             
ffc05844:	55 49 10 3a 	rlwinm  r9,r10,2,0,29                          
ffc05848:	39 29 00 13 	addi    r9,r9,19                               
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc0584c:	80 01 00 1c 	lwz     r0,28(r1)                              
    return 0;                                                         
ffc05850:	3b e0 00 00 	li      r31,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc05854:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc05858:	41 bc ff 38 	blt-    cr7,ffc05790 <scangr+0x44>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc0585c:	81 21 00 18 	lwz     r9,24(r1)                              
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05860:	39 40 00 04 	li      r10,4                                  
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc05864:	39 29 00 0f 	addi    r9,r9,15                               
ffc05868:	55 29 00 36 	rlwinm  r9,r9,0,0,27                           
ffc0586c:	91 3d 00 0c 	stw     r9,12(r29)                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
ffc05870:	91 09 00 00 	stw     r8,0(r9)                               
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05874:	81 61 00 08 	lwz     r11,8(r1)                              
ffc05878:	88 0b 00 00 	lbz     r0,0(r11)                              
ffc0587c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05880:	41 9e 00 48 	beq-    cr7,ffc058c8 <scangr+0x17c>            <== NEVER TAKEN
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc05884:	39 2b 00 01 	addi    r9,r11,1                               
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05888:	39 40 00 01 	li      r10,1                                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
ffc0588c:	38 e0 00 00 	li      r7,0                                   
ffc05890:	48 00 00 14 	b       ffc058a4 <scangr+0x158>                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05894:	8c 0b 00 01 	lbzu    r0,1(r11)                              
ffc05898:	39 29 00 01 	addi    r9,r9,1                                
ffc0589c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc058a0:	41 9e 00 24 	beq-    cr7,ffc058c4 <scangr+0x178>            
    if(*cp == ',') {                                                  
ffc058a4:	2f 80 00 2c 	cmpwi   cr7,r0,44                              
ffc058a8:	40 9e ff ec 	bne+    cr7,ffc05894 <scangr+0x148>            
      *cp = '\0';                                                     
ffc058ac:	98 e9 ff ff 	stb     r7,-1(r9)                              
      grp->gr_mem[memcount++] = cp + 1;                               
ffc058b0:	55 40 10 3a 	rlwinm  r0,r10,2,0,29                          
ffc058b4:	39 4a 00 01 	addi    r10,r10,1                              
ffc058b8:	81 1d 00 0c 	lwz     r8,12(r29)                             
ffc058bc:	7d 28 01 2e 	stwx    r9,r8,r0                               
ffc058c0:	4b ff ff d4 	b       ffc05894 <scangr+0x148>                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc058c4:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc058c8:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc058cc:	38 00 00 00 	li      r0,0                                   
  return 1;                                                           
ffc058d0:	3b e0 00 01 	li      r31,1                                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc058d4:	7c 09 51 2e 	stwx    r0,r9,r10                              
  return 1;                                                           
ffc058d8:	4b ff fe b8 	b       ffc05790 <scangr+0x44>                 
                                                                      

ffc058dc <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
ffc058dc:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc058e0:	7c 08 02 a6 	mflr    r0                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc058e4:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc058e8:	90 a1 00 18 	stw     r5,24(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc058ec:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc058f0:	90 c1 00 1c 	stw     r6,28(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc058f4:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc058f8:	93 a1 00 24 	stw     r29,36(r1)                             
ffc058fc:	7c 9d 23 78 	mr      r29,r4                                 
ffc05900:	93 c1 00 28 	stw     r30,40(r1)                             
ffc05904:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05908:	93 e1 00 2c 	stw     r31,44(r1)                             
   || !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;                                                         
ffc0590c:	3b e0 00 00 	li      r31,0                                  
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05910:	90 01 00 34 	stw     r0,52(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc05914:	4b ff fc bd 	bl      ffc055d0 <scanString>                  
ffc05918:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0591c:	40 9e 00 24 	bne-    cr7,ffc05940 <scanpw+0x64>             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
ffc05920:	80 01 00 34 	lwz     r0,52(r1)                              
ffc05924:	7f e3 fb 78 	mr      r3,r31                                 
ffc05928:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0592c:	7c 08 03 a6 	mtlr    r0                                     
ffc05930:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc05934:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc05938:	38 21 00 30 	addi    r1,r1,48                               
ffc0593c:	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)          
ffc05940:	7f c3 f3 78 	mr      r3,r30                                 
ffc05944:	38 9d 00 04 	addi    r4,r29,4                               
ffc05948:	38 a1 00 18 	addi    r5,r1,24                               
ffc0594c:	38 c1 00 1c 	addi    r6,r1,28                               
ffc05950:	38 e0 00 00 	li      r7,0                                   
ffc05954:	4b ff fc 7d 	bl      ffc055d0 <scanString>                  
ffc05958:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0595c:	41 9e ff c4 	beq+    cr7,ffc05920 <scanpw+0x44>             <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
ffc05960:	7f c3 f3 78 	mr      r3,r30                                 
ffc05964:	38 81 00 0c 	addi    r4,r1,12                               
ffc05968:	4b ff fa e1 	bl      ffc05448 <scanInt>                     
ffc0596c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05970:	41 9e ff b0 	beq+    cr7,ffc05920 <scanpw+0x44>             
   || !scanInt(fp, &pwgid)                                            
ffc05974:	7f c3 f3 78 	mr      r3,r30                                 
ffc05978:	38 81 00 08 	addi    r4,r1,8                                
ffc0597c:	4b ff fa cd 	bl      ffc05448 <scanInt>                     
ffc05980:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05984:	41 9e ff 9c 	beq+    cr7,ffc05920 <scanpw+0x44>             
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
ffc05988:	7f c3 f3 78 	mr      r3,r30                                 
ffc0598c:	38 9d 00 0c 	addi    r4,r29,12                              
ffc05990:	38 a1 00 18 	addi    r5,r1,24                               
ffc05994:	38 c1 00 1c 	addi    r6,r1,28                               
ffc05998:	38 e0 00 00 	li      r7,0                                   
ffc0599c:	4b ff fc 35 	bl      ffc055d0 <scanString>                  
ffc059a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc059a4:	41 9e ff 7c 	beq+    cr7,ffc05920 <scanpw+0x44>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
ffc059a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc059ac:	38 9d 00 10 	addi    r4,r29,16                              
ffc059b0:	38 a1 00 18 	addi    r5,r1,24                               
ffc059b4:	38 c1 00 1c 	addi    r6,r1,28                               
ffc059b8:	38 e0 00 00 	li      r7,0                                   
ffc059bc:	4b ff fc 15 	bl      ffc055d0 <scanString>                  
ffc059c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc059c4:	41 9e ff 5c 	beq+    cr7,ffc05920 <scanpw+0x44>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
ffc059c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc059cc:	38 9d 00 14 	addi    r4,r29,20                              
ffc059d0:	38 a1 00 18 	addi    r5,r1,24                               
ffc059d4:	38 c1 00 1c 	addi    r6,r1,28                               
ffc059d8:	38 e0 00 00 	li      r7,0                                   
ffc059dc:	4b ff fb f5 	bl      ffc055d0 <scanString>                  
ffc059e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc059e4:	41 9e ff 3c 	beq+    cr7,ffc05920 <scanpw+0x44>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
ffc059e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc059ec:	38 9d 00 18 	addi    r4,r29,24                              
ffc059f0:	38 a1 00 18 	addi    r5,r1,24                               
ffc059f4:	38 c1 00 1c 	addi    r6,r1,28                               
ffc059f8:	38 e0 00 01 	li      r7,1                                   
ffc059fc:	4b ff fb d5 	bl      ffc055d0 <scanString>                  
ffc05a00:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05a04:	41 be ff 1c 	beq-    cr7,ffc05920 <scanpw+0x44>             
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc05a08:	80 01 00 0c 	lwz     r0,12(r1)                              
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
ffc05a0c:	3b e0 00 01 	li      r31,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;                                                
ffc05a10:	b0 1d 00 08 	sth     r0,8(r29)                              
  pwd->pw_gid = pwgid;                                                
ffc05a14:	80 01 00 08 	lwz     r0,8(r1)                               
ffc05a18:	b0 1d 00 0a 	sth     r0,10(r29)                             
  return 1;                                                           
ffc05a1c:	4b ff ff 04 	b       ffc05920 <scanpw+0x44>                 
                                                                      

ffc07968 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc07968:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0796c:	7c 08 02 a6 	mflr    r0                                     
ffc07970:	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)) {
ffc07974:	80 04 00 3c 	lwz     r0,60(r4)                              
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc07978:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0797c:	7c 7e 1b 78 	mr      r30,r3                                 
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
ffc07980:	70 09 0e 78 	andi.   r9,r0,3704                             
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc07984:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc07988:	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)) {
ffc0798c:	40 82 00 1c 	bne-    ffc079a8 <siproc+0x40>                 <== ALWAYS TAKEN
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc07990:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc07994:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc07998:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0799c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc079a0:	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);                                               
ffc079a4:	4b ff fd d8 	b       ffc0777c <iproc>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
ffc079a8:	80 64 00 18 	lwz     r3,24(r4)                              
ffc079ac:	38 a0 00 00 	li      r5,0                                   
ffc079b0:	38 80 00 00 	li      r4,0                                   
ffc079b4:	48 00 1a 25 	bl      ffc093d8 <rtems_semaphore_obtain>      
    i = iproc (c, tty);                                               
ffc079b8:	7f e4 fb 78 	mr      r4,r31                                 
ffc079bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc079c0:	4b ff fd bd 	bl      ffc0777c <iproc>                       
ffc079c4:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc079c8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc079cc:	48 00 1b 99 	bl      ffc09564 <rtems_semaphore_release>     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc079d0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc079d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc079d8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc079dc:	7c 08 03 a6 	mtlr    r0                                     
ffc079e0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc079e4:	38 21 00 10 	addi    r1,r1,16                               
ffc079e8:	4e 80 00 20 	blr                                            
                                                                      

ffc08e28 <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
ffc08e28:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc08e2c:	7c 08 02 a6 	mflr    r0                                     
ffc08e30:	93 c1 00 28 	stw     r30,40(r1)                             
ffc08e34:	7c 7e 1b 78 	mr      r30,r3                                 
ffc08e38:	90 01 00 34 	stw     r0,52(r1)                              
ffc08e3c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc08e40:	7c 9f 23 78 	mr      r31,r4                                 
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
ffc08e44:	48 00 ee e1 	bl      ffc17d24 <strlen>                      
ffc08e48:	38 a0 00 00 	li      r5,0                                   
ffc08e4c:	7c 64 1b 78 	mr      r4,r3                                  
ffc08e50:	38 c1 00 08 	addi    r6,r1,8                                
ffc08e54:	7f c3 f3 78 	mr      r3,r30                                 
ffc08e58:	38 e0 00 01 	li      r7,1                                   
ffc08e5c:	4b ff e6 3d 	bl      ffc07498 <rtems_filesystem_evaluate_path>
    return -1;                                                        
ffc08e60:	3b c0 ff ff 	li      r30,-1                                 
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
ffc08e64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e68:	40 9e 00 3c 	bne-    cr7,ffc08ea4 <statvfs+0x7c>            <== NEVER TAKEN
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
ffc08e6c:	83 c1 00 18 	lwz     r30,24(r1)                             
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
ffc08e70:	38 80 00 00 	li      r4,0                                   
ffc08e74:	38 a0 00 38 	li      r5,56                                  
ffc08e78:	7f e3 fb 78 	mr      r3,r31                                 
ffc08e7c:	48 00 dc 7d 	bl      ffc16af8 <memset>                      
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
ffc08e80:	81 3e 00 28 	lwz     r9,40(r30)                             
ffc08e84:	38 7e 00 1c 	addi    r3,r30,28                              
ffc08e88:	80 09 00 44 	lwz     r0,68(r9)                              
ffc08e8c:	7f e4 fb 78 	mr      r4,r31                                 
ffc08e90:	7c 09 03 a6 	mtctr   r0                                     
ffc08e94:	4e 80 04 21 	bctrl                                          
ffc08e98:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc08e9c:	38 61 00 08 	addi    r3,r1,8                                
ffc08ea0:	4b ff e7 55 	bl      ffc075f4 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc08ea4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc08ea8:	7f c3 f3 78 	mr      r3,r30                                 
ffc08eac:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc08eb0:	7c 08 03 a6 	mtlr    r0                                     
ffc08eb4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc08eb8:	38 21 00 30 	addi    r1,r1,48                               
ffc08ebc:	4e 80 00 20 	blr                                            
                                                                      

ffc0762c <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
ffc0762c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc07630:	7c 08 02 a6 	mflr    r0                                     
ffc07634:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
ffc07638:	80 03 01 28 	lwz     r0,296(r3)                             
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
ffc0763c:	93 c1 00 08 	stw     r30,8(r1)                              
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
ffc07640:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
ffc07644:	93 e1 00 0c 	stw     r31,12(r1)                             
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
ffc07648:	41 9e 00 30 	beq-    cr7,ffc07678 <sync_per_thread+0x4c>    <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
ffc0764c:	3f e0 00 00 	lis     r31,0                                  
ffc07650:	3b ff 2d 98 	addi    r31,r31,11672                          
ffc07654:	81 3f 00 0c 	lwz     r9,12(r31)                             
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc07658:	3c 80 ff c0 	lis     r4,-64                                 
ffc0765c:	38 84 76 90 	addi    r4,r4,30352                            
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
     current_reent = _Thread_Executing->libc_reent;                   
ffc07660:	83 c9 01 28 	lwz     r30,296(r9)                            
     _Thread_Executing->libc_reent = this_reent;                      
ffc07664:	90 09 01 28 	stw     r0,296(r9)                             
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc07668:	80 63 01 28 	lwz     r3,296(r3)                             
ffc0766c:	48 00 d5 41 	bl      ffc14bac <_fwalk>                      
     _Thread_Executing->libc_reent = current_reent;                   
ffc07670:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc07674:	93 c9 01 28 	stw     r30,296(r9)                            
   }                                                                  
}                                                                     
ffc07678:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0767c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc07680:	7c 08 03 a6 	mtlr    r0                                     
ffc07684:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc07688:	38 21 00 10 	addi    r1,r1,16                               
ffc0768c:	4e 80 00 20 	blr                                            
                                                                      

ffc110f4 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
ffc110f4:	2c 04 00 00 	cmpwi   r4,0                                   
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
ffc110f8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc110fc:	7c 08 02 a6 	mflr    r0                                     
ffc11100:	93 c1 00 08 	stw     r30,8(r1)                              
ffc11104:	7c 7e 1b 78 	mr      r30,r3                                 
ffc11108:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1110c:	7c bf 2b 78 	mr      r31,r5                                 
ffc11110:	90 01 00 14 	stw     r0,20(r1)                              
  switch (opt) {                                                      
ffc11114:	41 82 00 50 	beq-    ffc11164 <tcsetattr+0x70>              
ffc11118:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc1111c:	41 9e 00 2c 	beq-    cr7,ffc11148 <tcsetattr+0x54>          
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc11120:	48 00 3c 29 	bl      ffc14d48 <__errno>                     
ffc11124:	38 00 00 86 	li      r0,134                                 
ffc11128:	90 03 00 00 	stw     r0,0(r3)                               
ffc1112c:	38 60 ff ff 	li      r3,-1                                  
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
ffc11130:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11134:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11138:	7c 08 03 a6 	mtlr    r0                                     
ffc1113c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11140:	38 21 00 10 	addi    r1,r1,16                               
ffc11144:	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)                      
ffc11148:	38 80 00 03 	li      r4,3                                   
ffc1114c:	38 a0 00 00 	li      r5,0                                   
ffc11150:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc11154:	4b ff fa 01 	bl      ffc10b54 <ioctl>                       
ffc11158:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    	return -1;                                                       
ffc1115c:	38 60 ff ff 	li      r3,-1                                  
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc11160:	41 9c 00 18 	blt-    cr7,ffc11178 <tcsetattr+0x84>          <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc11164:	7f c3 f3 78 	mr      r3,r30                                 
ffc11168:	38 80 00 02 	li      r4,2                                   
ffc1116c:	7f e5 fb 78 	mr      r5,r31                                 
ffc11170:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc11174:	4b ff f9 e1 	bl      ffc10b54 <ioctl>                       
  }                                                                   
}                                                                     
ffc11178:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1117c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11180:	7c 08 03 a6 	mtlr    r0                                     
ffc11184:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11188:	38 21 00 10 	addi    r1,r1,16                               
ffc1118c:	4e 80 00 20 	blr                                            
                                                                      

ffc093b4 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
ffc093b4:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc093b8:	7c 08 02 a6 	mflr    r0                                     
ffc093bc:	93 a1 00 44 	stw     r29,68(r1)                             
ffc093c0:	93 c1 00 48 	stw     r30,72(r1)                             
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc093c4:	3b c1 00 20 	addi    r30,r1,32                              
#include <rtems/seterr.h>                                             
                                                                      
int unlink(                                                           
  const char *path                                                    
)                                                                     
{                                                                     
ffc093c8:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc093cc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc093d0:	90 01 00 54 	stw     r0,84(r1)                              
ffc093d4:	93 61 00 3c 	stw     r27,60(r1)                             
ffc093d8:	93 81 00 40 	stw     r28,64(r1)                             
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
ffc093dc:	4b ff c8 35 	bl      ffc05c10 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc093e0:	7c 7d 1b 79 	mr.     r29,r3                                 
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc093e4:	7f e3 fb 78 	mr      r3,r31                                 
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
ffc093e8:	40 82 00 b8 	bne-    ffc094a0 <unlink+0xec>                 
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc093ec:	38 81 00 08 	addi    r4,r1,8                                
ffc093f0:	7f c5 f3 78 	mr      r5,r30                                 
ffc093f4:	4b ff dc b9 	bl      ffc070ac <rtems_filesystem_get_start_loc>
ffc093f8:	3b a0 00 00 	li      r29,0                                  
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc093fc:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc09400:	80 01 00 20 	lwz     r0,32(r1)                              
  name = path + parentpathlen;                                        
ffc09404:	7f ff ea 14 	add     r31,r31,r29                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09408:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc0940c:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09410:	80 01 00 24 	lwz     r0,36(r1)                              
ffc09414:	90 01 00 10 	stw     r0,16(r1)                              
ffc09418:	80 01 00 28 	lwz     r0,40(r1)                              
ffc0941c:	90 01 00 14 	stw     r0,20(r1)                              
ffc09420:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09424:	90 01 00 18 	stw     r0,24(r1)                              
ffc09428:	80 01 00 30 	lwz     r0,48(r1)                              
ffc0942c:	90 01 00 1c 	stw     r0,28(r1)                              
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09430:	48 00 f0 3d 	bl      ffc1846c <strlen>                      
ffc09434:	7c 64 1b 78 	mr      r4,r3                                  
ffc09438:	7f e3 fb 78 	mr      r3,r31                                 
ffc0943c:	4b ff c8 35 	bl      ffc05c70 <rtems_filesystem_prefix_separators>
ffc09440:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc09444:	7f e3 fb 78 	mr      r3,r31                                 
ffc09448:	48 00 f0 25 	bl      ffc1846c <strlen>                      
ffc0944c:	38 a0 00 00 	li      r5,0                                   
ffc09450:	7c 64 1b 78 	mr      r4,r3                                  
ffc09454:	38 c1 00 0c 	addi    r6,r1,12                               
ffc09458:	7f e3 fb 78 	mr      r3,r31                                 
ffc0945c:	38 e0 00 00 	li      r7,0                                   
ffc09460:	4b ff c6 89 	bl      ffc05ae8 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc09464:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09468:	41 9e 00 60 	beq-    cr7,ffc094c8 <unlink+0x114>            
    if ( free_parentloc )                                             
ffc0946c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc09470:	3b 60 ff ff 	li      r27,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc09474:	40 9e 00 9c 	bne-    cr7,ffc09510 <unlink+0x15c>            
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
ffc09478:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0947c:	7f 63 db 78 	mr      r3,r27                                 
ffc09480:	83 81 00 40 	lwz     r28,64(r1)                             
ffc09484:	7c 08 03 a6 	mtlr    r0                                     
ffc09488:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0948c:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc09490:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc09494:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc09498:	38 21 00 50 	addi    r1,r1,80                               
ffc0949c:	4e 80 00 20 	blr                                            
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
ffc094a0:	7f a4 eb 78 	mr      r4,r29                                 
ffc094a4:	38 a0 00 02 	li      r5,2                                   
ffc094a8:	7f c6 f3 78 	mr      r6,r30                                 
ffc094ac:	38 e0 00 00 	li      r7,0                                   
ffc094b0:	4b ff c6 e5 	bl      ffc05b94 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc094b4:	3b 60 ff ff 	li      r27,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
ffc094b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc094bc:	40 be ff bc 	bne-    cr7,ffc09478 <unlink+0xc4>             <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc094c0:	3b 80 00 01 	li      r28,1                                  
ffc094c4:	4b ff ff 3c 	b       ffc09400 <unlink+0x4c>                 
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
ffc094c8:	81 21 00 18 	lwz     r9,24(r1)                              
ffc094cc:	38 61 00 0c 	addi    r3,r1,12                               
ffc094d0:	80 09 00 10 	lwz     r0,16(r9)                              
ffc094d4:	7c 09 03 a6 	mtctr   r0                                     
ffc094d8:	4e 80 04 21 	bctrl                                          
ffc094dc:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc094e0:	41 9e 00 60 	beq-    cr7,ffc09540 <unlink+0x18c>            
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
ffc094e4:	81 21 00 18 	lwz     r9,24(r1)                              
ffc094e8:	38 81 00 0c 	addi    r4,r1,12                               
ffc094ec:	7f c3 f3 78 	mr      r3,r30                                 
ffc094f0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc094f4:	7c 09 03 a6 	mtctr   r0                                     
ffc094f8:	4e 80 04 21 	bctrl                                          
ffc094fc:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc09500:	38 61 00 0c 	addi    r3,r1,12                               
ffc09504:	4b ff c7 ed 	bl      ffc05cf0 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc09508:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0950c:	41 9e ff 6c 	beq+    cr7,ffc09478 <unlink+0xc4>             
    rtems_filesystem_freenode( &parentloc );                          
ffc09510:	7f c3 f3 78 	mr      r3,r30                                 
ffc09514:	4b ff c7 dd 	bl      ffc05cf0 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc09518:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0951c:	7f 63 db 78 	mr      r3,r27                                 
ffc09520:	83 81 00 40 	lwz     r28,64(r1)                             
ffc09524:	7c 08 03 a6 	mtlr    r0                                     
ffc09528:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0952c:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc09530:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc09534:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc09538:	38 21 00 50 	addi    r1,r1,80                               
ffc0953c:	4e 80 00 20 	blr                                            
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
ffc09540:	38 61 00 0c 	addi    r3,r1,12                               
ffc09544:	4b ff c7 ad 	bl      ffc05cf0 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc09548:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0954c:	41 be 00 0c 	beq+    cr7,ffc09558 <unlink+0x1a4>            
      rtems_filesystem_freenode( &parentloc );                        
ffc09550:	7f c3 f3 78 	mr      r3,r30                                 
ffc09554:	4b ff c7 9d 	bl      ffc05cf0 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EISDIR );                   
ffc09558:	48 00 dd 99 	bl      ffc172f0 <__errno>                     
ffc0955c:	38 00 00 15 	li      r0,21                                  
ffc09560:	90 03 00 00 	stw     r0,0(r3)                               
ffc09564:	3b 60 ff ff 	li      r27,-1                                 
ffc09568:	4b ff ff 10 	b       ffc09478 <unlink+0xc4>                 
                                                                      

ffc0c87c <unmount>: */ int unmount( const char *path ) {
ffc0c87c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0c880:	7c 08 02 a6 	mflr    r0                                     
ffc0c884:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0c888:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c88c:	90 01 00 34 	stw     r0,52(r1)                              
ffc0c890:	93 c1 00 28 	stw     r30,40(r1)                             
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
ffc0c894:	48 01 82 c9 	bl      ffc24b5c <strlen>                      
ffc0c898:	7c 64 1b 78 	mr      r4,r3                                  
ffc0c89c:	38 a0 00 00 	li      r5,0                                   
ffc0c8a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c8a4:	38 c1 00 08 	addi    r6,r1,8                                
ffc0c8a8:	38 e0 00 01 	li      r7,1                                   
ffc0c8ac:	4b ff b9 29 	bl      ffc081d4 <rtems_filesystem_evaluate_path>
ffc0c8b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c8b4:	40 9e 01 38 	bne-    cr7,ffc0c9ec <unmount+0x170>           
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
ffc0c8b8:	83 e1 00 18 	lwz     r31,24(r1)                             
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
ffc0c8bc:	38 61 00 08 	addi    r3,r1,8                                
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
ffc0c8c0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c8c4:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0c8c8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0c8cc:	40 9e 00 f4 	bne-    cr7,ffc0c9c0 <unmount+0x144>           
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0c8d0:	4b ff bb e5 	bl      ffc084b4 <rtems_filesystem_freenode>   
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
ffc0c8d4:	3d 20 00 00 	lis     r9,0                                   
ffc0c8d8:	81 29 27 9c 	lwz     r9,10140(r9)                           
ffc0c8dc:	80 09 00 14 	lwz     r0,20(r9)                              
ffc0c8e0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0c8e4:	41 9e 01 24 	beq-    cr7,ffc0ca08 <unmount+0x18c>           
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
ffc0c8e8:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc0c8ec:	3c 60 ff c1 	lis     r3,-63                                 
ffc0c8f0:	38 63 c8 68 	addi    r3,r3,-14232                           
ffc0c8f4:	4b ff c7 75 	bl      ffc09068 <rtems_filesystem_mount_iterate>
ffc0c8f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c8fc:	40 9e 01 0c 	bne-    cr7,ffc0ca08 <unmount+0x18c>           
   *  Run the file descriptor table to determine if there are any file
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
ffc0c900:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c904:	4b ff c0 1d 	bl      ffc08920 <rtems_libio_is_open_files_in_fs>
ffc0c908:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0c90c:	41 9e 00 fc 	beq-    cr7,ffc0ca08 <unmount+0x18c>           
   * Allow the file system being unmounted on to do its cleanup.      
   * If it fails it will set the errno to the approprate value        
   * and the fileystem will not be modified.                          
   */                                                                 
                                                                      
  if (( fs_mount_loc->ops->unmount_h )( mt_entry ) != 0 )             
ffc0c910:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0c914:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c918:	80 09 00 28 	lwz     r0,40(r9)                              
ffc0c91c:	7c 09 03 a6 	mtctr   r0                                     
ffc0c920:	4e 80 04 21 	bctrl                                          
ffc0c924:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c928:	40 9e 00 c4 	bne-    cr7,ffc0c9ec <unmount+0x170>           <== NEVER TAKEN
   *  NOTE:  Fatal error is called in a case which should never happen
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
ffc0c92c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc0c930:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c934:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0c938:	7c 09 03 a6 	mtctr   r0                                     
ffc0c93c:	4e 80 04 21 	bctrl                                          
ffc0c940:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c944:	40 9e 00 54 	bne-    cr7,ffc0c998 <unmount+0x11c>           <== NEVER TAKEN
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0c948:	3f c0 00 00 	lis     r30,0                                  
ffc0c94c:	80 7e 28 18 	lwz     r3,10264(r30)                          
ffc0c950:	38 80 00 00 	li      r4,0                                   
ffc0c954:	38 a0 00 00 	li      r5,0                                   
ffc0c958:	48 00 0e 35 	bl      ffc0d78c <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0c95c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c960:	48 00 1e 1d 	bl      ffc0e77c <_Chain_Extract>              
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0c964:	80 7e 28 18 	lwz     r3,10264(r30)                          
ffc0c968:	48 00 0f b1 	bl      ffc0d918 <rtems_semaphore_release>     
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
ffc0c96c:	38 7f 00 08 	addi    r3,r31,8                               
ffc0c970:	4b ff bb 45 	bl      ffc084b4 <rtems_filesystem_freenode>   
  free( mt_entry );                                                   
ffc0c974:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c978:	4b ff bb 69 	bl      ffc084e0 <free>                        
                                                                      
  return 0;                                                           
ffc0c97c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0c980:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0c984:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c988:	7c 08 03 a6 	mtlr    r0                                     
ffc0c98c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c990:	38 21 00 30 	addi    r1,r1,48                               
ffc0c994:	4e 80 00 20 	blr                                            
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
ffc0c998:	81 3f 00 14 	lwz     r9,20(r31)                             <== NOT EXECUTED
ffc0c99c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0c9a0:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
ffc0c9a4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0c9a8:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc0c9ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
ffc0c9b0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
ffc0c9b4:	41 9e ff cc 	beq+    cr7,ffc0c980 <unmount+0x104>           <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
ffc0c9b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0c9bc:	48 00 18 ad 	bl      ffc0e268 <rtems_fatal_error_occurred>  <== NOT EXECUTED
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
ffc0c9c0:	4b ff ba f5 	bl      ffc084b4 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0c9c4:	48 01 66 1d 	bl      ffc22fe0 <__errno>                     
ffc0c9c8:	38 00 00 0d 	li      r0,13                                  
ffc0c9cc:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c9d0:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0c9d4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0c9d8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c9dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0c9e0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c9e4:	38 21 00 30 	addi    r1,r1,48                               
ffc0c9e8:	4e 80 00 20 	blr                                            
ffc0c9ec:	80 01 00 34 	lwz     r0,52(r1)                              
   * If it fails it will set the errno to the approprate value        
   * and the fileystem will not be modified.                          
   */                                                                 
                                                                      
  if (( fs_mount_loc->ops->unmount_h )( mt_entry ) != 0 )             
    return -1;                                                        
ffc0c9f0:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0c9f4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c9f8:	7c 08 03 a6 	mtlr    r0                                     
ffc0c9fc:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0ca00:	38 21 00 30 	addi    r1,r1,48                               
ffc0ca04:	4e 80 00 20 	blr                                            
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    rtems_set_errno_and_return_minus_one( EBUSY );                    
ffc0ca08:	48 01 65 d9 	bl      ffc22fe0 <__errno>                     
ffc0ca0c:	38 00 00 10 	li      r0,16                                  
ffc0ca10:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ca14:	38 60 ff ff 	li      r3,-1                                  
ffc0ca18:	4b ff ff 68 	b       ffc0c980 <unmount+0x104>               
                                                                      

ffc08738 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
ffc08738:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc0873c:	7d 80 00 26 	mfcr    r12                                    
ffc08740:	7c 08 02 a6 	mflr    r0                                     
ffc08744:	93 01 00 38 	stw     r24,56(r1)                             
ffc08748:	7c 98 23 78 	mr      r24,r4                                 
ffc0874c:	93 e1 00 54 	stw     r31,84(r1)                             
ffc08750:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08754:	90 01 00 5c 	stw     r0,92(r1)                              
ffc08758:	92 a1 00 2c 	stw     r21,44(r1)                             
ffc0875c:	92 c1 00 30 	stw     r22,48(r1)                             
ffc08760:	92 e1 00 34 	stw     r23,52(r1)                             
ffc08764:	93 21 00 3c 	stw     r25,60(r1)                             
ffc08768:	93 41 00 40 	stw     r26,64(r1)                             
ffc0876c:	93 61 00 44 	stw     r27,68(r1)                             
ffc08770:	93 81 00 48 	stw     r28,72(r1)                             
ffc08774:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc08778:	93 c1 00 50 	stw     r30,80(r1)                             
ffc0877c:	91 81 00 28 	stw     r12,40(r1)                             
  for (; *fmt != '\0'; fmt++) {                                       
ffc08780:	88 63 00 00 	lbz     r3,0(r3)                               
ffc08784:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08788:	41 9e 01 04 	beq-    cr7,ffc0888c <vprintk+0x154>           <== NEVER TAKEN
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
ffc0878c:	3e e0 00 00 	lis     r23,0                                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc08790:	3b a1 00 08 	addi    r29,r1,8                               
ffc08794:	3e c0 ff c2 	lis     r22,-62                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
ffc08798:	3e a0 ff c2 	lis     r21,-62                                
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
ffc0879c:	2f 83 00 25 	cmpwi   cr7,r3,37                              
ffc087a0:	40 9e 00 d0 	bne-    cr7,ffc08870 <vprintk+0x138>           
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc087a4:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc087a8:	2f 83 00 30 	cmpwi   cr7,r3,48                              
ffc087ac:	41 9e 02 24 	beq-    cr7,ffc089d0 <vprintk+0x298>           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
ffc087b0:	3b ff 00 01 	addi    r31,r31,1                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
ffc087b4:	3b 40 00 20 	li      r26,32                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc087b8:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc087bc:	39 60 00 00 	li      r11,0                                  
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc087c0:	41 9e 02 00 	beq-    cr7,ffc089c0 <vprintk+0x288>           
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc087c4:	38 03 ff d0 	addi    r0,r3,-48                              
ffc087c8:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc087cc:	2b 80 00 09 	cmplwi  cr7,r0,9                               
ffc087d0:	3b c0 00 00 	li      r30,0                                  
ffc087d4:	41 9d 00 2c 	bgt-    cr7,ffc08800 <vprintk+0xc8>            
ffc087d8:	7f e9 fb 78 	mr      r9,r31                                 
      width *= 10;                                                    
ffc087dc:	1f de 00 0a 	mulli   r30,r30,10                             
      width += ((unsigned) *fmt - '0');                               
ffc087e0:	7f de 1a 14 	add     r30,r30,r3                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc087e4:	8c 69 00 01 	lbzu    r3,1(r9)                               
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
ffc087e8:	3b de ff d0 	addi    r30,r30,-48                            
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc087ec:	38 03 ff d0 	addi    r0,r3,-48                              
ffc087f0:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc087f4:	2b 80 00 09 	cmplwi  cr7,r0,9                               
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
ffc087f8:	3b ff 00 01 	addi    r31,r31,1                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc087fc:	40 9d ff e0 	ble+    cr7,ffc087dc <vprintk+0xa4>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc08800:	2f 83 00 6c 	cmpwi   cr7,r3,108                             
ffc08804:	41 9e 02 20 	beq-    cr7,ffc08a24 <vprintk+0x2ec>           
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
ffc08808:	2f 83 00 63 	cmpwi   cr7,r3,99                              
ffc0880c:	41 9e 01 d4 	beq-    cr7,ffc089e0 <vprintk+0x2a8>           
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
ffc08810:	2f 83 00 73 	cmpwi   cr7,r3,115                             
ffc08814:	41 9e 02 38 	beq-    cr7,ffc08a4c <vprintk+0x314>           
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
ffc08818:	2f 83 00 6f 	cmpwi   cr7,r3,111                             
ffc0881c:	41 9e 02 24 	beq-    cr7,ffc08a40 <vprintk+0x308>           
ffc08820:	2f 83 00 4f 	cmpwi   cr7,r3,79                              
ffc08824:	41 9e 02 1c 	beq-    cr7,ffc08a40 <vprintk+0x308>           
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
ffc08828:	2f 83 00 69 	cmpwi   cr7,r3,105                             
ffc0882c:	41 9e 00 a4 	beq-    cr7,ffc088d0 <vprintk+0x198>           
ffc08830:	2f 83 00 49 	cmpwi   cr7,r3,73                              
ffc08834:	41 9e 00 9c 	beq-    cr7,ffc088d0 <vprintk+0x198>           
ffc08838:	2f 83 00 64 	cmpwi   cr7,r3,100                             
ffc0883c:	41 9e 00 94 	beq-    cr7,ffc088d0 <vprintk+0x198>           
                c == 'd' || c == 'D' ) {                              
ffc08840:	2f 83 00 44 	cmpwi   cr7,r3,68                              
ffc08844:	41 9e 00 8c 	beq-    cr7,ffc088d0 <vprintk+0x198>           
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
ffc08848:	2f 83 00 75 	cmpwi   cr7,r3,117                             
ffc0884c:	41 9e 03 40 	beq-    cr7,ffc08b8c <vprintk+0x454>           
ffc08850:	2f 83 00 55 	cmpwi   cr7,r3,85                              
ffc08854:	41 9e 03 38 	beq-    cr7,ffc08b8c <vprintk+0x454>           
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
ffc08858:	2f 83 00 78 	cmpwi   cr7,r3,120                             
ffc0885c:	41 9e 03 3c 	beq-    cr7,ffc08b98 <vprintk+0x460>           
ffc08860:	2f 83 00 58 	cmpwi   cr7,r3,88                              
ffc08864:	41 9e 03 34 	beq-    cr7,ffc08b98 <vprintk+0x460>           
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
ffc08868:	2f 83 00 70 	cmpwi   cr7,r3,112                             
ffc0886c:	41 9e 03 2c 	beq-    cr7,ffc08b98 <vprintk+0x460>           
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
ffc08870:	80 17 27 34 	lwz     r0,10036(r23)                          
ffc08874:	7c 09 03 a6 	mtctr   r0                                     
ffc08878:	4e 80 04 21 	bctrl                                          
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc0887c:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc08880:	3b ff 00 01 	addi    r31,r31,1                              
ffc08884:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08888:	40 9e ff 14 	bne+    cr7,ffc0879c <vprintk+0x64>            
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
ffc0888c:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc08890:	81 81 00 28 	lwz     r12,40(r1)                             
ffc08894:	7c 08 03 a6 	mtlr    r0                                     
ffc08898:	82 a1 00 2c 	lwz     r21,44(r1)                             
ffc0889c:	82 c1 00 30 	lwz     r22,48(r1)                             
ffc088a0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc088a4:	82 e1 00 34 	lwz     r23,52(r1)                             
ffc088a8:	83 01 00 38 	lwz     r24,56(r1)                             
ffc088ac:	83 21 00 3c 	lwz     r25,60(r1)                             
ffc088b0:	83 41 00 40 	lwz     r26,64(r1)                             
ffc088b4:	83 61 00 44 	lwz     r27,68(r1)                             
ffc088b8:	83 81 00 48 	lwz     r28,72(r1)                             
ffc088bc:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc088c0:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc088c4:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc088c8:	38 21 00 58 	addi    r1,r1,88                               
ffc088cc:	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;                                         
ffc088d0:	39 20 00 01 	li      r9,1                                   
ffc088d4:	3b 80 00 0a 	li      r28,10                                 
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc088d8:	89 78 00 00 	lbz     r11,0(r24)                             
ffc088dc:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc088e0:	40 9c 01 50 	bge-    cr7,ffc08a30 <vprintk+0x2f8>           
ffc088e4:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc088e8:	81 58 00 08 	lwz     r10,8(r24)                             
ffc088ec:	39 6b 00 01 	addi    r11,r11,1                              
ffc088f0:	99 78 00 00 	stb     r11,0(r24)                             
ffc088f4:	7d 4a 02 14 	add     r10,r10,r0                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc088f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc088fc:	83 6a 00 00 	lwz     r27,0(r10)                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc08900:	41 9e 00 0c 	beq-    cr7,ffc0890c <vprintk+0x1d4>           
ffc08904:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc08908:	41 9c 02 9c 	blt-    cr7,ffc08ba4 <vprintk+0x46c>           
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc0890c:	7c 1b e3 96 	divwu   r0,r27,r28                             
ffc08910:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08914:	57 88 06 3e 	clrlwi  r8,r28,24                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc08918:	39 20 00 00 	li      r9,0                                   
  while ((n = unsigned_num / base) > 0) {                             
ffc0891c:	40 be 00 10 	bne+    cr7,ffc0892c <vprintk+0x1f4>           
ffc08920:	48 00 02 a8 	b       ffc08bc8 <vprintk+0x490>               
ffc08924:	7c 1b 03 78 	mr      r27,r0                                 
ffc08928:	7d 60 5b 78 	mr      r0,r11                                 
ffc0892c:	7d 60 e3 96 	divwu   r11,r0,r28                             
ffc08930:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
    toPrint[count++] = (char) (unsigned_num - (n * base));            
ffc08934:	7d 48 01 d6 	mullw   r10,r8,r0                              
ffc08938:	7f 6a d8 50 	subf    r27,r10,r27                            
ffc0893c:	7f 7d 49 ae 	stbx    r27,r29,r9                             
ffc08940:	39 29 00 01 	addi    r9,r9,1                                
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc08944:	40 9e ff e0 	bne+    cr7,ffc08924 <vprintk+0x1ec>           
ffc08948:	3b 69 00 01 	addi    r27,r9,1                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc0894c:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
ffc08950:	7d 21 4a 14 	add     r9,r1,r9                               
ffc08954:	98 09 00 08 	stb     r0,8(r9)                               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08958:	40 9d 00 24 	ble-    cr7,ffc0897c <vprintk+0x244>           
ffc0895c:	3b 97 27 34 	addi    r28,r23,10036                          
    BSP_output_char(lead);                                            
ffc08960:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08964:	7f 43 d3 78 	mr      r3,r26                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08968:	3b de ff ff 	addi    r30,r30,-1                             
    BSP_output_char(lead);                                            
ffc0896c:	7c 09 03 a6 	mtctr   r0                                     
ffc08970:	4e 80 04 21 	bctrl                                          
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08974:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc08978:	41 9d ff e8 	bgt+    cr7,ffc08960 <vprintk+0x228>           
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc0897c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc08980:	41 be fe fc 	beq-    cr7,ffc0887c <vprintk+0x144>           <== NEVER TAKEN
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc08984:	7f dd da 14 	add     r30,r29,r27                            
ffc08988:	3b 97 27 34 	addi    r28,r23,10036                          
ffc0898c:	3b 76 f4 5c 	addi    r27,r22,-2980                          
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
ffc08990:	8d 3e ff ff 	lbzu    r9,-1(r30)                             
ffc08994:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08998:	7c 7b 48 ae 	lbzx    r3,r27,r9                              
ffc0899c:	7c 09 03 a6 	mtctr   r0                                     
ffc089a0:	4e 80 04 21 	bctrl                                          
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc089a4:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc089a8:	40 9e ff e8 	bne+    cr7,ffc08990 <vprintk+0x258>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc089ac:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc089b0:	3b ff 00 01 	addi    r31,r31,1                              
ffc089b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc089b8:	40 9e fd e4 	bne+    cr7,ffc0879c <vprintk+0x64>            <== ALWAYS TAKEN
ffc089bc:	4b ff fe d0 	b       ffc0888c <vprintk+0x154>               <== NOT EXECUTED
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
ffc089c0:	88 7f 00 01 	lbz     r3,1(r31)                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
ffc089c4:	39 60 00 01 	li      r11,1                                  
      fmt++;                                                          
ffc089c8:	3b ff 00 01 	addi    r31,r31,1                              
ffc089cc:	4b ff fd f8 	b       ffc087c4 <vprintk+0x8c>                
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
ffc089d0:	88 7f 00 02 	lbz     r3,2(r31)                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
ffc089d4:	3b 40 00 30 	li      r26,48                                 
      fmt++;                                                          
ffc089d8:	3b ff 00 02 	addi    r31,r31,2                              
ffc089dc:	4b ff fd dc 	b       ffc087b8 <vprintk+0x80>                
      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);                              
ffc089e0:	89 38 00 00 	lbz     r9,0(r24)                              
ffc089e4:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc089e8:	40 9c 01 74 	bge-    cr7,ffc08b5c <vprintk+0x424>           <== NEVER TAKEN
ffc089ec:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc089f0:	81 78 00 08 	lwz     r11,8(r24)                             
ffc089f4:	39 29 00 01 	addi    r9,r9,1                                
ffc089f8:	99 38 00 00 	stb     r9,0(r24)                              
ffc089fc:	7d 6b 02 14 	add     r11,r11,r0                             
      BSP_output_char(chr);                                           
ffc08a00:	80 17 27 34 	lwz     r0,10036(r23)                          
ffc08a04:	88 6b 00 03 	lbz     r3,3(r11)                              
ffc08a08:	7c 09 03 a6 	mtctr   r0                                     
ffc08a0c:	4e 80 04 21 	bctrl                                          
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc08a10:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc08a14:	3b ff 00 01 	addi    r31,r31,1                              
ffc08a18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08a1c:	40 9e fd 80 	bne+    cr7,ffc0879c <vprintk+0x64>            <== ALWAYS TAKEN
ffc08a20:	4b ff fe 6c 	b       ffc0888c <vprintk+0x154>               <== NOT EXECUTED
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
ffc08a24:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc08a28:	3b ff 00 01 	addi    r31,r31,1                              
ffc08a2c:	4b ff fd dc 	b       ffc08808 <vprintk+0xd0>                
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc08a30:	81 58 00 04 	lwz     r10,4(r24)                             
ffc08a34:	38 0a 00 04 	addi    r0,r10,4                               
ffc08a38:	90 18 00 04 	stw     r0,4(r24)                              
ffc08a3c:	4b ff fe bc 	b       ffc088f8 <vprintk+0x1c0>               
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
ffc08a40:	39 20 00 00 	li      r9,0                                   
ffc08a44:	3b 80 00 08 	li      r28,8                                  
ffc08a48:	4b ff fe 90 	b       ffc088d8 <vprintk+0x1a0>               
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc08a4c:	89 38 00 00 	lbz     r9,0(r24)                              
ffc08a50:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc08a54:	40 9c 01 18 	bge-    cr7,ffc08b6c <vprintk+0x434>           <== NEVER TAKEN
ffc08a58:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc08a5c:	81 58 00 08 	lwz     r10,8(r24)                             
ffc08a60:	39 29 00 01 	addi    r9,r9,1                                
ffc08a64:	99 38 00 00 	stb     r9,0(r24)                              
ffc08a68:	7d 4a 02 14 	add     r10,r10,r0                             
ffc08a6c:	83 4a 00 00 	lwz     r26,0(r10)                             
                                                                      
      if ( str == NULL ) {                                            
ffc08a70:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc08a74:	41 9e 01 10 	beq-    cr7,ffc08b84 <vprintk+0x44c>           
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
ffc08a78:	88 1a 00 00 	lbz     r0,0(r26)                              
ffc08a7c:	3b 60 00 00 	li      r27,0                                  
ffc08a80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08a84:	41 9e 00 18 	beq-    cr7,ffc08a9c <vprintk+0x364>           
ffc08a88:	7f 49 d3 78 	mr      r9,r26                                 
ffc08a8c:	8c 09 00 01 	lbzu    r0,1(r9)                               
ffc08a90:	3b 7b 00 01 	addi    r27,r27,1                              
ffc08a94:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08a98:	40 9e ff f4 	bne+    cr7,ffc08a8c <vprintk+0x354>           
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
ffc08a9c:	2e 0b 00 00 	cmpwi   cr4,r11,0                              
ffc08aa0:	40 92 00 30 	bne-    cr4,ffc08ad0 <vprintk+0x398>           
        for ( i=len ; i<width ; i++ )                                 
ffc08aa4:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc08aa8:	40 9c 00 28 	bge-    cr7,ffc08ad0 <vprintk+0x398>           
ffc08aac:	7f 79 db 78 	mr      r25,r27                                
ffc08ab0:	3b 97 27 34 	addi    r28,r23,10036                          
          BSP_output_char(' ');                                       
ffc08ab4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08ab8:	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++ )                                 
ffc08abc:	3b 39 00 01 	addi    r25,r25,1                              
          BSP_output_char(' ');                                       
ffc08ac0:	7c 09 03 a6 	mtctr   r0                                     
ffc08ac4:	4e 80 04 21 	bctrl                                          
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc08ac8:	7f 99 f0 40 	cmplw   cr7,r25,r30                            
ffc08acc:	41 9c ff e8 	blt+    cr7,ffc08ab4 <vprintk+0x37c>           
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
ffc08ad0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08ad4:	40 9e 00 10 	bne-    cr7,ffc08ae4 <vprintk+0x3ac>           
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc08ad8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc08adc:	41 9e 00 40 	beq-    cr7,ffc08b1c <vprintk+0x3e4>           
ffc08ae0:	7f 7e db 78 	mr      r30,r27                                
ffc08ae4:	88 7a 00 00 	lbz     r3,0(r26)                              
ffc08ae8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08aec:	41 9e 00 30 	beq-    cr7,ffc08b1c <vprintk+0x3e4>           <== NEVER TAKEN
        BSP_output_char(*str);                                        
ffc08af0:	80 17 27 34 	lwz     r0,10036(r23)                          
ffc08af4:	3b 97 27 34 	addi    r28,r23,10036                          
ffc08af8:	7c 09 03 a6 	mtctr   r0                                     
ffc08afc:	4e 80 04 21 	bctrl                                          
ffc08b00:	48 00 00 10 	b       ffc08b10 <vprintk+0x3d8>               
ffc08b04:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08b08:	7c 09 03 a6 	mtctr   r0                                     
ffc08b0c:	4e 80 04 21 	bctrl                                          
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc08b10:	8c 7a 00 01 	lbzu    r3,1(r26)                              
ffc08b14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08b18:	40 9e ff ec 	bne+    cr7,ffc08b04 <vprintk+0x3cc>           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
ffc08b1c:	41 b2 fd 60 	beq-    cr4,ffc0887c <vprintk+0x144>           
        for ( i=len ; i<width ; i++ )                                 
ffc08b20:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc08b24:	40 bc fd 58 	bge-    cr7,ffc0887c <vprintk+0x144>           
ffc08b28:	3b 97 27 34 	addi    r28,r23,10036                          
          BSP_output_char(' ');                                       
ffc08b2c:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08b30:	38 60 00 20 	li      r3,32                                  
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc08b34:	3b 7b 00 01 	addi    r27,r27,1                              
          BSP_output_char(' ');                                       
ffc08b38:	7c 09 03 a6 	mtctr   r0                                     
ffc08b3c:	4e 80 04 21 	bctrl                                          
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc08b40:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc08b44:	41 9c ff e8 	blt+    cr7,ffc08b2c <vprintk+0x3f4>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc08b48:	88 7f 00 01 	lbz     r3,1(r31)                              
ffc08b4c:	3b ff 00 01 	addi    r31,r31,1                              
ffc08b50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08b54:	40 9e fc 48 	bne+    cr7,ffc0879c <vprintk+0x64>            <== ALWAYS TAKEN
ffc08b58:	4b ff fd 34 	b       ffc0888c <vprintk+0x154>               <== NOT EXECUTED
      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);                              
ffc08b5c:	81 78 00 04 	lwz     r11,4(r24)                             <== NOT EXECUTED
ffc08b60:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc08b64:	90 18 00 04 	stw     r0,4(r24)                              <== NOT EXECUTED
ffc08b68:	4b ff fe 98 	b       ffc08a00 <vprintk+0x2c8>               <== NOT EXECUTED
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc08b6c:	81 58 00 04 	lwz     r10,4(r24)                             <== NOT EXECUTED
ffc08b70:	38 0a 00 04 	addi    r0,r10,4                               <== NOT EXECUTED
ffc08b74:	90 18 00 04 	stw     r0,4(r24)                              <== NOT EXECUTED
ffc08b78:	83 4a 00 00 	lwz     r26,0(r10)                             <== NOT EXECUTED
                                                                      
      if ( str == NULL ) {                                            
ffc08b7c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc08b80:	40 9e fe f8 	bne+    cr7,ffc08a78 <vprintk+0x340>           <== NOT EXECUTED
        str = "";                                                     
ffc08b84:	3b 55 e4 d0 	addi    r26,r21,-6960                          
ffc08b88:	4b ff fe f0 	b       ffc08a78 <vprintk+0x340>               
      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;                                        
ffc08b8c:	39 20 00 00 	li      r9,0                                   
ffc08b90:	3b 80 00 0a 	li      r28,10                                 
ffc08b94:	4b ff fd 44 	b       ffc088d8 <vprintk+0x1a0>               
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
ffc08b98:	39 20 00 00 	li      r9,0                                   
ffc08b9c:	3b 80 00 10 	li      r28,16                                 
ffc08ba0:	4b ff fd 38 	b       ffc088d8 <vprintk+0x1a0>               
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc08ba4:	80 17 27 34 	lwz     r0,10036(r23)                          
ffc08ba8:	38 60 00 2d 	li      r3,45                                  
    unsigned_num = (unsigned long) -num;                              
ffc08bac:	7f 7b 00 d0 	neg     r27,r27                                
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc08bb0:	7c 09 03 a6 	mtctr   r0                                     
ffc08bb4:	4e 80 04 21 	bctrl                                          
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
ffc08bb8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08bbc:	41 be fd 50 	beq-    cr7,ffc0890c <vprintk+0x1d4>           
ffc08bc0:	3b de ff ff 	addi    r30,r30,-1                             
ffc08bc4:	4b ff fd 48 	b       ffc0890c <vprintk+0x1d4>               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc08bc8:	7f 60 db 78 	mr      r0,r27                                 
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc08bcc:	39 20 00 00 	li      r9,0                                   
  while ((n = unsigned_num / base) > 0) {                             
ffc08bd0:	3b 60 00 01 	li      r27,1                                  
ffc08bd4:	4b ff fd 78 	b       ffc0894c <vprintk+0x214>               
                                                                      

ffc1dc5c <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
ffc1dc5c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1dc60:	7c 08 02 a6 	mflr    r0                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1dc64:	3d 20 00 00 	lis     r9,0                                   
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1dc68:	90 01 00 14 	stw     r0,20(r1)                              
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1dc6c:	80 09 26 fc 	lwz     r0,9980(r9)                            
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1dc70:	93 e1 00 0c 	stw     r31,12(r1)                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1dc74:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1dc78:	40 9c 00 8c 	bge-    cr7,ffc1dd04 <write+0xa8>              
  iop = rtems_libio_iop( fd );                                        
ffc1dc7c:	3d 60 00 00 	lis     r11,0                                  
ffc1dc80:	83 eb 27 ac 	lwz     r31,10156(r11)                         
ffc1dc84:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1dc88:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc1dc8c:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc1dc90:	71 6a 01 00 	andi.   r10,r11,256                            
ffc1dc94:	41 82 00 70 	beq-    ffc1dd04 <write+0xa8>                  
  rtems_libio_check_buffer( buffer );                                 
ffc1dc98:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1dc9c:	41 9e 00 7c 	beq-    cr7,ffc1dd18 <write+0xbc>              <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc1dca0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1dca4:	38 60 00 00 	li      r3,0                                   
ffc1dca8:	41 9e 00 48 	beq-    cr7,ffc1dcf0 <write+0x94>              
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc1dcac:	71 60 00 04 	andi.   r0,r11,4                               
ffc1dcb0:	41 82 00 54 	beq-    ffc1dd04 <write+0xa8>                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
ffc1dcb4:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc1dcb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1dcbc:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1dcc0:	7c 09 03 a6 	mtctr   r0                                     
ffc1dcc4:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc1dcc8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1dccc:	40 81 00 24 	ble-    ffc1dcf0 <write+0x94>                  
    iop->offset += rc;                                                
ffc1dcd0:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc1dcd4:	7c 6b 1b 78 	mr      r11,r3                                 
ffc1dcd8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1dcdc:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc1dce0:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc1dce4:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc1dce8:	91 5f 00 10 	stw     r10,16(r31)                            
ffc1dcec:	91 7f 00 14 	stw     r11,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc1dcf0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1dcf4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1dcf8:	38 21 00 10 	addi    r1,r1,16                               
ffc1dcfc:	7c 08 03 a6 	mtlr    r0                                     
ffc1dd00:	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 );
ffc1dd04:	4b ff 4e 59 	bl      ffc12b5c <__errno>                     
ffc1dd08:	38 00 00 09 	li      r0,9                                   
ffc1dd0c:	90 03 00 00 	stw     r0,0(r3)                               
ffc1dd10:	38 60 ff ff 	li      r3,-1                                  
ffc1dd14:	4b ff ff dc 	b       ffc1dcf0 <write+0x94>                  
  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 );                                 
ffc1dd18:	4b ff 4e 45 	bl      ffc12b5c <__errno>                     <== NOT EXECUTED
ffc1dd1c:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1dd20:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1dd24:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1dd28:	4b ff ff c8 	b       ffc1dcf0 <write+0x94>                  <== NOT EXECUTED
                                                                      

ffc09bd8 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
ffc09bd8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc09bdc:	7c 08 02 a6 	mflr    r0                                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09be0:	3d 20 00 00 	lis     r9,0                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09be4:	90 01 00 2c 	stw     r0,44(r1)                              
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09be8:	80 09 26 dc 	lwz     r0,9948(r9)                            
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09bec:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc09bf0:	7c 9d 23 78 	mr      r29,r4                                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09bf4:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09bf8:	93 01 00 08 	stw     r24,8(r1)                              
ffc09bfc:	93 21 00 0c 	stw     r25,12(r1)                             
ffc09c00:	93 41 00 10 	stw     r26,16(r1)                             
ffc09c04:	93 61 00 14 	stw     r27,20(r1)                             
ffc09c08:	93 81 00 18 	stw     r28,24(r1)                             
ffc09c0c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc09c10:	93 e1 00 24 	stw     r31,36(r1)                             
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09c14:	40 9c 01 64 	bge-    cr7,ffc09d78 <writev+0x1a0>            
  iop = rtems_libio_iop( fd );                                        
ffc09c18:	3d 20 00 00 	lis     r9,0                                   
ffc09c1c:	83 29 27 88 	lwz     r25,10120(r9)                          
ffc09c20:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc09c24:	7f 39 1a 14 	add     r25,r25,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc09c28:	80 19 00 18 	lwz     r0,24(r25)                             
ffc09c2c:	70 09 01 00 	andi.   r9,r0,256                              
ffc09c30:	41 82 01 48 	beq-    ffc09d78 <writev+0x1a0>                
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc09c34:	70 09 00 04 	andi.   r9,r0,4                                
ffc09c38:	41 82 01 40 	beq-    ffc09d78 <writev+0x1a0>                <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc09c3c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc09c40:	41 9e 00 f4 	beq-    cr7,ffc09d34 <writev+0x15c>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc09c44:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09c48:	40 9d 00 ec 	ble-    cr7,ffc09d34 <writev+0x15c>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc09c4c:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc09c50:	41 9d 00 e4 	bgt-    cr7,ffc09d34 <writev+0x15c>            <== NEVER TAKEN
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
ffc09c54:	54 ba 18 38 	rlwinm  r26,r5,3,0,28                          
ffc09c58:	39 7a ff f8 	addi    r11,r26,-8                             
ffc09c5c:	55 6b e8 fe 	rlwinm  r11,r11,29,3,31                        
ffc09c60:	39 6b 00 01 	addi    r11,r11,1                              
ffc09c64:	7d 69 03 a6 	mtctr   r11                                    
ffc09c68:	39 20 00 00 	li      r9,0                                   
ffc09c6c:	39 00 00 01 	li      r8,1                                   
ffc09c70:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     *  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 )                                       
ffc09c74:	7d 7d 48 2e 	lwzx    r11,r29,r9                             
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
ffc09c78:	7d 5d 4a 14 	add     r10,r29,r9                             
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc09c7c:	39 29 00 08 	addi    r9,r9,8                                
                                                                      
    /*                                                                
     *  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 )                                       
ffc09c80:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09c84:	41 9e 00 b0 	beq-    cr7,ffc09d34 <writev+0x15c>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc09c88:	81 4a 00 04 	lwz     r10,4(r10)                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc09c8c:	7d 6a 02 14 	add     r11,r10,r0                             
    if ( total < old || total > SSIZE_MAX )                           
ffc09c90:	7f 80 58 00 	cmpw    cr7,r0,r11                             
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc09c94:	31 4a ff ff 	addic   r10,r10,-1                             
ffc09c98:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc09c9c:	7d 08 50 38 	and     r8,r8,r10                              
   *  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++ ) {                    
ffc09ca0:	7d 60 5b 78 	mr      r0,r11                                 
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc09ca4:	41 9d 00 90 	bgt-    cr7,ffc09d34 <writev+0x15c>            
   *  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++ ) {                    
ffc09ca8:	42 00 ff cc 	bdnz+   ffc09c74 <writev+0x9c>                 
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc09cac:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    return 0;                                                         
ffc09cb0:	3b 00 00 00 	li      r24,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc09cb4:	40 9e 00 90 	bne-    cr7,ffc09d44 <writev+0x16c>            
ffc09cb8:	3b 80 00 00 	li      r28,0                                  
ffc09cbc:	48 00 00 10 	b       ffc09ccc <writev+0xf4>                 
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc09cc0:	3b 9c 00 08 	addi    r28,r28,8                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc09cc4:	7f 9c d0 00 	cmpw    cr7,r28,r26                            
ffc09cc8:	41 9e 00 7c 	beq-    cr7,ffc09d44 <writev+0x16c>            
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
ffc09ccc:	7f 7d e2 14 	add     r27,r29,r28                            
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc09cd0:	80 bb 00 04 	lwz     r5,4(r27)                              
ffc09cd4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09cd8:	41 9e ff e8 	beq+    cr7,ffc09cc0 <writev+0xe8>             <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
ffc09cdc:	81 39 00 24 	lwz     r9,36(r25)                             
ffc09ce0:	7f 23 cb 78 	mr      r3,r25                                 
ffc09ce4:	7c 9d e0 2e 	lwzx    r4,r29,r28                             
ffc09ce8:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09cec:	7c 09 03 a6 	mtctr   r0                                     
ffc09cf0:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc09cf4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09cf8:	41 80 00 94 	blt-    ffc09d8c <writev+0x1b4>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc09cfc:	41 82 00 28 	beq-    ffc09d24 <writev+0x14c>                <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc09d00:	81 59 00 10 	lwz     r10,16(r25)                            
ffc09d04:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09d08:	81 79 00 14 	lwz     r11,20(r25)                            
ffc09d0c:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc09d10:	7f 18 1a 14 	add     r24,r24,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc09d14:	7d 6b f8 14 	addc    r11,r11,r31                            
ffc09d18:	7d 4a f1 14 	adde    r10,r10,r30                            
ffc09d1c:	91 59 00 10 	stw     r10,16(r25)                            
ffc09d20:	91 79 00 14 	stw     r11,20(r25)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc09d24:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc09d28:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc09d2c:	41 9e ff 94 	beq+    cr7,ffc09cc0 <writev+0xe8>             <== ALWAYS TAKEN
ffc09d30:	48 00 00 14 	b       ffc09d44 <writev+0x16c>                <== 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 );                 
ffc09d34:	48 00 99 29 	bl      ffc1365c <__errno>                     
ffc09d38:	38 00 00 16 	li      r0,22                                  
ffc09d3c:	90 03 00 00 	stw     r0,0(r3)                               
ffc09d40:	3b 00 ff ff 	li      r24,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc09d44:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09d48:	7f 03 c3 78 	mr      r3,r24                                 
ffc09d4c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc09d50:	7c 08 03 a6 	mtlr    r0                                     
ffc09d54:	83 01 00 08 	lwz     r24,8(r1)                              
ffc09d58:	83 41 00 10 	lwz     r26,16(r1)                             
ffc09d5c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc09d60:	83 81 00 18 	lwz     r28,24(r1)                             
ffc09d64:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09d68:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09d6c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc09d70:	38 21 00 28 	addi    r1,r1,40                               
ffc09d74:	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 );
ffc09d78:	48 00 98 e5 	bl      ffc1365c <__errno>                     
ffc09d7c:	38 00 00 09 	li      r0,9                                   
ffc09d80:	90 03 00 00 	stw     r0,0(r3)                               
ffc09d84:	3b 00 ff ff 	li      r24,-1                                 
ffc09d88:	4b ff ff bc 	b       ffc09d44 <writev+0x16c>                
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc09d8c:	3b 00 ff ff 	li      r24,-1                                 <== NOT EXECUTED
ffc09d90:	4b ff ff b4 	b       ffc09d44 <writev+0x16c>                <== NOT EXECUTED